embARC_BSP_config.h 745 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) 2018, Synopsys, Inc.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef _EMBARC_BSP_CONFIG_H_
  7. #define _EMBARC_BSP_CONFIG_H_
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define BOARD_EMSK
  12. /****************************************************************************
  13. * BSP Definitions
  14. ****************************************************************************/
  15. /**
  16. * Toolchain Definition for MetaWare or GNU
  17. */
  18. //#define __MW__
  19. #define __GNU__
  20. /**
  21. * Must be set.
  22. * If changed, modify .lcf file for
  23. * .stack ALIGN(4) SIZE(524288): {}
  24. * .heap? ALIGN(4) SIZE(524288): {}
  25. */
  26. #define _STACKSIZE (4 * 1024)
  27. #define _HEAPSZ (32 * 1024)
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* _EMBARC_CONFIG_BSP_H_ */