Hi,
I'm new to SDCC and this forum. I'd like to get some experience with using PIC16F819 with SDCC 4.4.0RC3 and MPLABX 6.15. Does anyone have a basic LED blinking example they can share? Thanks.
David.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You could have a look at https://github.com/diegoherranz/sdcc-examples.
It should still be reasonably up to date, considering that SDCC's PIC backends have been largely unmaintained for about a decade or so.
Coincidentally, there were however some meaningful contributions to the PIC16 backend in the last couple of weeks, such as [patches:#471] and[patches:#472], so it might make sense to use a recent snapshot instead of 4.4.0RC3.
16F819 is a 14-bit instruction set device, so that would need the pic14 backend. I've only been working on the pic16 backend (16-bit instructions for PIC18 devices). The naming is kind of confusing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm new to SDCC and this forum. I'd like to get some experience with using PIC16F819 with SDCC 4.4.0RC3 and MPLABX 6.15. Does anyone have a basic LED blinking example they can share? Thanks.
David.
You could have a look at https://github.com/diegoherranz/sdcc-examples.
It should still be reasonably up to date, considering that SDCC's PIC backends have been largely unmaintained for about a decade or so.
Coincidentally, there were however some meaningful contributions to the PIC16 backend in the last couple of weeks, such as [patches:#471] and[patches:#472], so it might make sense to use a recent snapshot instead of 4.4.0RC3.
Related
Patches:
#471Patches: #472
16F819 is a 14-bit instruction set device, so that would need the pic14 backend. I've only been working on the pic16 backend (16-bit instructions for PIC18 devices). The naming is kind of confusing.