aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-24 10:41:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-24 10:41:58 +0000
commitd379346fad1898bc2f7c62516ab282a87bc66e15 (patch)
treea0d09a10e5134eca77c904768823f733efe411ac
parentda02a90b8cbe29a6304e7af0c1396c0274a4a9ce (diff)
downloadChibiOS-d379346fad1898bc2f7c62516ab282a87bc66e15.tar.gz
ChibiOS-d379346fad1898bc2f7c62516ab282a87bc66e15.tar.bz2
ChibiOS-d379346fad1898bc2f7c62516ab282a87bc66e15.zip
Updated Keil demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3397 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/ARMCM3-STM32F100-DISCOVERY/keil/ch.uvproj31
-rw-r--r--demos/ARMCM3-STM32F103/keil/ch.uvproj75
-rw-r--r--demos/ARMCM3-STM32F107/keil/ch.uvproj121
-rw-r--r--readme.txt1
4 files changed, 151 insertions, 77 deletions
diff --git a/demos/ARMCM3-STM32F100-DISCOVERY/keil/ch.uvproj b/demos/ARMCM3-STM32F100-DISCOVERY/keil/ch.uvproj
index cffe0a6e8..723042027 100644
--- a/demos/ARMCM3-STM32F100-DISCOVERY/keil/ch.uvproj
+++ b/demos/ARMCM3-STM32F100-DISCOVERY/keil/ch.uvproj
@@ -346,7 +346,7 @@
<MiscControls></MiscControls>
<Define>__heap_base__=Image$$RW_IRAM1$$ZI$$Limit __heap_end__=Image$$RW_IRAM2$$Base</Define>
<Undefine></Undefine>
- <IncludePath>..\;..\..\..\os\kernel\include;..\..\..\os\ports\RVCT\ARMCMx;..\..\..\os\ports\RVCT\ARMCMx\STM32;..\..\..\os\hal\include;..\..\..\os\hal\platforms\STM32;..\..\..\boards\ST_STM32VL_DISCOVERY;..\..\..\test</IncludePath>
+ <IncludePath>..\;..\..\..\os\kernel\include;..\..\..\os\ports\RVCT\ARMCMx;..\..\..\os\ports\RVCT\ARMCMx\STM32F1xx;..\..\..\os\hal\include;..\..\..\os\hal\platforms\STM32;..\..\..\os\hal\platforms\STM32\GPIOv1;..\..\..\os\hal\platforms\STM32\DMAv1;..\..\..\os\hal\platforms\STM32\USBv1;..\..\..\os\hal\platforms\STM32F1xx;..\..\..\boards\ST_STM32VL_DISCOVERY;..\..\..\test</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -361,7 +361,7 @@
<MiscControls>--cpreproc</MiscControls>
<Define></Define>
<Undefine></Undefine>
- <IncludePath>..\..\..\boards\ST_STM32VL_DISCOVERY;..\..\..\os\ports\RVCT\ARMCMx\STM32</IncludePath>
+ <IncludePath>..\;..\..\..\boards\ST_STM32VL_DISCOVERY;..\..\..\os\ports\RVCT\ARMCMx\STM32F1xx</IncludePath>
</VariousControls>
</Aads>
<LDads>
@@ -409,7 +409,7 @@
<File>
<FileName>vectors.s</FileName>
<FileType>2</FileType>
- <FilePath>..\..\..\os\ports\RVCT\ARMCMx\STM32\vectors.s</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\ports\RVCT\ARMCMx\STM32F1xx\vectors.s</FilePath>
</File>
<File>
<FileName>chcoreasm_v7m.s</FileName>
@@ -794,7 +794,7 @@
<File>
<FileName>adc_lld.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\adc_lld.c</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\adc_lld.c</FilePath>
</File>
<File>
<FileName>can_lld.c</FileName>
@@ -804,12 +804,12 @@
<File>
<FileName>hal_lld.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld.c</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld.c</FilePath>
</File>
<File>
<FileName>pal_lld.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pal_lld.c</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\GPIOv1\pal_lld.c</FilePath>
</File>
<File>
<FileName>pwm_lld.c</FileName>
@@ -829,7 +829,7 @@
<File>
<FileName>stm32_dma.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32_dma.c</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\DMAv1\stm32_dma.c</FilePath>
</File>
<File>
<FileName>uart_lld.c</FileName>
@@ -839,7 +839,7 @@
<File>
<FileName>adc_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\adc_lld.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\adc_lld.h</FilePath>
</File>
<File>
<FileName>can_lld.h</FileName>
@@ -847,24 +847,19 @@
<FilePath>..\..\..\os\hal\platforms\STM32\can_lld.h</FilePath>
</File>
<File>
- <FileName>core_cm3.h</FileName>
- <FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\core_cm3.h</FilePath>
- </File>
- <File>
<FileName>hal_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld.h</FilePath>
</File>
<File>
<FileName>hal_lld_f103.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld_f103.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld_f103.h</FilePath>
</File>
<File>
<FileName>pal_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pal_lld.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\GPIOv1\pal_lld.h</FilePath>
</File>
<File>
<FileName>pwm_lld.h</FileName>
@@ -884,12 +879,12 @@
<File>
<FileName>stm32_dma.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32_dma.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\DMAv1\stm32_dma.h</FilePath>
</File>
<File>
<FileName>stm32f10x.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32f10x.h</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\stm32f10x.h</FilePath>
</File>
<File>
<FileName>uart_lld.h</FileName>
diff --git a/demos/ARMCM3-STM32F103/keil/ch.uvproj b/demos/ARMCM3-STM32F103/keil/ch.uvproj
index 59cab5187..80066e03a 100644
--- a/demos/ARMCM3-STM32F103/keil/ch.uvproj
+++ b/demos/ARMCM3-STM32F103/keil/ch.uvproj
@@ -786,6 +786,81 @@
<FileType>5</FileType>
<FilePath>..\..\..\os\hal\include\uart.h</FilePath>
</File>
+ <File>
+ <FileName>ext.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\ext.c</FilePath>
+ </File>
+ <File>
+ <FileName>gpt.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\gpt.c</FilePath>
+ </File>
+ <File>
+ <FileName>icu.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\icu.c</FilePath>
+ </File>
+ <File>
+ <FileName>rtc.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\rtc.c</FilePath>
+ </File>
+ <File>
+ <FileName>sdc.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\sdc.c</FilePath>
+ </File>
+ <File>
+ <FileName>serial_usb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\serial_usb.c</FilePath>
+ </File>
+ <File>
+ <FileName>usb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\src\usb.c</FilePath>
+ </File>
+ <File>
+ <FileName>ext.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\ext.h</FilePath>
+ </File>
+ <File>
+ <FileName>gpt.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\gpt.h</FilePath>
+ </File>
+ <File>
+ <FileName>icu.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\icu.h</FilePath>
+ </File>
+ <File>
+ <FileName>rtc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\rtc.h</FilePath>
+ </File>
+ <File>
+ <FileName>sdc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\sdc.h</FilePath>
+ </File>
+ <File>
+ <FileName>serial_usb.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\serial_usb.h</FilePath>
+ </File>
+ <File>
+ <FileName>usb.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\usb.h</FilePath>
+ </File>
+ <File>
+ <FileName>usb_cdc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\usb_cdc.h</FilePath>
+ </File>
</Files>
</Group>
<Group>
diff --git a/demos/ARMCM3-STM32F107/keil/ch.uvproj b/demos/ARMCM3-STM32F107/keil/ch.uvproj
index 71bb839e7..3600bb519 100644
--- a/demos/ARMCM3-STM32F107/keil/ch.uvproj
+++ b/demos/ARMCM3-STM32F107/keil/ch.uvproj
@@ -346,7 +346,7 @@
<MiscControls></MiscControls>
<Define>__heap_base__=Image$$RW_IRAM1$$ZI$$Limit __heap_end__=Image$$RW_IRAM2$$Base</Define>
<Undefine></Undefine>
- <IncludePath>..\;..\..\..\os\kernel\include;..\..\..\os\ports\RVCT\ARMCMx;..\..\..\os\ports\RVCT\ARMCMx\STM32;..\..\..\os\hal\include;..\..\..\os\hal\platforms\STM32;..\..\..\os\various;..\..\..\boards\OLIMEX_STM32_P107;..\..\..\test</IncludePath>
+ <IncludePath>..\;..\..\..\os\kernel\include;..\..\..\os\ports\RVCT\ARMCMx;..\..\..\os\ports\RVCT\ARMCMx\STM32F1xx;..\..\..\os\hal\include;..\..\..\os\hal\platforms\STM32;..\..\..\os\hal\platforms\STM32F1xx;..\..\..\os\hal\platforms\STM32\GPIOv1;..\..\..\os\hal\platforms\STM32\DMAv1;..\..\..\os\various;..\..\..\boards\OLIMEX_STM32_P107;..\..\..\test</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -361,7 +361,7 @@
<MiscControls>--cpreproc</MiscControls>
<Define></Define>
<Undefine></Undefine>
- <IncludePath>..\..\..\boards\OLIMEX_STM32_P107;..\..\..\os\ports\RVCT\ARMCMx\STM32</IncludePath>
+ <IncludePath>..\;..\..\..\boards\OLIMEX_STM32_P107;..\..\..\os\ports\RVCT\ARMCMx\STM32F1xx</IncludePath>
</VariousControls>
</Aads>
<LDads>
@@ -409,7 +409,7 @@
<File>
<FileName>vectors.s</FileName>
<FileType>2</FileType>
- <FilePath>..\..\..\os\ports\RVCT\ARMCMx\STM32\vectors.s</FilePath>
+ <FilePath>D:\Progetti\ChibiOS-RT\os\ports\RVCT\ARMCMx\STM32F1xx\vectors.s</FilePath>
</File>
<File>
<FileName>chcoreasm_v7m.s</FileName>
@@ -816,115 +816,120 @@
<FileType>5</FileType>
<FilePath>..\..\..\os\hal\include\usb.h</FilePath>
</File>
- </Files>
- </Group>
- <Group>
- <GroupName>platform</GroupName>
- <Files>
<File>
- <FileName>adc_lld.c</FileName>
- <FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\adc_lld.c</FilePath>
+ <FileName>ext.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\ext.h</FilePath>
</File>
<File>
- <FileName>can_lld.c</FileName>
- <FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\can_lld.c</FilePath>
+ <FileName>icu.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\icu.h</FilePath>
</File>
<File>
- <FileName>hal_lld.c</FileName>
- <FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld.c</FilePath>
+ <FileName>rtc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\rtc.h</FilePath>
</File>
<File>
- <FileName>pal_lld.c</FileName>
- <FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pal_lld.c</FilePath>
+ <FileName>sdc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\sdc.h</FilePath>
</File>
<File>
- <FileName>pwm_lld.c</FileName>
- <FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pwm_lld.c</FilePath>
+ <FileName>usb_cdc.h</FileName>
+ <FileType>5</FileType>
+ <FilePath>..\..\..\os\hal\include\usb_cdc.h</FilePath>
</File>
<File>
- <FileName>serial_lld.c</FileName>
+ <FileName>ext.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\serial_lld.c</FilePath>
+ <FilePath>..\..\..\os\hal\src\ext.c</FilePath>
</File>
<File>
- <FileName>spi_lld.c</FileName>
+ <FileName>icu.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\spi_lld.c</FilePath>
+ <FilePath>..\..\..\os\hal\src\icu.c</FilePath>
</File>
<File>
- <FileName>stm32_dma.c</FileName>
+ <FileName>rtc.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32_dma.c</FilePath>
+ <FilePath>..\..\..\os\hal\src\rtc.c</FilePath>
</File>
<File>
- <FileName>uart_lld.c</FileName>
+ <FileName>sdc.c</FileName>
<FileType>1</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\uart_lld.c</FilePath>
+ <FilePath>..\..\..\os\hal\src\sdc.c</FilePath>
</File>
+ </Files>
+ </Group>
+ <Group>
+ <GroupName>platform</GroupName>
+ <Files>
<File>
- <FileName>adc_lld.h</FileName>
+ <FileName>serial_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\adc_lld.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32\serial_lld.h</FilePath>
</File>
<File>
- <FileName>can_lld.h</FileName>
- <FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\can_lld.h</FilePath>
+ <FileName>serial_lld.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\platforms\STM32\serial_lld.c</FilePath>
</File>
<File>
- <FileName>core_cm3.h</FileName>
+ <FileName>stm32_dma.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\core_cm3.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32\DMAv1\stm32_dma.h</FilePath>
</File>
<File>
- <FileName>hal_lld.h</FileName>
- <FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld.h</FilePath>
+ <FileName>stm32_dma.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\platforms\STM32\DMAv1\stm32_dma.c</FilePath>
</File>
<File>
- <FileName>hal_lld_f103.h</FileName>
+ <FileName>pal_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\hal_lld_f103.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32\GPIOv1\pal_lld.h</FilePath>
</File>
<File>
- <FileName>pal_lld.h</FileName>
- <FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pal_lld.h</FilePath>
+ <FileName>pal_lld.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\platforms\STM32\GPIOv1\pal_lld.c</FilePath>
</File>
<File>
- <FileName>pwm_lld.h</FileName>
+ <FileName>stm32f10x.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\pwm_lld.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\stm32f10x.h</FilePath>
</File>
<File>
- <FileName>serial_lld.h</FileName>
+ <FileName>hal_lld.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\hal_lld.c</FilePath>
+ </File>
+ <File>
+ <FileName>hal_lld.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\serial_lld.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\hal_lld.h</FilePath>
</File>
<File>
- <FileName>spi_lld.h</FileName>
+ <FileName>hal_lld_f100.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\spi_lld.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\hal_lld_f100.h</FilePath>
</File>
<File>
- <FileName>stm32_dma.h</FileName>
+ <FileName>hal_lld_f103.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32_dma.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\hal_lld_f103.h</FilePath>
</File>
<File>
- <FileName>stm32f10x.h</FileName>
+ <FileName>hal_lld_f105_f107.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\stm32f10x.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\hal_lld_f105_f107.h</FilePath>
</File>
<File>
- <FileName>uart_lld.h</FileName>
+ <FileName>stm32_rcc.h</FileName>
<FileType>5</FileType>
- <FilePath>..\..\..\os\hal\platforms\STM32\uart_lld.h</FilePath>
+ <FilePath>..\..\..\os\hal\platforms\STM32F1xx\stm32_rcc.h</FilePath>
</File>
</Files>
</Group>
diff --git a/readme.txt b/readme.txt
index c8cb07e7d..6165592a8 100644
--- a/readme.txt
+++ b/readme.txt
@@ -161,7 +161,6 @@
- NEW: Added provisional support for STM32F2xx. Because of this some
directories related to the STM32 have been renamed, your makefiles may
require adjustments.
- (TODO: change to be ported to Keil build files)
- NEW: Added a custom rule to the various rules.mk files, now it is possible
to add an user rule into the Makefiles.
- NEW: Improvements to the trace buffer, now it stores a full thread pointer