diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-30 16:44:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-30 16:44:26 +0000 |
commit | e44fbfdc5a033611f4ebfb12b0dd67b263bb8d14 (patch) | |
tree | b42ebacdb235d32d045037f193e4433d8575164f | |
parent | 37d3293690108d09bf24ac1a5fb2e77cdf5ef89c (diff) | |
download | px4-firmware-e44fbfdc5a033611f4ebfb12b0dd67b263bb8d14.tar.gz px4-firmware-e44fbfdc5a033611f4ebfb12b0dd67b263bb8d14.tar.bz2 px4-firmware-e44fbfdc5a033611f4ebfb12b0dd67b263bb8d14.zip |
Add LM3S/4F family definitions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5585 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/arch/arm/include/lm/chip.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/arch/arm/include/lm/chip.h b/nuttx/arch/arm/include/lm/chip.h index 6761e029e..86e21c14d 100644 --- a/nuttx/arch/arm/include/lm/chip.h +++ b/nuttx/arch/arm/include/lm/chip.h @@ -50,6 +50,8 @@ /* Get customizations for each supported chip (only the LM3S6918 and 65 right now) */ #if defined(CONFIG_ARCH_CHIP_LM3S6918) +# define LM3S 1 /* LM3S family */ +# undef LM4F /* Not LM4F family */ # define LM_NTIMERS 4 /* Four general purpose timers */ # define LM_NWIDETIMERS 0 /* No general purpose wide timers */ # define LM_NETHCONTROLLERS 1 /* One Ethernet controller */ @@ -63,6 +65,8 @@ # define LM_NPORTS 8 /* 8 Ports (GPIOA-H) 5-38 GPIOs */ # define LM_NCANCONTROLLER 0 /* No CAN controllers */ #elif defined(CONFIG_ARCH_CHIP_LM3S6432) +# define LM3S 1 /* LM3S family */ +# undef LM4F /* Not LM4F family */ # define LM_NTIMERS 3 /* Three general purpose timers */ # define LM_NWIDETIMERS 0 /* No general purpose wide timers */ # define LM_NETHCONTROLLERS 1 /* One Ethernet controller */ @@ -76,6 +80,8 @@ # define LM_NPORTS 7 /* 7 Ports (GPIOA-G), 0-42 GPIOs */ # define LM_NCANCONTROLLER 0 /* No CAN controllers */ #elif defined(CONFIG_ARCH_CHIP_LM3S6965) +# define LM3S 1 /* LM3S family */ +# undef LM4F /* Not LM4F family */ # define LM_NTIMERS 4 /* Four general purpose timers */ # define LM_NWIDETIMERS 0 /* No general purpose wide timers */ # define LM_NETHCONTROLLERS 1 /* One Ethernet controller */ @@ -89,6 +95,8 @@ # define LM_NPORTS 7 /* 7 Ports (GPIOA-G), 0-42 GPIOs */ # define LM_NCANCONTROLLER 0 /* No CAN controllers */ #elif defined(CONFIG_ARCH_CHIP_LM3S9B96) +# define LM3S 1 /* LM3S family */ +# undef LM4F /* Not LM4F family */ # define LM_NTIMERS 4 /* Four general purpose timers */ # define LM_NWIDETIMERS 0 /* No general purpose wide timers */ # define LM_NETHCONTROLLERS 1 /* One Ethernet controller */ @@ -103,6 +111,8 @@ # define LM_NPORTS 9 /* 9 Ports (GPIOA-H,J) 0-65 GPIOs */ # define LM_NCANCONTROLLER 0 /* No CAN controllers */ #elif defined(CONFIG_ARCH_CHIP_LM3S8962) +# define LM3S 1 /* LM3S family */ +# undef LM4F /* Not LM4F family */ # define LM_NTIMERS 6 /* Four general purpose timers */ # define LM_NWIDETIMERS 0 /* No general purpose wide timers */ # define LM_NETHCONTROLLERS 1 /* One Ethernet controller */ @@ -115,6 +125,8 @@ # define LM_NPORTS 7 /* 7 Ports (GPIOA-G), 5-42 GPIOs */ # define LM_NCANCONTROLLER 1 /* One CAN controller */ #elif defined(CONFIG_ARCH_CHIP_LM4F120) +# undef LM3S /* Not LM3S family */ +# define LM4F 1 /* LM4F family */ # define LM_NTIMERS 6 /* Six general purpose timers */ # define LM_NWIDETIMERS 6 /* Six general purpose wide timers */ # define LM_NETHCONTROLLERS 0 /* No Ethernet controller */ |