Mitch Miers
3dd085dc9e
Need to know if useUART2 is set.
...
The X_RACERSPI target overloads the UART2 pins. Nobody was setting
this variable at all. Apparently only needs to be set if F303xC.
2016-09-25 19:52:44 -04:00
borisbstyle
3c4608d6fa
Merge branch 'master' into development
2016-09-26 00:51:27 +02:00
Marcin Baliniak
bae96d9595
Fixed ident style and compilation for targets with MAX on DMA
2016-09-25 17:51:27 +02:00
Dan Nixon
03f340fe14
Merge branch 'master' into development
...
Conflicts:
src/main/build/version.h
src/main/drivers/max7456.c
src/main/io/osd.c
src/main/io/osd.h
src/main/target/OMNIBUSF4/target.c
2016-09-25 11:31:44 +01:00
Marcin Baliniak
419547a2bf
Merge remote-tracking branch 'upstream/master'
2016-09-25 11:57:43 +02:00
Marcin Baliniak
2d83570923
Fixed problem with feature save via OSD, and better LED strip color display in menu
2016-09-25 11:49:08 +02:00
Marcin Baliniak
171b03bfb7
efactor MAX7456 driver code
2016-09-25 11:42:53 +02:00
Marcin Baliniak
0892c4786b
Merge remote-tracking branch 'upstream/master'
2016-09-25 11:24:51 +02:00
borisbstyle
7b7a18a52b
Merge pull request #1217 from nathantsoi/target/obf4-updates
...
obf4 updates
2016-09-25 11:20:17 +02:00
Dan Nixon
9a00028eb3
Fix brace style in max7456.c
2016-09-25 09:54:04 +01:00
mikeller
66c1911660
Added support for setting fast MSP bitrates in CLI.
2016-09-25 11:25:44 +13:00
Dan Nixon
aa15dec809
Fix issues intriduced in #1218
2016-09-24 23:19:10 +01:00
mikeller
2cc4eea6de
Fixed detection of existing log files when logging to SDCard.
2016-09-25 10:48:45 +13:00
Marcin Baliniak
d9774666da
fixed current value in statistics and some minor fixes
2016-09-24 22:31:24 +02:00
Dan Nixon
814c043d01
Correct switch indentation and function name
2016-09-24 16:26:21 +01:00
Dan Nixon
bd699f1353
Replace uint8_t with bool, refactor item display code
...
Removes uplicate code from OSD element display
2016-09-24 15:01:01 +01:00
Dan Nixon
aea5666cfb
Refactor OSD code
2016-09-24 13:57:26 +01:00
borisbstyle
bec109d366
Merge pull request #1213 from marbalon/master
...
Lock MAX7456 updates during font update
2016-09-24 13:50:55 +02:00
borisbstyle
d135edda21
Coding Style
2016-09-24 13:50:08 +02:00
Michael Keller
73a626a22e
Turns out directory entries do not contain the dot.
2016-09-24 23:40:08 +12:00
nathan
c1abcd3c48
fix pwm6
2016-09-24 02:06:46 -07:00
nathan
f5e51d6a45
target(omnibusf4): usb should be on the right side of the board
2016-09-23 23:56:40 -07:00
Michael Keller
63db7f99e6
Fixed char array definition.
2016-09-24 18:22:09 +12:00
nathan
ec61f9d401
fix the omnibusf4 beeper
2016-09-23 22:38:33 -07:00
Mitch Miers
7219fb1fbc
Fix X_RACERSPI target
...
The pin mapping for this target wasn't quite right.
o) old PWM (input) indexes 7,8 didn't really exist (removing these PWMs changed the
numbers of PWM outputs 9-16 to 7-14)
o) PWM (output) indexes that are now PWM13,14 are shared with UART2 (PA2, PA3)
o) PWM inputs that were marked 7 and 8 were really 5 and 6 (verified with continuity
test). Renumbered to 5, 6. Also, these are softserial 1 (PB0, PB1)
o) PWM inputs 5 and 6 were really MISO and MOSI of SPI1 and not wired to the inputs
on the board. Removed as timers. (PB4, PB5)
o) PWM inputs 3 and 4 are shared with UART3 (PB10, PB11)
The rest of the changes are:
o) remove X_RACERSPI reliance on SPRACINGF3 defined
o) fix main.c usage of softserial and X_RACERSPI
o) fix pwm_mapping to avoid collisions between UARTS and PWMs. UARTs win.
2016-09-23 23:09:15 -04:00
Marcin Baliniak
fa64da4986
Lock MAX7456 updates during font update
2016-09-23 14:43:51 +02:00
Michael Keller
7195f1dd2e
Changed suffix for file detection as well.
2016-09-23 19:59:22 +12:00
Nathan
f5e1456bcf
faster spi for omnibus, thx marbalon ( #1211 )
...
target only, merging
2016-09-22 23:37:03 -07:00
Michael Keller
7ed2dc6fe3
Changed BLACKBOX default filename for SDCard logging to 'logXXXXX.bfl'.
2016-09-23 13:14:36 +12:00
Michael Keller
fcf0559d2f
Cleaned up LED_STRIP indicator blink frequency calculation.
2016-09-23 12:56:06 +12:00
Marcin Baliniak
ab056c974f
Added OSD alarms to MSP_SET_OSD_CONFIG
2016-09-23 01:06:24 +02:00
Marcin Baliniak
a8a5b72f29
Fixed some small bugs and some new menu items
2016-09-23 00:56:27 +02:00
Michael Keller
963657ce2e
Fixed beeper delay to use microseconds instead of milliseconds.
2016-09-22 16:01:12 +12:00
Marcin Baliniak
ad927edc16
Fixed problem for hidding Horizon in options
2016-09-20 20:13:53 +02:00
Marcin Baliniak
cd5c2b674f
Missing alt_alarm in msp and cli
2016-09-20 12:13:03 +02:00
borisbstyle
d143fda9c1
Merge pull request #1164 from kc10kevin/development_ICM20689
...
ICM-20689 Gyro Code
2016-09-20 00:21:36 +02:00
Marcin Baliniak
46ef430d44
Merge remote-tracking branch 'upstream/master'
2016-09-19 22:28:33 +02:00
Marcin Baliniak
110df75520
Removed unused variable
2016-09-19 21:32:14 +02:00
blckmn
f37a523e25
REVO LED strip and RSSI fix for FURYF4, REVO and OMNIBUSF4
2016-09-19 20:33:57 +10:00
borisbstyle
79ca006431
Merge pull request #1171 from DanNixon/osd_altitude
...
Add barometric altitude to OSD
2016-09-19 11:58:28 +02:00
borisbstyle
96c5136e85
Merge branch 'osd_altitude' of https://github.com/DanNixon/betaflight
2016-09-19 11:57:58 +02:00
Martin Budden
0ab650d8aa
Barometer update fix
2016-09-19 11:57:01 +02:00
Anders Hoglund
c931644fd7
Bump patch version. 3.0.1
2016-09-19 11:06:35 +02:00
Anders Hoglund
56d4d6f393
REVO. Added support for Beeper on PB4. Used by AirbotF4 and Flip32F4. LED1 disabled and beeper port inverted.
2016-09-19 10:20:36 +02:00
Martin Budden
b590629f9a
Barometer update fix
2016-09-19 08:38:56 +01:00
J Blackman
dd05754fae
Merge pull request #1168 from martinbudden/bf_rx_tidy
...
Receiver code rationalisation
2016-09-19 16:59:54 +10:00
J Blackman
f14505a932
Merge pull request #1185 from 4712betaflight/development
...
blheli4wayif timing improvement
2016-09-19 09:29:03 +10:00
Dan Nixon
184bf12d3e
Add baro altitude to OSD
2016-09-18 22:46:56 +01:00
Marcin Baliniak
1e2a961bcd
New stack for OSD with full menus for PIDs etc.
...
There is a lot of changes and fixes in driver also
2016-09-18 21:27:09 +02:00
Marcin Baliniak
9a5e53d8ae
Using hardware detection procedure to initializa chip select
...
lines before initialization talk with all chips
2016-09-18 19:22:18 +02:00