Magnus Ivarsson
e88e251df9
major refactor of the unit test makefile
...
- Specify source files in variables instead of manually writing
the make file rules, this removes a lot of duplication
- Use separate folders for all tests allowing for tests and common
source files to be built with different settings (defines)
2017-04-04 00:06:56 +02:00
Martin Budden
c9fd4ec428
Merge pull request #2790 from unitware/bf-test-verbosity
...
control build verbosity for the unit tests
2017-04-03 20:46:59 +01:00
Hydra
ead5d9582c
BF - Add SPRACINGF4EVO to list of official targets.
2017-04-02 09:06:38 +01:00
Hydra
07d355a18c
CF/BF - Add SPRacingF4EVO to travis group 4 targets.
2017-04-02 09:05:21 +01:00
Magnus Ivarsson
9e77f9c4c8
control build verbosity for the unit tests
2017-03-31 16:57:56 +02:00
Martin Budden
9a3cad9ca3
Further work on gyro SPI selection
2017-03-26 10:10:10 +01:00
Magnus Ivarsson
b703bcef5a
Fix issue #2707 , travis did not fail if build TARGET=.. failed.
2017-03-23 12:09:08 +01:00
Magnus Ivarsson
6622b36af8
Speedup build by grouping the builds in a few groups to be run in parallell
2017-03-22 12:05:40 +01:00
Hydra
adaae967ef
CF/BF - SPRACINGF3NEO - Add to official target list.
2017-03-20 21:19:01 +00:00
Hydra
067d3c0ac2
CF/BF - First cut of Current/Voltage/Battery cleanup.
...
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
Michael Keller
9b19e99e56
Merge pull request #2539 from mikeller/make_target_mk_consistent
...
Make target.mk consistent.
2017-03-16 13:21:38 +13:00
Magnus Ivarsson
b13d4694bb
Combine ibus serial rx and ibus telemetry on the same fc uart on a single pin.
...
```
+---------+
| FS-iA6B |
| |
| Ser RX |---|<---\ +------------+
| | | | FC |
| Sensor |---[R]--*-------| Uart TX |
+---------+ +------------+
```
R = 10Kohm, Diode 1N4148 or similar.
Both uart tx and rx channels are used so it's not possible to use the spare pin for rx of something else.
Configure the serial port like this to get both serial rx and ibus telemetry on the same port:
```
serial 1 4160 115200 57600 115200 115200
```
It is still possible to run the serial rx and ibus telemetry on two uarts like before, an example:
```
serial 1 64 115200 57600 0 115200
serial 2 4096 115200 57600 115200 115200
```
2017-03-13 21:43:37 +01:00
Martin Budden
f1ce19167f
Converted target config.c files to PG - PG CLI 6 ( #2578 )
...
Converted CLI and target config.c files to PGs
2017-03-08 23:26:37 +00:00
Michael Keller
243bbac466
Amended to reflect outcome of discussion.
2017-03-07 15:40:14 +13:00
Martin Budden
b8d6fb29df
Fixed warnings in ARM math library
2017-03-06 06:11:49 +00:00
J Blackman
792941606f
Initial preparation for cleaning up multiple files per MCU ( #2500 )
...
* Initial preparation for cleaning up multiple files per MCU
* Combined DSHOT for F3 and F4 (F7 todo)
* Build fixes (mixed some adjustments needed in transponder_ir.c)
* Fix F7 warnings/bugs
* Updated timer periods for transponder.
Fixed FURY including old pwm_output files.
* Added method to calculate prescaler and period on the fly for varying clock speeds.
This can be used for overclocking :)
* Consolidated led_strip
* Moved led strip to use system clock for timing (allowing overclocking)
* Fixed incorrect channel, and removed comparison warning.
* More cleanup
* Fix KIWIF4 target
* Cleaned up target.mk files
2017-03-01 19:50:23 +00:00
Martin Budden
6b27f10c94
Added PG config definitions 6
2017-02-27 06:27:01 +00:00
Martin Budden
b8317f53c6
Merge pull request #2494 from blckmn/bb_enum_dedupe
...
Removing duplicate bb device enum
2017-02-26 14:48:27 +00:00
mikeller
ca67cf1990
Added USB disconnect pulse for F4 / F7.
2017-02-26 13:19:42 +00:00
blckmn
1425241d61
Removing duplicate bb device enum
...
Changing SDCARD condition to that suggested by @mikeller
Changed make sample to make official
2017-02-26 20:59:42 +11:00
Martin Budden
ea2ec8b069
Added hooks for gyro data analysis
2017-02-23 15:52:26 +00:00
Martin Budden
2828e26693
Fix makefile
2017-02-22 21:09:56 +00:00
Martin Budden
9277a39dcf
Preliminary F446 support
2017-02-22 15:37:48 +00:00
borisbstyle
de3d1d527d
Merge branch 'master' into patch_v3.1.6
2017-02-20 14:40:43 +01:00
Anders Hoglund
90edb93238
Makefile cleanup. Remove the concept of HIGHEND and the HIGHEND_SRC list.
2017-02-13 17:48:53 +01:00
jflyper
4bdbed9b8b
Moved USE_SOFTSERIALx to target.h
2017-02-11 22:14:41 +09:00
Martin Budden
f2e5c7d0b4
Split RC adjustments into separate module
2017-02-03 10:49:27 +00:00
borisbstyle
51b19855dd
Merge tag 'v3.1.2'
2017-02-02 00:23:33 +01:00
borisbstyle
58bcb981ed
Decouple min_check from throttle // Add modern expo calculation to throttle curve
2017-02-01 23:53:29 +01:00
Martin Budden
ae9fc8a58d
Changed back to using -Ofast optimisation
2017-01-31 14:20:38 +01:00
Martin Budden
7521cd0fcb
Reviewed and revised compiler speed optimisations
2017-01-31 14:20:36 +01:00
Martin Budden
ca11e3de8e
Moved gps_conversion to common/ directory
2017-01-31 14:20:33 +01:00
Martin Budden
974037c150
Parameter groups EEPROM migration
2017-01-31 14:20:23 +01:00
Martin Budden
c190c55ce3
Changed back to using -Ofast optimisation
2017-01-31 14:20:20 +01:00
Martin Budden
34fcf7666a
Reviewed and revised compiler speed optimisations
2017-01-31 14:20:18 +01:00
borisbstyle
a112c1d7d0
Separate fc_core.c from RC processing
2017-01-30 23:46:04 +01:00
Michael Jakob
d6f3a50a9b
Cleanup F7 CMSIS and HAL Library compiler warnings
2017-01-19 08:58:27 +01:00
jflyper
f565138101
Touch-ups
2017-01-16 22:59:33 +09:00
jflyper
1d8018f547
Rebase + touch-up
...
Includes fix for SmartAudio CMS behavior
2017-01-16 22:32:59 +09:00
borisbstyle
b60bc0a2e1
Merge pull request #2106 from raphaelcoeffic/tramp-raf
...
IRC Tramp VTX support (continued)
2017-01-16 13:25:07 +01:00
Raphael Coeffic
dddd09ae87
tramp: moved common definitions to vtx_common
2017-01-15 11:59:44 +01:00
jflyper
cdd0cd4528
VTX abstraction (experimental)
2017-01-15 01:27:02 +09:00
Vlad Adamenko
afef3b09b0
Making production target rg_SSD_F3
...
Clean ups on mikeller and martinbudden requests.
Plus, added default VBat scale configuration.
2017-01-13 18:16:39 -05:00
jflyper
6550d738db
Some enhancements
2017-01-13 15:59:36 +01:00
jflyper
6515ae3490
Added power and pit mode
2017-01-13 15:59:36 +01:00
jflyper
58ed2ed590
Tramp prototype driver
2017-01-13 15:59:36 +01:00
mikeller
5e45ec3293
Renamed 'serial_cli' and 'fc_main'.
2017-01-11 23:22:03 +13:00
blckmn
1e75f90c52
Merge branch 'master' into task_dispatch
2017-01-10 09:39:59 +11:00
Martin Budden
0169e94353
Merge pull request #1955 from blckmn/ibus_telemetry
...
Adding ibus telemetry.
2017-01-07 21:57:08 +00:00
Martin Budden
aa9fbe5712
Merge pull request #1988 from blckmn/nero
...
NERO - full target implementation and build
2017-01-07 11:54:05 +00:00
blckmn
06775e5c51
Adding ibus telemetry.
2017-01-07 09:15:52 +11:00
blckmn
c9dac34cac
Added simple dispatcher task for executing func after specified period.
2017-01-05 20:58:56 +11:00
Martin Budden
79f0a7088a
Moved serial_cli to fc directory
2017-01-04 11:13:40 +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
Martin Budden
e8345369bb
Moved init() and hardfault handling out of main into fc directory
2017-01-03 09:10:34 +00:00
jflyper
0b981ecfb1
Merge remote-tracking branch 'betaflight/master' into bfdev-smartaudio
2016-12-31 23:30:47 +09:00
borisbstyle
4e3704374a
Cleanup mw.c // Remove unnecessary functions
2016-12-30 14:00:10 +01:00
blckmn
14efffcaf7
Clean up use of startup files in Makefile so as to specify different files for different MCUs
2016-12-30 21:17:56 +11:00
Michael Keller
6aec4e1ec5
Merge pull request #1918 from mikeller/remove_local_mk
...
Removed 'local.mk' from repo so that it will be properly ignored.
2016-12-30 13:51:43 +13:00
jflyper
86bb650617
Merge remote-tracking branch 'betaflight/master' into bfdev-smartaudio
2016-12-30 00:11:57 +09:00
Michael Keller
ac877438f1
Removed 'local.mk' from repo so that it will be properly ignored.
2016-12-29 12:55:33 +13:00
Martin Budden
b269de2acc
Renamed drivers/pwm_rx.c to drivers/rx_pwm.c
2016-12-28 19:04:39 +00:00
Martin Budden
d04ef3ff02
Merge pull request #1886 from sambas/bf_f7_pwmoutput
...
Unify F7 pwmoutput
2016-12-26 16:26:02 +01:00
Sami Korhonen
6b48aab3c6
Unify F7 pwmoutput
2016-12-25 09:17:20 +02:00
Sami Korhonen
86f08ee9b3
Rework F7 vcp
...
fix badly configured poll timer
unify to serial_usb_vcp.c
2016-12-24 13:17:36 +02:00
blckmn
c49d36a346
Initial implementation of SPEK SRXL telemetry protocol
2016-12-22 07:54:52 +11:00
jflyper
3aaef42d1b
Rebased
2016-12-18 18:32:36 +09:00
Michael Jakob
07f7b20aec
Move Brushed ESC auto detection into seperate source files
...
pwm_output.c and pwm_output_hal.c are used aternativly
2016-12-14 20:43:14 +01:00
Anders Hoglund
33981ac366
Makefile optimisation corrections.
...
New proposal for Makefile optimisation cleanup. Based on @AndersHoglund's 'makefile_optimization_cleanup'.
Separated out debug build path.
2016-12-14 12:45:38 +13:00
atomiclama
45c792df0a
Changed variable REVISION to immediate expansion.
...
This prevents the git command log from command being executed during
every use of the variable REVISION and so speeds up the build by ~5sec
on my machine
2016-12-13 07:32:57 +00:00
jflyper
af3132d422
Rebased
2016-12-12 06:35:38 +09:00
Martin Budden
be5ef23fa9
Merge pull request #1746 from sambas/bf_nucleof7
...
NucleoF7 board support
2016-12-11 19:32:15 +01:00
J Blackman
ccfb19edfe
Merge pull request #1646 from basdelfos/esc_telemetry_as_sensor
...
ESC telemetry as sensor
2016-12-11 18:26:41 +11:00
jflyper
71f17a8f2b
CMS files as size optimized
2016-12-10 21:01:44 +09:00
jflyper
e2e7835cf8
Add cms files and vtx_smartaudio.c as size optimized
2016-12-10 20:53:31 +09:00
Michael Keller
a9309e1204
Merge pull request #1747 from mikeller/optimise_non_rt_size
...
Optimised size for non realtime targets.
2016-12-11 00:44:46 +13:00
Anders Hoglund
b90185ef8c
Build date and rev was not updated on incremental builds. Fixed.
2016-12-09 01:05:08 +01:00
Bas Delfos
b53cbbefc3
Moved ESC telemetry to sensors
2016-12-08 21:19:23 +01:00
Michael Keller
5b674c8e4f
Switched to 'SPEED_OPTIMISED_SRC', 'SIZE_OPTIMISED_SRC'. Also fixed spelling.
2016-12-06 14:01:06 +13:00
Michael Keller
9caa8b6cba
Disabled size optimisation for F4.
2016-12-06 14:01:06 +13:00
Michael Keller
9f7bae899f
Added 'low priority' target list.
2016-12-06 14:01:06 +13:00
Michael Keller
43b41d054e
Added '-ffast-math' to space optimised targets, to eliminate linker warnings and further reduce size.
2016-12-06 14:01:06 +13:00
Michael Keller
6ea054dcf3
Optimised size for non realtime targets.
2016-12-06 14:01:06 +13:00
Sami Korhonen
7c6d3efa13
NucleoF7 board support
2016-12-04 09:54:17 +02:00
Martin Budden
2b3cc549e9
Enabled CCM RAM for stack. Added stack watermarking
2016-12-01 09:46:47 +00:00
borisbstyle
e9083db022
Disable GPS by default on smaller Sizes
2016-12-01 00:13:19 +01:00
Martin Budden
890eab203b
First cut of CRSF RX and telemetry code
2016-11-17 22:36:11 +00:00
Bas Delfos
7c154c98db
Enabled ESC telemetry on X_RACERSPI target
2016-11-17 22:04:44 +01:00
Bas Delfos
16178a0662
Implementation of KISS ESC Telemetry protocol
2016-11-17 22:04:44 +01:00
blckmn
58105c25ac
Simplified Owner management
2016-11-10 18:56:13 +11:00
Anders Höglund
446959e8df
Travis. Run both unit tests and target builds. ( #1511 )
...
* Travis. Run both unit tests and target builds.
2016-11-09 21:28:14 +01:00
Martin Budden
04827440c8
Merge pull request #1422 from jflyper/bfdev-osd-cms-separation-poc
...
Configuration Menu System (CMS)
2016-11-09 07:29:46 +01:00
jflyper
8530cd4ba1
Menu restructuring
...
- Rate profiles are handled correctly
- Added FILTER GLB (Global) and FILTER PP (Per Profile) sub menus
- Moved MISC menu under top level.
2016-11-09 05:42:22 +09:00
Anders Höglund
657eee6617
Travis optimizations ( #1496 )
...
* add travis directorie cache for arm sdk
* Travis. Test if make all in one job would work. And how slow/fast.
* Travis. Check that the old method with a couple specific targets still works.
* Rebased master and build all targets again.
* Make verbosity level 0 even less verbose, was still too much for travis in one mega-jumbo-all-target build.
* Even less output from make in verbosity level 0. Some Makefile symbol name cleanup too.
* arm_sdk_install did not check if allready downloaded and installed. Added checks and deps. Travis caching might work better now...
* Build all 56 targets to test Travis caching perf.
* Build all 56 targets to test Travis caching perf. Again. Now with correct yml arrsy syntax.
* Added installation of ccache and also to Travis cache. Caching the cache.
* Travis. Remove some unused APT libs, to see if this affects caching and build times.
* Travis. YAPT (Yet another perf trial). Remove all apt package install.
* Disaster. Put back installation if build-essential.
* Disaster still. Put back installation if zliblg-dev.
* Disaster, again. Put back installation of libc6 .
* Travis. Minimizing APT installation as it not be cached, issue 5876 on travis-ci github.
* Travis. Added comment on target specification.
2016-11-08 19:41:20 +01:00
jflyper
3bce0fb5f1
Overlooked menu separation from osd.c
...
This was overlooked (cms_menu_osd.h was already there).
Now the element position editing capability is absolutely gone.
2016-11-07 16:54:22 +09:00
Martin Budden
d8a83518db
CMS file renaming. displayPort renaming
2016-11-06 20:24:33 +00:00
Martin Budden
a7a428a5bb
Code tidy and addition of GPL headers
2016-11-06 10:29:11 +00:00
jflyper
e9a2f2b2c1
Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc
2016-11-06 02:43:24 +09:00
Martin Budden
ca1de7a4d9
Split OLED displayport out of dashboard
2016-11-04 10:25:44 +00:00
borisbstyle
7100454a1d
Fix DMA bug on F3 // enable flto again (Thanks to @ronlix for the find)
2016-11-03 23:43:16 +01:00
Martin Budden
1f5e593120
Abstracted displayPort from CMS
2016-11-03 21:24:31 +00:00
borisbstyle
7b8ebfc8f9
Disable -flto optimiser option for F3, F4 and F7
2016-11-02 22:24:08 +01:00
Martin Budden
5bc1105871
Renamed display to dashboard
2016-11-02 05:00:09 +00:00
Steffen Windoffer
00aabf97fe
moved f7 debug hardfaults to a familar place
2016-10-29 18:57:19 +02:00
Martin Budden
31828873fa
Split mixer and servo code
2016-10-24 20:58:45 +01:00
borisbstyle
f70d9f3464
Merge pull request #1372 from betaflight/bf_serial
...
Add Serial Passthrough to the motors
2016-10-24 00:03:48 +02:00
Martin Budden
96bbdee812
Merge pull request #1377 from blckmn/makefile_sample
...
Added sample to Makefile
2016-10-23 08:11:26 +01:00
blckmn
d12d252e37
Added sample to Makefile (can run 'make sample' to pull in a few targets, like travis)
2016-10-23 14:17:53 +11:00
Sami Korhonen
ec923b6180
Escserial test
2016-10-23 00:59:07 +02:00
Anders Hoglund
a686e4690a
Tidy up and add some Makefile help texts.
2016-10-22 19:22:46 +02:00
Sami Korhonen
3b7e6166fc
Fix2? travis-ci AnyFC-F7 target
2016-10-21 13:41:11 +03:00
Sami Korhonen
820f1c3641
Fix? AnyFC-F7 travis-ci
2016-10-21 13:26:26 +03:00
Sami Korhonen
7b60227716
F7 DSHOT test 1
2016-10-21 08:51:14 +03:00
Sami Korhonen
8fa8249a15
Enable 4WAY
2016-10-21 08:51:05 +03:00
Sami Korhonen
97f554e210
F7 First try on ledstrip
2016-10-21 08:51:04 +03:00
Sami Korhonen
1f8805cdf0
squash betaflightF7
...
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
Martin Budden
e21e1f50aa
Merge pull request #826 from digitalentity/betaflight-mavlink-telem
...
MAVLink telemetry support
2016-10-20 07:59:02 +01:00
borisbstyle
f698f99198
Merge pull request #1282 from blckmn/digital_motors
...
DSHOT600 & 150 -> digital one shot motor (ESC) protocol
2016-10-19 00:24:39 +02:00
borisbstyle
5e3c974d64
Remove Legacy Pid Controller
2016-10-18 16:49:16 +02:00
blckmn
9f742b017d
OMNIBUS Support, and updates to filenames etc for cleanliness
2016-10-18 20:27:45 +11:00
Martin Budden
a771280b50
Moved config.c from config directory to fc directory
2016-10-18 08:57:39 +01:00
Konstantin Sharlaimov (DigitalEntity)
09140cfdef
Move MAVLink to lib/main/MAVLink; Post-rebase fixups
2016-10-17 17:24:42 +10:00
Konstantin (DigitalEntity) Sharlaimov
ff19b5bcff
MAVLink telemetry support
2016-10-17 17:17:25 +10:00
Anders Hoglund
15d9eaffd4
Added junittest XML test results.
2016-10-16 17:48:31 +02:00
Martin Budden
5f791cef77
Renamed some MSP related files
2016-10-16 11:13:38 +01:00
Martin Budden
4608a5d061
Moved softserial out of .mk files into common
2016-10-13 17:31:58 +01:00
Martin Budden
e954f53555
Tidied .mk files
2016-10-13 11:35:48 +01:00
blckmn
46a6e560f1
Initial IO remapping capability
2016-10-13 11:08:39 +11:00
Martin Budden
2224a4b4e4
Copied parameter group code over from Cleanflight
2016-10-11 20:52:15 +01:00
Martin Budden
0ccb7040f0
Reorganisation of tasks into fc_tasks.c
2016-10-09 17:43:29 +01:00
J Blackman
c407554db7
Merge pull request #1176 from martinbudden/bf_spi_receivers
...
Add support for receivers connected over SPI
2016-10-02 19:01:34 +11:00
Martin Budden
551bbe1d1a
Initial commit of SPI receiver code.
2016-10-02 08:45:42 +01:00
Martin Budden
5fec66b639
Split off serial parts from MSP
2016-10-02 01:01:50 +01:00
Martin Budden
bcf8fc9c1e
Splitting MSP into serial and MSP parts- stage1
2016-10-01 23:28:20 +01:00
Martin Budden
32fd3eca43
Moved linker scripts into their own directory
2016-09-27 08:25:02 +01:00
nathan
351a921bfb
use the toolchain on the path before asking to download a new one
2016-09-13 20:14:55 -07:00
borisbstyle
ac4732cd03
Merge pull request #979 from martinbudden/bf_features
...
Split features into a separate module
2016-09-14 00:02:48 +02:00
borisbstyle
b120130939
Merge pull request #1141 from martinbudden/bf_streambuf
...
Add streambuf code from Cleanflight
2016-09-14 00:02:18 +02:00
Martin Budden
977a64d4a5
Added streambuf to makefile
2016-09-10 16:37:05 +01:00
Martin Budden
a257210b56
Split features into a separate module
2016-09-04 18:48:58 +01:00
nathan
c50e48736f
include the make arm_sdk_install target, for easy building
2016-09-02 19:56:15 -07:00
borisbstyle
534b77554b
Merge branch 'master' into development
2016-08-15 22:00:22 +02:00
Anders Höglund
138c302e80
Merge pull request #976 from nathantsoi/feature/verboseable-makefile
...
option to set `V=1 make ...` for verbose make output
2016-08-13 20:43:39 +02:00
nathan
ee42efc246
update makefile verbose option per https://github.com/betaflight/betaflight/pull/976 and @AndersHoglund
2016-08-12 21:04:22 -07:00
Martin Budden
490f11c9ae
Split eeprom code into separate module
2016-08-11 09:54:56 +01:00
nathan
6618f1992c
option to set `V=1 make ...` for verbose make output
2016-08-11 01:52:20 -07:00
Anders Hoglund
dfee308c35
Redo PR 945. Lost in rebasing/merging to dev.
2016-08-10 13:25:37 +02:00
Konstantin Sharlaimov (DigitalEntity)
5a493ff6a0
AIRHEROF3 from MultiWiiCopter basic support
...
RC4 fix, LEDSTRIP enable
OUT2 Fix
Features
Alignment fix
Add BMP280 baro on SPI bus
2016-08-10 14:34:25 +10:00
Anders Hoglund
f6cc56514a
Corrected the usage of TARGET_FLAGS in main Makefile.
2016-08-08 11:13:50 +02:00
Martin Budden
541f4d4018
Directory rearrangement to reflect cleanflight changes
2016-08-07 13:44:00 +01:00