Commit Graph

28 Commits

Author SHA1 Message Date
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