From 8456a0b31a0093bae363166a7876c1ab9b3dea68 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 12 Aug 2010 02:39:32 +0000 Subject: Need to disable unsupported GPIOs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2842 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/eagle100/httpd/defconfig | 16 +++++++++++++++- nuttx/configs/eagle100/nettest/defconfig | 14 ++++++++++++++ nuttx/configs/eagle100/nsh/defconfig | 14 ++++++++++++++ nuttx/configs/eagle100/nxflat/defconfig | 14 ++++++++++++++ nuttx/configs/eagle100/ostest/defconfig | 14 ++++++++++++++ nuttx/configs/eagle100/thttpd/defconfig | 14 ++++++++++++++ 6 files changed, 85 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/eagle100') diff --git a/nuttx/configs/eagle100/httpd/defconfig b/nuttx/configs/eagle100/httpd/defconfig index 40a36509b..a538fbe65 100644 --- a/nuttx/configs/eagle100/httpd/defconfig +++ b/nuttx/configs/eagle100/httpd/defconfig @@ -1,7 +1,7 @@ ############################################################################ # configs/eagle100/httpd/defconfig # -# Copyright (C) 2009 Gregory Nutt. All rights reserved. +# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # diff --git a/nuttx/configs/eagle100/nettest/defconfig b/nuttx/configs/eagle100/nettest/defconfig index 0aa0f5e73..3f6540bda 100644 --- a/nuttx/configs/eagle100/nettest/defconfig +++ b/nuttx/configs/eagle100/nettest/defconfig @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # diff --git a/nuttx/configs/eagle100/nsh/defconfig b/nuttx/configs/eagle100/nsh/defconfig index 2f098af3b..601d8f3ff 100644 --- a/nuttx/configs/eagle100/nsh/defconfig +++ b/nuttx/configs/eagle100/nsh/defconfig @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # diff --git a/nuttx/configs/eagle100/nxflat/defconfig b/nuttx/configs/eagle100/nxflat/defconfig index 8cae7a19b..83f6a4ae5 100644 --- a/nuttx/configs/eagle100/nxflat/defconfig +++ b/nuttx/configs/eagle100/nxflat/defconfig @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # diff --git a/nuttx/configs/eagle100/ostest/defconfig b/nuttx/configs/eagle100/ostest/defconfig index b5af84237..b0caf0cf9 100644 --- a/nuttx/configs/eagle100/ostest/defconfig +++ b/nuttx/configs/eagle100/ostest/defconfig @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # diff --git a/nuttx/configs/eagle100/thttpd/defconfig b/nuttx/configs/eagle100/thttpd/defconfig index b5a976fc5..3e081290d 100644 --- a/nuttx/configs/eagle100/thttpd/defconfig +++ b/nuttx/configs/eagle100/thttpd/defconfig @@ -87,6 +87,20 @@ CONFIG_ARCH_BOOTLOADER=y CONFIG_ARCH_LEDS=y CONFIG_ARCH_CALIBRATION=n +# +# Disable support for interrupts on GPIOH and GPIOJ which do not +# exist on the LM3S6918. Additional interrupt support can be +# disabled if desired to reduce memory footprint. +CONFIG_LM3S_DISABLE_GPIOA_IRQS=n +CONFIG_LM3S_DISABLE_GPIOB_IRQS=n +CONFIG_LM3S_DISABLE_GPIOC_IRQS=n +CONFIG_LM3S_DISABLE_GPIOD_IRQS=n +CONFIG_LM3S_DISABLE_GPIOE_IRQS=n +CONFIG_LM3S_DISABLE_GPIOF_IRQS=n +CONFIG_LM3S_DISABLE_GPIOG_IRQS=n +CONFIG_LM3S_DISABLE_GPIOH_IRQS=y +CONFIG_LM3S_DISABLE_GPIOJ_IRQS=y + # # LM3S6918 specific serial device driver settings # -- cgit v1.2.3