Autodrone
Multi-Domain Vehicle
config.h File Reference

This file configures the EEPROM settings of the flight controller. More...

Go to the source code of this file.

Macros

#define FLASH_WRITE_EEPROM_ADDR   0x08060000
 

Enumerations

enum  { eepromConfigNUMWORD = sizeof(eepromConfig_t)/sizeof(uint32_t) }
 

Functions

void parseRcChannels (const char *input)
 
uint32_t crc32bEEPROM (eepromConfig_t *e, int includeCRCAtEnd)
 
void readEEPROM (void)
 
HAL_StatusTypeDef writeEEPROM (void)
 
void checkFirstTime (bool eepromReset)
 Sets all the default config values. More...
 

Variables

const char rcChannelLetters [12]
 
semaphore_t eepromChanged
 

Detailed Description

This file configures the EEPROM settings of the flight controller.

Author
Jeremy Wolfe
Date
03 MAR 2022

Macro Definition Documentation

◆ FLASH_WRITE_EEPROM_ADDR

#define FLASH_WRITE_EEPROM_ADDR   0x08060000

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
eepromConfigNUMWORD 

Function Documentation

◆ checkFirstTime()

void checkFirstTime ( bool  eepromReset)

Sets all the default config values.

Parameters
booleepromReset Whether or not you want to write config values to EEPROM.
Returns
Void.

◆ crc32bEEPROM()

uint32_t crc32bEEPROM ( eepromConfig_t e,
int  includeCRCAtEnd 
)

◆ parseRcChannels()

void parseRcChannels ( const char *  input)

◆ readEEPROM()

void readEEPROM ( void  )

◆ writeEEPROM()

HAL_StatusTypeDef writeEEPROM ( void  )

Variable Documentation

◆ eepromChanged

semaphore_t eepromChanged
extern

◆ rcChannelLetters

const char rcChannelLetters[12]
extern