-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Application won't start after flashing #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You have in menuconfig an option that says something like "start scheduler on CPU0 only" and that is selected. Arduino runs on CPU1 |
That did indeed fix the problem, found the option in the FreeRTOS-Settings. Is there a way to make the "correct" selection a default option? Or maybe this should be noted in the doc since I'm quite sure many people try to use the default template and then run into this problem. |
there are two ways to do it. One is to detect that CORE1 is off and run on core 0, the other is to force CORE1 on. Both exclude each other and can not exists in Arduino at the same time, so I need to pick one, but have not decided which one yet. |
have to think about it more, maybe it's doable through option in Arduino's menuconfig |
@me-no-dev Any update on this issue or suggestions to solve in terms of choosing the correct setting? |
* Fixes Matter over WiFi to disable OpenThread * fix flag value * disables Matter Stack WiFi manager * rollback Matter WiFi Manager changes
Since I build and flash on separate machines I won't run
make flash
. Rather I willmake
and then copy overbootloader.bin
,default.bin
,boot_app0.bin
andapp-template.bin
to the "flash machine".I will then flash them with:
This succeedes. On the console the ESP32 (devKit J) will print out:
After that nothing else is printed to the console. My App looks like:
I see neither the console logs nor any level changes on
IO5
.What could have gone wrong here?
Could it be that "make flash" does some other stuff? I also checked the binary
app-template.bin
, it contains the strings "loop" and "hello" so at least it is the correct file.Just to be complete here is the arduino part from sdconfig:
The text was updated successfully, but these errors were encountered: