Hello,
I am trying to build an application on ESP32 WROOM32E with basic peripherals including Keys, LCD,ADC, UART and Wi-Fi. Is it possible to run my code without FreeRTOS ?
I also tried disabling the Initialize Task Watchdog Timer on startup option. But watchdog timer keeps resetting(I have attached image for reference).
Is it possible to run my code as in Bare Metal ?
How to use ESP32 WROOM32E without FreeRTOS
-
- Posts: 34
- Joined: Fri Feb 26, 2021 9:03 am
How to use ESP32 WROOM32E without FreeRTOS
- Attachments
-
- watchdd_rst_1.PNG (146.94 KiB) Viewed 6802 times
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to use ESP32 WROOM32E without FreeRTOS
Is there a reason why you want to do it? For various reasons, not having any FreeRTOS interaction on one core is harder than you might think; there may be other ways of solving your issue.
-
- Posts: 34
- Joined: Fri Feb 26, 2021 9:03 am
Re: How to use ESP32 WROOM32E without FreeRTOS
The reason to avoid FreeRTOS is due to product security perspective. Our product security team doesn't recommend use of Open source libraries. If any vulnerabilities found while scanning the code in Static analysis tool, then we might not be able to resolve those vulnerabilities issues if found in FreeRTOS libraries.
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to use ESP32 WROOM32E without FreeRTOS
Ah, I misread your request; I thought you said you only wanted to run FreeRTOS on one core. Not running it at all is not well-supported to begin with (you would have to cobble something together from the ESP-IDF startup code and the LL driver layers) and impossible if you want to use WiFi: although you could potentially modify it for another RTOS, the WiFi drivers expect some kind of RTOS as the underlying infrastructure.
(Besides that, your product security teams stance is odd. If FreeRTOS was closed source, you wouldn't be able to fix any issues with it as it's closed. Because FreeRTOS is open and you can look at the code, it's possible to fix any issues in there.)
(Besides that, your product security teams stance is odd. If FreeRTOS was closed source, you wouldn't be able to fix any issues with it as it's closed. Because FreeRTOS is open and you can look at the code, it's possible to fix any issues in there.)
Re: How to use ESP32 WROOM32E without FreeRTOS
Hi Adhvajit,
I don't know if this is helpful, but to add to Sprite's point: the FreeRTOS functionality that's included in ESP-IDF is supported as a whole by Espressif - the same as the support for supplied drivers for LCD, ADC, UART, Wi-Fi, etc. So you may be able to explain to your security team that this is a vendor-supplied library, rather than a third-party open source library included from elsewhere on the internet. All of ESP-IDF falls under the same support policy, which can be found here, that includes responding to any security issues.Ashvajit.P wrote: ↑Tue Jun 08, 2021 8:49 amThe reason to avoid FreeRTOS is due to product security perspective. Our product security team doesn't recommend use of Open source libraries. If any vulnerabilities found while scanning the code in Static analysis tool, then we might not be able to resolve those vulnerabilities issues if found in FreeRTOS libraries.
Who is online
Users browsing this forum: chegewara and 99 guests