Adds support to persist the RTC (if set) across the reboot if entering mass storage mode for on-board flash. The value is then used as the timestamp for the files exposed in the virtual FAT32 filesystem. The files will then have reasonable creation dates when copied to the host computer.
If the RTC is not set (or supported), then the default timestamp of 2018-01-01 will be used (unchanged from previous).
Included some improvements to the RTC functions and exposed the `tz_offsetMinutes` in the `timeConfig` PG. Support already existed for timezone offsets but the parameter wasn't exposed to the user and couldn't be set.
Move timezone offset up a layer as a parameter to systemResetToMsc()
Adds support for specifying a custom timezone offset from both the CLI and MSP calls to enter mass storage mode.
Added an option timezone offset minutes to the CLI `msc` command. If no parameter is specified then the default as specified by `timezone_offset_minutes` will be used. So to reboot into mass storage mode and force the file timestamps to be in UTC, use `msc 0`.
Added reboot message `MSP_REBOOT_MSC_UTC` to support rebooting into mass storage mode and forcing the timestamps to use UTC time (0 offset). The Configurator will need to be modified to use this message for operating systems that expect UTC times for FAT file systems (like Linux).
I add target of Airbot Omnibus F4 V6, it is tested and functional at 100%
Update target OmnibusF4V6 to Fireworks variant
Update target.h
Update target.c
Update target.c
Fix motor output resources for Typhoon32 V2
Revert motor changes
Enable SCL and SDA pins
I have enabled the resources I2C2_SCL and I2C2_SDA, in Omnibus F4 V6 they are independent, they do not share with UART3TX / UART3RX
Requested changes
I have reviewed the requested changes, default gyro first and swapping of gyro1 and 2
Removing two linefeed
Add I2C Definitions and Timers
Added definitions and timers for I2C1 device(Baro, Mag)
Update target.c target.h
Some requested changes
Remove I2C Timers
Waiting to find compatible timers for SCL and SDA(I2C)
Update USABLE_TIMER_CHANNEL_COUNT
Previously the Throttle Position element calculation was based solely on the raw rcCommand value and didn't take into account the min_check deadzone so the resulting displayed percentage was incorrect. Also 3D trottle handling was not considered.
Corrected the calculation and added support for 3D throttle modes. Reversed thrust will be represented with negative throttle percentages.