mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Stacey Sheldon
e2ab662b5d
sysclk: pass in correct definition for HSE_VALUE
The code in RCC_GetClocksFreq() uses HSE_VALUE to determine the tick rate of the SYSCLK. This in turn is used by the code in PIOS_DELAY_* to compute delays. ST Library defaults this to 25MHz for the F4. Our board actually has an 8MHz oscillator so delays were way off. Mostly affects the bootloaders since most FW code uses RTOS delays rather than busy-waiting using PIOS_DELAY_*.
Description
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Languages
C
60.6%
C++
30.8%
Fortran
2.6%
Rich Text Format
1.3%
Assembly
1.2%
Other
3.1%