mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 09:13:52 +08:00
@@ -1,6 +1,6 @@
|
||||
// ///////////////////// //
|
||||
// Black Panda + Harness //
|
||||
// ///////////////////// //
|
||||
// /////////////////////////////// //
|
||||
// Black Panda (STM32F4) + Harness //
|
||||
// /////////////////////////////// //
|
||||
|
||||
void black_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver){
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// ////////////////////////// //
|
||||
// Cuatro (STM32H7) + Harness //
|
||||
// ////////////////////////// //
|
||||
|
||||
void cuatro_set_led(uint8_t color, bool enabled) {
|
||||
switch (color) {
|
||||
case LED_RED:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ///////////// //
|
||||
// Dos + Harness //
|
||||
// ///////////// //
|
||||
// /////////////////////// //
|
||||
// Dos (STM32F4) + Harness //
|
||||
// /////////////////////// //
|
||||
|
||||
void dos_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ////////// //
|
||||
// Grey Panda //
|
||||
// ////////// //
|
||||
// //////////////////// //
|
||||
// Grey Panda (STM32F4) //
|
||||
// //////////////////// //
|
||||
|
||||
// Most hardware functionality is similar to white panda
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ///// //
|
||||
// Pedal //
|
||||
// ///// //
|
||||
// ///////////// //
|
||||
// Pedal STM32F2 //
|
||||
// ///////////// //
|
||||
|
||||
void pedal_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ///////////////////// //
|
||||
// Red Panda + Harness //
|
||||
// ///////////////////// //
|
||||
// ///////////////////////////// //
|
||||
// Red Panda (STM32H7) + Harness //
|
||||
// ///////////////////////////// //
|
||||
|
||||
void red_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ///////////////////// //
|
||||
// Red Panda chiplet + Harness //
|
||||
// ///////////////////// //
|
||||
// ///////////////////////////////////// //
|
||||
// Red Panda chiplet (STM32H7) + Harness //
|
||||
// ///////////////////////////////////// //
|
||||
|
||||
// Most hardware functionality is similar to red panda
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// /////////////////
|
||||
// Tres + Harness //
|
||||
// /////////////////
|
||||
// ///////////////////////////
|
||||
// Tres (STM32H7) + Harness //
|
||||
// ///////////////////////////
|
||||
|
||||
bool tres_ir_enabled;
|
||||
bool tres_fan_enabled;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// ///////////// //
|
||||
// Uno + Harness //
|
||||
// ///////////// //
|
||||
// /////////////////////// //
|
||||
// Uno (STM32F4) + Harness //
|
||||
// /////////////////////// //
|
||||
|
||||
void uno_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver){
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// /////////// //
|
||||
// White Panda //
|
||||
// /////////// //
|
||||
// ///////////////////// //
|
||||
// White Panda (STM32F4) //
|
||||
// ///////////////////// //
|
||||
|
||||
void white_enable_can_transceiver(uint8_t transceiver, bool enabled) {
|
||||
switch (transceiver){
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// ///////////////////////// //
|
||||
// Jungle board v1 (STM32F4) //
|
||||
// ///////////////////////// //
|
||||
|
||||
void board_v1_set_led(uint8_t color, bool enabled) {
|
||||
switch (color) {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
// ///////////////////////// //
|
||||
// Jungle board v2 (STM32H7) //
|
||||
// ///////////////////////// //
|
||||
|
||||
const gpio_t power_pins[] = {
|
||||
{.bank = GPIOA, .pin = 0},
|
||||
|
||||
Reference in New Issue
Block a user