weixin_39880337
weixin_39880337
2020-11-25 17:44

compilation issue

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

该提问来源于开源项目:emsec/ChameleonMini

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39880337 weixin_39880337 5月前

    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

    点赞 评论 复制链接分享
  • weixin_39880337 weixin_39880337 5月前

    Solved. Just toolchain configuration. Sorry for abuse.

    点赞 评论 复制链接分享
  • weixin_39980353 weixin_39980353 5月前

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

    点赞 评论 复制链接分享
  • weixin_39980353 weixin_39980353 5月前

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

    点赞 评论 复制链接分享
  • weixin_39880337 weixin_39880337 5月前

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

    点赞 评论 复制链接分享

相关推荐