Hi
I'm experiencing some problems while exporting a program to the lastest free CodeRed LPCXpresso.
1) In Portnames.h, PinNames.h, PheriphelralNames.h and Can_help.h (and probably the other headers too), the typedef statements should be below the enum statements defining the type being typedef'ed.
2) The 'packed' keyword is not supported as is (used it to carefully align some critical structs). To fix this, 'packed' should be replaced by a trailing attribute 'attribute((packed))'.
3) The irq keyword is not compiling (like in 'extern "C" void Adc_IRQHandler(void) irq {' ).
4) The method heapstats() does not seem to be available (used it in my code for diagnostics).
So the question is, will points 1 & 2 be changed in the export and how do I fix 3 &4?
regards
wvd_vegt
Hi
I'm experiencing some problems while exporting a program to the lastest free CodeRed LPCXpresso.
1) In Portnames.h, PinNames.h, PheriphelralNames.h and Can_help.h (and probably the other headers too), the typedef statements should be below the enum statements defining the type being typedef'ed.
2) The 'packed' keyword is not supported as is (used it to carefully align some critical structs). To fix this, 'packed' should be replaced by a trailing attribute 'attribute((packed))'.
3) The irq keyword is not compiling (like in 'extern "C" void Adc_IRQHandler(void) irq {' ).
4) The method heapstats() does not seem to be available (used it in my code for diagnostics).
So the question is, will points 1 & 2 be changed in the export and how do I fix 3 &4?
regards wvd_vegt