[bsp] BSP support menuconfig for sam7x

This commit is contained in:
zhkag
2023-06-15 18:02:26 +08:00
committed by Man, Jianting (Meco)
parent ee3ecf82d7
commit d65238febb
5 changed files with 1182 additions and 98 deletions

View File

@@ -23,6 +23,8 @@
#define BR 115200 /* Baud Rate */
#define BRD (MCK/16/BR) /* Baud Rate Divisor */
#define RT_UART_RX_BUFFER_SIZE 128
void rt_hw_board_led_on(int n);
void rt_hw_board_led_off(int n);
void rt_hw_board_init(void);

View File

@@ -1,6 +1,8 @@
#ifndef __RT_SERIAL_H__
#define __RT_SERIAL_H__
#include "board.h"
#ifndef AT91C_BASE_US0
#define AT91C_BASE_US0 (0xFFFC0000) // (US0) Base Address
#endif