FQBN: arduino:mbed_rp2040:pico
使用平台的 ‘pico’ 开发板,在列出的文件夹中:C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1
使用平台的 ‘arduino’ 代码,在列出的文件夹中:C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1
正在检测使用的库。。。
C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/defines.txt @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/includes.txt C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\sketch_jan14b.ino.cpp -o nul
NeoPixelConnect.h 的替代方案:[NeoPixelConnect@1.2.0]
ResolveLibrary(NeoPixelConnect.h)
-> 候选: [NeoPixelConnect@1.2.0]
C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/defines.txt @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO -Id:\arduino\libraries\NeoPixelConnect\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/includes.txt C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\sketch_jan14b.ino.cpp -o nul
C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/defines.txt @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO -Id:\arduino\libraries\NeoPixelConnect\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/includes.txt C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\logic_analyser.cpp -o nul
使用缓存库文件依赖项:C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\main.cpp
C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/defines.txt @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO -Id:\arduino\libraries\NeoPixelConnect\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/includes.txt d:\arduino\libraries\NeoPixelConnect\src\NeoPixelConnect.cpp -o nul
生成函数原型。。。
C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/defines.txt @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/cxxflags.txt -DARDUINO_ARCH_RP2040 -mcpu=cortex-m0plus -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO -Id:\arduino\libraries\NeoPixelConnect\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated -IC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\cores\arduino @C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\4.1.1\variants\RASPBERRY_PI_PICO/includes.txt C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\sketch_jan14b.ino.cpp -o C:\Users\Administrator\AppData\Local\Temp\2196050050\sketch_merged.cpp
C:\Users\Administrator\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\Administrator\AppData\Local\Temp\2196050050\sketch_merged.cpp
正在编译项目。。。
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -Wall -Wextra -g3 -nostdlib "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/defines.txt" "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/cxxflags.txt" -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO" "-Id:\\arduino\\libraries\\NeoPixelConnect\\src" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino" "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/includes.txt" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\798E57CA9DC12696D06C9C14EF7F2065\\sketch\\logic_analyser.cpp" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\798E57CA9DC12696D06C9C14EF7F2065\\sketch\\logic_analyser.cpp.o"
使用以前编译的文件:C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\798E57CA9DC12696D06C9C14EF7F2065\sketch\main.cpp.o
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -Wall -Wextra -g3 -nostdlib "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/defines.txt" "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/cxxflags.txt" -DARDUINO_ARCH_RP2040 -MMD -mcpu=cortex-m0plus -DARDUINO=10607 -DARDUINO_RASPBERRY_PI_PICO -DARDUINO_ARCH_MBED_RP2040 -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO" "-Id:\\arduino\\libraries\\NeoPixelConnect\\src" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\cores\\arduino" "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_rp2040\\4.1.1\\variants\\RASPBERRY_PI_PICO/includes.txt" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\798E57CA9DC12696D06C9C14EF7F2065\\sketch\\sketch_jan14b.ino.cpp" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\798E57CA9DC12696D06C9C14EF7F2065\\sketch\\sketch_jan14b.ino.cpp.o"
D:\arduino\rp2040\sketch_jan14b\logic_analyser.cpp: In function 'void print_capture_buf(const uint32_t*, uint, uint, uint32_t)':
D:\arduino\rp2040\sketch_jan14b\logic_analyser.cpp:96:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int pin = 0; pin < pin_count; ++pin) {
~~~~^~~~~~~~~~~
D:\arduino\rp2040\sketch_jan14b\logic_analyser.cpp:98:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int sample = 0; sample < n_samples; ++sample) {
~~~~~~~^~~~~~~~~~~
D:\arduino\rp2040\sketch_jan14b\logic_analyser.cpp: In function 'void ov7670_qudong()':
D:\arduino\rp2040\sketch_jan14b\logic_analyser.cpp:129:35: error: invalid conversion from 'void*' to 'uint32_t* {aka long unsigned int*}' [-fpermissive]
uint32_t *capture_buf = malloc(buf_size_words * sizeof(uint32_t));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
使用 1.2.0 版本的 NeoPixelConnect 库,在列出的文件夹中:D:\arduino\libraries\NeoPixelConnect
exit status 1
Compilation error: invalid conversion from 'void*' to 'uint32_t* {aka long unsigned int*}' [-fpermissive]
使用arduino编译时出错,做个记录,大家可以看一下。