#165 Add new pic18f2xk22/pic18f4xk22 family

closed-accepted
Borut Ražem
None
5
2011-07-14
2011-06-04
strobla
No

Patch against sdcc revision 6563 to satisfy feature request: [ sdcc-Feature Requests-3301009 ]

Requires minimum gputils svn revision 599 to be able to compile new processor libraries.
Notes:
* adc and i2c adaptions are untested.
* needs bootstrap:
cd device/lib/pic16 && ./bootstrap.sh
cd ../../..
cd device/non-free/lib/pic16 && ./bootstrap.sh

Regards, Strobl Anton

attached: patch_add_new_pic18f2xk22_pic18f4xk22_devices.diff

Discussion

  • strobla
    strobla
    2011-06-05

    If anyone wants to know if a real pic18f46k22 is running with the current sdcc patch:

    Today pic18f46k22 hardware test succeeded:
    * config switches working
    * internal pll running. 64MHz clock OK
    * usart (1) working.
    * timer2 interrupts working

    Perhaps this chip and cousin 18f26k22 will be my next allround favorites ...

    Thx also to the gputils and sdcc team for the great work.

    Regards,

    Strobl Anton

    P.S.: adc tests are following.

     
  • strobla
    strobla
    2011-07-10

    • assigned_to: nobody --> tecodev
     
  • strobla
    strobla
    2011-07-10

    Are there any plans to integrate this patch for upcoming release?

    Regards, Strobl Anton

     
  • Borut Ražem
    Borut Ražem
    2011-07-14

    • assigned_to: tecodev --> borutr
    • status: open --> closed-accepted
     
  • Borut Ražem
    Borut Ražem
    2011-07-14

    Patch applied in svn revision #6626.

    Borut