add flash read/write support

This commit is contained in:
pnb
2015-09-05 10:37:13 +02:00
parent 3c35458ac2
commit c83d533d90
3 changed files with 858 additions and 0 deletions
+5
View File
@@ -132,6 +132,11 @@ config EFM32_RMU
bool "Reset Management Unit (RMU) "
default n
config EFM32_FLASHPROG
bool "Enable Erase/Write flash function (MSC) "
default n
select ARCH_HAVE_RAMFUNCS
config EFM32_RMU_DEBUG
bool "Reset Management Unit (RMU) DEBUG "
default n
+4
View File
@@ -105,6 +105,10 @@ endif
CHIP_CSRCS = efm32_start.c efm32_clockconfig.c efm32_irq.c efm32_timerisr.c
CHIP_CSRCS += efm32_gpio.c efm32_lowputc.c efm32_timer.c efm32_i2c.c
ifeq ($(CONFIG_EFM32_FLASHPROG),y)
CHIP_CSRCS += efm32_flash.c
endif
ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
CHIP_CSRCS += efm32_idle.c
endif
File diff suppressed because it is too large Load Diff