The XC compilers were cracked before most (any?) legitimate owners could.įew memory, scarce resources, small instructions set, few addressing modes Anyway, who needs a C compiler with such simple architectures? Years later Microchip released the more C oriented PIC17/PIC18 architecture and a new range of C compilers for the new PICs were created. XC16 and XC32 are 'rebranded' C30 and C32 based on GCC. And much to my frustration the new free XC32 compiler rejects the use of the -Os. XC16-281 Compiler does not properly access stack variables when (a) the stack is located above the first 32K and (b) the access does not fit in base+index addressing XC16-287 _eds_ not respected multi-dimensional array typedef. Those cores were so simple that it was not easy no make a C compiler for them. Those days Microchip had only what we know nowadays as the ‘base-line’ (12C50X) and ‘mid-range’ (16C54,16F84,16F87X) architectures. But the fault was not in the compilers manufacturers, but in the PIC core architecture. As far as I remember, only Hi-Tech, IAR and CCS had compilers – not even Microchip has his own one – and they were quite horrible compiling. When I started to program PICs microcontrollers in 1998 there was not too many options to program PICs in C. In fact, I even used to hate it due to the poor quality of the C compilers. I don’t like to program PICs in C language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |