Skip to content

Commit

Permalink
Board chip type title
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Feb 5, 2024
1 parent f48fc21 commit ea33de3
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 27 deletions.
6 changes: 3 additions & 3 deletions board/boards/black.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///////////////////// //
// Black Panda + Harness //
// ///////////////////// //
// /////////////////////////////// //
// Black Panda (STM32F4) + Harness //
// /////////////////////////////// //

void black_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver){
Expand Down
4 changes: 4 additions & 0 deletions board/boards/cuatro.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// ////////////////////////// //
// Cuatro (STM32H7) + Harness //
// ////////////////////////// //

void cuatro_set_led(uint8_t color, bool enabled) {
switch (color) {
case LED_RED:
Expand Down
6 changes: 3 additions & 3 deletions board/boards/dos.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///////////// //
// Dos + Harness //
// ///////////// //
// /////////////////////// //
// Dos (STM32F4) + Harness //
// /////////////////////// //

void dos_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver){
Expand Down
6 changes: 3 additions & 3 deletions board/boards/grey.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ////////// //
// Grey Panda //
// ////////// //
// //////////////////// //
// Grey Panda (STM32F4) //
// //////////////////// //

// Most hardware functionality is similar to white panda

Expand Down
6 changes: 3 additions & 3 deletions board/boards/pedal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///// //
// Pedal //
// ///// //
// ///////////// //
// Pedal STM32F2 //
// ///////////// //

void pedal_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver){
Expand Down
6 changes: 3 additions & 3 deletions board/boards/red.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///////////////////// //
// Red Panda + Harness //
// ///////////////////// //
// ///////////////////////////// //
// Red Panda (STM32H7) + Harness //
// ///////////////////////////// //

void red_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver) {
Expand Down
6 changes: 3 additions & 3 deletions board/boards/red_chiplet.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///////////////////// //
// Red Panda chiplet + Harness //
// ///////////////////// //
// ///////////////////////////////////// //
// Red Panda chiplet (STM32H7) + Harness //
// ///////////////////////////////////// //

// Most hardware functionality is similar to red panda

Expand Down
6 changes: 3 additions & 3 deletions board/boards/tres.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// /////////////////
// Tres + Harness //
// /////////////////
// ///////////////////////////
// Tres (STM32H7) + Harness //
// ///////////////////////////

bool tres_ir_enabled;
bool tres_fan_enabled;
Expand Down
6 changes: 3 additions & 3 deletions board/boards/uno.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ///////////// //
// Uno + Harness //
// ///////////// //
// /////////////////////// //
// Uno (STM32F4) + Harness //
// /////////////////////// //

void uno_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver){
Expand Down
6 changes: 3 additions & 3 deletions board/boards/white.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// /////////// //
// White Panda //
// /////////// //
// ///////////////////// //
// White Panda (STM32F4) //
// ///////////////////// //

void white_enable_can_transceiver(uint8_t transceiver, bool enabled) {
switch (transceiver){
Expand Down
3 changes: 3 additions & 0 deletions board/jungle/boards/board_v1.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// ///////////////////////// //
// Jungle board v1 (STM32F4) //
// ///////////////////////// //

void board_v1_set_led(uint8_t color, bool enabled) {
switch (color) {
Expand Down
3 changes: 3 additions & 0 deletions board/jungle/boards/board_v2.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// ///////////////////////// //
// Jungle board v2 (STM32H7) //
// ///////////////////////// //

const gpio_t power_pins[] = {
{.bank = GPIOA, .pin = 0},
Expand Down

0 comments on commit ea33de3

Please sign in to comment.