1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Mainboard: Get spektrum working again.

This commit is contained in:
James Cotton 2011-09-09 09:42:13 -05:00
parent 8f7712435f
commit eb191d869a
4 changed files with 6 additions and 5 deletions

View File

@ -969,7 +969,6 @@ void PIOS_Board_Init(void) {
UAVObjInitialize();
HwSettingsInitialize();
ManualControlSettingsInitialize();
#if defined(PIOS_INCLUDE_RTC)
/* Initialize the real-time clock and its associated tick */

View File

@ -46,8 +46,8 @@
#define PIOS_INCLUDE_SPEKTRUM
//#define PIOS_INCLUDE_SBUS
#define PIOS_INCLUDE_PWM
#define PIOS_INCLUDE_PPM
//#define PIOS_INCLUDE_PWM
//#define PIOS_INCLUDE_PPM
#define PIOS_INCLUDE_TELEMETRY_RF

View File

@ -1099,6 +1099,8 @@ void PIOS_Board_Init(void) {
EventDispatcherInitialize();
UAVObjInitialize();
HwSettingsInitialize();
#if defined(PIOS_INCLUDE_RTC)
/* Initialize the real-time clock and its associated tick */
PIOS_RTC_Init(&pios_rtc_main_cfg);

View File

@ -1,7 +1,7 @@
/* This is the size of the stack for early init and for all FreeRTOS IRQs */
_irq_stack_size = 0x400;
_irq_stack_size = 0x800;
/* This is the size of the stack for early init: life span is until scheduler starts */
_init_stack_size = 0x400;
_init_stack_size = 0x800;
/* Check valid alignment for VTOR */
ASSERT(ORIGIN(FLASH) == ALIGN(ORIGIN(FLASH), 0x80), "Start of memory region flash not aligned for startup vector table");