1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00
Commit graph

202 commits

Author SHA1 Message Date
Martin Budden
ea2ec8b069 Added hooks for gyro data analysis 2017-02-23 15:52:26 +00:00
Martin Budden
09410ce80e Added ARM DSP library 2017-02-23 12:20:38 +00:00
Michael Jakob
d6f3a50a9b Cleanup F7 CMSIS and HAL Library compiler warnings 2017-01-19 08:58:27 +01:00
Michael Jakob
35ca569c84 STM32F7 CMSIS Libraries V1.2.0 2017-01-18 13:58:05 +01:00
Michael Jakob
e930261808 STM32F7 HAL Drivers V1.2.0 2017-01-18 13:47:15 +01:00
blckmn
ba3ac12220 STM32F1xx_HAL_Driver 2017-01-05 12:39:10 +11:00
blckmn
f98b52664a CMSIS HAL for F1 2017-01-05 10:32:56 +11:00
blckmn
ee2430f4a3 STM32F3xx_HAL_Driver 2017-01-05 10:29:22 +11:00
blckmn
12a8171ed7 CMSIS HAL for F3 2017-01-05 10:29:00 +11:00
blckmn
11dba62499 STM32F4xx_HAL_Driver 2017-01-05 09:34:11 +11:00
blckmn
df1409afee CMSIS HAL files for STM32F4 2017-01-05 09:34:07 +11:00
blckmn
f67bf14b32 First NERO build
Using sample 722 support based on available documentation (pending update from STM)
2017-01-04 16:16:15 +11:00
blckmn
7b62b9a7ef Latest F7 HAL drivers (preparing for F722RE) 2017-01-03 14:47:24 +11:00
Martin Budden
8479ed0022 Starting the process of fixing type downcasting warnings 2016-12-28 09:46:30 +00:00
Sami Korhonen
03475a1ede Update STM32F7 HAL driver to 1.5.0 version 2016-11-19 14:40:47 +02:00
Martin Budden
3b93caa3ab Fix ANYFCF7 'unused' build warnings 2016-11-09 08:20:51 +00:00
Konstantin Sharlaimov (DigitalEntity)
09140cfdef Move MAVLink to lib/main/MAVLink; Post-rebase fixups 2016-10-17 17:24:42 +10:00
Martin Budden
4cd61f08b5 Further improvements to serial const correctness 2016-10-04 09:01:28 +01:00
Sami Korhonen
308f6b7820 F7 Libraries and Middlewares 2016-09-19 13:25:07 +03:00
Michael Jakob
33f8c76a96 VCP fix from cleanflight PR#2120 by ledvinap 2016-06-25 21:47:57 +02:00
blckmn
86459a77ed Warning fixes 2016-06-23 20:25:31 +10:00
blckmn
eb547ba900 STM32F4: Fixed pointer warning 2016-06-22 08:24:23 +10:00
blckmn
a5d46fd084 STM32F4: Updating USB Lib 2016-06-22 08:24:22 +10:00
blckmn
bca73007d6 STM32F4: Library update 2016-06-22 08:24:21 +10:00
blckmn
d4e96ba8e7 STM32F4: Libraries 2016-06-08 05:32:31 +10:00
blckmn
32e0be9802 A few warnings in the SP lib suppressed. 2016-06-03 20:21:10 +10:00
Michael Hope
e569a71c60 usb: add volatile in more places.
Fixes the remaining (and valid) warnings.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-30 22:44:11 +02:00
Michael Hope
ebc0f53b59 usb: mark register accesses as volatile.
Fixes the LTO build with GCC 4.9.  Tested on the STM32F3DISCOVERY.  I
assume the compiler was doing cross function optimisation, saw that
the same non-volatile address was read twice, and dropped the second
read.

