Add ESC Flasher module files, msg files.

Enable ESC Flasher module in fmu-v6x. It still needs changes to DShot before it works.
This commit is contained in:
MattKow-Firefly
2025-08-29 11:34:09 -04:00
parent d773946f76
commit 0f687cdbb4
12 changed files with 3195 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
uint64 timestamp # time since system start (microseconds)
uint32 msg_id # Give a unique message identifier so we can compare when getting an ACK
uint8 request # Request type
# use these items as enum values, they can never change
uint8 REQUEST_ESC_INFO = 0 # Request ESC_INFO from one or more ESCs
uint8 REQUEST_FLASHING = 1 # Request flashing for one or more ESCs
uint8 REQUEST_CANCEL = 2 # Cancel any pending request and return control to DShot
uint8 REQUEST_FLASHING_COMPLETE = 3 # Flashing complete, return control to DShot
uint8 motor_flags # Flags for which motors are being requested
# motor_flags bit 0 : Set to 1 if ESC0 is being flashed
# motor_flags bit 1 : Set to 1 if ESC1 is being flashed
# motor_flags bit 2 : Set to 1 if ESC2 is being flashed
# motor_flags bit 3 : Set to 1 if ESC3 is being flashed