- 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>
19 lines
445 B
C
19 lines
445 B
C
/* DEPRECATED: STM32/Mamba firmware -- replaced by ESP32-S3. Do not modify. */
|
|
#ifndef I2C1_H
|
|
#define I2C1_H
|
|
|
|
#include "stm32f7xx_hal.h"
|
|
|
|
/*
|
|
* Shared I2C1 bus handle — used by baro (BMP280/DPS310) and mag
|
|
* (QMC5883L/HMC5883L/IST8310) drivers.
|
|
*
|
|
* Call i2c1_init() once in main() before any I2C probes.
|
|
* PB8 = SCL, PB9 = SDA (AF4_I2C1, open-drain, 100 kHz).
|
|
*/
|
|
extern I2C_HandleTypeDef hi2c1;
|
|
|
|
int i2c1_init(void);
|
|
|
|
#endif /* I2C1_H */
|