This reverts commit 17b4aa2466.
Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
This reverts commit 17b4aa2466.
Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
We already do averaging in the normal anaIn/getADC().
Also according to Mike's and my own research we don't need the averaging.
Tested on two X-Lites with PMW sticks
* 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.
* Add firmware lun target for non EEPROM platforms
* Fix Fat fat tables and make FAT 1024 byte big
* Niceify some constants
* Cleanup (saves 1024 byte of flash) and fix reporting wrong Size of drive
* Silence compiler warning, set right size for flash on X12/X10
* Add firmware.txt/bootload.txt to virtual drive that displays version information
* Report also version of other component (bootloader/firmware)
* Show version also in bootloader and fix F4 platforms
* Save space on X7
* Fix X7 logic
* Compile fix for AVR
* avr-gcc does not like no newline after ifdef
* Really fix avr
* Trainer Bluetooth support added
X7S board added (X7 has no bluetooth while X7S has)
X10 HAL updated
* Bluetooth Telemetry
* En fix
Add all languages
* Temporary test for @bsongis
* Missing translations
* Missing debug timer
* USB driver cleanup
* Re #4479: Joystick update called from mixer thread every 10ms
* Cosmetics
* Compilation fix
* Cosmetics
* Another compilation fix