Commit graph

23 commits

Author SHA1 Message Date
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
timecop 3748f2b72d patch for core_cm3 and new gcc fail
commented values in vbat calculation

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@116 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
2012-03-17 07:13:45 +00:00
timecop d262c6e66c imported STM32 multiwii port into baseflight dir
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@86 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
2012-02-16 09:39:58 +00:00