Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arduino nano #7

Open
bktodinc opened this issue Mar 20, 2017 · 14 comments
Open

arduino nano #7

bktodinc opened this issue Mar 20, 2017 · 14 comments

Comments

@bktodinc
Copy link

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.

@i-make-robots
Copy link
Contributor

i-make-robots commented Mar 20, 2017 via email

@bktodinc
Copy link
Author

bktodinc commented Mar 20, 2017 via email

@perdidor
Copy link

perdidor commented Dec 5, 2017

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

@i-make-robots
Copy link
Contributor

no idea. I haven't tried on nanos.

@perdidor
Copy link

perdidor commented Dec 14, 2017

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
Copy link

perdidor commented Mar 24, 2018

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

@i-make-robots
Copy link
Contributor

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

@perdidor
Copy link

perdidor commented Mar 24, 2018

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
Copy link

@lvlisael
Copy link

Do you have luck with the ESP8266?

@i-make-robots
Copy link
Contributor

i-make-robots commented Oct 19, 2018 via email

@Zic-71
Copy link

Zic-71 commented Aug 13, 2020

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!

@i-make-robots
Copy link
Contributor

i-make-robots commented Aug 13, 2020 via email

@Zic-71
Copy link

Zic-71 commented Aug 14, 2020

Thanks for the answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants