From 5f8971c537d72bfe1327598747e422d5a8e4e9b7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 24 Sep 2011 07:29:46 +0000 Subject: Added symbol __main_thread_stack_base__ to Keil startup file. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3389 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM3-STM32F103/keil/ch.uvproj | 83 ++++------------------------------- os/ports/RVCT/ARMCMx/cstartup.s | 2 + 2 files changed, 11 insertions(+), 74 deletions(-) diff --git a/demos/ARMCM3-STM32F103/keil/ch.uvproj b/demos/ARMCM3-STM32F103/keil/ch.uvproj index 3f8ff22bd..59cab5187 100644 --- a/demos/ARMCM3-STM32F103/keil/ch.uvproj +++ b/demos/ARMCM3-STM32F103/keil/ch.uvproj @@ -346,7 +346,7 @@ __heap_base__=Image$$RW_IRAM1$$ZI$$Limit __heap_end__=Image$$RW_IRAM2$$Base - ..\;..\..\..\os\kernel\include;..\..\..\os\ports\RVCT\ARMCMx;..\..\..\os\ports\RVCT\ARMCMx\STM32;..\..\..\os\hal\include;..\..\..\os\hal\platforms\STM32;..\..\..\boards\OLIMEX_STM32_P103;..\..\..\test + ..\;..\..\..\os\kernel\include;..\..\..\os\ports\common\ARMCMx\CMSIS\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\OLIMEX_STM32_P103;..\..\..\test @@ -361,7 +361,7 @@ --cpreproc - ..\;..\..\..\boards\OLIMEX_STM32_P103;..\..\..\os\ports\RVCT\ARMCMx\STM32 + ..\;..\..\..\boards\OLIMEX_STM32_P103;..\..\..\os\ports\RVCT\ARMCMx\STM32F1xx @@ -409,7 +409,7 @@ vectors.s 2 - ..\..\..\os\ports\RVCT\ARMCMx\STM32\vectors.s + D:\Progetti\ChibiOS-RT\os\ports\RVCT\ARMCMx\STM32F1xx\vectors.s chcoreasm_v7m.s @@ -791,110 +791,45 @@ platform - - adc_lld.c - 1 - ..\..\..\os\hal\platforms\STM32\adc_lld.c - - - can_lld.c - 1 - ..\..\..\os\hal\platforms\STM32\can_lld.c - hal_lld.c 1 - ..\..\..\os\hal\platforms\STM32\hal_lld.c + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld.c pal_lld.c 1 - ..\..\..\os\hal\platforms\STM32\pal_lld.c - - - pwm_lld.c - 1 - ..\..\..\os\hal\platforms\STM32\pwm_lld.c + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\GPIOv1\pal_lld.c serial_lld.c 1 ..\..\..\os\hal\platforms\STM32\serial_lld.c - - spi_lld.c - 1 - ..\..\..\os\hal\platforms\STM32\spi_lld.c - - - stm32_dma.c - 1 - ..\..\..\os\hal\platforms\STM32\stm32_dma.c - - - uart_lld.c - 1 - ..\..\..\os\hal\platforms\STM32\uart_lld.c - - - adc_lld.h - 5 - ..\..\..\os\hal\platforms\STM32\adc_lld.h - - - can_lld.h - 5 - ..\..\..\os\hal\platforms\STM32\can_lld.h - - - core_cm3.h - 5 - ..\..\..\os\hal\platforms\STM32\core_cm3.h - hal_lld.h 5 - ..\..\..\os\hal\platforms\STM32\hal_lld.h + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld.h hal_lld_f103.h 5 - ..\..\..\os\hal\platforms\STM32\hal_lld_f103.h + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\hal_lld_f103.h pal_lld.h 5 - ..\..\..\os\hal\platforms\STM32\pal_lld.h - - - pwm_lld.h - 5 - ..\..\..\os\hal\platforms\STM32\pwm_lld.h + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32\GPIOv1\pal_lld.h serial_lld.h 5 ..\..\..\os\hal\platforms\STM32\serial_lld.h - - spi_lld.h - 5 - ..\..\..\os\hal\platforms\STM32\spi_lld.h - - - stm32_dma.h - 5 - ..\..\..\os\hal\platforms\STM32\stm32_dma.h - stm32f10x.h 5 - ..\..\..\os\hal\platforms\STM32\stm32f10x.h - - - uart_lld.h - 5 - ..\..\..\os\hal\platforms\STM32\uart_lld.h + D:\Progetti\ChibiOS-RT\os\hal\platforms\STM32F1xx\stm32f10x.h diff --git a/os/ports/RVCT/ARMCMx/cstartup.s b/os/ports/RVCT/ARMCMx/cstartup.s index 95f2f0f48..3c0fde7c9 100644 --- a/os/ports/RVCT/ARMCMx/cstartup.s +++ b/os/ports/RVCT/ARMCMx/cstartup.s @@ -41,6 +41,8 @@ main_stack_mem SPACE main_stack_size __initial_msp AREA CSTACK, NOINIT, READWRITE, ALIGN=3 +__main_thread_stack_base__ + EXPORT __main_thread_stack_base__ proc_stack_mem SPACE proc_stack_size EXPORT __initial_sp __initial_sp -- cgit v1.2.3