1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

23 commits

Author SHA1 Message Date
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Hydra
22147105fb CF/BF - First cut of MSP current sensor.
How it works:
1. Current Meter Source on FC is set to MSP/OSD Slave by user.
2. On reboot FC sends MSP_ANALOG to OSD Slave.
3. OSD Slave listens for incoming MSP as usual.
4. OSD responds to MSP as usual.
6. The FC recevies the data from the OSD Slave and updates the MSP
Current Meter.
2017-04-29 20:57:08 +01:00
Hydra
b307007ac3 CF/BF - Improve performance of mspSerialPush / MSP_DISPLAYPORT.
* avoiding the use of an unncessesary buffer and memcopy
* the `pushBuf` was a fixed size
* the size didn't correlate to the size of the buffer being passed in.
* avoids repeating the memcpy for each port being used for MSP.
* reduces ram usage.
2017-04-09 14:17:58 +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
Martin Budden
83472a6989 Fix dataflash read by only using serialWriteBuf in mspSerialEncode 2016-11-23 21:16:08 +00:00
Martin Budden
a7a428a5bb Code tidy and addition of GPL headers 2016-11-06 10:29:11 +00:00
jflyper
f58f7f65b1 Cleanups 2016-11-02 09:12:37 +09:00
jflyper
042096fbb7 Tx buffer availability hack to handle slow devices 2016-11-02 00:30:54 +09:00
jflyper
8f26ce95f0 Comment tidy 2016-10-31 02:35:56 +09:00
jflyper
a5c14eed9a Avoid zombie VCP 2016-10-31 02:26:50 +09:00
jflyper
8816678333 Rebased on to master 2016-10-29 02:01:48 +09:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
jflyper
482dbe316b Rebased again ... 2016-10-26 03:22:12 +09:00
Martin Budden
6aa40846fe Improved MSP initialisation and independence from serial code 2016-10-24 18:49:08 +01:00
jflyper
6a6fd07dfb Rebased (streamBuf) 2016-10-24 02:30:29 +09:00
Martin Budden
d8da70e3f6 Fixed jumbo frame handling 2016-10-20 16:44:58 +01:00
jflyper
7f2ebbd2fa Touch ups 2016-10-20 23:49:24 +09:00
jflyper
b2a682b2ea Merge remote-tracking branch 'origin/bfdev-osd-cms-separation-poc' into bfdev-osd-cms-separation-poc 2016-10-20 23:27:08 +09:00
jflyper
0249443862 Rebased onto super-abstracted msp 2016-10-20 23:21:32 +09:00
jflyper
01eab00fd7 Configuration Menu System support for external OSD
A quick hack to support config menu on external OSD, consisiting of:

- CMS-OSD partial separation (CMS and OSD reside in a same file: osd.c)
- MSP message injection (take it as server-push in client-server model)
2016-10-20 22:42:39 +09:00
Martin Budden
1edb0fe33d Split out MSP_DATAFLASH_READ command into separate function 2016-10-20 13:27:49 +01:00
Martin Budden
b62afbefd8 First cut of MSP using streambuf 2016-10-20 13:27:49 +01:00
Martin Budden
5f791cef77 Renamed some MSP related files 2016-10-16 11:13:38 +01:00
Renamed from src/main/io/serial_msp.c (Browse further)