Advertisement
vrangan

Failed pico-ice compile

Jun 22nd, 2023
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.29 KB | None | 0 0
  1. vrangan@ASUS-STRIX-B550:/mnt/e/Data/local_github/tvai_ope/proto/pico_ice$ mkdir build && cd build
  2. cmake .. && make
  3. PICO_SDK_PATH is /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/pico-sdk
  4. Defaulting PICO_PLATFORM to rp2040 since not specified.
  5. Defaulting PICO platform compiler to pico_arm_gcc since not specified.
  6. -- Defaulting build type to 'Release' since not specified.
  7. PICO compiler is pico_arm_gcc
  8. -- The C compiler identification is GNU 10.3.1
  9. -- The CXX compiler identification is GNU 10.3.1
  10. -- The ASM compiler identification is GNU
  11. -- Found assembler: /usr/bin/arm-none-eabi-gcc
  12. -- Detecting C compiler ABI info
  13. -- Detecting C compiler ABI info - done
  14. -- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - skipped
  15. -- Detecting C compile features
  16. -- Detecting C compile features - done
  17. -- Detecting CXX compiler ABI info
  18. -- Detecting CXX compiler ABI info - done
  19. -- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++ - skipped
  20. -- Detecting CXX compile features
  21. -- Detecting CXX compile features - done
  22. Build type is Release
  23. Defaulting PICO target board to pico since not specified.
  24. Using board configuration from /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/pico-sdk/src/boards/include/boards/pico.h
  25. -- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
  26. 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.
  27. -- Configuring done
  28. -- Generating done
  29. -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build
  30. [ 1%] Creating directories for 'PioasmBuild'
  31. [ 2%] No download step for 'PioasmBuild'
  32. [ 3%] No update step for 'PioasmBuild'
  33. [ 4%] No patch step for 'PioasmBuild'
  34. [ 5%] Performing configure step for 'PioasmBuild'
  35. loading initial cache file /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/pico-ice-sdk/pioasm/tmp/PioasmBuild-cache-Release.cmake
  36. -- The CXX compiler identification is GNU 11.3.0
  37. -- Detecting CXX compiler ABI info
  38. -- Detecting CXX compiler ABI info - done
  39. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  40. -- Detecting CXX compile features
  41. -- Detecting CXX compile features - done
  42. -- Configuring done
  43. -- Generating done
  44. -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/pioasm
  45. [ 6%] Performing build step for 'PioasmBuild'
  46. [ 10%] Building CXX object CMakeFiles/pioasm.dir/main.cpp.o
  47. [ 20%] Building CXX object CMakeFiles/pioasm.dir/pio_assembler.cpp.o
  48. [ 30%] Building CXX object CMakeFiles/pioasm.dir/pio_disassembler.cpp.o
  49. [ 40%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.o
  50. [ 50%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.o
  51. [ 60%] Building CXX object CMakeFiles/pioasm.dir/c_sdk_output.cpp.o
  52. [ 70%] Building CXX object CMakeFiles/pioasm.dir/python_output.cpp.o
  53. [ 80%] Building CXX object CMakeFiles/pioasm.dir/hex_output.cpp.o
  54. [ 90%] Building CXX object CMakeFiles/pioasm.dir/ada_output.cpp.o
  55. [100%] Linking CXX executable pioasm
  56. [100%] Built target pioasm
  57. [ 7%] No install step for 'PioasmBuild'
  58. [ 8%] Completed 'PioasmBuild'
  59. [ 8%] Built target PioasmBuild
  60. [ 9%] Generating ice_cram.pio.h
  61. [ 9%] Built target pico_ice_sdk_ice_cram_pio_h
  62. [ 10%] Creating directories for 'ELF2UF2Build'
  63. [ 11%] No download step for 'ELF2UF2Build'
  64. [ 12%] No update step for 'ELF2UF2Build'
  65. [ 13%] No patch step for 'ELF2UF2Build'
  66. [ 14%] Performing configure step for 'ELF2UF2Build'
  67. -- The C compiler identification is GNU 11.3.0
  68. -- The CXX compiler identification is GNU 11.3.0
  69. -- Detecting C compiler ABI info
  70. -- Detecting C compiler ABI info - done
  71. -- Check for working C compiler: /usr/bin/cc - skipped
  72. -- Detecting C compile features
  73. -- Detecting C compile features - done
  74. -- Detecting CXX compiler ABI info
  75. -- Detecting CXX compiler ABI info - done
  76. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  77. -- Detecting CXX compile features
  78. -- Detecting CXX compile features - done
  79. -- Configuring done
  80. -- Generating done
  81. -- Build files have been written to: /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/build/elf2uf2
  82. [ 15%] Performing build step for 'ELF2UF2Build'
  83. [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o
  84. [100%] Linking CXX executable elf2uf2
  85. [100%] Built target elf2uf2
  86. [ 16%] No install step for 'ELF2UF2Build'
  87. [ 16%] Completed 'ELF2UF2Build'
  88. [ 16%] Built target ELF2UF2Build
  89. Scanning dependencies of target bs2_default
  90. [ 17%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
  91. [ 17%] Linking ASM executable bs2_default.elf
  92. [ 17%] Built target bs2_default
  93. [ 18%] Generating bs2_default.bin
  94. [ 19%] Generating bs2_default_padded_checksummed.S
  95. [ 19%] Built target bs2_default_padded_checksummed_asm
  96. Scanning dependencies of target pico_usb_uart
  97. [ 20%] Building C object CMakeFiles/pico_usb_uart.dir/main.c.obj
  98. /mnt/e/Data/local_github/tvai_ope/proto/pico_ice/main.c: In function 'main':
  99. /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'?
  100. 45 | tud_cdc_rx_cb_table[1] = &ice_usb_cdc_to_uart0;
  101. | ^~~~~~~~~~~~~~~~~~~
  102. | tud_cdc_rx_cb
  103. /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
  104. /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'?
  105. 45 | tud_cdc_rx_cb_table[1] = &ice_usb_cdc_to_uart0;
  106. | ^~~~~~~~~~~~~~~~~~~~
  107. | ice_usb_cdc_table
  108. /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)
  109. 48 | irq_set_exclusive_handler(UART0_IRQ, ice_usb_uart0_to_cdc1);
  110. | ^~~~~~~~~~~~~~~~~~~~~
  111. make[2]: *** [CMakeFiles/pico_usb_uart.dir/build.make:76: CMakeFiles/pico_usb_uart.dir/main.c.obj] Error 1
  112. make[1]: *** [CMakeFiles/Makefile2:1511: CMakeFiles/pico_usb_uart.dir/all] Error 2
  113. make: *** [Makefile:91: all] Error 2
  114. 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