Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vrangan@ASUS-STRIX-B550:/mnt/e/Data/local_github/tvai_ope/proto/pico_ice$ mkdir build && cd build
- cmake .. && make
- PICO_SDK_PATH is /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/pico-sdk
- Defaulting PICO_PLATFORM to rp2040 since not specified.
- Defaulting PICO platform compiler to pico_arm_gcc since not specified.
- -- Defaulting build type to 'Release' since not specified.
- PICO compiler is pico_arm_gcc
- -- The C compiler identification is GNU 10.3.1
- -- The CXX compiler identification is GNU 10.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
- Defaulting PICO target board to pico since not specified.
- Using board configuration from /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/pico-sdk/src/boards/include/boards/pico.h
- -- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
- TinyUSB available at /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build
- [ 1%] Creating directories for 'PioasmBuild'
- [ 2%] No download step for 'PioasmBuild'
- [ 3%] No update step for 'PioasmBuild'
- [ 4%] No patch step for 'PioasmBuild'
- [ 5%] Performing configure step for 'PioasmBuild'
- loading initial cache file /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/pico-ice-sdk/pioasm/tmp/PioasmBuild-cache-Release.cmake
- -- The CXX compiler identification is GNU 11.3.0
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/pioasm
- [ 6%] Performing build step for 'PioasmBuild'
- [ 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
- [ 40%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.o
- [ 50%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.o
- [ 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
- [ 7%] No install step for 'PioasmBuild'
- [ 8%] Completed 'PioasmBuild'
- [ 8%] Built target PioasmBuild
- [ 9%] Generating ice_cram.pio.h
- [ 9%] Built target pico_ice_sdk_ice_cram_pio_h
- [ 10%] Creating directories for 'ELF2UF2Build'
- [ 11%] No download step for 'ELF2UF2Build'
- [ 12%] No update step for 'ELF2UF2Build'
- [ 13%] No patch step for 'ELF2UF2Build'
- [ 14%] Performing configure step for 'ELF2UF2Build'
- -- The C compiler identification is GNU 11.3.0
- -- The CXX compiler identification is GNU 11.3.0
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/elf2uf2
- [ 15%] Performing build step for 'ELF2UF2Build'
- [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o
- [100%] Linking CXX executable elf2uf2
- [100%] Built target elf2uf2
- [ 16%] No install step for 'ELF2UF2Build'
- [ 16%] Completed 'ELF2UF2Build'
- [ 16%] Built target ELF2UF2Build
- Scanning dependencies of target bs2_default
- [ 17%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
- [ 17%] Linking ASM executable bs2_default.elf
- [ 17%] Built target bs2_default
- [ 18%] Generating bs2_default.bin
- [ 19%] Generating bs2_default_padded_checksummed.S
- [ 19%] Built target bs2_default_padded_checksummed_asm
- Scanning dependencies of target pico_usb_uart
- [ 20%] Building C object CMakeFiles/pico_usb_uart.dir/main.c.obj
- /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c: In function 'main':
- /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c:45:5: error: 'tud_cdc_rx_cb_table' undeclared (first use in this function); did you mean 'tud_cdc_rx_cb'?
- 45 | tud_cdc_rx_cb_table[1] = &ice_usb_cdc_to_uart0;
- | ^~~~~~~~~~~~~~~~~~~
- | tud_cdc_rx_cb
- /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c:45:5: note: each undeclared identifier is reported only once for each function it appears in
- /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c:45:31: error: 'ice_usb_cdc_to_uart0' undeclared (first use in this function); did you mean 'ice_usb_cdc_table'?
- 45 | tud_cdc_rx_cb_table[1] = &ice_usb_cdc_to_uart0;
- | ^~~~~~~~~~~~~~~~~~~~
- | ice_usb_cdc_table
- /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c:48:42: error: 'ice_usb_uart0_to_cdc1' undeclared (first use in this function)
- 48 | irq_set_exclusive_handler(UART0_IRQ, ice_usb_uart0_to_cdc1);
- | ^~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [CMakeFiles/pico_usb_uart.dir/build.make:76: CMakeFiles/pico_usb_uart.dir/main.c.obj] Error 1
- make[1]: *** [CMakeFiles/Makefile2:1511: CMakeFiles/pico_usb_uart.dir/all] Error 2
- make: *** [Makefile:91: all] Error 2
- vrangan@ASUS-STRIX-B550:/mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement