簡體   English   中英

Arduino:1.8.14(Windows 10),板:“Arduino Uno”

[英]Arduino: 1.8.14 (Windows 10), Board: "Arduino Uno"

Arduino:1.8.14(Windows 10),板:“Arduino Uno”

C:\Users\hp\Desktop\arduino-1.8.14\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\hp\Desktop\arduino-1.8.14\hardware -hardware C:\Users \hp\AppData\Local\Arduino15\packages -tools C:\Users\hp\Desktop\arduino-1.8.14\tools-builder -tools C:\Users\hp\Desktop\Desktop\arduino-1. \avr -tools C:\Users\hp\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\hp\Desktop\arduino-1.8.14\libraries -libraries C:\Users\hp\Documents \Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10814 -build-path C:\Users\hp\AppData\Local\Temp\arduino_build_879372 -warnings=none -build-cache C:\Users\hp\AppData\Local\Temp\arduino_cache_ 864642 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3 .6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\ 7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3 .0.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\hp\Desktop\arduino-1.8.14 \hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -verbose C:\Users\ hp\Desktop\2nd semister\embeded technology and iot\sketch_jun10_2nd_one\sketch_jun10_2nd_one.ino

C:\Users\hp\Desktop\arduino-1.8.14\arduino-builder -compile -logger=machine -hardware C:\Users\hp\Desktop\arduino-1.8.14\hardware -hardware C:\Users\hp \AppData\Local\Arduino15\packages -tools C:\Users\hp\Desktop\arduino-1.8.14\tools-builder -tools C:\Users\hp\Desktop\tools1\harduino-1.8。 -tools C:\Users\hp\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\hp\Desktop\arduino-1.8.14\libraries -libraries C:\Users\hp\Documents\Arduino \libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10814 -build-path C:\Users\hp\AppData\Local\Temp\arduino_build_879372 -warnings=none -build-cache C-warnings=none -build-cache Z0D61F8370CAD1D412F80141 \Users\hp\AppData\Local\Temp\arduino_cache_864 642 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3 .6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\ 7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3 .0.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\hp\Desktop\arduino-1.8.14 \hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\hp\Desktop\arduino-1.8.14\hardware\tools\avr -verbose C:\Users\ hp\Desktop\2nd semister\embeded technology and iot\sketch_jun10_2nd_one\sketch_jun10_2nd_one.ino

在文件夾中使用平台中的板“uno”:C:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr

在文件夾中使用來自平台的核心“arduino”:C:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr

檢測使用的庫...

“C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++”-c -g -Os -w -std =gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8。 14\硬件\arduino\avr\variants\standard" "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\sketch\sketch_jun10_2nd_one.ino.cpp" -o nul

生成 function 原型...

“C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++”-c -g -Os -w -std =gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8。 14\hardware\arduino\avr\variants\standard" "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\sketch\sketch_jun10_2nd_one.ino.cpp" -o "C:\Users\hp\AppData\Local\ Temp\arduino_build_879372\preproc\ctags_target_for_gcc_minus_e.cpp"

"C:\Users\hp\Desktop\arduino-1.8.14\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields =KSTtzns --line-directives "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\preproc\ctags_target_for_gcc_minus_e.cpp"

正在編譯草圖...

“C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++”-c -g -Os -w -std =gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO - DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr \variants\standard" "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\sketch\sketch_jun10_2nd_one.ino.cpp" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\sketch\sketch_jun10_2nd_one .ino.cpp.o"

編譯庫...

編譯核心...

“C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc”-c -g -x assembler-with- cpp -flto -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\cores\arduino""- IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\cores\arduino \wiring_pulse.S" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring_pulse.So"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\WInterrupts.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\hooks.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\hooks.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\wiring_pulse.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring_pulse.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\wiring_analog.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring_analog.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\wiring_shift.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring_shift.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\wiring.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring.c.o"

"C:\Users\hp\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -c -g -Os -w -std =gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10814 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\hp\Desktop\arduino -1.8.14\hardware\arduino\avr\cores\arduino" "-IC:\Users\hp\Desktop\arduino-1.8.14\hardware\arduino\avr\variants\standard" "C:\Users\hp\桌面\arduino-1.8.14\hardware\arduino\avr\cores\arduino\wiring_digital.c" -o "C:\Users\hp\AppData\Local\Temp\arduino_build_879372\core\wiring_digital.c.o"

cc1.exe:致命錯誤:無法打開“C:\Users\hp\AppData\Local\Temp\ccy8IlXP.s”進行寫入:權限被拒絕

編譯終止。

退出狀態 1

為板 Arduino Uno 編譯錯誤。

要確認端口存在,請從根目錄輸入以下內容。

ls /dev/ttyACM0

要設置讀/寫權限,請輸入以下內容

sudo chmod a+rw /dev/ttyACM0

不確定,但假設使用 Arduino IDE? 此外似乎是基於權限的錯誤

cc1.exe:致命錯誤:無法打開“C:\Users\hp\AppData\Local\Temp\ccy8IlXP.s”進行寫入:權限被拒絕

也許嘗試以管理員身份運行 Arduino IDE。 在 windows 中右鍵單擊 Arduino IDE -> 以管理員身份運行。

只需按照鏈接步驟

下載 Arduino 軟件 (IDE)。 lscpu 會告訴你是 32 位還是 64 位。 如果不確定,請使用 32 位。 提取 package(來自終端 tar -xvf arduino-1.8.2-linux64.tar.xz)。 運行安裝腳本 (./install.sh)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM