Comments (6)
You probably need to put a delay in loop() or else delete it withvTaskDelete(NULL);
.
from arduino-esp32.
Adding void loop() { delay(1); }
does not change a thing.
The warning on ESP32-C3 comes from disableCore0WDT
called by LittleFS.format()
function:
arduino-esp32/libraries/LittleFS/src/LittleFS.cpp
Lines 106 to 109 in 0ef2986
from arduino-esp32.
Beside the fact the function call format
should do the job, format is not needed when using LittleFS. It should be possible to use the FS with
#include <LittleFS.h>
void setup() {
Serial.begin(115200);
Serial.printf("init\n");
bool ok = LittleFS.begin();
Serial.printf("begin %d\n", static_cast<int>(ok));
LittleFS.end();
Serial.printf("end\n");
}
void loop() {
}
from arduino-esp32.
I'm aware of LittleFS.begin(true)
.
My actual program is a unit test suite of my own library.
At the start of the scenario, I need to have a blank filesystem.
Hence, I want to invoke format()
to ensure there's no file stored.
This was working fine with FFat but I'm trying to move to LittleFS.
https://github.com/yoursunny/esp8266ndn/blob/da3e7dc48c6b3276055156c9719e7f0b9cf3afc7/examples/unittest/unittest.ino#L134-L143
from arduino-esp32.
@yoursunny LittleFS is the smallest of your migration challenges. NimBLE Arduino will not work for the new MCUs (C6 H2). See #9836
from arduino-esp32.
NimBLE is unrelated to this.
I can use both NimBLE and Bluedroid.
from arduino-esp32.
Related Issues (20)
- NetworkClientSecure::setCACertBundle Improperly Implemented
- I2C protocol not working HOT 1
- Guru Meditation Error: Core 1 panic'ed with Espressif board package > 2.0.14 HOT 9
- "error: 'WiFi' was not declared in this scope" HOT 2
- Garbage on HardwareSerial ESP32S2 at 3.0.4 HOT 9
- esp rainmaker and esp32c3 HOT 7
- ESP32 S3 with a custom partition (IDE 2.3.2) HOT 5
- ESP_LOGE and log_e broken with USB-CDC on ESP32-S2 (and others?) if #include <Arduino.h> [[includes diagnosis!]] HOT 3
- arduino-esp32/docs/en/api /adc.rst analogReadMillivolts should be analogReadMilliVolts with capital V HOT 1
- Chip is unknown ESP32 (revision v1.0) abort() HOT 3
- BLEServer Memory Leak after device connecting and disconnecting HOT 9
- Is there any update plan for ESP32 P4? I want to experience Arduino running on ESP32 P4 as soon as possible HOT 4
- GDEH0154D67 eink screen working worse after moving arduino to being as a component of esp-idf HOT 14
- Implement Zigbee in Arduino HOT 9
- Serial.print() in WiFi event handler can hang ESP32-S2 (repro case included) HOT 6
- [send_ssl_data():382]: (-80) UNKNOWN ERROR CODE (0050) HOT 1
- WiFi not connecting, but release 2.0.0 works HOT 5
- I2S: Error message: [esp32-hal-periman.c:122] perimanSetPinBus(): Invalid pin: 255 on i2s->setPins() HOT 2
- ESP32 S3 I2C issues when working as slave
- no port arduino ide 1.18.9 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-esp32.