start to add bsp and build configuration for embedded artist 4357

This commit is contained in:
hathach
2013-01-17 11:03:43 +07:00
parent 10009cba99
commit 480ddb4fec
6 changed files with 899 additions and 39 deletions

View File

@@ -58,20 +58,25 @@
#include <stdint.h>
#include "common/binary.h" // This file is too good to not use
#define BOARD_AT86RF2XX 0
#define BOARD_LPCXPRESSO1347 1
#define BOARD_NGX4330 2
#define BOARD_AT86RF2XX 1
#define BOARD_LPCXPRESSO1347 2
#define BOARD_NGX4330 3
#define BOARD_EA4357 4
#define PRINTF_TARGET_DEBUG_CONSOLE 0 // IDE semihosting console
#define PRINTF_TARGET_UART 1
#define PRINTF_TARGET_SWO 2 // aka SWV, ITM
#if BOARD == BOARD_NGX4330
#if BOARD == 0
#error BOARD is not defined or supported yet
#elif BOARD == BOARD_NGX4330
#include "board_ngx4330.h"
#elif BOARD == BOARD_LPCXPRESSO1347
#include "board_lpcxpresso1347.h"
#elif BOARD == BOARD_AT86RF2XX
#include "board_at86rf2xx.h"
#elif BOARD == BOARD_EA4357
#include "board_ea4357.h"
#else
#error BOARD is not defined or supported yet
#endif