-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cpu/esp{32,8266}: model kconfig #17232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gschorcht
merged 22 commits into
RIOT-OS:master
from
leandrolanzieri:pr/cpu/esp/model_kconfig
Dec 11, 2021
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
252c388
cpu/esp32: do not expand USEMODULE
leandrolanzieri 59d3f0b
cpu/esp32: remove unneeded crypto dependencies
leandrolanzieri aec9d7a
makefiles/features_modules: do not generate init for ESP RTT
leandrolanzieri e8c00d2
pkg/esp8266_sdk: add Kconfig
leandrolanzieri 831101e
cpu/esp_common/periph_flash: fix dependency
leandrolanzieri 7a8f58a
cpu/esp_common: model Kconfig
leandrolanzieri bfdfbb1
cpu/esp32: model Kconfig
leandrolanzieri 185d1a2
cpu/esp8266: model Kconfig
leandrolanzieri b3b468a
boards/esp32: model Kconfig
leandrolanzieri 4be55b7
boards/common/esp8266: model Kconfig
leandrolanzieri 63a2b55
.murdock: add subset of ESP boards to test Kconfig
leandrolanzieri 9f31dfe
cpu/esp32: refactor esp_spi_ram feature
leandrolanzieri 53134d0
cpu/esp32: require esp_spi_ram feature to use the module
leandrolanzieri 721588b
cpu/esp8266: remove unneeded Makefile
leandrolanzieri 2815198
cpu/esp32: fix esp_jtag dependency
leandrolanzieri b89a62d
boards/esp32-wrover-kit: provide esp_jtag feature
leandrolanzieri 81b93c9
cpu/esp32/kconfig: move esp_wifi_enterprise feature to esp_common
leandrolanzieri dadaace
sys/log: check that one and only one backend
leandrolanzieri b761701
sys/rtt_rtc/kconfig: do not select RTC feature
leandrolanzieri 01e01c4
cpu/esp_common: move LINKFLAGS to Makefile.include
leandrolanzieri a685e03
cpu/esp32: check for cpp module instead of used feature
leandrolanzieri a8201c0
sys/log/kconfig: change entry-point
leandrolanzieri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,4 +15,3 @@ endif | |
|
|
||
| # unique features provided by the board | ||
| FEATURES_PROVIDED += esp_jtag | ||
| FEATURES_PROVIDED += esp_spi_ram | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DEFAULT_MODULE += esp_spi_ram |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1 @@ | ||
| USEMODULE += esp_spi_ram | ||
|
|
||
| include $(RIOTBOARD)/common/esp32/Makefile.dep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
boards/esp32-wemos-lolin-d32-pro/esp32-wemos-lolin-d32-pro.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| CONFIG_MODULE_ESP_SPI_RAM=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Sets up configuration for openocd | ||
| CONFIG_MODULE_ESP_JTAG=y | ||
gschorcht marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| CONFIG_MODULE_PM_LAYERED=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # Copyright (c) 2021 HAW Hamburg | ||
| # | ||
| # This file is subject to the terms and conditions of the GNU Lesser | ||
| # General Public License v2.1. See the file LICENSE in the top level | ||
| # directory for more details. | ||
| # | ||
|
|
||
| if TEST_KCONFIG | ||
|
|
||
| config MODULE_ESP_RTC_TIMER_32K | ||
| bool | ||
| depends on HAS_ESP_RTC_TIMER_32K | ||
| default y if MODULE_PERIPH_RTC | ||
| help | ||
| Use RTC timer with external 32.768 kHz crystal as RTT. | ||
|
|
||
| config MODULE_PERIPH_ADC_CTRL | ||
| bool | ||
| depends on HAS_PERIPH_ADC_CTRL | ||
| default y if MODULE_PERIPH_ADC || MODULE_PERIPH_DAC | ||
|
|
||
| config MODULE_PERIPH_RTT_HW_SYS | ||
| bool | ||
| default y if MODULE_PERIPH_RTT | ||
|
|
||
| config MODULE_PERIPH_RTT_HW_RTC | ||
| bool | ||
| default y if MODULE_PERIPH_RTT | ||
|
|
||
| endif # TEST_KCONFIG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Copyright (c) 2021 HAW Hamburg | ||
| # | ||
| # This file is subject to the terms and conditions of the GNU Lesser | ||
| # General Public License v2.1. See the file LICENSE in the top level | ||
| # directory for more details. | ||
| # | ||
|
|
||
| if TEST_KCONFIG | ||
|
|
||
| choice | ||
| bool "I2C implementation" | ||
| depends on MODULE_PERIPH_I2C | ||
| help | ||
| Due to the poor and faulty hardware I2C implementation the software one | ||
| is used by default for the moment. | ||
|
|
||
| config MODULE_ESP_I2C_SW | ||
| bool "Software" | ||
| select MODULE_PERIPH_I2C_SW | ||
|
|
||
| config MODULE_ESP_I2C_HW | ||
| bool "Hardware" | ||
| select MODULE_CORE_THREAD_FLAGS | ||
| select MODULE_XTIMER | ||
| select MODULE_PERIPH_I2C_HW | ||
|
|
||
| endchoice | ||
|
|
||
| config MODULE_PERIPH_I2C_HW | ||
| bool | ||
| help | ||
| Hardware implementation of I2C. | ||
|
|
||
| endif # TEST_KCONFIG |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.