Arne SchwabeandBertrand Songis 4925e756a6 Save memory (move usb mass storage buffer to reusableBuffer) (#5579)
* Save 128 byte by moving variable to stack

* Make usb mass storage buffer smaller on F2 processors and put into reuseablebuffer

- Lower USB mass storage buffer to 512 bytes per default on F2
  targets, makes usb speed slightly slower ~600 kB/s instead ~700 KB/s
  in my tests, saving 3584 bytes
- Save another ~300 bytes by putting that buffer into reusableBuffer

* Don't put id into reusuableBuffer

All uses of id can be on the stack as well. Makes no difference for ram usage but makes it safer to reuse reusableBuffer

* Only link cdc serial when needed

We always linked usb cdc even in non debug builds. CDC uses about ~600 byte of RAM for its buffers and structures.
2018-01-26 19:00:47 +01:00
2017-12-22 20:18:21 +01:00
2018-01-26 18:53:15 +01:00
2017-03-18 09:44:47 +01:00
2017-12-18 20:54:22 +01:00
2018-01-02 14:36:48 +01:00
2018-01-02 14:36:48 +01:00
2017-12-22 20:18:21 +01:00
2018-01-25 11:44:03 +01:00
2013-12-02 18:47:43 +01:00
2017-11-23 13:31:54 +01:00
2017-11-19 15:27:49 +01:00

OpenTX 2.2 Branch

Travis build Status Quality Gate Join the chat at https://opentx.rocket.chat Donate using Paypal

The ongoing development on 2.2.x is done in this branch.

Refer to the OpenTX wiki for information about setting up the tool chains for building OpenTX and OpenTX Companion as well as other development related issues.

Useful links:

S
Description
No description provided
Readme GPL-2.0
400 MiB
Languages
C 71.9%
C++ 25.4%
Python 0.9%
CMake 0.6%
Shell 0.3%
Other 0.7%