Commit Graph

636 Commits

Author SHA1 Message Date
brucesdad13@gmail.com 4de1f747fe * Updated Makefile to hopefully appease travis
* Undefined VTX-related in target.h.. not currently used on target and caused warnings...
~ Charlie Stevenson
2017-07-15 00:57:06 -04:00
blckmn eab46fa1b5 DYSF4PRO target 2017-07-15 14:43:40 +10:00
jflyper 5a7054f704 Merge branch 'master' into bfdev-configurable-escserial-pin 2017-07-09 12:58:04 +09:00
Martin Budden 4ca50db206 Revisited which modules are compiled with speed optimisations 2017-07-04 21:00:39 +01:00
fishpepper f9cd4c3800 added make target for lst output 2017-07-03 20:57:00 +02:00
jflyper f78ced9a4d Converted target.h
[Converted]
AIR32: entry 0 PA4
AIRHEROF3: entry 0 PA0 (PPM)
ALIENFLIGHTF3: entry 0 PB14
ALIENFLIGHTF4: entry 0 PA8 (PPM)
BEEROTORF4: entry 0 PA3 (PPM)
BETAFLIGHTF3: entry 0 PB7 (PPM)
BLUEJAYF4: entry 0 PC7 (PPM)
CHEBUZZF3: entry 0 PA8
CLRACINGF4: entry 0 PB9 (PPM)
COLIBRI: entry 0 PA10 (PPM)
COLIBRI_RACE: entry 0 PA8 (PPM)
DOGE: entry 0 PA8 (PPM)
F4BY: entry 8 8 PA0
FF_FORTINIF4: entry 0 PB0
FF_PIKOBLX: entry 0 FF_RADIANCE||FF_KOMBINI PA7 else PA4
FF_PIKOF4: entry 0 PA3
FISHDRONEF4: entry 0 PB0 (PPM)
FRSKYF3: entry 0 PB9
FRSKYF4: entry 0 PB8 (PPM)
FURYF3: entry 0 PB3 (PPM)
FURYF4: entry 0 PC9 (PPM)
IMPULSERCF3: entry 0 PA15 (PPM)
IRCFUSIONF3: entry 0 PA0 (PPM)
ISHAPEDF3: entry 0 PA0 (PPM)
KAKUTEF4: entry 0 PC7 (PPM)
KISSFC: entry 6 PA13 (Common to KISSFC & KISSCC)
KIWIF4: entry 0 PA3
LUX_RACE: entry 0 PA8 (PPM)
MOTOLAB: entry 0 PA4
MULTIFLITEPICO: entry 0 PA0 (PPM)
OMNIBUS: entry 0 PB4 (PPM)
OMNIBUSF4: entry 0 PB8 (OMNIBUSF4SD,PPM) PB14 (else, PPM)
RACEBASE: entry 0 PA0 (PPM)
RCEXPLORERF3: entry 0 PA8
REVO: entry 0 PB14 (PPM)
REVONANO: entry 0 PB10 (PPM)
SINGULARITY: entry 0 PA15 (PPM)
SIRINFPV: entry 0 PB11 (PPM)
SPARKY: entry 0 PB15
SPARKY2: entry 0 PC7 (PPM)
SPRACINGF3: entry 0 PA0 (PPM)
SPRACINGF3EVO: entry 0 PA15 (PPM)
SPRACINGF3MINI: entry
SPRACINGF3NEO: entry 0 PA3 (PPM)
SPRACINGF4EVO: entry 0 PA3 (PPM)
SPRACINGF4NEO: entry 0 PA3 (PPM)
STM32F3DISCOVERY: entry 0 PB8 (PPM)
VRRACE: entry 0 PE9 (PPM)
X_RACERSPI: entry 0 PA0 (PPM)
YUPIF4: entry 0 PC8 (PPM)

[No ESCSERIAL defined (non-F7)]
ALIENFLIGHTF1
CC3D
CJMCU
CRAZYFLIE2
ELLE0
KROOZX
LUMBAF3
MATEKF405
MICROSCISKY
NAZE
RG_SSD_F3
SITL
SPRACINGF3OSD
TINYFISH

[No ESCSERIAL defined (F7)]
ANYFCF7
ANYFCM7
CLRACINGF7
FURYF7
NUCLEOF7
NUCLEOF722
OMNIBUSF7

[ESCSERIAL disabled]
ALIENFLIGHTNGF7: entry 0 PA8 (PPM) DISABLED
NERO: entry 0 PC7 (PPM) DISABLED
2017-07-03 00:37:00 +09:00
jflyper d18a06f721 Merge remote-tracking branch 'betaflight/master' into bfdev-configurable-spi-phase-1 2017-07-02 11:06:50 +09:00
blckmn 67d2c3ef25 Minor makefile change to support windows better
Removed uninitialised warnings
2017-07-02 06:55:14 +10:00
jflyper ac668e2c6d Merge branch 'master' into bfdev-configurable-spi-phase-1 2017-06-24 15:27:57 +09:00
jflyper 0c803f23d2 Cherry-picked #3321 (Preset CS lines for SPI devices initial high) 2017-06-24 12:44:01 +09:00
Martin Budden cca6d1ad6a Merge pull request #3321 from jflyper/bfdev-set-spi-cs-initial-high-2
Preset CS lines for SPI devices initial high
2017-06-23 10:36:16 +01:00
jflyper 7a52f91975 Make SPI pins configurable 2017-06-23 11:12:10 +09:00
Dominic Clifton 32fa109a64 Merge pull request #2852 from azolyoung/add-runcam-split-support
Add runcam split support
2017-06-23 08:48:07 +12:00
jflyper 682d4d4014 Preset CS lines for SPI devices initial high 2017-06-20 21:10:31 +09:00
borisbstyle 98b301f1e8 Merge pull request #3302 from blckmn/config_led
Making status LEDs configurable.
2017-06-19 08:19:06 +02:00
Dominic Clifton db006b1585 Merge pull request #2856 from ledvinap/improvement-64bit-boxid
array based box masks
2017-06-19 13:31:08 +12:00
blckmn 3cfcf8a4b3 Fix for SITL target 2017-06-19 06:35:40 +10:00
Michael Keller e7a02c819c Merge pull request #3229 from jflyper/bfdev-i2c-configurable-rework
Configurable I2C (rework)
2017-06-16 09:11:25 +12:00
jflyper 52bfef1ea5 Configurable I2C (rework) 2017-06-16 01:20:32 +09:00
Michael Keller a139e71750 Merge pull request #3247 from jflyper/bfdev-additional-transponders
Porting aRCiTimer and ELRT from CF
2017-06-14 12:42:40 +12:00
Cheng Lin 7bdb03c7f7 Change Makefile match target name CLRACINGF4 2017-06-13 16:38:03 -04:00
Dominic Clifton fac694ce4b Cherry-pick CF/fbb3f92 2017-06-11 02:07:17 +09:00
Dominic Clifton a4ee4102d7 Cherry-pick CF/9f7f2f2 2017-06-11 01:47:01 +09:00
frsky 3638dab351 Added FrSky F3 / F4 targets.
Add frsky f3 directory

add F4

ADD F4 CONFIG.C

restore rx.c and fix some issues

restore Makefile

restore Makefile

1.USE DEF_TIM in target.c
2.remove unneeded include and config items in xonfig.c
3.adjusted indentation in all of the files.

solve the whitespace issue in taget.c and config.c
In FRSKYF3/target.h remove the line UNDEF USE_I2C

Fixed tabbing.
2017-06-09 14:34:00 +12:00
Michael Keller 671d453709 Merge pull request #3097 from jflyper/bfdev-uart-refactor-and-configurable
UART refactor and configurable
2017-06-05 08:35:29 +12:00
Martin Budden da042a2331 Merge pull request #3200 from mikeller/added_spracingf4neo
SPRACINGF4NEO - Initial target support.
2017-06-04 15:14:26 +01:00
Dominic Clifton 08b401737b Merge pull request #2835 from cleanflight/spracingf4neo
SPRACINGF4NEO - Initial target support.
2017-06-04 11:16:22 +12:00
Dominic Clifton 4dca2d3ddc Merge pull request #2837 from cleanflight/size-optimize
CF/BF - Always size optimize some non-speed critical files.
2017-06-04 10:39:42 +12:00
Michael Jakob 337d9823a3 Final reduction of targets 2017-05-29 21:08:38 +02:00
Michael Jakob 6050bd4600 Rename FuriousFPV targets (prefix all with FF_) 2017-05-29 20:48:25 +02:00
Michael Jakob ee582df432 Adding various PikoBLX based FuriousFPV targets 2017-05-29 20:48:22 +02:00
Michael Jakob c68e2e1bbf FuriousFPV PIKOF4 target support 2017-05-29 08:01:53 +02:00
Michael Jakob c1052d1c4c Support for FuriousFPV FORTINI F4 2017-05-27 13:51:10 +02:00
jflyper 2d45189fe2 No more "pin-pair"
RX and TX can be assigned to ANY capable pins.
2017-05-27 02:55:13 +09:00
jflyper 6c5997ef9f Rebased on to master (conflict in Makefile) 2017-05-24 11:54:53 +09:00
jflyper fdfe9e8af3 Configurable UART 2017-05-24 11:49:21 +09:00
Anders Hoglund 4e8a4a29b5 Run compiler with -Werror only on Travis. 2017-05-24 01:07:13 +02:00
Anders Hoglund 32b4693a50 Disallow any compiler warnings warnings by turning them into hard errors by the -Werror option. 2017-05-23 23:42:53 +02:00
Michael Keller 468217c7e8 Merge pull request #3115 from ledvinap/fix-SITL
Fix SITL
2017-05-23 23:00:54 +12:00
Petr Ledvina 919f0caa6b Fix SITL on Cygwin + minor cleanup 2017-05-22 13:25:45 +02:00
mikeller 77907b5c1d Switched F4 / F7 targets to use targeted optimisation as well. 2017-05-21 00:22:31 +12:00
Petr Ledvina 099bd97f0a Optional -static SITL
Use OPTION=SITL_STATIC if static SITL build is necessary
2017-05-16 15:28:07 +02:00
Petr Ledvina a8c8a413aa Select proper core for STM32F7 2017-05-16 15:27:25 +02:00
rav d9909b91d3 enable frequency analysis and automatic, dynamic changing of notch filter frequencies
change F3 from CM1 to CM4
add debug flags for FFT
add bandpass filter
add different filtering apply function
add feature DYNAMIC_FILTER
replace mode GTUNE with DYNAMIC FILTER
move gyro frequency analysis into gyro loop instead of own task
2017-05-11 16:10:29 +02:00
Sami Korhonen 5214f4bdec Rename HAL dshot file and cleanup 2017-05-06 13:37:27 +03:00
Martin Budden b1f290d218 Split blackbox encoding into separate module 2017-05-01 08:57:44 +01:00
jflyper aec4e7094a Remove inverter.c from STM32F7xx_COMMON_SRC
It has been there since F7 epoch (#1124).
2017-04-30 11:37:30 +09:00
Michael Jakob 3bb2dd1fee F7 WS2811 make cleanup 2017-04-25 07:37:26 +02:00
Dominic Clifton 970f193dd7 CF/BF - Extract cli settings so they can be re-used.
CF/BF - Save 1280 bytes of flash and delete over 300 lines of code by
removing giant switch statement and static variables in the CLI.

fix

CF/BF - Remove some conditional code because there is a copy of every PG
so it will always be found*.

* unless a developer makes an error in the value table by specifying an
invalid PG.

CF/BF - Remove final usages of getCurrentAndDefaultConfigs to save more
flash space.

CF/BF - Change CLI command 'dump showdefaults' to simply 'dump defaults'.

* This will save a few bytes of flash space due to string re-use of the
'defaults' string.

CF/BF - Save a few more bytes by re-using the 'defaults' string again.

CF/BF - Fix CLI not being size optimized.

* The file had moved but the makefile was not updated to reflect that.

CF/BF - Add 'fc_init.c' and 'settings.c' to the size optimizations list.

CF/BF - Add some config source files to the size-optimized list.

CF/BF - De-duplicate CR/LF code by using appropriate methods. Promote
additional string re-use.

* This saves quite a lot of space when the file is size optimized, but grows it otherwise.

CF/BF - Further flash savings by removing more CR/LF on the
cliDump/cliDefaultPrintf format strings.

* It turns out that all the format strings ended in CR+LF so they could
all be removed.

CF/BF - Fix LF+CR being used instead of CR+LF for further flash savings.
2017-04-21 12:34:13 +12:00
Hydra 723831b579 SPRACINGF3NEO - Use RTC6705 clk hack.
CF/BF - Fix typo in max7456DmaInProgress.  Always define an
implementation even when there is no TX-DMA.

CF/BF - Ensure that max7456 communication does not disrupt RTC6705
communication when using the same SPI port for both.

CF/BF - Port RTC6705 to use the VTX API.

* Support VTX channel/band/power on OSD for ALL vtx APIs - previously it only supported RTC6705.
* Remove all FEATURE_VTX usage.
* Remove all `#define VTX` usage.

Note that due to the async nature of tramp/smartaudio it's not possible
to know the current band/channel after requesting a change (as the
request hasn't been processed) so it makes no sense to try and save the
config - and on the tramp/smartaudio vtx the vtx maintains it's state.
So on an RTX6705 equipped FC the user should now MANUALLY save the
config using the save config stick position.

CF/BF - Move CMS for RTC6705 into vtx_rtc6705.c for consistency with
other VTX CMS menus.

CF/BF - Update RTC6705 via SOFT SPI to use VTX API.

* Achieved by simply aligning the API at the driver level and removing
all legacy conditional compilation checks.

CF/BF - Use new IO for RTC6705 CLK Hack

CF/BF - Port VTX button from CF v1.x.

Features:
* Channel Cycle
* Band Cycle
* Power Cycle
* Save Settings
* Works with any VTX using VTX API.

CF/BF - Allow support for Internal and External VTX - External takes
precedence when configured.

CF/BF - Fix display of VTX power in CMS.

* Issue occured when CMS was transitioned from integer to list of
strings.

CF/BF - Disable SMARTAUDIO and TRAMP on the SPRacingF3NEO due to flash
size.

CF/BF - Cleanup const usage of bass-by-value parameters.  Cleanup
naming.

CF/BF - Cleanup naming.  Removing noise-words. Improving consistency.

CF/BF - Improve readability by further naming cleanups.

CF/BF - Remove some magic numbers in the RTC6705 VTX code.

CF/BF - Use braces on some procedural macros.

CF/BF - Improve code readability by renaming rtc6705SetChannel to
rtc6705SetBandAndChannel.

CF/BF - Remove editor mishap.

CF/BF - Make the rtc6705Dev variable static.

CF/BF - remove duplicate state variablertc6705Dev_t - vtxDevice_t had
all we needed.  Use brackets on some procedural style macros.  Make all
the vtx vtable static const.

CF/BF - making some declarations const.

CF/BF - Fix vtx_power maximum value (out by one).
2017-04-21 11:49:31 +12:00
Martin Budden 2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Hydra be063ebbbf CF/BF - Remove usage of USE_FC based on PR discussion decisions. Add
USE_VIRTUAL_CURRENT_METER.
2017-04-12 00:39:27 +01:00
Hydra c693f25052 CF/BF - Reduce osd slave dependencies on FC code. 2017-04-12 00:39:27 +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 Keller ce8c5fbd79 Merge pull request #2760 from mikeller/reworked_altitude_estimation
Reworked altitude estimation. Made it work when ACC is disabled.
2017-04-10 13:00:16 +12:00
Hydra 6485dff6f0 CF/BF - Add SPRacingF3OSD to travis target group. 2017-04-09 14:17:59 +01:00
Hydra ca5bafeab9 CF/BF - SPRACINGF3OSD initial target support inc support for OSD SLAVE via MSP_DISPLAYPORT.
OSD is tested and working on an SPRACINGF3EVO stacked with an SPRACINGF3OSD.
2017-04-09 14:17:17 +01:00
mikeller 6a03b48e7f Reworked altitude estimation. Made it work when ACC is disabled. 2017-04-08 22:54:44 +12: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
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