Closed reppad closed 1 year ago
@reppad This is a compiler bug.
https://sourceforge.net/p/sdcc/bugs/3401/
You can either use a old version, or change num to uint32_t type.
Thanks @DeqingSun, Indeed it works by changing the type of num. Do you want me to do a PR with this workaround or do you prefer to wait for a fixed version of SDCC?
@reppad I'll wait for a fixed version of SDCC
Bug seems fixed on SDCC side. I will check again later when I do the next release
Although this bug is fixed, the current SDCC build introduces some new worse bugs. I'll wait till there is a fix.
SDCC seems slow on fixing bugs, use the workaround for now.
Hi,
I tried to compile the CMSIS_DAP example with ch55xduino 0.0.12 but compilation fail when trying to compile "SW_DP.c" file :
Same behavior with the 4 supported boards. Same behavior on Linux and Windows.
I tried to downgrade few version to test if it is a regression: 0.0.12 : KO 0.0.11 : KO 0.0.10 : OK 0.0.9 : OK
So it seems this example does not build from 0.0.11 release.
Thanks !