-
Notifications
You must be signed in to change notification settings - Fork 0
Errata
-
Windows filenames: ccache: error: Failed to create temporary file It looks like you might be running up against path length limitations on Windows. Windows is limited to 260 character paths by default, and it looks like the total path length for some of these build files is pushing up against that. Use short directory names
-
Furthermore, float cannot be used in interrupt service routines. (probably due to saving state of FPU registers?) Be careful on this. double is ok, and it may be possible to save FPU state.
-
If get weird errors in compiling, use PlatformIO: Clean (the empty trash symbol). This will clean out temporary files, and a fresh build should be working again.
-
If adding extra files to src, make sure to manually add file to CMakelists.txt CMakeLists.txt: idf_component_register(SRCS "hello_world_main.c" “other1.c” INCLUDE_DIRS "")
-
Running out of stack space (printf uses a lot of stack space) for a task
-
Starving the ``idle’’ process (will cause a crash). Make sure every process has vTaskDelay() for a lower priority process to run
-
When creating tasks, make sure stack space is sufficient (good to use for debugging)