mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-10 15:01:56 +00:00
The EFR32 Flex Gecko Wireless Starter Kit contains sensors and peripherals demonstarting the usage of the EFR32FG1P SoC family. This patch add basic support for this board. Signed-off-by: Christian Taedcke <hacking@taedcke.com>
17 lines
453 B
C
17 lines
453 B
C
#ifndef __DT_BINDING_ST_MEM_H
|
|
#define __DT_BINDING_ST_MEM_H
|
|
|
|
#define __SIZE_K(x) ((x) * 1024)
|
|
|
|
#if defined(CONFIG_SOC_PART_NUMBER_EFM32WG990F256)
|
|
#define DT_FLASH_SIZE __SIZE_K(256)
|
|
#define DT_SRAM_SIZE __SIZE_K(32)
|
|
#elif defined(CONFIG_SOC_PART_NUMBER_EFR32FG1P133F256GM48)
|
|
#define DT_FLASH_SIZE __SIZE_K(256)
|
|
#define DT_SRAM_SIZE __SIZE_K(32)
|
|
#else
|
|
#error "Flash and RAM sizes not defined for this chip"
|
|
#endif
|
|
|
|
#endif /* __DT_BINDING_ST_MEM_H */
|