MDB-Sniffer icon indicating copy to clipboard operation
MDB-Sniffer copied to clipboard

arduino nano

Open bktodinc opened this issue 8 years ago • 14 comments

I can not get the nearpc to compile for the arduino nano. verbose error log

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_mdbnearpc.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_mdbnearpc.ino Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Detecting libraries used... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\blessing\AppData\Local\Temp\arduino_build_306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "C:\Users\blessing\AppData\Local\Temp\arduino_build_306729\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_mdbnearpc.ino:13:20: fatal error: config.h: No such file or directory

#include "config.h"

                ^

compilation terminated.

Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial exit status 1 Error compiling for board Arduino Nano.

bktodinc avatar Mar 20 '17 05:03 bktodinc

It's not made for the nano. I'm sorry I can't help you.

On Sun, Mar 19, 2017 at 10:23 PM, bktodinc [email protected] wrote:

I can not get the nearpc to compile for the arduino nano. verbose error log

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_ mdbnearpc.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_ mdbnearpc.ino Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Detecting libraries used... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_mdbnearpc.ino:13:20: fatal error: config.h: No such file or directory

#include "config.h"

            ^

compilation terminated.

Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial exit status 1 Error compiling for board Arduino Nano.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MarginallyClever/MDB-Sniffer/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYhhfCtlB0KD4pc9bvLuO49cCR-zWDks5rng1HgaJpZM4MiCgA .

-- Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281

i-make-robots avatar Mar 20 '17 18:03 i-make-robots

Thanks for the fast reply. I have 2 arduino megas coming my way to try it on those.

Brian Lessing


From: Dan Royer [email protected] Sent: Monday, March 20, 2017 2:08:23 PM To: MarginallyClever/MDB-Sniffer Cc: Brian Lessing; Author Subject: Re: [MarginallyClever/MDB-Sniffer] arduino nano (#7)

It's not made for the nano. I'm sorry I can't help you.

On Sun, Mar 19, 2017 at 10:23 PM, bktodinc [email protected] wrote:

I can not get the nearpc to compile for the arduino nano. verbose error log

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_ mdbnearpc.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\blessing\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10801 -build-path C:\Users\blessing\AppData\Local\Temp\arduino_build_306729 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_ mdbnearpc.ino Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Detecting libraries used... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "nul" "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\sketch\sketch_mar20a_mdbnearpc.ino.cpp" -o "C:\Users\blessing\AppData\Local\Temp\arduino_build_ 306729\preproc\ctags_target_for_gcc_minus_e.cpp" C:\Users\blessing\Documents\Arduino\sketch_mar20a_mdbnearpc\sketch_mar20a_mdbnearpc.ino:13:20: fatal error: config.h: No such file or directory

#include "config.h"

^

compilation terminated.

Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial exit status 1 Error compiling for board Arduino Nano.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MarginallyClever/MDB-Sniffer/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYhhfCtlB0KD4pc9bvLuO49cCR-zWDks5rng1HgaJpZM4MiCgA .

-- Dan Royer, Owner, Marginally Clever Robots https://www.marginallyclever.com/ Ph: +1 (604) 259-9564 Mo: +1 (604) 916-2281

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MarginallyClever/MDB-Sniffer/issues/7#issuecomment-287848117, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZTk6IqNJiAlbyYk3VnNLul2lKxWfKAKks5rnsCXgaJpZM4MiCgA.

bktodinc avatar Mar 20 '17 18:03 bktodinc

hm... I just compiled both *.ino's for Arduino Nano V3 board, without any errors/warnings/etc. Is it normal?)

perdidor avatar Dec 05 '17 07:12 perdidor

no idea. I haven't tried on nanos.

i-make-robots avatar Dec 05 '17 07:12 i-make-robots

just tried with AtMega328 as near_MDB and Arduino Nano as near_PC. sketches compiled and loaded but no luck. Currenza C2 Blue and ICT A7\V7 used for test btw. nearest days will try AtMega1284 with two hardware USARTs, follow this thread i'll write about results.

perdidor avatar Dec 14 '17 20:12 perdidor

Hello again guys. Are you interested in the AtMega1284-based adapter that turns your PC into a VMC? I finally got it working stable) See here https://youtu.be/YV8bc2hhqS0

