board.h 703 B

123456789101112131415161718192021222324252627282930
  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. #define RT_USING_BOARD_SRAM
  17. #define BOARD_SRAM_BEGIN 0x68000000
  18. #define BOARD_SRAM_END 0x68080000
  19. void rt_hw_board_led_on(int n);
  20. void rt_hw_board_led_off(int n);
  21. void rt_hw_board_init(void);
  22. void rt_hw_usart_init(void);
  23. void rt_hw_sdcard_init(void);
  24. #endif