Hi Ben
I have instaled the ESP v5.1.2 and it's working fine for the testprogram with an ESP32 C3.
that's really great!!
But for my old program with an ESP32 Pico I get a fail. I
I tested it before the update and it was working fine.
I also deleted all files and folders except the .fcfx file and recompiled it and it still failed.
regards
Stefan
ESP32 C3 working fine but problem "old" ESP32 Pico
-
- Valued Contributor
- Posts: 760
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
ESP32 C3 working fine but problem "old" ESP32 Pico
- Attachments
-
- IMU_sdcard_Ch1.fcfx
- (129.1 KiB) Downloaded 64 times
-
- IMU_sdcard_Ch1.msg.txt
- (225.59 KiB) Downloaded 80 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 C3 working fine but problem "old" ESP32 Pico
Hi Ben
I found two problem.
The first:
I have to remove watchdog C code so then a test-program is compiling. The second:
it's a little strange.
If I have a macro with a return type "Byte, Int, UInt...." it gives a fail
but if the return type is "string" then no fail...
regards
Stefan
A testprogram with fail if use ESP-IDF v5.1.2
I found two problem.
The first:
I have to remove watchdog C code so then a test-program is compiling. The second:
it's a little strange.
If I have a macro with a return type "Byte, Int, UInt...." it gives a fail
but if the return type is "string" then no fail...
regards
Stefan
A testprogram with fail if use ESP-IDF v5.1.2
-
- Matrix Staff
- Posts: 1756
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 446 times
- Been thanked: 606 times
Re: ESP32 C3 working fine but problem "old" ESP32 Pico
Have you assigned a value to the return? I think the ESP compiler will error if there is a return that hasn't been assigned a value. For a string it's a pointer and so is probably less likely to moan about it not being populated as it's harder to know if it has been.
Yes I'm aware the watchdog timer fix code has stopped working, I need to look into this to find a new fix.
Yes I'm aware the watchdog timer fix code has stopped working, I need to look into this to find a new fix.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 C3 working fine but problem "old" ESP32 Pico
Hi Ben
Yes, the ESP-IDF 5.12 need to assigned a value to the .return. (ESP-IDF 4 maybe not)
The testprogram 512_test_1.fcfx is working now.
I still have another fail to fix.
Is there an error message somewhere where the fails come from?
Yes, the ESP-IDF 5.12 need to assigned a value to the .return. (ESP-IDF 4 maybe not)
The testprogram 512_test_1.fcfx is working now.
I still have another fail to fix.
Is there an error message somewhere where the fails come from?