Page 5 of 6

Re: ESP32 Compiling error

Posted: Mon Oct 11, 2021 3:10 pm
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

Re: ESP32 Compiling error

Posted: Sat Apr 30, 2022 12:58 pm
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 92 times

Re: ESP32 Compiling error

Posted: Tue May 03, 2022 2:56 pm
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 71 times

Re: ESP32 Compiling error

Posted: Tue May 03, 2022 3:52 pm
by mnfisher
The error message means that the programming port isn't set (program options - bottom right)

Martin

Re: ESP32 Compiling error

Posted: Wed May 04, 2022 6:25 am
by jollybv
Thanks Martin something simple

Re: ESP32 Compiling error

Posted: Wed May 04, 2022 8:15 am
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 96 times
If i try to compile a second time then i get this message
error 2.txt
(63.36 KiB) Downloaded 96 times
Brew_controller_ili9341.fcfx
(149.06 KiB) Downloaded 87 times

Re: ESP32 Compiling error

Posted: Wed May 04, 2022 8:31 am
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 2477 times

Re: ESP32 Compiling error

Posted: Wed May 04, 2022 11:17 am
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.

Re: ESP32 Compiling error

Posted: Wed May 04, 2022 5:41 pm
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.

Re: ESP32 Compiling error

Posted: Thu May 05, 2022 6:56 am
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)