Open mkoval opened 14 years ago
I have successfully installed SDCC and am curious how extensive our changes will be. I would like to avoid using OpenVex since it is under the GPL license and most of our code should not be tied to MCC18.
we'll need to implement some of the mcc18 hardware libraries (to set up spi and usart) interrupt paragmas probably need changing.
Updating the interrupt pragmas should be relatively straightforward. Hopefully the SPI and USART initialization is a great deal simpler on the PIC than on the ARM (it should be).
I nuked auto-depend support for the PIC architecture until we make the switch to SDCC. It was never fully functional and some of our recent changes broke it on HAX system headers.
I've started to run up against the library issue (spi, uasrt, adc, and delay) in my develop branch. Other things appear fine.
To avoid using Wine and nasty wrapper scripts, the PIC code should be modified so it is SDCC compatible. This would move all of the build tools to native *nix programs and greatly reduce the chance of running into obscure errors.