perdidor avatar Mar 24 '18 19:03 perdidor

Nice. I've been trying to make it go with one esp8266 so I have wifi.

i-make-robots avatar Mar 24 '18 19:03 i-make-robots

Thanks. I will share my project as soon as I make it looks pretty "perfect" (PCB design etc...). This repo inspired me to make it (and $50 for these adapters on AliExpress, of course:)), thanks again;) sorry for my poor English btw)

perdidor avatar Mar 24 '18 19:03 perdidor

Done: https://github.com/perdidor/Arduino-MDB-UART

perdidor avatar Mar 25 '18 19:03 perdidor

Do you have luck with the ESP8266?

lvlisael avatar Oct 19 '18 17:10 lvlisael

I haven't had time to work on this project. it is very low priority here. We have WEMOS boards here to try.

On Fri, Oct 19, 2018 at 10:53 AM Misael Medina [email protected] wrote:

Do you have luck with the ESP8266?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarginallyClever/MDB-Sniffer/issues/7#issuecomment-431442552, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZYhjzszz7I5O9GQURg44UN-jXKT7iwks5umg-ggaJpZM4MiCgA .

--

Dan Royer

Owner

1 (604) 916 2281 <16049162281> [email protected] www.marginallyclever.com https://www.facebook.com/MarginallyClever/ https://www.instagram.com/imakerobots/ https://www.youtube.com/channel/UCfbRxqjuOgE2EzRKxcePArw https://twitter.com/MarginallyC https://github.com/MarginallyClever/

i-make-robots avatar Oct 19 '18 23:10 i-make-robots

Arduino: 1.8.13 (Windows 10), Плата:"Arduino Leonardo ETH"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Andrei\Documents\Arduino\libraries -fqbn=arduino:avr:leonardoeth -vid-pid=2341_8036 -ide-version=10813 -build-path C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750 -warnings=none -build-cache C:\Users\Andrei\AppData\Local\Temp\arduino_cache_540817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Andrei\Documents\Arduino\libraries -fqbn=arduino:avr:leonardoeth -vid-pid=2341_8036 -ide-version=10813 -build-path C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750 -warnings=none -build-cache C:\Users\Andrei\AppData\Local\Temp\arduino_cache_540817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino

Using board 'leonardoeth' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Detecting libraries used...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SoftwareSerial.h: [[email protected]]

ResolveLibrary(SoftwareSerial.h)

-> candidates: [[email protected]]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [[email protected]]

ResolveLibrary(Wire.h)

-> candidates: [[email protected]]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\preproc\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\preproc\ctags_target_for_gcc_minus_e.cpp"

Компиляция скетча...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp.o"

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void MDB_setup()':

near_MDB:218:3: error: 'UBRR0H' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:218:3: note: suggested alternative: 'UBRR1H'

near_MDB:219:3: error: 'UBRR0L' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:219:3: note: suggested alternative: 'UBRR1L'

near_MDB:221:3: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:221:3: note: suggested alternative: 'UCSR1A'

near_MDB:221:20: error: 'U2X0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:221:20: note: suggested alternative: 'U2X1'

near_MDB:223:3: error: 'UCSR0C' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:3: note: suggested alternative: 'UCSR1C'

near_MDB:223:16: error: 'UMSEL01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:16: note: suggested alternative: 'UMSEL11'

near_MDB:223:29: error: 'UMSEL00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:29: note: suggested alternative: 'UMSEL10'

near_MDB:223:42: error: 'UPM01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:42: note: suggested alternative: 'UPM11'

near_MDB:223:53: error: 'UPM00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:53: note: suggested alternative: 'UPM10'

near_MDB:223:64: error: 'USBS0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:64: note: suggested alternative: 'USBS1'

near_MDB:223:75: error: 'UCSZ01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:75: note: suggested alternative: 'UCSZ11'

near_MDB:223:87: error: 'UCSZ00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:87: note: suggested alternative: 'UCSZ10'

near_MDB:224:3: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:224:3: note: suggested alternative: 'UCSR1B'

