diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-06-17 18:13:38 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-06-17 18:13:38 +0000 |
commit | 4f0353ba8355196550a842576f8f5af47392f4a7 (patch) | |
tree | 5d46facbfe2854530177ef357db0c41460444647 /usbdrv/usbdrvasm.S | |
parent | dfb2c5fd5e27c6b82466a01ebc59a3ee00d125dc (diff) | |
download | v-usb-4f0353ba8355196550a842576f8f5af47392f4a7.tar.gz v-usb-4f0353ba8355196550a842576f8f5af47392f4a7.tar.bz2 v-usb-4f0353ba8355196550a842576f8f5af47392f4a7.zip |
- removed iarcompat.h in favor of usbportability.h which is intended to take
care of ports to other compilers such as CodeVision as well.
Diffstat (limited to 'usbdrv/usbdrvasm.S')
-rw-r--r-- | usbdrv/usbdrvasm.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usbdrv/usbdrvasm.S b/usbdrv/usbdrvasm.S index 2c06421..119b738 100644 --- a/usbdrv/usbdrvasm.S +++ b/usbdrv/usbdrvasm.S @@ -15,12 +15,9 @@ general code (preprocessor acrobatics and CRC computation) and then includes the file appropriate for the given clock rate. */ -#include "iarcompat.h" +#define __SFR_OFFSET 0 /* used by avr-libc's register definitions */ +#include "usbportability.h" #ifndef __IAR_SYSTEMS_ASM__ - /* configs for io.h */ -# define __SFR_OFFSET 0 -# define _VECTOR(N) __vector_ ## N /* io.h does not define this for asm */ -# include <avr/io.h> /* for CPU I/O register definitions and vectors */ # define macro .macro /* GNU Assembler macro definition */ # define endm .endm /* End of GNU Assembler macro definition */ #endif /* __IAR_SYSTEMS_ASM__ */ |