Hi Everyone,
Maybe I need a coffee...but I cannot truncate a file using FatFS/POSIX or anything I can put my hands on...
Simple example of what I'm trying to achieve (assume file is 100B).
FILE *f = fopen(file_path, "r+");
fseek(f,-20,SEEK_END);
truncate(f,0);
fflush(f);
f_sync(f);
abort ...
Search found 5 matches
- Mon Dec 30, 2024 2:35 pm
- Forum: ESP-IDF
- Topic: Simple file truncation example?
- Replies: 1
- Views: 736
- Tue Oct 01, 2024 4:39 am
- Forum: IDEs for ESP-IDF
- Topic: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
- Replies: 4
- Views: 13185
Re: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
Hi,
Thanks for you for the troubleshooting advice. I tried these steps (including clearing all key/value pairs in JSON files that contained IDF) but the problem persists - i can program & flash but not monitor from VS Code.
Did you have any other suggestions? I will also raise a ticket on GitHub ...
Thanks for you for the troubleshooting advice. I tried these steps (including clearing all key/value pairs in JSON files that contained IDF) but the problem persists - i can program & flash but not monitor from VS Code.
Did you have any other suggestions? I will also raise a ticket on GitHub ...
- Sat Sep 28, 2024 3:03 am
- Forum: IDEs for ESP-IDF
- Topic: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
- Replies: 4
- Views: 13185
Re: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
Espressif...you tell people to use this forum for support but I'm getting nothing.
Can someone please provide some guidance here?
Can someone please provide some guidance here?
- Wed Sep 25, 2024 10:49 pm
- Forum: IDEs for ESP-IDF
- Topic: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
- Replies: 4
- Views: 13185
Re: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
bump
Anyone out there?
Anyone out there?
- Wed Sep 25, 2024 3:58 am
- Forum: IDEs for ESP-IDF
- Topic: Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
- Replies: 4
- Views: 13185
Can't launch monitor within VSCode (M1 Mac, MacOS Sequoia)
Hi All,
After upgrading to MacOS Sequoia my VSCode stopped launching. I reinstalled VSCode and had problems with the ESP-IDF extension. After extensive troubleshooting I’ve regained most functionality but still cannot launch the monitor within VSCode.
When trying to launch the monitor it appears ...
After upgrading to MacOS Sequoia my VSCode stopped launching. I reinstalled VSCode and had problems with the ESP-IDF extension. After extensive troubleshooting I’ve regained most functionality but still cannot launch the monitor within VSCode.
When trying to launch the monitor it appears ...