soc: espressif: fix SOC series name macro on loader.c
Update macro CONFIG_SOC to CONFIG_SOC_SERIES. Signed-off-by: Almir Okato <almir.okato@espressif.com>
This commit is contained in:
parent
56b4225126
commit
e946a13fe1
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
#ifdef CONFIG_BOOTLOADER_MCUBOOT
|
#ifdef CONFIG_BOOTLOADER_MCUBOOT
|
||||||
|
|
||||||
#define BOOT_LOG_INF(_fmt, ...) \
|
#define BOOT_LOG_INF(_fmt, ...) \
|
||||||
ets_printf("[" CONFIG_SOC "] [INF] " _fmt "\n\r", ##__VA_ARGS__)
|
ets_printf("[" CONFIG_SOC_SERIES "] [INF] " _fmt "\n\r", ##__VA_ARGS__)
|
||||||
|
|
||||||
#define HDR_ATTR __attribute__((section(".entry_addr"))) __attribute__((used))
|
#define HDR_ATTR __attribute__((section(".entry_addr"))) __attribute__((used))
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifdef CONFIG_BOOTLOADER_MCUBOOT
|
#ifdef CONFIG_BOOTLOADER_MCUBOOT
|
||||||
|
|
||||||
#define BOOT_LOG_INF(_fmt, ...) \
|
#define BOOT_LOG_INF(_fmt, ...) \
|
||||||
ets_printf("[" CONFIG_SOC "] [INF] " _fmt "\n\r", ##__VA_ARGS__)
|
ets_printf("[" CONFIG_SOC_SERIES "] [INF] " _fmt "\n\r", ##__VA_ARGS__)
|
||||||
|
|
||||||
#define HDR_ATTR __attribute__((section(".entry_addr"))) __attribute__((used))
|
#define HDR_ATTR __attribute__((section(".entry_addr"))) __attribute__((used))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue