Thunderbots Project
Loading...
Searching...
No Matches
limited_constants.h
1#pragma once
2
3#include "software/embedded/platform.h"
4
5// Dummy constants. Under this compilation mode, the motor control code shouldn't execute.
6constexpr int SPI_CS_DRIVER_TO_CONTROLLER_MUX_0_GPIO = 0;
7constexpr int SPI_CS_DRIVER_TO_CONTROLLER_MUX_1_GPIO = 0;
8constexpr int MOTOR_DRIVER_RESET_GPIO = 0;
9constexpr int DRIVER_CONTROL_ENABLE_GPIO = 0;
10
11// Path to the CPU thermal zone temperature file
12constexpr const char CPU_TEMP_FILE_PATH[] = "/sys/class/thermal/thermal_zone0/temp";
13
14constexpr Platform PLATFORM = Platform::LIMITED_BUILD;