board.h 991 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* This is a template file for board configuration created by MCUXpresso Project Generator. Enjoy! */
  2. #ifndef _BOARD_H_
  3. #define _BOARD_H_
  4. /*******************************************************************************
  5. * Definitions
  6. ******************************************************************************/
  7. #include <stdint.h>
  8. #include "samd21.h"
  9. #include "system_samd21.h"
  10. #include "core_cm0plus.h" /* Core Peripheral Access Layer */
  11. /* The board name */
  12. #define BOARD_NAME "###-not-specified-###"
  13. #define CHIP_SRAM_END (0x20000000 + 32*1024)
  14. /*******************************************************************************
  15. * API
  16. ******************************************************************************/
  17. #if defined(__cplusplus)
  18. extern "C" {
  19. #endif /* __cplusplus */
  20. /*!
  21. * @brief initialize debug console to enable printf for this demo/example
  22. */
  23. void rt_board_init(void);
  24. #if defined(__cplusplus)
  25. }
  26. #endif /* __cplusplus */
  27. #endif /* _BOARD_H_ */