ghubcoder / micropython-pico-deepsleep

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
Other
30 stars 2 forks source link

nosys.specs #16

Open git0fun opened 4 months ago

git0fun commented 4 months ago

I tried building the uf2.file because the precompiled version did not work on my Pico W. picosleep during the evening/night (20.00 - 8.00) makes no difference. Now i have this error on my macOS. I already tried 'make clean'

make -j4 BOARD=RPI_PICO_W [ -e build-RPI_PICO_W/Makefile ] || cmake -S . -B build-RPI_PICO_W -DPICO_BUILD_DOCS=0 -DMICROPY_BOARD=RPI_PICO_W -DMICROPY_BOARD_DIR="/Users/[username]/micropython-pico-deepsleep/ports/rp2/boards/RPI_PICO_W" PICO_SDK_PATH is /Users/[username]/micropython-pico-deepsleep/lib/pico-sdk Defaulting PICO_PLATFORM to rp2040 since not specified. Defaulting PICO platform compiler to pico_arm_gcc since not specified. PICO compiler is pico_arm_gcc PICO_EXTRAS_PATH is /Users/[username]/micropython-pico-deepsleep/ports/rp2 -- The C compiler identification is GNU 14.1.0 -- The CXX compiler identification is GNU 14.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/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/local/bin/arm-none-eabi-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/local/bin/arm-none-eabi-gcc Build type is MinSizeRel PICO target board is pico_w. Using CMake board configuration from /Users/[username]/micropython-pico-deepsleep/lib/pico-sdk/src/boards/pico_w.cmake Using board configuration from /Users/[username]/micropython-pico-deepsleep/lib/pico-sdk/src/boards/include/boards/pico_w.h -- Found Python3: /usr/local/bin/python3.11 (found version "3.11.1") found components: Interpreter TinyUSB available at /Users/[username]/micropython-pico-deepsleep/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB. BTstack available at /Users/[username]/micropython-pico-deepsleep/lib/btstack cyw43-driver available at /Users/[username]/micropython-pico-deepsleep/lib/cyw43-driver Pico W Bluetooth build support available. lwIP available at /Users/[username]/micropython-pico-deepsleep/lib/lwip Pico W Wi-Fi build support available. mbedtls available at /Users/[username]/micropython-pico-deepsleep/lib/pico-sdk/lib/mbedtls lwIP available at /Users/[username]/micropython-pico-deepsleep/lib/pico-extras/lib/lwip/src/core/tcp.c; TCP/IP support is available. Found User C Module(s): -- Configuring done (2.2s) -- Generating done (0.7s) -- Build files have been written to: /Users/[username]/micropython-pico-deepsleep/ports/rp2/build-RPI_PICO_W /Library/Developer/CommandLineTools/usr/bin/make -s -C build-RPI_PICO_W || (echo -e "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m"; false) [ 0%] Creating directories for 'PioasmBuild' [ 0%] Creating directories for 'ELF2UF2Build' [ 0%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj [ 1%] Linking ASM executable bs2_default.elf [ 2%] No download step for 'PioasmBuild' [ 2%] No download step for 'ELF2UF2Build' arm-none-eabi-gcc: fatal error: cannot read spec file 'nosys.specs': No such file or directory compilation terminated. make[3]: [pico-sdk/src/rp2_common/boot_stage2/bs2_default.elf] Error 1 make[2]: [pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 2%] No update step for 'ELF2UF2Build' [ 2%] No update step for 'PioasmBuild' [ 3%] No patch step for 'ELF2UF2Build' [ 3%] No patch step for 'PioasmBuild' [ 3%] Performing configure step for 'ELF2UF2Build' [ 3%] Performing configure step for 'PioasmBuild' loading initial cache file /Users/[username]/micropython-pico-deepsleep/ports/rp2/build-RPI_PICO_W/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/tmp/PioasmBuild-cache-MinSizeRel.cmake CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

GEN /Users/[username]/micropython-pico-deepsleep/ports/rp2/build-RPI_PICO_W/genhdr/mpversion.h [ 3%] Built target BUILD_VERSION_HEADER -- The C compiler identification is AppleClang 14.0.0.14000029 -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting CXX compiler ABI info -- The CXX compiler identification is AppleClang 14.0.0.14000029 -- Detecting C compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (1.0s) -- Generating done (0.0s) -- Build files have been written to: /Users/[username]/micropython-pico-deepsleep/ports/rp2/build-RPI_PICO_W/pioasm [ 3%] Performing build step for 'PioasmBuild' -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info [ 10%] Building CXX object CMakeFiles/pioasm.dir/main.cpp.o [ 20%] Building CXX object CMakeFiles/pioasm.dir/pio_assembler.cpp.o [ 30%] Building CXX object CMakeFiles/pioasm.dir/pio_disassembler.cpp.o -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (1.8s) -- Generating done (0.0s) -- Build files have been written to: /Users/[username]/micropython-pico-deepsleep/ports/rp2/build-RPI_PICO_W/elf2uf2 [ 3%] Performing build step for 'ELF2UF2Build' [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o [ 40%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.o [100%] Linking CXX executable elf2uf2 [100%] Built target elf2uf2 [ 3%] No install step for 'ELF2UF2Build' [ 50%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.o [ 4%] Completed 'ELF2UF2Build' [ 4%] Built target ELF2UF2Build [ 60%] Building CXX object CMakeFiles/pioasm.dir/c_sdk_output.cpp.o [ 70%] Building CXX object CMakeFiles/pioasm.dir/python_output.cpp.o [ 80%] Building CXX object CMakeFiles/pioasm.dir/hex_output.cpp.o [ 90%] Building CXX object CMakeFiles/pioasm.dir/ada_output.cpp.o [100%] Linking CXX executable pioasm [100%] Built target pioasm [ 4%] No install step for 'PioasmBuild' [ 4%] Completed 'PioasmBuild' [ 4%] Built target PioasmBuild make[1]: [all] Error 2 -e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting make: [all] Error 1

Donatussss commented 3 months ago

Hi, you can have a look at this