|
PER Firmware
|
| ▼ common | |
| ► amk | |
| amk.c | Modernized AMK driver |
| amk.h | Modernized AMK driver |
| ► bangbang | |
| bangbang.c | Generic bang-bang controller with hysteresis and minimum switch interval |
| bangbang.h | Generic bang-bang controller with hysteresis and minimum switch interval |
| ► bmi088 | |
| bmi088.c | BMI088 IMU driver |
| bmi088.h | BMI088 IMU driver |
| ► can_library | |
| can_common.c | Common functions and data structures used in every node in the CAN library |
| can_common.h | Common functions and data structures used in every node in the CAN library |
| faults_common.c | Event-based FIDR system |
| faults_common.h | Event-based FIDR system |
| ► common_defs | |
| common_defs.h | Common defs for the entire firmware repository. Dont let this get too out of control please |
| ► freertos | |
| freertos.c | Wrapper macros for FreeRTOS constructs (tasks, queues, semaphores) to simplify static memory allocation and initialization |
| freertos.h | Wrapper macros for FreeRTOS constructs (tasks, queues, semaphores) to simplify static memory allocation and initialization |
| FreeRTOSConfig.h | |
| ► gps | |
| gps.c | GPS driver for UBLOX NEO-M9N GPS module |
| gps.h | GPS driver for UBLOX NEO-M9N GPS module |
| ► heartbeat | |
| heartbeat.c | Shared heartbeat task implementation for status LEDs |
| heartbeat.h | Shared heartbeat task implementation for status LEDs |
| ► izze_imu | |
| izze_imu.h | |
| ► lerp_lut | |
| lerp_lut.c | Linear interpolation lookup table (LUT) |
| lerp_lut.h | Linear interpolation lookup table (LUT) |
| ► log | |
| log.h | |
| vsprintf.h | |
| ► phal | |
| adc.h | |
| can.h | |
| crc.h | |
| dma.h | |
| flash.h | |
| gpio.h | |
| phal_mcu.h | MCU architecture selector for PHAL layer (auto-defines PHAL_ARCH_*) |
| rcc.h | |
| rtc.h | |
| spi.h | |
| usart.h | |
| ► phal_F4_F7 | |
| ► adc | |
| adc.c | |
| adc.h | |
| ► can | |
| can.h | |
| ► crc | |
| crc.c | Hardware CRC32 w/ software fallback |
| crc.h | Hardware CRC32 w/ software fallback |
| ► dma | |
| dma.c | Basic DMA Peripheral HAL library for setting up DMA transfers |
| dma.h | |
| ► flash | |
| flash.c | |
| flash.h | |
| ► gpio | |
| gpio.h | GPIO Driver for STM32F4/F7 Devices |
| ► pwm | |
| pwm.c | |
| pwm.h | |
| ► rcc | |
| rcc.h | RCC Configuration Driver for STM32F4 Devices |
| ► rtc | |
| rtc.h | RTC Configuration Driver for STM32F4 Devices |
| ► spi | |
| spi.c | PER Serial Peripheral Interface Device driver for STM32F4 and STM32F7 |
| spi.h | |
| ► usart | |
| usart.c | |
| usart.h | |
| phal_F4_F7.h | |
| ► phal_G4 | |
| ► adc | |
| adc.c | |
| adc.h | |
| ► dma | |
| dma.c | Basic DMA Peripheral HAL library |
| dma.h | |
| ► fdcan | |
| fdcan.c | G4 FDCAN |
| fdcan.h | |
| fdcan_priv.h | |
| ► gpio | |
| gpio.c | GPIO Driver for STM32L432 Devices |
| gpio.h | GPIO Driver for STM32L432 Devices |
| ► rcc | |
| rcc.h | RCC Configuration Driver for STM32F4 Devices |
| ► spi | |
| spi.c | G4 SPI |
| spi.h | |
| ► usart | |
| usart.h | |
| phal_G4.h | |
| ► strbuf | |
| strbuf.c | Fixed-size string builder. Useful for building large CMD strings before transmission |
| strbuf.h | Fixed-size string builder. Useful for building large CMD strings before transmission |
| ► syscalls | |
| syscalls.h | |
| ▼ source | |
| ► a_box | |
| ► adbms | |
| adbms.c | Primary logic and interface for ADBMS battery management system driver |
| adbms.h | Primary logic and interface for ADBMS battery management system driver |
| adbms6380.c | Low level BMS driver specific to ADBMS6380 chip |
| adbms6380.h | Low level BMS driver specific to ADBMS6380 chip |
| commands.c | Listing of all ADBMS commands |
| commands.h | Listing of all ADBMS commands |
| pec.c | Calculation of PEC (CRC15, CRC10) for ADBMS communication |
| pec.h | Calculation of PEC (CRC15, CRC10) for ADBMS communication |
| ► thermistor | |
| thermistor.c | Thermistor lookup table from datasheet |
| thermistor.h | Thermistor lookup table from datasheet |
| main.c | "Abox" node source code |
| main.h | "Abox" node source code |
| ► daq | |
| ► daq_hub | |
| daq_eth.c | W5500 Ethernet |
| daq_eth.h | |
| daq_rtc_config.h | |
| daq_sd.h | |
| daq_spi.h | |
| ► fatfs | |
| diskio.h | |
| ff.h | |
| ffconf.h | |
| ► sdio | |
| sdio.c | Secure Digital Input Output Interface driver for STM32F4 |
| sdio.h | |
| ► spmc | |
| spmc.c | Custom SPMC designed for high throughput handling of CAN message streams |
| spmc.h | Custom SPMC designed for high throughput handling of CAN message streams |
| ► w5500 | |
| socket.c | SOCKET APIs Implements file |
| socket.h | SOCKET APIs Header file |
| w5500.c | W5500 HAL Interface |
| w5500.h | W5500 HAL Header File |
| wizchip_conf.c | WIZCHIP Config Header File |
| wizchip_conf.h | WIZCHIP Config Header File |
| main.h | |
| ► dashboard | |
| ► lcd | |
| ► pages | |
| calibration.c | Calibration page implementation |
| calibration.h | Calibration page implementation |
| faults.c | Faults page implementation |
| faults.h | Faults page implementation |
| race.c | Race page implementation |
| race.h | Race page implementation |
| colors.h | Color definitions for LCD display |
| lcd.c | LCD display management |
| lcd.h | LCD display management |
| menu_system.c | Implementation of menu system for LCD display interface |
| menu_system.h | Implementation of menu system for LCD display interface |
| nextion.c | Nextion display driver interface |
| nextion.h | Nextion display driver interface |
| ► pedals | |
| pedals.c | Pedal processing logic |
| pedals.h | |
| main.c | "Dashboard" node source code |
| main.h | |
| ► driveline | |
| config.h | |
| main.c | "Driveline" node source code |
| pin_defs.h | "Driveline" node pin definitions and related constants |
| ► f4_testing | |
| f4_testing.h | |
| onboarding_26.c | Onboarding 26 starter file |
| ► g4_testing | |
| g4_testing.h | |
| main.h | |
| ► main_module | |
| main.c | "Main Module" node source code |
| main.h | "Main Module" node source code |
| pindefs.h | "Main Module" node pin definitions |
| state_machine.c | "Main Module" master state machine implementation |
| ► pdu | |
| ► auto_switch | |
| auto_switch.c | |
| auto_switch.h | |
| ► cooling | |
| cooling.c | |
| cooling.h | |
| ► fan_control | |
| fan_control.h | |
| ► flow_rate | |
| flow_rate.h | |
| ► led | |
| led.c | |
| led.h | |
| main.c | "PDU" node source code |
| main.h | "PDU" node source code |
| ► torque_vector | |
| main.c | "Torque Vector" node source code |
| main.h | "Torque Vector" node source code |