Horus internal GPS: settable baudrate, misc fixes, new cmake options,… (#3736)

* Horus internal GPS: settable baudrate, misc fixes, new cmake options, cosmetics, cli

* Horus internal GPS: cmake changes, more CLI options, ability to send commands to the module

* Compilation fixes
This commit is contained in:
Bertrand Songis
2016-08-31 06:48:28 +02:00
committed by GitHub
11 changed files with 152 additions and 31 deletions
+3 -3
View File
@@ -162,7 +162,7 @@ void boardInit()
lcdInit();
backlightInit();
// TODO ? backlightEnable(100);
audioInit();
init2MhzTimer();
init1msTimer();
@@ -171,8 +171,8 @@ void boardInit()
// bt_open();
gpsInit();
gpsInit(GPS_USART_BAUDRATE);
#if defined(DEBUG)
DBGMCU_APB1PeriphConfig(DBGMCU_IWDG_STOP|DBGMCU_TIM1_STOP|DBGMCU_TIM2_STOP|DBGMCU_TIM3_STOP|DBGMCU_TIM4_STOP|DBGMCU_TIM5_STOP|DBGMCU_TIM6_STOP|DBGMCU_TIM7_STOP|DBGMCU_TIM8_STOP|DBGMCU_TIM9_STOP|DBGMCU_TIM10_STOP|DBGMCU_TIM11_STOP|DBGMCU_TIM12_STOP|DBGMCU_TIM13_STOP|DBGMCU_TIM14_STOP, ENABLE);
#endif