Fixes #763.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-30 08:12:24 +02:00
Michael Hope
5c6760fd82 various: tidy up various things found when building with a C++ compiler.
Remove duplicate consts.
Pull in the include files where functions and variables are declared.
Mark file local but duplicated variables as static.
Mark some variable declarations as extern.
Remove duplicated variable definition.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-04 22:32:31 +02:00
Michael Hope
31f933ac21 various: mark more constant data so it goes into flash instead of RAM.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-29 05:42:08 +02:00
Dominic Clifton
24052eae2e Fix some character encoding issues in comments. 2015-04-22 20:29:21 +01:00
Dominic Clifton
581b0cd897 Fix compiler warning regarding failsafeIndicator 2015-04-22 21:15:47 +02:00
Dominic Clifton
2a37e26715 Use correct flag for GPIOC IDR check. 2015-01-31 22:27:45 +01:00
Dominic Clifton
1efe530ea3 Disable compilation of unused can/cec/crc libraries. 2015-01-08 05:02:23 +00:00
Dominic Clifton
754d0974c5 Fix clock initialisation on new revision CJMCU boards. 2015-01-03 18:58:42 +00:00
Dominic Clifton
996d72eee5 Merge branch 'AlienWii32_defaults' of
https://github.com/MJ666/cleanflight into MJ666-AlienWii32_defaults

Conflicts:
	src/main/target/NAZE/target.h
2014-12-26 18:40:01 +00:00
Dominic Clifton
30ddd177d9 Removing more profanity from code. See #43. 2014-10-15 14:33:10 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
7f027e7e24 Update makefile to use target specific files.
This is an alternative to #ifdef's everywhere which is getting out of
hand.

Confirmed that the VCP is working on the STM32F3Discovery board and
ChebuzzF3 variant.
2014-06-02 18:13:28 +01:00
Dominic Clifton
382356a09c STM32F30x - Fix USB VCP initialisation. 2014-06-02 11:10:19 +01:00
Dominic Clifton
3f8a6c0e20 Add VCP driver (work in progress) 2014-06-02 01:54:25 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Dominic Clifton
f268c9c4f2 Adding the first unit test to verify battery voltage calculations based
on expected ADC readings.
2014-05-05 15:29:23 +01:00
Dominic Clifton
8d9ce86a5a get GPIO and USART ports working.
The STM32F3DISCOVERY board would crash when setting GPIOA Pin_13 or
Pin_14 to analog mode so they are excluded in the gpio initialisation.

The USART GPIO configuration did not work when using the F10x code.  The
USART status and DMA registers are different too.
2014-04-25 15:19:28 +01:00
Dominic Clifton
2cc3a50c01 Avoid calling SetSysClock twice. 2014-04-25 12:10:51 +01:00
Dominic Clifton
0598704872 First commit of port to STM32F3DISCOVERY board.
work-in-progress, it does compile and run though but hangs early on in
main() because of unimplemented features.
2014-04-25 01:09:19 +01:00
Johannes Kasberger
6716ecfe7e added overclock feature 2014-04-15 08:33:37 +02:00
timecop@gmail.com
57cbd784a9 a couple optimizations for dynamic HSE frequency - moved SetSysClock() to run after reset vector + bss init, and changed rcc which used hardcoded HSE_VALUE.
turn off leds/beeper before initializing pins to prevent flash at startup
uninitialized errorAngle fix in new PID


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@362 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
2013-07-02 00:58:50 +00:00
timecop@gmail.com
e010e3a354 Cleaned up SetSysClock to remove duplicated code when configuring HSE or HSI
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@359 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
2013-06-30 06:25:24 +00:00
timecop@gmail.com
005308b430 Applied patch from trunet for running at 64MHz off HSI for broken Chinese kcopter clones
status in cli now prints cpu MHz, 72 when running off crystal, 64 when running off intrc.
corrected WHO_AM_I check for mpu6050 when it's used on alternate address (AD0 high).
corrected PWM driver to consider CPU clock for timer prescalers - now things properly work below 72MHz
added a neat hack for pitch angle calculation so that it's not affected when roll reaches 90deg
added proper math for vector rotation instead of small-angle approximation

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@225 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
2012-10-06 14:40:24 +00:00