near_MDB:224:17: error: 'UCSZ02' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:224:17: note: suggested alternative: 'UCSZ12'

near_MDB:226:17: error: 'RXEN0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:226:17: note: suggested alternative: 'RXEN1'

near_MDB:226:28: error: 'TXEN0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:226:28: note: suggested alternative: 'TXEN1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void MDB_read()':

near_MDB:232:7: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:232:7: note: suggested alternative: 'UCSR1A'

near_MDB:232:20: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:232:20: note: suggested alternative: 'RXC1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'int USART_Receive()':

near_MDB:262:12: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:262:12: note: suggested alternative: 'UCSR1A'

near_MDB:262:25: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:262:25: note: suggested alternative: 'RXC1'

near_MDB:265:12: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:265:12: note: suggested alternative: 'UCSR1A'

near_MDB:266:10: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:266:10: note: suggested alternative: 'UCSR1B'

near_MDB:267:10: error: 'UDR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:267:10: note: suggested alternative: 'UDR1'

near_MDB:270:22: error: 'FE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:22: note: suggested alternative: 'FE1'

near_MDB:270:44: error: 'DOR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:44: note: suggested alternative: 'DOR1'

near_MDB:270:67: error: 'UPE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:67: note: suggested alternative: 'UPE1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'byte MDB_transmitData(MDB_Byte*, byte)':

near_MDB:332:15: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:332:15: note: suggested alternative: 'UCSR1A'

near_MDB:332:28: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:332:28: note: suggested alternative: 'RXC1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void serial_write(MDB_Byte)':

near_MDB:367:14: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:367:14: note: suggested alternative: 'UCSR1A'

near_MDB:367:27: error: 'UDRE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:367:27: note: suggested alternative: 'UDRE1'

near_MDB:371:5: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:371:5: note: suggested alternative: 'UCSR1B'

near_MDB:371:19: error: 'TXB80' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:371:19: note: suggested alternative: 'TXB81'

near_MDB:374:5: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:374:5: note: suggested alternative: 'UCSR1B'

near_MDB:374:20: error: 'TXB80' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:374:20: note: suggested alternative: 'TXB81'

near_MDB:377:3: error: 'UDR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:377:3: note: suggested alternative: 'UDR1'

Используем библиотеку SoftwareSerial версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial

Используем библиотеку Wire версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire

exit status 1

'UBRR0H' was not declared in this scope

Please, help!

Zic-71 avatar Aug 13 '20 12:08 Zic-71

The code was not written for Leonardo. I no longer work with mdb

On Aug 13, 2020, at 5:25 AM, Zic-71 [email protected] wrote:

 Arduino: 1.8.13 (Windows 10), Плата:"Arduino Leonardo ETH"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Andrei\Documents\Arduino\libraries -fqbn=arduino:avr:leonardoeth -vid-pid=2341_8036 -ide-version=10813 -build-path C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750 -warnings=none -build-cache C:\Users\Andrei\AppData\Local\Temp\arduino_cache_540817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Andrei\Documents\Arduino\libraries -fqbn=arduino:avr:leonardoeth -vid-pid=2341_8036 -ide-version=10813 -build-path C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750 -warnings=none -build-cache C:\Users\Andrei\AppData\Local\Temp\arduino_cache_540817 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino

Using board 'leonardoeth' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Detecting libraries used...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SoftwareSerial.h: [[email protected]]

ResolveLibrary(SoftwareSerial.h)

-> candidates: [[email protected]]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [[email protected]]

ResolveLibrary(Wire.h)

-> candidates: [[email protected]]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\preproc\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\preproc\ctags_target_for_gcc_minus_e.cpp"

Компиляция скетча...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/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=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO_ETH -DARDUINO_ARCH_AVR -DUSB_VID=0x2a03 -DUSB_PID=0x8040 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo ETH"" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\leonardo" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp" -o "C:\Users\Andrei\AppData\Local\Temp\arduino_build_719750\sketch\near_MDB.ino.cpp.o"

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void MDB_setup()':

near_MDB:218:3: error: 'UBRR0H' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:218:3: note: suggested alternative: 'UBRR1H'

