Closed
Description
Board
ESP32
Device Description
ESP32 NodeMCU
Hardware Configuration
na
Version
v2.0.2
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
40
PSRAM enabled
yes
Upload speed
115200
Description
I can not position in a file (Seek) and overwrite a portion. There is no option in FS for RW (O_RDWR or FREAD|FWRITE)
I can only open for FILE_READ, FILE_WRITE, FILE_APPEND.
Sketch
File file = fs.open(path, O_RDWR);
Debug Message
\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2\xtensa-esp32-elf\sys-include\sys\_default_fcntl.h:50: note: it was later defined here
#define O_RDWR 2 /* +1 == FREAD|FWRITE */
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status
Done