From: asterix Date: Tue, 28 Sep 2010 13:33:48 +0000 (+0000) Subject: Update cpu description for stm32 and lm3s. X-Git-Tag: 2.6.0~72 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=270a3f6ac3b5715b9c0007375153fdaec856851a;p=bertos.git Update cpu description for stm32 and lm3s. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4329 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/info/LM3S1968.cdef b/bertos/cpu/cortex-m3/info/LM3S1968.cdef index e3811a29..344923cb 100644 --- a/bertos/cpu/cortex-m3/info/LM3S1968.cdef +++ b/bertos/cpu/cortex-m3/info/LM3S1968.cdef @@ -58,7 +58,10 @@ MK_CPU_CSRC += DRV_DIR + "gpio_lm3s.c " + DRV_DIR + "clock_lm3s.c " # Short description of the cpu. CPU_DESC += [ "256 Kbytes on-chip flash memory", - "64 Kbytes on-chip SRAM memory" ] + "64 Kbytes on-chip SRAM memory", + "3 UARTs interfaces", + "2 I2C interfaces", + "2 ADC x8 channel 10-bit" ] # GCC flags for this cpu. MK_CPU_CPPFLAGS += " -D__ARM_LM3S1968__" diff --git a/bertos/cpu/cortex-m3/info/STM32F103RB.cdef b/bertos/cpu/cortex-m3/info/STM32F103RB.cdef index add4cea6..1358ab2e 100644 --- a/bertos/cpu/cortex-m3/info/STM32F103RB.cdef +++ b/bertos/cpu/cortex-m3/info/STM32F103RB.cdef @@ -58,7 +58,10 @@ MK_CPU_CSRC += DRV_DIR + "gpio_stm32.c " + DRV_DIR + "clock_stm32.c " # Short description of the cpu. CPU_DESC += [ "128 Kbytes on-chip flash memory", - "20 Kbytes on-chip SRAM memory" ] + "20 Kbytes on-chip SRAM memory", + "2 UARTs interfaces", + "2 I2C interfaces", + "2 ADC x16 channel 12-bit" ] # GCC flags for this cpu. MK_CPU_CPPFLAGS += " -D__ARM_STM32F103RB__"