1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/PiOS/STM32F10x
stac 918250868b irq_stack: correct one word overlap of _irq_stack_top
The previous fix in r652 was _almost_ right.  There was
still a one word (4-byte) overlap between _irq_stack_top
and the start of the data segment.

_irq_stack_end + _irq_stack_size leaves the '.' pointer at
the word immediatly after the stack.  This commit corrects
this error and places _irq_stack_top on the last word
_inside_ the reserved space for the irq stack.

[Before]
  $ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
  ...
  20000000 A SRAM_BASE
  20000000 B _irq_stack_end
  20000400 d LED_GPIO_PORT   <--- overlap
  20000400 B _irq_stack_top  <--- overlap
  20000400 D _sdata
  20000408 d ADC_GPIO_PORT
  ...

[After]
  $ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
  ...
  20000000 A SRAM_BASE
  20000000 B _irq_stack_end
  200003fc B _irq_stack_top
  20000400 d LED_GPIO_PORT
  20000400 D _sdata
  20000408 d ADC_GPIO_PORT
  ...

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 01:37:40 +00:00
..
Libraries Turn on -Werror on openpilot firmware build 2010-05-24 16:33:46 +00:00
link_stm32f10x_HD_BL.ld OP-21: Cleaning up a few things. 2010-03-13 20:46:46 +00:00
link_stm32f10x_HD_NB.ld irq_stack: correct one word overlap of _irq_stack_top 2010-05-27 01:37:40 +00:00
link_stm32f10x_HD.ld Directory re-structuring. Doesn't compile yet, need to commit first. 2009-12-01 14:04:30 +00:00
link_stm32f10x_MD.ld Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00
pios_adc.c ADC Updates. 2010-05-12 12:09:35 +00:00
pios_debug.c OP-36 PIOS_DEBUG_Assert() function 2010-03-14 10:20:27 +00:00
pios_delay.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_exti.c Updated BMP085 test code. 2010-03-23 04:01:11 +00:00
pios_gpio.c Added GPIO functions for accelerometer full-scale selection. 2010-05-15 15:27:52 +00:00
pios_i2c.c A few small fixes 2010-05-22 06:30:42 +00:00
pios_irq.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_led.c PIOS_LED: Initialise all LED's as off. 2010-03-14 06:47:57 +00:00
pios_ppm.c Working on the PPM functionality. Getting there but it is still not 100% correct. 2010-03-30 04:48:15 +00:00
pios_pwm.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_servo.c Loopback test of HID working. Still a WIP but committing what I have to show progress. 2010-05-04 18:54:43 +00:00
pios_spektrum.c OP-22 Flight/PiOS: Spektrum bind function tested and working. 2010-05-23 11:19:28 +00:00
pios_spi.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_sys.c Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00
pios_usart.c Small USART scalability fix. 2010-05-12 01:56:00 +00:00
pios_usb_com.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_usb_hid.c USB HID: basic COM functionality over USB HID 2010-05-24 16:33:40 +00:00
pios_usb.c USB HID: basic COM functionality over USB HID 2010-05-24 16:33:40 +00:00
startup_stm32f10x_HD_BL.S OP-21: Made changes to OpenPilot makefile too allow building for bootloader and non-bootloader targets. Use "USE_BOOTLOADER = YES" to build for the OpenPilot Bootloader. 2010-03-13 20:01:31 +00:00
startup_stm32f10x_HD_NB.S irq_stack: provide a proper IRQ stack for FreeRTOS 2010-05-24 16:33:26 +00:00
startup_stm32f10x_HD.S OP-21: Made changes to OpenPilot makefile too allow building for bootloader and non-bootloader targets. Use "USE_BOOTLOADER = YES" to build for the OpenPilot Bootloader. 2010-03-13 20:01:31 +00:00
startup_stm32f10x_MD.S Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00