Mike Dunston

Results 169 comments of Mike Dunston

Start with an IDF only project in PIO. Use the sdkconfig.h from arduino-esp32 since it includes the necessary definitions for arduino-esp32 (dependencies, etc). You don't need to add arduino-esp32 as...

@valeros I see a couple possible issues with the updated code: 1. arduino-esp32 has a few extra CCFLAGS which are not included in espidf.py when arduino is enabled, this may...

> I'm having a lot of trouble in order to use some Arduino libs on espidf since i2c driver from Arduino framework seems not to work well with espidf. Can...

@valeros 1. These flags are in the PIO build script in arduino-esp32 and also in platform.txt used by Arduino ide. 2. Same as (1). 3. I don't think they should...

@sticilface set framework to "espidf, arduino" (note there is a space after the comma, without it PIO fails). Also for your defines, did you try just " and not \"...

@valeros difference in PIO based on framework line: espidf, arduino: ``` xtensa-esp32-elf-g++ -o .pio\build\esp32\src\ConfigurationManager.cpp.o -c -std=c++11 -fno-rtti -fno-exceptions -std=gnu++11 -Werror=all -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function -g3 -Os -Wall -nostdlib -Wpointer-arith...

@valeros found one other issue, LDF will need an update as well: ``` Processing esp32 (framework: espidf, arduino; platform: https://github.com/platformio/platform-espressif32.git; board: esp32dev) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v,...

Interesting, is it using a cache per file handle or is it per file in the FS? If it is per handle, is it possibly the caches are getting out...

Perhaps track the `lfs_file_t` instance and return the same in your API as part of littlefs_vfs_open()? If that is what you are proposing I think it should be fine to...

Once you have something ready to test I can test it in my application and see how it performs. If you have a CAN-USB adapter for your PC and a...