I have an XMC4300 Relax dev board for the purpose of creating an EtherCat device.
I used project template 'An executable for Infineon XMC4300 Relax EtherCAT Kit that uses XMCLib.' and tried to build this with no modifications.
It does not build, xmc_device.h throws a compiler #error because the device is not supported.
If you search this file for XMC4300 there is no definition for this chip (XMC4300-F100x256) nor any of the XMC4300 series.
I notice it is bringing in XMCLib v2.1.2 from 2015-10-27, whereas the current version is v2.1.16 from 2016 which does contain definitions for this chip. If you look at their change history you can see they added the 4300 series in XMCLib a month after your library version (2015-11-19).
My question is, is it acceptable to replace the files in "CrossWorks for ARM\v4\packages\targets\XMC4000\CMSIS\Device\Infineon\XMClib\" for the newer version?
I tried this and it complains that it is expecting to find compiler attribute __packed which is not defined in anything Crossworks gives me? I would appreciate some help with this to get me going.
Bonus point: It drives me mad that I can't shift click in the Project Explorer to select multiple files, I've just installed v4 (I have a v3 license) to see if this was added and it has not. Please implement this as soon as you can!
Please sign in to leave a comment.