diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2017-01-16 15:54:57 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-06-29 15:53:15 -0700 |
commit | d9bcf00f69313b6dd42346d6af340a1a9874ba9f (patch) | |
tree | 62185d7ea2c20952d60cf8f6a558866ecf1d54bf /firmware/fx2/common/isr.c | |
parent | c77bd0c46a598d5e69b179d76a3df6091e982129 (diff) | |
download | uhd-d9bcf00f69313b6dd42346d6af340a1a9874ba9f.tar.gz uhd-d9bcf00f69313b6dd42346d6af340a1a9874ba9f.tar.bz2 uhd-d9bcf00f69313b6dd42346d6af340a1a9874ba9f.zip |
made FX2 EEPROMS and firmware build with modern SDCC 3.6
Diffstat (limited to 'firmware/fx2/common/isr.c')
-rw-r--r-- | firmware/fx2/common/isr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/fx2/common/isr.c b/firmware/fx2/common/isr.c index 05412daf5..61f2dc321 100644 --- a/firmware/fx2/common/isr.c +++ b/firmware/fx2/common/isr.c @@ -24,9 +24,9 @@ #include "fx2regs.h" #include "syncdelay.h" -extern xdata unsigned char _standard_interrupt_vector[]; -extern xdata unsigned char _usb_autovector[]; -extern xdata unsigned char _fifo_gpif_autovector[]; +extern __xdata unsigned char _standard_interrupt_vector[]; +extern __xdata unsigned char _usb_autovector[]; +extern __xdata unsigned char _fifo_gpif_autovector[]; #define LJMP_OPCODE 0x02 @@ -39,7 +39,7 @@ extern xdata unsigned char _fifo_gpif_autovector[]; void hook_sv (unsigned char vector_number, unsigned short addr) { - bit t; + __bit t; // sanity checks @@ -66,7 +66,7 @@ hook_sv (unsigned char vector_number, unsigned short addr) void hook_uv (unsigned char vector_number, unsigned short addr) { - bit t; + __bit t; // sanity checks @@ -93,7 +93,7 @@ hook_uv (unsigned char vector_number, unsigned short addr) void hook_fgv (unsigned char vector_number, unsigned short addr) { - bit t; + __bit t; // sanity checks |