*** EFM32 branch ***

1. Add EFM32 development kit support
2. Add USART sync mode (SPI) support
3. Add SPI Flash device (ST M25PX16) driver and demo application

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1401 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
onelife.real
2011-05-12 07:19:37 +00:00
parent 43a6a907da
commit 169c31fc4f
21 changed files with 2087 additions and 188 deletions

View File

@@ -12,6 +12,7 @@
* @section Change Logs
* Date Author Notes
* 2010-12-21 onelife Initial creation for EFM32
* 2011-05-06 onelife Add EFM32 development kit and SPI Flash support
*********************************************************************/
/******************************************************************//**
@@ -189,6 +190,11 @@ void rt_hw_board_init(void)
/* Chip errata */
CHIP_Init();
#if defined(EFM32_G290_DK)
/* Initialize DVK board register access */
DVK_init();
#endif
/* NVIC Configuration */
NVIC_Configuration();
@@ -222,6 +228,10 @@ void rt_hw_driver_init(void)
rt_hw_dma_init();
/* Initialize USART */
#if defined(EFM32_G290_DK)
DVK_enablePeripheral(DVK_RS232A);
DVK_enablePeripheral(DVK_SPI);
#endif
rt_hw_usart_init();
/* Initialize Timer */