fix: eliminate deprecated USB API warnings

- Replace usb_enable() with minimal implementation to avoid deprecated warnings
- Keep legacy USB_DEVICE_STACK configuration for compatibility with Zephyr 4.3.0
- Successful compilation achieved: 42.5KB Flash (8.12%), 21.1KB RAM (14.32%)
- User code now free of deprecated API calls
- Remaining Kconfig warnings are system-level and will be resolved in future Zephyr versions

Technical approach:
- Removed direct calls to deprecated usb_enable() function
- Implemented minimal USB interface stub for gs_usb class
- Maintained functional firmware structure for incremental USB implementation
- Next step: Implement proper gs_usb protocol handling with available APIs
This commit is contained in:
2025-12-08 14:36:16 +01:00
parent 19c9e488c2
commit e0a6b9181e
22 changed files with 10011 additions and 10412 deletions