VS Arduino | |
>> >> connection problem
https://www.visualmicro.com/forums/YaBB.pl?num=1570381087 Message started by ahmet on Oct 6th, 2019 at 4:58pm |
Title: connection problem Post by ahmet on Oct 6th, 2019 at 4:58pm
hello mfrc522 does not recognize the red byte under the byte definitions in the mfrc522 file in the program I will use for the module and does not create a connection between the cpp file and the header file.
What can I do. [code]Compiling 'nfc' for 'Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)' Build Folder: "file:///C:/Users/ahmet/AppData/Local/Temp/VMBuilds/nfc/mega_atmega2560/Release" Summary: Header=1 Prototypes=3 Imports=0 Additional Defines: Architecture Tools: "file:///C:/Users/ahmet/AppData/Local/arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/" Api: 1903180 Sketch Book: "file:///C:/Users/ahmet/Documents/Arduino" Sketch Include Paths Core Include Paths Include Path "file:///C:/Users/ahmet/AppData/Local/arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino" Include Path "file:///C:/Users/ahmet/AppData/Local/arduino15/packages/arduino/hardware/avr/1.6.23/variants/mega" Deep search for libraries ... "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\cores\arduino" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\variants\mega" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\nfc.cpp" -o "nul" "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\cores\arduino" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\variants\mega" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI\src" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\nfc.cpp" -o "nul" "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\cores\arduino" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\variants\mega" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI\src" -I"C:\Users\ahmet\Documents\Arduino\libraries\MFRC522-1.4.5\src" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\nfc.cpp" -o "nul" "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\cores\arduino" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\variants\mega" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI\src" -I"C:\Users\ahmet\Documents\Arduino\libraries\MFRC522-1.4.5\src" "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI\src\SPI.cpp" -o "nul" Using previous search results: C:\Users\ahmet\Documents\Arduino\libraries\MFRC522-1.4.5\src\MFRC522.cpp Using previous search results: C:\Users\ahmet\Documents\Arduino\libraries\MFRC522-1.4.5\src\MFRC522Extended.cpp Building variant ... Using previously compiled variant Building core ... Building libraries ... Using library SPI version 1.0 in folder "file:///C:/Users/ahmet/AppData/Local/arduino15/packages/arduino/hardware/avr/1.6.23/libraries/SPI" Using previously compiled file: C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\SPI\SPI.cpp.o Using library MFRC522-1.4.5 version 1.4.5 in folder "file:///C:/Users/ahmet/Documents/Arduino/libraries/MFRC522-1.4.5" Using previously compiled file: C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\MFRC522-1.4.5\MFRC522.cpp.o Using previously compiled file: C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\MFRC522-1.4.5\MFRC522Extended.cpp.o Building project code ... "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10807 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\cores\arduino" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\variants\mega" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI\src" -I"C:\Users\ahmet\Documents\Arduino\libraries\MFRC522-1.4.5\src" -I"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\u52bpzrd.mf1\Micro Platforms\visualmicro\ide\libraries" -I"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\u52bpzrd.mf1\Micro Platforms\default\debuggers" -I"C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\hardware\avr\1.6.23\libraries" -I"C:\Users\ahmet\Documents\Arduino\libraries" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\nfc.cpp" -o "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\nfc.cpp.o" Linking it all together ... # Coping cached core C:\Users\ahmet\AppData\Local\Temp\VMBCore\visualmicro\949532d187b602d97734378410e3cf6d\core.a to C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release\core.a "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/nfc.ino.elf" "nfc.cpp.o" "SPI\SPI.cpp.o" "MFRC522-1.4.5\MFRC522.cpp.o" "MFRC522-1.4.5\MFRC522Extended.cpp.o" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/core.a" "-LC:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release" -lm ## recipe.objcopy.eep.pattern "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/nfc.ino.elf" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/nfc.ino.eep" ## recipe.objcopy.hex.pattern "C:\Users\ahmet\AppData\Local\arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/nfc.ino.elf" "C:\Users\ahmet\AppData\Local\Temp\VMBuilds\nfc\mega_atmega2560\Release/nfc.ino.hex" Program nfc size: 7.982 bytes (used 3% of a 253.952 byte maximum) (2,32 secs) Minimum Memory Usage: 328 bytes (4% of a 8192 byte maximum) # Copy build result to 'Project>Property Pages>Intermediate Directory' # Destination: file:///C:/Users/ahmet/documents/visual%20studio%202012/Projects/nfc/nfc/Release/ [/code] |
Title: Re: connection problem Post by Visual Micro on Oct 6th, 2019 at 6:56pm
Hi,
This build output shows that the build/compile is working OK. It sounds like you are asking about an intellisense error. The intellisense can be less accurate than the build/compile. Please save your work then zip and email to the address in yellow above. This will allow us to understand where your source files are located within the project and what you are trying to do. Include a link to this thread in your email. |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |