adding keil mcb4300 support

- implement board_leds & board_uart routines
This commit is contained in:
hathach
2013-05-06 15:06:08 +07:00
parent 120db28a17
commit 4fa7f77ee2
8 changed files with 1360 additions and 35 deletions

View File

@@ -59,11 +59,19 @@
#include <stdint.h>
#include "tusb.h"
//--------------------------------------------------------------------+
// BOARD DEFINE
//--------------------------------------------------------------------+
#define BOARD_AT86RF2XX 1
#define BOARD_LPCXPRESSO1347 2
#define BOARD_NGX4330 3
#define BOARD_EA4357 4
#define BOARD_MCB4300 5
//--------------------------------------------------------------------+
// PRINTF TARGET DEFINE
//--------------------------------------------------------------------+
#define PRINTF_TARGET_DEBUG_CONSOLE 1 // IDE semihosting console
#define PRINTF_TARGET_UART 2
#define PRINTF_TARGET_SWO 3 // aka SWV, ITM
@@ -81,6 +89,8 @@
#include "board_at86rf2xx.h"
#elif BOARD == BOARD_EA4357
#include "embedded_artists/board_ea4357.h"
#elif BOARD == BOARD_MCB4300
#include "keil/board_mcb4300.h"
#else
#error BOARD is not defined or supported yet
#endif