emsec / ChameleonMini

The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was developed by https://kasper-oswald.de. The device is available at https://shop.kasper.it. For further information see the Getting Started Page https://rawgit.com/emsec/ChameleonMini/master/Doc/Doxygen/html/_page__getting_started.html or the Wiki tab above.
Other
1.74k stars 392 forks source link

compilation issue #146

Closed kaliginium closed 7 years ago

kaliginium commented 7 years ago

Hi,

can you help me with compilation? I still get error: error: cannot access device-specs for 'atxmega128a4u' expected at 'device-specs/specs-atxmega128a4u'

thank you

geo-rg commented 7 years ago

Hi @kaliginium Which OS and compiler are you using? It seems like your toolchain is configured wrong.

kaliginium commented 7 years ago

I am using Windows 10 OS. Maybe toolchain is configured wrong as you say. I am trying to compile code in cygwin environment,

kaliginium commented 7 years ago

Latest I get error:

as: unrecognized option `-mmcu=avrxmega7' In file included from Chameleon-Mini.h:7:0, from Chameleon-Mini.c:1: ./avr/power.h:1149:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] power_all_enable() ^ ./avr/power.h:1198:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] power_all_disable() ^ Chameleon-Mini.c:37:1: fatal error: error writing to -: Invalid argument } ^ compilation terminated. make: *** [../LUFA/Build/lufa_build.mk:295: Bin/Chameleon-Mini.o] Chyba 1

kaliginium commented 7 years ago

Solved. Just toolchain configuration. Sorry for abuse.

geo-rg commented 7 years ago

Glad you could solve it yourself, no need for excuses :)