Search found 2 matches
- Sat Apr 16, 2022 7:58 am
- Forum: ESP32 Arduino
- Topic: Help with ESP32 and RTOS
- Replies: 5
- Views: 2994
Re: Help with ESP32 and RTOS
I know it is not the answer you are looking for, but I think what you really want here is a mutex with a 10 (or maybe 9) second timeout, rather than suspending the processes. That way, you could just have the three functions on timers, and if Task1 timer is defined first, it will consistently run f...
- Sat Apr 16, 2022 7:41 am
- Forum: ESP-IDF
- Topic: ESP crashes when the sd card removed in the middle of write operation
- Replies: 3
- Views: 2107
Re: ESP crashes when the sd card removed in the middle of write operation
Well, here's a silly question; why would you expect it to NOT fail if you remove the card in the middle of a write operation? That's called (at least in my day) a major hardware failure. You need to wait for it to finish, close any open file, and perhaps signal somehow that the card is ready to be p...