- Renamed mamba_protocol.py → balance_protocol.py; updated all importers - can_bridge_node.py rewritten to use balance_protocol.py API (ESP32-S3 BALANCE) - test_can_bridge.py rewritten to test actual balance_protocol.py constants/functions - All STM32/Mamba references in Python, YAML, Markdown, shell scripts replaced: * Hardware: MAMBA F722S → ESP32-S3 BALANCE/IO * Device paths: /dev/stm32-bridge → /dev/esp32-io * Node names: stm32_serial_bridge → esp32_io_serial_bridge * hardware_id: stm32f722 → esp32s3-balance/esp32s3-io - C/C++ src/include/lib/test files: added DEPRECATED header comment - Covers: saltybot_bridge, saltybot_can_bridge, saltybot_can_e2e_test, saltybot_bringup, saltybot_diagnostics, saltybot_mode_switch, and all chassis, docs, scripts, and project files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
701 B
C
29 lines
701 B
C
/* DEPRECATED: STM32/Mamba firmware -- replaced by ESP32-S3. Do not modify. */
|
|
#ifndef USBD_CONF_H
|
|
#define USBD_CONF_H
|
|
|
|
/* Match Betaflight's usbd_conf.h exactly */
|
|
#include "stm32f7xx_hal.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#define USBD_MAX_NUM_INTERFACES 3
|
|
#define USBD_MAX_NUM_CONFIGURATION 1
|
|
#define USBD_MAX_STR_DESC_SIZ 0x100
|
|
#define USBD_SUPPORT_USER_STRING 0
|
|
#define USBD_SELF_POWERED 1
|
|
#define USBD_DEBUG_LEVEL 0
|
|
#define USE_USB_FS
|
|
|
|
#define USBD_malloc malloc
|
|
#define USBD_free free
|
|
#define USBD_memset memset
|
|
#define USBD_memcpy memcpy
|
|
|
|
#define USBD_UsrLog(...)
|
|
#define USBD_ErrLog(...)
|
|
#define USBD_DbgLog(...)
|
|
|
|
#endif
|