Skip to content

Commit

Permalink
soc: xtensa: esp32_net: update kconfig
Browse files Browse the repository at this point in the history
specific of soc to make it compatible to the new toolchain.

Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
  • Loading branch information
uLipe authored and carlescufi committed Aug 16, 2022
1 parent 907e602 commit 6ba5b21
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
13 changes: 5 additions & 8 deletions boards/xtensa/esp32_net/esp32_net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ name: ESP32_NET
type: mcu
arch: xtensa
toolchain:
- espressif
supported:
- gpio
- i2c
- watchdog
- uart
- pinmux
- nvs
- zephyr
testing:
ignore_tags:
- net
- bluetooth
1 change: 0 additions & 1 deletion cmake/toolchain/espressif/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(LINKER ld)
set(BINTOOLS gnu)

set(CROSS_COMPILE_TARGET_xtensa_esp32 xtensa-esp32-elf)
set(CROSS_COMPILE_TARGET_xtensa_esp32_net xtensa-esp32-elf)
set(CROSS_COMPILE_TARGET_xtensa_esp32s2 xtensa-esp32s2-elf)
set(CROSS_COMPILE_TARGET_riscv_esp32c3 riscv32-esp-elf)

Expand Down
2 changes: 1 addition & 1 deletion modules/Kconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

config HAS_ESPRESSIF_HAL
bool
depends on SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3
depends on SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3 || SOC_ESP32_NET
4 changes: 4 additions & 0 deletions soc/xtensa/esp32_net/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ if SOC_ESP32_NET
config SOC
default "esp32_net"

config SOC_TOOLCHAIN_NAME
string
default "espressif_esp32"

config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
default n

Expand Down
1 change: 1 addition & 0 deletions soc/xtensa/esp32_net/Kconfig.soc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config SOC_ESP32_NET
select CLOCK_CONTROL
select CLOCK_CONTROL_ESP32
select DYNAMIC_INTERRUPTS
select HAS_ESPRESSIF_HAL

if SOC_ESP32_NET

Expand Down

0 comments on commit 6ba5b21

Please sign in to comment.