board.h 817 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * File : board.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2009, 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. * 2009-09-22 Bernard add board.h to this bsp
  13. */
  14. #ifndef __BOARD_H__
  15. #define __BOARD_H__
  16. void rt_hw_board_led_on(int n);
  17. void rt_hw_board_led_off(int n);
  18. void rt_hw_board_init(void);
  19. void rt_hw_serial_init(void);
  20. /* SD Card init function */
  21. void rt_hw_sdcard_init(void);
  22. int rt_hw_mtd_nand_init(void);
  23. int sst25vfxx_mtd_init(const char * nor_name, unsigned int block_start, unsigned int block_end);
  24. void rt_platform_init(void);
  25. #endif