Speeduino
Loading...
Searching...
No Matches
Functions
board_definition.h File Reference

Inclusion of board specific header files and board related definitions. More...

#include <stdint.h>
#include <Arduino.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initBoard (uint32_t baudRate)
 Initialise the board, including USB comms.
 
void boardInitPins (void)
 Pin specific initialisation (optional - can be empty)
 
uint16_t freeRam (void)
 Calculate free RAM for display in TunerStudio.
 
void doSystemReset (void)
 Reset the board (optional)
 
void jumpToBootloader (void)
 Trigger the boot loader (optional)
 
uint8_t getSystemTemp (void)
 Get the board temp for display in TunerStudio (optional)
 

Detailed Description

Inclusion of board specific header files and board related definitions.

Note
This file should be named "board.h", but one of the STM32 Arduino implementations has a <board.h> include. Which picks up this file instead of the intended file :-(

Function Documentation

◆ boardInitPins()

void boardInitPins ( void  )

Pin specific initialisation (optional - can be empty)

This is called after the pins are assigned and therefore after initBoard()

Here is the caller graph for this function:

◆ doSystemReset()

void doSystemReset ( void  )

Reset the board (optional)

Here is the caller graph for this function:

◆ freeRam()

uint16_t freeRam ( void  )

Calculate free RAM for display in TunerStudio.

Here is the caller graph for this function:

◆ getSystemTemp()

uint8_t getSystemTemp ( void  )

Get the board temp for display in TunerStudio (optional)

Here is the caller graph for this function:

◆ initBoard()

void initBoard ( uint32_t  baudRate)

Initialise the board, including USB comms.

This is called after the tune is loaded from EEPROM, but before pins are assigned.

Parameters
baudRateThe Serial comms baud rate
Here is the caller graph for this function:

◆ jumpToBootloader()

void jumpToBootloader ( void  )

Trigger the boot loader (optional)

Here is the caller graph for this function: