-
Notifications
You must be signed in to change notification settings - Fork 2k
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
pkg/esp32_sdk: bump to v4.4.2 #18767
Conversation
pkg/esp32_sdk/patches/0006-compilation-include-missing-header-files.patch
Show resolved
Hide resolved
@@ -145,6 +145,11 @@ void vTaskSuspend(TaskHandle_t xTaskToSuspend) | |||
} | |||
} | |||
|
|||
void vTaskSuspendAll(void) | |||
{ | |||
/* TODO */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we will ever be able to implement it in on top of the RIOT scheduler.
Do you think that it is necessary to test it for all ESP32x SoCs? |
Murdock results✔️ PASSED 3ba39e1 pkg/esp32_sdk: bump to v4.4.2
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
What is the hold-up here? |
CI was not happy at all |
any plans to bump it to v5.0? 👉👈 |
#18767 (comment) does not really reflect this 😅 |
I'm not even sure if we have any ESP32 devices included in the Murdock run, AFAIR the build failures were on some of the newer ones. |
I had already started working on it over a year ago, but had to stop my work a year ago for personal reasons. Unfortunately, it is much more than just an upgrade to the next version. Rather, it requires a major rework of the RIOT-OS port to ESP32 due to the extensive changes in ESP-IDF with this major release and the fact that we can't just use it as it is, since ESP-IDF is directly merged with FreeRTOS. This means that we can only use some low-level functions that are not actually usable via the API and have to add some tricks and our own functions to be able to use the ESP32 SoCs at all which is quite difficult due to the undocumented or poorly documented hardware. That is the RIOT-OS port to ESP32 SoCs is quite tricky. After the break of over a year now, I honestly don't know whether I'll have the time to look at ESP-IDF v5.x in the near future and try the port again. Unfortunately, we need ESP-IDF v5.x to support the newer ESP32 RISC-V SoCs. |
Well if you'd like some extra labor power i'd volunteer. it would be educational for me 😄 My usecase is driving a strip of WS281x neopixels using the RMT module with DMA. The DMA part is currently missing in the WS281x driver in RIOT. I'm considering hacking in DMA support to the neopixel driver somehow, but then it would depend on the outdated ESP sdk that RIOT uses currently, which I'm unsure if it'd be desirable by the core RIOT team. For reference, DMA support got added to the RMA module in version v5.0 of ESP-IDF/SDK (commit 2fb43820c22) Any advice/suggestion is welcome! |
With PR #21261 we will provide the migration to ESP-IDF v5.4. Unfortunately, the RMT module has been completely redesigned, so I decided to use the legacy driver in the first step and migrate to the new RMT module later 😟 |
This PR is now obsolete. |
Contribution description
v4.4.2 is a bugfix release, it should work with only minor changes.
The restart procedure now involves
esp_restart_noos()
andvTaskSuspendAll()
, so addsystem_internal.c
for the former and a dummy implementation for the latter.Testing procedure
Only tested
examples/gnrc_border_router
onesp32-wroom-32
so far.Issues/PRs references