Skip to content

File STM32Board.h

FileList > Firmware > Libraries > STM32Board > STM32Board.h

Go to the source code of this file

Shared STM32F103 hardware initialisation for OpenSkyhawk avionics nodes.More...

  • #include <Arduino.h>
  • #include <stm32f1xx_hal_can.h>

Namespaces

Type Name
namespace STM32Board

Detailed Description

Manages the bi-color status LED, DiagSerial, and CAN peripheral configuration — identical on every OpenSkyhawk STM32F103CBT6 board. All CAN bus operations (send, filter, start) go through CANProtocol.

Fixed hardware (same on every board — no constructor arguments): * LED : PB14 (red) + PB15 (green), active HIGH * UART : USART1 PA9 TX / PA10 RX @ 115200 (diagnostic tap) * CAN : SN65HVD230 on PA11 (RX) / PA12 (TX)

Version:

0.3.0

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/STM32Board/STM32Board.h