Fixes for compile

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2092 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-09-25 17:26:47 +00:00
parent c595d1e144
commit 052bcd7107
2 changed files with 4 additions and 9 deletions

View File

@ -46,10 +46,5 @@ CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_copystate.c \
CHIP_ASRCS =
CHIP_CSRCS = stm32_start.c
# stm32_syscontrol.c stm32_irq.c \
# stm32_gpio.c stm32_gpioirq.c stm32_timerisr.c stm32_lowputc.c \
# stm32_serial.c stm32_ssi.c stm32_dumpgpio.c
ifdef CONFIG_NET
CHIP_CSRCS += stm32_ethernet.c
endif
# stm32_irq.c stm32_gpio.c stm32_timerisr.c stm32_lowputc.c \
# stm32_serial.c stm32_spi.c stm32_dumpgpio.c

View File

@ -49,7 +49,7 @@
/* Get customizations for each supported chip (only the STM32F103Z right now) */
#ifdef CONFIG_CHIP_STM32F103ZET6
#ifdef CONFIG_ARCH_CHIP_STM32F103ZET6
# undef CONFIG_STM32_LOWDENSITY /* STM32F101x, STM32F102x and STM32F103x w/ 16/32 Kbytes */
# undef CONFIG_STM32_MEDIUMDENSITY /* STM32F101x, STM32F102x and STM32F103x w/ 64/128 Kbytes */
# define CONFIG_STM32_HIGHDENSITY 1 /* STM32F101x and STM32F103x w/ 256/512 Kbytes */
@ -68,7 +68,7 @@
# define STM32_NCRC 0 /* No CRC */
# define STM32_NTHERNET 0 /* No ethernet */
#else
# error "Unsupported STM32 chip */
# error "Unsupported STM32 chip"
#endif
/* Include only the memory map. Other chip hardware files should then include this