Skip to content
Snippets Groups Projects

Automate updating of firmware version strings

Merged Jakub Vaněk requested to merge feature/auto-fw-version into main
5 files
+ 69
5
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 4
4
@@ -5,7 +5,9 @@ Constants for easier acces to the cube hardware components, sensors and motors
from micropython import const
from lib.hw_defs.pins import ICM_IRQ_PIN
from brick_ll import FW_DATE as FW_VERSION
from brick_ll import FW_COMMIT
class Sensor:
NO_SENSOR: Sensor = const(0)
NXT: Sensor = const(1)
@@ -38,7 +40,7 @@ class Port:
S3: Port = const(2)
S4: Port = const(3)
S_COUNT: Port = const(4)
class Button:
POWER: Button = const(0)
LEFT: Button = const(1)
@@ -87,5 +89,3 @@ I2C_MULTICUBE_FREQ = const(100000)
ESP_BAUDRATE = const(115200) # bps
ESP32_COMMAND_PIN = const(8)
FW_VERSION = "6.11.2024" # Firmware version
\ No newline at end of file
Loading