1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
LibrePilot/flight/CopterControl/System/inc
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
..
alarms.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
FreeRTOSConfig.h OP-423 Step-1: split system stack and implement water mark for IRQstack: 2011-06-12 20:23:00 -07:00
op_config.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
openpilot.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
pios_board_posix.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
pios_config_posix.h Delete hardcoded min and max servo PWM times, they weren't used. Use the 2011-02-01 21:04:58 +00:00
pios_config.h OP-423 Step-1: split system stack and implement water mark for IRQstack: 2011-06-12 20:23:00 -07:00
pios_usb_hid_desc.h Should fix the CC showing as OP. 2011-04-29 23:38:26 +01:00
pios_usb.h OP-339 Update USB descriptors on CopterControl and OpenPilot to reflect the new convention. 2011-03-09 07:21:01 +00:00
taskmonitor.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00