[EFM32] Use targets.json to improve directory structure

Now that we have targets.json, we get target inheritance and can use it to clean up the EFM32 folder structure.
* In the top-level EFM32 folder, there are now folders per MCU family (Giant, Leopard, ...)
* Those family folders contain the CMSIS headers in the 'device' subfolder, as well as global family headers (i.e. mapping of pins to peripherals)
* Inside of the family folder, there is a per-target folder containing target settings. In the future, we'll want to get rid of those by using the config system provided by targets.json
pull/3122/head
Steven Cooreman 2016-10-22 18:31:07 +02:00
parent 6574f4d0a4
commit 4df6986100
370 changed files with 117 additions and 59 deletions

View File

@ -60,10 +60,6 @@ typedef enum {
LEUART_1 = LEUART1_BASE
} UARTName;
#define STDIO_UART_TX USBTX
#define STDIO_UART_RX USBRX
#define STDIO_UART UART0
typedef enum {
SPI_0 = USART0_BASE,
SPI_1 = USART1_BASE,

View File

@ -50,7 +50,11 @@ typedef enum {
SERIAL_RX = PD1,
USBTX = PE0,
USBRX = PE1,
EFM_BC_EN = PF7
/* Board Controller */
STDIO_UART_TX = USBTX,
STDIO_UART_RX = USBRX,
EFM_BC_EN = PF7
} PinName;
#ifdef __cplusplus

View File

@ -36,6 +36,9 @@
/* USB */
#define USB_TIMER USB_TIMER1
/* STDIO */
#define STDIO_UART UART0
/* Clocks */
/* Clock definitions */

View File

@ -50,7 +50,11 @@ typedef enum {
SERIAL_RX = PE11,
USBTX = PF2,
USBRX = PA0,
EFM_BC_EN = PA9
/* Board Controller */
STDIO_UART_TX = USBTX,
STDIO_UART_RX = USBRX,
EFM_BC_EN = PA9
} PinName;
#ifdef __cplusplus

View File

@ -36,6 +36,9 @@
/* USB */
#define USB_TIMER USB_TIMER2
/* STDIO */
#define STDIO_UART USART1
/* Clocks */
/* Clock definitions */

Some files were not shown because too many files have changed in this diff Show More