]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commit
fx2lib: Update __interrupt syntax for sdcc>=4.2.3
authorMatthew Cengia <redacted>
Tue, 15 Aug 2023 00:38:34 +0000 (10:38 +1000)
committerGerhard Sittig <redacted>
Tue, 15 Aug 2023 05:51:09 +0000 (07:51 +0200)
commit5aab87d358a4585a10ad89277bb88ad139077abd
tree4b88f69518839b82b4ab8951559d159f7e0130fb
parent61f1c8fc33ce959f167f6bcb5ba3b0959d60b038
fx2lib: Update __interrupt syntax for sdcc>=4.2.3

The SDCC user manual https://sdcc.sourceforge.net/doc/sdccman.pdf
section 1.5 "Compatibility with previous versions" on page 11 states:

> In 4.2.3, support for non-parenthesized arguments to __using and
> __interrupt was dropped.

Adjust the imported fx2lib source files to unbreak compilation with
more recent SDCC versions.
43 files changed:
fx2lib/include/autovector.h
fx2lib/lib/interrupts/ep0ack_isr.c
fx2lib/lib/interrupts/ep0in_isr.c
fx2lib/lib/interrupts/ep0out_isr.c
fx2lib/lib/interrupts/ep0ping_isr.c
fx2lib/lib/interrupts/ep1in_isr.c
fx2lib/lib/interrupts/ep1out_isr.c
fx2lib/lib/interrupts/ep1ping_isr.c
fx2lib/lib/interrupts/ep2_isr.c
fx2lib/lib/interrupts/ep2ef_isr.c
fx2lib/lib/interrupts/ep2ff_isr.c
fx2lib/lib/interrupts/ep2isoerr_isr.c
fx2lib/lib/interrupts/ep2pf_isr.c
fx2lib/lib/interrupts/ep2ping_isr.c
fx2lib/lib/interrupts/ep4_isr.c
fx2lib/lib/interrupts/ep4ef_isr.c
fx2lib/lib/interrupts/ep4ff_isr.c
fx2lib/lib/interrupts/ep4isoerr_isr.c
fx2lib/lib/interrupts/ep4pf_isr.c
fx2lib/lib/interrupts/ep4ping_isr.c
fx2lib/lib/interrupts/ep6_isr.c
fx2lib/lib/interrupts/ep6ef_isr.c
fx2lib/lib/interrupts/ep6ff_isr.c
fx2lib/lib/interrupts/ep6isoerr_isr.c
fx2lib/lib/interrupts/ep6pf_isr.c
fx2lib/lib/interrupts/ep6ping_isr.c
fx2lib/lib/interrupts/ep8_isr.c
fx2lib/lib/interrupts/ep8ef_isr.c
fx2lib/lib/interrupts/ep8ff_isr.c
fx2lib/lib/interrupts/ep8isoerr_isr.c
fx2lib/lib/interrupts/ep8pf_isr.c
fx2lib/lib/interrupts/ep8ping_isr.c
fx2lib/lib/interrupts/errlimit_isr.c
fx2lib/lib/interrupts/gpifdone_isr.c
fx2lib/lib/interrupts/gpifwf_isr.c
fx2lib/lib/interrupts/hispeed_isr.c
fx2lib/lib/interrupts/ibn_isr.c
fx2lib/lib/interrupts/sof_isr.c
fx2lib/lib/interrupts/spare_isr.c
fx2lib/lib/interrupts/sudav_isr.c
fx2lib/lib/interrupts/suspend_isr.c
fx2lib/lib/interrupts/sutok_isr.c
fx2lib/lib/interrupts/usbreset_isr.c