near_MDB:219:3: error: 'UBRR0L' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:219:3: note: suggested alternative: 'UBRR1L'

near_MDB:221:3: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:221:3: note: suggested alternative: 'UCSR1A'

near_MDB:221:20: error: 'U2X0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:221:20: note: suggested alternative: 'U2X1'

near_MDB:223:3: error: 'UCSR0C' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:3: note: suggested alternative: 'UCSR1C'

near_MDB:223:16: error: 'UMSEL01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:16: note: suggested alternative: 'UMSEL11'

near_MDB:223:29: error: 'UMSEL00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:29: note: suggested alternative: 'UMSEL10'

near_MDB:223:42: error: 'UPM01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:42: note: suggested alternative: 'UPM11'

near_MDB:223:53: error: 'UPM00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:53: note: suggested alternative: 'UPM10'

near_MDB:223:64: error: 'USBS0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:64: note: suggested alternative: 'USBS1'

near_MDB:223:75: error: 'UCSZ01' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:75: note: suggested alternative: 'UCSZ11'

near_MDB:223:87: error: 'UCSZ00' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:223:87: note: suggested alternative: 'UCSZ10'

near_MDB:224:3: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:224:3: note: suggested alternative: 'UCSR1B'

near_MDB:224:17: error: 'UCSZ02' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:224:17: note: suggested alternative: 'UCSZ12'

near_MDB:226:17: error: 'RXEN0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:226:17: note: suggested alternative: 'RXEN1'

near_MDB:226:28: error: 'TXEN0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:226:28: note: suggested alternative: 'TXEN1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void MDB_read()':

near_MDB:232:7: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:232:7: note: suggested alternative: 'UCSR1A'

near_MDB:232:20: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:232:20: note: suggested alternative: 'RXC1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'int USART_Receive()':

near_MDB:262:12: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:262:12: note: suggested alternative: 'UCSR1A'

near_MDB:262:25: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:262:25: note: suggested alternative: 'RXC1'

near_MDB:265:12: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:265:12: note: suggested alternative: 'UCSR1A'

near_MDB:266:10: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:266:10: note: suggested alternative: 'UCSR1B'

near_MDB:267:10: error: 'UDR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:267:10: note: suggested alternative: 'UDR1'

near_MDB:270:22: error: 'FE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:22: note: suggested alternative: 'FE1'

near_MDB:270:44: error: 'DOR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:44: note: suggested alternative: 'DOR1'

near_MDB:270:67: error: 'UPE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:270:67: note: suggested alternative: 'UPE1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'byte MDB_transmitData(MDB_Byte*, byte)':

near_MDB:332:15: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:332:15: note: suggested alternative: 'UCSR1A'

near_MDB:332:28: error: 'RXC0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:332:28: note: suggested alternative: 'RXC1'

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino: In function 'void serial_write(MDB_Byte)':

near_MDB:367:14: error: 'UCSR0A' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:367:14: note: suggested alternative: 'UCSR1A'

near_MDB:367:27: error: 'UDRE0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:367:27: note: suggested alternative: 'UDRE1'

near_MDB:371:5: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:371:5: note: suggested alternative: 'UCSR1B'

near_MDB:371:19: error: 'TXB80' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:371:19: note: suggested alternative: 'TXB81'

near_MDB:374:5: error: 'UCSR0B' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:374:5: note: suggested alternative: 'UCSR1B'

near_MDB:374:20: error: 'TXB80' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:374:20: note: suggested alternative: 'TXB81'

near_MDB:377:3: error: 'UDR0' was not declared in this scope

C:\Users\Andrei\Pictures\MDB\Прослушиваня MDB\MDB-Sniffer-master\MDB-Sniffer-master\near_MDB\near_MDB.ino:377:3: note: suggested alternative: 'UDR1'

Используем библиотеку SoftwareSerial версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial

Используем библиотеку Wire версии 1.0 из папки: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire

exit status 1

'UBRR0H' was not declared in this scope

Please, help!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

i-make-robots avatar Aug 13 '20 15:08 i-make-robots

Thanks for the answer

Zic-71 avatar Aug 14 '20 06:08 Zic-71