Files
edgetx-gx12/radio/src/gui/128x64
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-08-04 12:08:10 +02:00
2016-07-29 12:47:20 +02:00
2017-04-06 22:30:50 +02:00
2017-10-03 07:45:40 +02:00
2017-08-04 12:08:10 +02:00
2016-11-13 19:06:21 +01:00
2018-01-02 14:36:48 +01:00
2016-12-07 11:38:52 +01:00
2018-01-02 14:36:48 +01:00
2016-11-13 19:06:21 +01:00
2018-01-02 14:36:48 +01:00
2018-01-26 18:50:39 +01:00
2018-01-02 14:36:48 +01:00
2017-12-12 22:01:32 +01:00
2018-01-02 14:36:48 +01:00
2018-01-02 14:36:48 +01:00
2018-01-02 14:36:48 +01:00
2017-02-17 17:11:38 +01:00
2017-08-04 10:41:36 +02:00
2017-08-04 10:41:36 +02:00
2018-01-02 14:36:48 +01:00
2017-03-04 10:16:45 +01:00
2017-08-04 10:41:36 +02:00