board.h 735 B

1234567891011121314151617181920212223242526272829
  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. */
  14. #ifndef __BOARD_H__
  15. #define __BOARD_H__
  16. // <o> Internal SRAM memory size[Kbytes] <8-64>
  17. // <i>Default: 64
  18. #define LM3S_SRAM_SIZE 64
  19. #define LM3S_SRAM_END (0x20000000 + LM3S_SRAM_SIZE * 1024)
  20. void rt_hw_board_led_on(int n);
  21. void rt_hw_board_led_off(int n);
  22. void rt_hw_board_init(void);
  23. void rt_hw_usart_init(void);
  24. #endif