board.h 967 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006, RT-Thread Develop 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://openlab.rt-thread.com/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2006-10-08 Bernard add board.h to this bsp
  13. * 2009-12-25 yi.qiu add LM3S configration
  14. */
  15. // <<< Use Configuration Wizard in Context Menu >>>
  16. #ifndef __BOARD_H__
  17. #define __BOARD_H__
  18. // <o> Internal SRAM memory size[Kbytes] <8-64>
  19. // <i>Default: 64
  20. #define LM3S_SRAM_SIZE 64
  21. #define LM3S_SRAM_END (0x20000000 + LM3S_SRAM_SIZE * 1024)
  22. // For lm3s8962, it should be SYSCTL_XTAL_8MHZ
  23. #define LM3S_XTAL_TYPE SYSCTL_XTAL_8MHZ
  24. void rt_hw_board_led_on(int n);
  25. void rt_hw_board_led_off(int n);
  26. void rt_hw_board_init(void);
  27. void rt_hw_usart_init(void);
  28. void rt_hw_sdcard_init(void);
  29. #endif