Commit Graph

44 Commits

Author SHA1 Message Date
jflyper d4ac21cdc7 Refactor status command to print things in more sensible order 2018-12-01 22:21:58 +09:00
Andrey Mironov 600b854850 Reordered F7 chip types 2018-09-09 13:36:46 +03:00
Andrey Mironov 7a331d03f4 Added preliminary support for STM32F765xx 2018-09-07 22:47:20 +03:00
mikeller 06359deb09 Renamed common target files to get rid of '_fc_'. 2018-08-26 13:55:31 +12:00
Michael Keller 283e55e45d Removed SPRACINGF3OSD support. 2018-08-08 08:32:20 +12:00
mikeller ede204aa81 Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies. 2018-05-14 19:13:37 +12:00
jflyper 3364c094e1 Move hard coded defaults out of pgResetFn 2018-05-05 01:22:29 +09:00
blckmn a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
blckmn 46fe22b4bd Direct license replacement 2018-04-22 09:22:46 +10:00
Andrey Mironov ff4c2bc145 Post-cleanup of F7 optimizations (#5729)
* Moved ART Prefetch enabling from library to main code

* Fixed tabs to spaces

* Added F7 LL EX header to simplify work with DMA and TIM

* Refactored F7 DSHOT using LL EX

* Got rid of overlooked duplicate lines
2018-04-21 18:14:35 +12:00
Andrey Mironov bf984f39b1 F7 optimizations (#5674)
* Revert "Revert "Rewritten F7 dshot to LL (draft)" (#5430)"

This reverts commit aa42a69d2f.

* Reworked F7 linker scripts to maximize performance of both F74x and F72x

* Some comments and changes from original F7 HAL DSHOT

* Prohibit inlining of some functions to place them in ITCM-RAM

* Fixed usartTargetConfigure implicit declaration

* Moved back to SRAM1 as main RAM

* Added SRAM2 attribute

* Fixed LL DSHOT FOR SPRF7DUAL and probably other adv TIM users

* Fixed SPRF7DUAL rev. A motor order

* Enabled CCM for data on F40x

* Fixed F7 startup assembly symbols

* Fixed KISSFCV2F7 linker script

* Added a quick way of building F7 targets only

* Got rid of the useless F7 target script

* Added NOINLINE and got rid of useless __APPLE__ define

* Added some important functions to ITCM

* Added NOINLINE macro for tests

* Copy to ITCM before passing execution into it

* Minimized cache footprint of motor output code

* Evicted low-impact functions from ITCM

* Switched MATEKF722 and SPRACINGF7DUAL to burst DSHOT

* Switched CLRACINGF7 to burst DSHOT

* Moved UART RX&TX buffers to DTCM-RAM to avoid cache incoherency

* Marked taskMainPidLoop for ITCM-RAM, disallowed inlining per-function

* Revert "Added a quick way of building F7 targets only"

This reverts commit 22945189980deaf493be54a5056a080e7edad629.
2018-04-20 08:37:32 +12:00
Andrey Mironov e49dfb1634 Added F7 overclock (#5372) 2018-03-06 08:28:29 +13:00
Sami Korhonen fa6112e1b8 F7 Dshot hack 2017-10-15 10:08:41 +03:00
blckmn 834289e456 Move all F7 to use LL 2017-07-30 12:10:46 +10:00
blckmn e6780bd4d8 Fix unused param, add PERIPH_DRIVER flag for F4, tidied up F1 and F3 in prep. 2017-07-30 01:07:09 +10:00
blckmn 2dca6a5bbc Preparation for F4 being LL enabled.
Updated F7 to use latest HAL / LL libraries
2017-07-29 23:02:39 +10:00
blckmn e8c4ef83d9 IO Clean up and use of Low level for F7
- Move F7 to optional LL driver for IO and
- cleaned up and removed the remaining old gpio functions from other targets
2017-07-28 04:03:56 +10:00
blckmn 61cfb0aedf Some separation in the Makefile 2017-07-21 07:51:13 +10:00
Martin Budden 6c9ef6df21 Fix pragma poison sprintf compile errors 2017-05-28 12:09:27 +01:00
Martin Budden a6ba19aa97 Poisoned sprintf and snprintf 2017-05-28 11:31:37 +01:00
Hydra 2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Michael Jakob 4e38437d11 STM32F722 UID fix 2017-04-10 23:47:02 +02:00
cs8425 120fa21693 implement SITL in gazebosim with ArduCopterPlugin
need implement fake eeprom & fake IO

need implement fake system function

can compile, stuck in isEEPROMContentValid()

EEPROM in memory work

EEPROM as file should work

fix some complie warning

MSP over TCP work (add dyad.c)

a little clean up

fix FLASH_CONFIG_Size in ld script & implement some pwmout

IO to simulator work!! need to check direction & scale!!

can fly but Gyro buggy

move dyad.c

fix busy-loop (limit to max 20kHz)

can simulatie in different speed now! (hard code)

add option for IMU calculation

add README.md

move dyad.c and fix F3 overrun the flash size

explanation SITL in README.md and reuse CFLAGS, ASFLAGS
2017-04-05 18:22:59 +08:00
Martin Budden 9277a39dcf Preliminary F446 support 2017-02-22 15:37:48 +00: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
jflyper 352d38500a Created target/common_post.h to touch up configuration created by common.h and target.h 2016-12-31 14:30:45 +09:00
Sami Korhonen 7c6d3efa13 NucleoF7 board support 2016-12-04 09:54:17 +02:00
Sami Korhonen d53b6584a0 F7 Remove portable.h 2016-10-21 08:51:06 +03:00
Sami Korhonen 1f8805cdf0 squash betaflightF7
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
blckmn 7c7f89b4bb STM32F4: removed common_stm32f4xx.h - removed defines from common.h (await PR) 2016-06-09 06:52:16 +10:00
blckmn 47ce9bb799 STM32F4: Adjusted for compatibility with @martinbudden common.h PR 2016-06-09 06:41:55 +10:00
blckmn 33fdf5ac83 STM32F4: Added the common platform.h as per suggestion 2016-06-08 10:25:10 +10:00
blckmn 3582e459a4 STM32F4: Platform defines and common system file placement 2016-06-08 06:53:40 +10:00
blckmn 96757c18a2 STM32F4: Main, Sensors, io 2016-06-08 05:36:46 +10:00
blckmn 928609e2bb Moving EXTI to new io
Updated i2c to use new io
2016-06-03 20:21:10 +10:00
Dominic Clifton d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton 3d382ea4c7 EUSTM32F103RC - First cut of support for this High-Density STM32F103
series development board.

These boards can be picked up for less than $11, coupled with a 10DOF
sensor board they make a great development platform or cheap expandable
FC.

Pretty much all pins are available to be used, unlike on the less
capable and more expensive OLIMEXINO.
2014-09-03 01:38:27 +01:00
Dominic Clifton e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton 0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton 32622da0ab Continuation of extracting peripheral configuration into drivers. 2014-06-04 14:53:34 +01:00
Dominic Clifton c7cd7adee9 Move #ifdef'd code from platform.h into target.h for each target. 2014-06-02 18:36:31 +01:00
Dominic Clifton 294f09bc91 Update F303 chip id. 2014-06-02 01:32:14 +01:00
Dominic Clifton 14448f4734 Merge branch 'naze32pro' - work in progress
Conflicts:
	Makefile
2014-05-31 22:50:05 +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