Commit Graph

5 Commits

Author SHA1 Message Date
Eduard Iten 19c9e488c2 feat: working basic firmware with legacy USB API
- Successful compilation with Zephyr 4.3.0
- Basic gs_usb USB interface implementation
- CAN-FD support with FDCAN2 interface
- PFET control via UART (simplified from USB CDC)
- Custom board definition for STM32G0B1KBU6
- Deprecated warnings present but functional
- Memory usage: 51KB Flash (9.8%), 21.6KB RAM (14.7%)

Next: Migrate to new USB device stack API to remove warnings
2025-12-08 14:06:01 +01:00
Eduard Iten 0d26789e6a Simplify FDCAN configuration following candlelight example
- Remove bit-rate properties that are not declared in binding
- Use minimal FDCAN configuration like candlelight board
- Keep only pinctrl and status properties
2025-12-08 11:54:40 +01:00
Eduard Iten 1511b91050 Fix Zephyr 4.2.0 configuration issues
- Remove CONFIG_BOARD_EWS from defconfig (auto-generated in new Zephyr)
- Replace deprecated 'bus-speed' with 'bit-rate' properties for FDCAN
- Replace deprecated 'bus-speed-data' with 'bit-rate-data' properties
2025-12-08 11:52:25 +01:00
Eduard Iten ece99aa5b8 Fix CAN configuration: use FDCAN2 instead of FDCAN1
- Change from fdcan1 to fdcan2 for PB0/PB1 pins on STM32G0B1
- Update pinctrl references to fdcan2_rx_pb0 and fdcan2_tx_pb1
- Update zephyr,canbus reference to fdcan2
2025-12-08 11:50:32 +01:00
Eduard Iten 9fd882889f Rename board from ews_board to ews and fix board discovery
- Rename board directory: ews_board -> ews
- Rename board files: ews_board.dts -> ews.dts, ews_board_defconfig -> ews_defconfig
- Update board identifier and compatible strings
- Add board.cmake for runner configuration
- Set BOARD_ROOT in CMakeLists.txt to enable custom board discovery
- Update all documentation with new board name: west build -b ews
2025-12-08 11:32:22 +01:00