Hello, Joel. I tried to reproduce the example for PSOC 4 CY8CKIT -049-42xx.
Application generated OK, but build stage I got various errors concerning invalid registers. These errors refers to some .s files that do not exists anywhere. And each build attempt I got different names of these files.
E.g. cch53yPh.s at first build, ccabGOXB.s at second attempt, cc4TpoIF.s at 3rd, etc. Just simple compiling gfx_mk.c file gives these errors.
It is rather strange, from the cross-platforming declared.
These files also figured in gfx_mk.lst with location at C:\Users\me\AppData\Local\Temp\cc4TpolF.s.
in log file I found:
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s: Assembler messages:
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:837: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:838: Error: lo register required -- `str sp,[r2,#20]'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:839: Error: lo register required -- `ldr sp,[r3,#20]'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:840: Error: invalid register list to push/pop instruction -- `pop {r4,r5,r6,r7,r8,r9,r10,r11,pc}'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:865: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:866: Error: lo register required -- `str sp,[r2,#20]'
C:\Users\vlady\AppData\Local\Temp\ccXqd6To.s:867: Error: lo register required -- `ldr sp,[r3,#20]'
I do understand that Cortex M3 and M0 are different, but I think that Creator have to resolve the cases.
PS
I found #define GFX_CPU and changed it to M0. But some errors remains:
C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:843: Error: lo register required -- `str sp,[r2,#20]'
C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:844: Error: lo register required -- `ldr sp,[r3,#20]'
C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:875: Error: invalid register list to push/pop instruction -- `push {r4,r5,r6,r7,r8,r9,r10,r11,lr}'
C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:876: Error: lo register required -- `str sp,[r2,#20]'
C:\Users\vlady\AppData\Local\Temp\ccS4O158.s:877: Error: lo register required -- `ldr sp,[r3,#20]'