1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/PiOS/STM32F10x
Mathieu Rondonneau 7598e898fa OP-423 Step-1: split system stack and implement water mark for IRQstack:
- use IRQStack for ISRs (at begening of SRAM) (let's call it the irq stack)
- use end of heap for stack needed during initialization (let's call it the init stack).
- the systemStats in GCS indicate the remaining bytes in the IRQ stack (this is realy usefull to monitor our (nested) IRQs.

This is the base ground to provide as much memory as possible available at task creation time.

Next step is to re-organize the initialization in order to move all the init out of the thread's stacks onto the init stack.
This will provide as much memory as possible available at task creation time.
Basically the stack during initialization will be destroyed once the scheduler starts and dynamic alloc are made (since the init stack is at the end of the heap). We will need to make sure we don't clobber the heap during initialization otherwise this will lead to stack corruption.
2011-06-12 20:23:00 -07:00
..
Libraries OP-423 Step-1: split system stack and implement water mark for IRQstack: 2011-06-12 20:23:00 -07: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 build: convert all app loads to require bootloaders 2011-05-08 12:40:29 -04:00
link_STM3210E_INS_BL_sections.ld build: remove all remaining use of -DUSE_BOOTLOADER 2011-05-23 18:21:42 -04:00
link_STM3210E_INS_memory.ld build: refactor fw, bl and bu rules 2011-05-23 18:21:42 -04:00
link_STM3210E_INS_sections.ld link: Use alternate declaration of pios_board_info_blob 2011-05-23 18:21:42 -04:00
link_STM3210E_OP_BL_sections.ld build: remove all remaining use of -DUSE_BOOTLOADER 2011-05-23 18:21:42 -04:00
link_STM3210E_OP_memory.ld build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
link_STM3210E_OP_sections.ld link: Use alternate declaration of pios_board_info_blob 2011-05-23 18:21:42 -04:00
link_STM32103CB_AHRS_BL_sections.ld build: remove all remaining use of -DUSE_BOOTLOADER 2011-05-23 18:21:42 -04:00
link_STM32103CB_AHRS_memory.ld build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
link_STM32103CB_AHRS_sections.ld link: Use alternate declaration of pios_board_info_blob 2011-05-23 18:21:42 -04:00
link_STM32103CB_CC_Rev1_BL_sections.ld build: remove all remaining use of -DUSE_BOOTLOADER 2011-05-23 18:21:42 -04:00
link_STM32103CB_CC_Rev1_memory.ld build: add pios_board_info_blob struct to bootloader flash image 2011-05-16 08:30:30 -04:00
link_STM32103CB_CC_Rev1_sections.ld OP-423 Step-1: split system stack and implement water mark for IRQstack: 2011-06-12 20:23:00 -07:00
link_STM32103CB_PIPXTREME_BL_sections.ld build: remove all remaining use of -DUSE_BOOTLOADER 2011-05-23 18:21:42 -04:00
link_STM32103CB_PIPXTREME_memory.ld build: add support for EE bank on pipx boards 2011-05-24 01:10:40 -04:00
link_STM32103CB_PIPXTREME_sections.ld link: Use alternate declaration of pios_board_info_blob 2011-05-23 18:21:42 -04:00
pios_adc.c CC-8: Move the queue registration into the ADC PIOS driver to allow other 2011-02-03 02:42:43 +00:00
pios_debug.c Small fix to PIOS_DEBUG_PinValue8Bit(), was also influencing other IO pins 2011-03-05 12:53:52 +00:00
pios_delay.c Extend PiOS DELAY to allow querying the time value in uS 2011-05-26 12:19:04 -05:00
pios_exti.c OP-377 PiOS/BMP085 Update BMP085 driver to be FreeRTOS agnostic 2011-04-14 09:53:04 +00:00
pios_gpio.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_i2c.c OP-326 Long I2C messages starve the other drivers 2011-03-09 17:12:18 +00:00
pios_irq.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_led.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_ppm.c PPM driver cleanup 2011-03-08 18:52:50 +00:00
pios_pwm.c OP-256 PIOS/PWM: Converting PWM input to use standard driver structure. 2011-01-24 07:51:45 +00:00
pios_rtc.c Spektrum rtc supervisor working, tested on CC and all outputs are activated. Needs review and testing before merge. 2011-05-29 14:52:22 +03:00
pios_servo.c Remove un-used code 2011-06-02 20:21:26 -07:00
pios_spektrum.c Spektrum rtc supervisor working, tested on CC and all outputs are activated. Needs review and testing before merge. 2011-05-29 14:52:22 +03:00
pios_spi.c hwinit: Convert SPI drivers to dynamic init 2011-02-12 22:19:50 +00:00
pios_sys.c OP-509: fix for ld symbol reference (also fixes build with 4.5.2 gcc) 2011-06-01 00:31:27 +03:00
pios_usart.c hwinit: Convert COM and USART to dynamic init 2011-02-12 22:19:43 +00:00
pios_usb_hid_desc.c Flight/HID: NAK instead of stall USB bus (former was mistake) and change 2010-10-20 05:21:25 +00:00
pios_usb_hid_istr.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_prop.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid_pwr.c Flight/PiOS: Whitespace changes 2010-09-27 07:28:45 +00:00
pios_usb_hid.c hwinit: Convert COM and USART to dynamic init 2011-02-12 22:19:43 +00:00
pios_wdg.c PIOS/WDG: Add back the returned delay for code that wants to clear WDG more 2011-01-13 19:01:33 +00:00
startup_stm32f10x_HD_OP.S OP-21/Flight Prep work for the USB HID bootloader 2010-08-22 18:54:57 +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_CC.S OP-423 Step-1: split system stack and implement water mark for IRQstack: 2011-06-12 20:23:00 -07:00
startup_stm32f10x_MD.S Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00