board.h 861 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2014, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2016-12-05 Pluto first implementation
  13. */
  14. // <<< Use Configuration Wizard in Context Menu >>>
  15. #ifndef __BOARD_H__
  16. #define __BOARD_H__
  17. #include "M451Series.h"
  18. #define BOARD_PLL_CLOCK 72000000
  19. /* board configuration */
  20. // <o> Internal SRAM memory size[Kbytes]
  21. // <i>Default: 64
  22. #define M451_SRAM_SIZE 32
  23. #define M451_SRAM_END (0x20000000 + M451_SRAM_SIZE * 1024)
  24. void rt_hw_board_init(void);
  25. //#define PRINT_RCC_FREQ_INFO
  26. #endif
  27. // <<< Use Configuration Wizard in Context Menu >>>