ESP32 Compiling error

For general Flowcode discussion that does not belong in the other sections.
stefan.erni
Valued Contributor
Posts: 738
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 Compiling error

Post by stefan.erni »

Hi Jollybv

I uninstall every thing and install it again

I have load it into just the ESP-IDF folder and it's not working


regards

Stefan

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Hi Guys

I changed my display to gLCD ili9341 and updated all the components macro's deleted the old display, now I am getting error when compiling not sure if the gLCD component is clashing with the esp32 node mcu as I have not changed any code only updated from ST7735 to ili9341 and the code is working on ST7735 display

Error code display.txt
(12.42 KiB) Downloaded 86 times

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Hi Guys

I have made a simple program just to test the ili9341 display by itself but it still dose not compile, I get

Error: Invalid value for '-b' / '--baud': 'flash' is not a valid integer.
Programming Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_prog.bat reported error code 0x1

Autoclose turned off


I can run it in simulation but not on the board
Test_ili9341_display.fcfx
(12.41 KiB) Downloaded 66 times

mnfisher
Valued Contributor
Posts: 938
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 502 times

Re: ESP32 Compiling error

Post by mnfisher »

The error message means that the programming port isn't set (program options - bottom right)

Martin

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Thanks Martin something simple

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Hi Guys
Can someone please explain why my program will not compile with the ili9341. The first message i get is as follows
error 1.txt
(63.36 KiB) Downloaded 90 times
If i try to compile a second time then i get this message
error 2.txt
(63.36 KiB) Downloaded 88 times
Brew_controller_ili9341.fcfx
(149.06 KiB) Downloaded 81 times

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 Compiling error

Post by stefan.erni »

Hi Jollybv

I can compile it....

regards

Stefan
ok_2022-05-04_9-28-28.jpg
ok_2022-05-04_9-28-28.jpg (39.39 KiB) Viewed 2377 times

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Hi Stefan

Thanks any idea why it wont compile on my machine? I have uninstalled Flowcode reinstalled still not compiling I have also reactivated flowcode licence nothing, this is driving me nuts anyone got any good suggestions on how to sort this.

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: ESP32 Compiling error

Post by LeighM »

Builds for me too.
I notice this in the error2.txt ...
CMake Warning in ../../bootloader_support/CMakeLists.txt:
The object file directory
C:/Users/brian/Dropbox/Designs_and_software/Boards-21-04-14/Boards_In_the_market/PWM_Controller/Test_gLCD_ili9341/Brew_controller_ili9341/build/bootloader/esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/
has 222 characters. The maximum full path to an object file is 250
characters (see CMAKE_OBJECT_PATH_MAX). Object file
src/bootloader_common_loader.c.obj
cannot be safely placed under this directory. The build may not work
correctly.
I suggest that you copy your project to a shorter path and try again.

jollybv
Posts: 125
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 40 times
Been thanked: 11 times

Re: ESP32 Compiling error

Post by jollybv »

Hi Leigh

Thanks for that it has solved the problem and I have learnt something new, maybe that is why I have had to save my projects 2 or 3 times before it will compile (path to long)

Post Reply