-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Summary
I was testing the different code samples in the repo, and all are working ok, but this firmware, multi booter has errors:
Details
/tmp/ccAUr52L.s:14457: Warning: ignoring changed section attributes for .text
[ 62%] Building C object picomite/CMakeFiles/PicoMite.dir/Commands.c.obj
[ 62%] Building C object picomite/CMakeFiles/PicoMite.dir/FileIO.c.obj
[ 62%] Building C object picomite/CMakeFiles/PicoMite.dir/ff.c.obj
[ 63%] Building C object picomite/CMakeFiles/PicoMite.dir/ffsystem.c.obj
[ 63%] Building C object picomite/CMakeFiles/PicoMite.dir/ffunicode.c.obj
[ 63%] Building C object picomite/CMakeFiles/PicoMite.dir/mmc_stm32.c.obj
[ 64%] Building C object picomite/CMakeFiles/PicoMite.dir/Draw.c.obj
[ 64%] Building C object picomite/CMakeFiles/PicoMite.dir/Editor.c.obj
/home/avp/pico/PicoCalc/Code/pico_multi_booter/picomite/Editor.c: In function 'FullScreenEditor':
/home/avp/pico/PicoCalc/Code/pico_multi_booter/picomite/Editor.c:1007:33: error: a label can only be part of a statement and a declaration is not a statement
int line=0;
^~~
/home/avp/pico/PicoCalc/Code/pico_multi_booter/picomite/Editor.c:1008:33: error: expected expression before 'int'
int i=find_longest_line_length((char *)EdBuff, &line);
^~~
make[2]: *** [picomite/CMakeFiles/PicoMite.dir/build.make:264: picomite/CMakeFiles/PicoMite.dir/Editor.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:2598: picomite/CMakeFiles/PicoMite.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
CMake config output:
Using PICO_SDK_PATH from environment ('/home/avp/pico/pico-sdk')
PICO_SDK_PATH is /home/avp/pico/pico-sdk
Defaulting platform (PICO_PLATFORM) to 'rp2040' since not specified.
Defaulting target board (PICO_BOARD) to 'pico' since not specified.
Using board configuration from /home/avp/pico/pico-sdk/src/boards/include/boards/pico.h
Pico Platform (PICO_PLATFORM) is 'rp2040'.
-- Defaulting build type to 'Release' since not specified.
Defaulting compiler (PICO_COMPILER) to 'pico_arm_cortex_m0plus_gcc' since not specified.
Configuring toolchain based on PICO_COMPILER 'pico_arm_cortex_m0plus_gcc'
Defaulting PICO_GCC_TRIPLE to 'arm-none-eabi'
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Build type is Release
Using PICOTOOL_FETCH_FROM_GIT_PATH from environment ('/home/avp/pico/pico-sdk')
-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter
TinyUSB available at /home/avp/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
BTstack available at /home/avp/pico/pico-sdk/lib/btstack
cyw43-driver available at /home/avp/pico/pico-sdk/lib/cyw43-driver
lwIP available at /home/avp/pico/pico-sdk/lib/lwip
mbedtls available at /home/avp/pico/pico-sdk/lib/mbedtls
Using PICOTOOL_FETCH_FROM_GIT_PATH from environment ('/home/avp/pico/pico-sdk')
Using PICOTOOL_FETCH_FROM_GIT_PATH from environment ('/home/avp/pico/pico-sdk')
Using PICOTOOL_FETCH_FROM_GIT_PATH from environment ('/home/avp/pico/pico-sdk')
-- Configuring done
-- Generating done
-- Build files have been written to: /home/avp/pico/PicoCalc/Code/pico_multi_booter/build
Metadata
Metadata
Assignees
Labels
No labels