Search found 110 matches
- Thu Jul 18, 2024 7:52 pm
- Forum: ESP-IDF
- Topic: Unit testing, on the host (gcc x86_64)
- Replies: 1
- Views: 2693
Re: Unit testing, on the host (gcc x86_64)
I am also interested in running unit tests on a host machine (via GitLab CI). Ideally, it would automatically use the same unit tests that I have written for my components in /components/mycmp/test/test_mycmp.c, just like the Unit Test App does . And if some tests are not appropriate for running on ...
- Fri Mar 15, 2024 2:00 pm
- Forum: Hardware
- Topic: GPIO4 can't be used for UART when Ethernet is enabled
- Replies: 6
- Views: 3720
Re: GPIO4 can't be used for UART when Ethernet is enabled
Not sure if relevant or helpful, but I previously found that JTAG was unusable when the EMAC is enabled, even though they don't share any pins. I never figured out why, but configured my project with macros to disable EMAC when I need to debug with JTAG.
- Fri Mar 15, 2024 1:44 pm
- Forum: Hardware
- Topic: ESP32 - IO33 - levels - 2V
- Replies: 2
- Views: 2249
Re: ESP32 - IO33 - levels - 2V
My guess is that the pin is initialized to Hi-Z (floating) at power-on-reset. Then it takes some time for the CPU to start running your code and set the level high.
You could try adding an external pull-up resistor to 3.3V so it goes high when the pin is hi-Z / floating.
You could try adding an external pull-up resistor to 3.3V so it goes high when the pin is hi-Z / floating.
- Fri Mar 15, 2024 1:32 pm
- Forum: Hardware
- Topic: In-Package Quad SPI Flash
- Replies: 2
- Views: 880
Re: In-Package Quad SPI Flash
Yep! And some ESP32 variants also have PSRAM / SPI RAM inside the same chip package.
- Fri Mar 15, 2024 1:25 pm
- Forum: Hardware
- Topic: Hardware Flash Corruption Issue
- Replies: 56
- Views: 57479
Re: Hardware Flash Corruption Issue
If you can recover after reflashing the code, then it is NOT the same issue as covered in this thread/topic.
You should start a new topic.
You should start a new topic.
- Thu Aug 17, 2023 8:10 pm
- Forum: General Discussion
- Topic: ESP-IDF very slow compilation from vscode
- Replies: 3
- Views: 6629
Re: ESP-IDF very slow compilation from vscode
Whoa! adding --ccache makes a huge difference. Wonder why that isn't the default?
Thanks for the tips.
Thanks for the tips.
- Thu Jul 27, 2023 2:33 pm
- Forum: ESP-IDF
- Topic: [Answered] Maximum number of open sockets supported
- Replies: 7
- Views: 19727
Re: [Answered] Maximum number of open sockets supported
The way I've dealt with this limitation is to set the HTTP header "Connection: close\r\n". That tells the client to close every connection as soon as it is finished being used. This has allowed me to serve static content and some APIs to several browsers and keep several websockets alive at once. I'...
- Wed Jun 07, 2023 6:41 pm
- Forum: ESP-IDF
- Topic: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
- Replies: 2
- Views: 2043
Re: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
Thanks ESP_ondrej for your confirmation that this could work.
I already have a method to detect the HW version at run-time (on our production-line, we write a hardware version code to a special NVS partition).
I already have a method to detect the HW version at run-time (on our production-line, we write a hardware version code to a special NVS partition).
- Thu Apr 20, 2023 7:15 pm
- Forum: ESP-IDF
- Topic: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
- Replies: 2
- Views: 2043
Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
I have this scenario: We have existing products in the field that we continue to support with OTA FW updates. And we want to develop the next generation product which uses some different components. We would like to distribute a single FW binary that can support both old and new hardware. Specifical...
- Thu Apr 20, 2023 6:50 pm
- Forum: ESP-IDF
- Topic: Using OTA with multi-partition application
- Replies: 6
- Views: 5461
Re: Using OTA with multi-partition application
If you want a read-only filesystem that is compiled into your firmware binary, I use EspFs (a.k.a. FrogFs) and it is fast and easy to use.
https://github.com/jkent/frogfs
https://github.com/jkent/frogfs