Skip to content

Commit 04c5a00

Browse files
authored
Board chip type (commaai#1853)
Board chip type title
1 parent 5c5287d commit 04c5a00

File tree

12 files changed

+37
-27
lines changed

12 files changed

+37
-27
lines changed

board/boards/black.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///////////////////// //
2-
// Black Panda + Harness //
3-
// ///////////////////// //
1+
// /////////////////////////////// //
2+
// Black Panda (STM32F4) + Harness //
3+
// /////////////////////////////// //
44

55
void black_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver){

board/boards/cuatro.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ////////////////////////// //
2+
// Cuatro (STM32H7) + Harness //
3+
// ////////////////////////// //
4+
15
void cuatro_set_led(uint8_t color, bool enabled) {
26
switch (color) {
37
case LED_RED:

board/boards/dos.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///////////// //
2-
// Dos + Harness //
3-
// ///////////// //
1+
// /////////////////////// //
2+
// Dos (STM32F4) + Harness //
3+
// /////////////////////// //
44

55
void dos_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver){

board/boards/grey.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ////////// //
2-
// Grey Panda //
3-
// ////////// //
1+
// //////////////////// //
2+
// Grey Panda (STM32F4) //
3+
// //////////////////// //
44

55
// Most hardware functionality is similar to white panda
66

board/boards/pedal.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///// //
2-
// Pedal //
3-
// ///// //
1+
// ///////////// //
2+
// Pedal STM32F2 //
3+
// ///////////// //
44

55
void pedal_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver){

board/boards/red.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///////////////////// //
2-
// Red Panda + Harness //
3-
// ///////////////////// //
1+
// ///////////////////////////// //
2+
// Red Panda (STM32H7) + Harness //
3+
// ///////////////////////////// //
44

55
void red_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver) {

board/boards/red_chiplet.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///////////////////// //
2-
// Red Panda chiplet + Harness //
3-
// ///////////////////// //
1+
// ///////////////////////////////////// //
2+
// Red Panda chiplet (STM32H7) + Harness //
3+
// ///////////////////////////////////// //
44

55
// Most hardware functionality is similar to red panda
66

board/boards/tres.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// /////////////////
2-
// Tres + Harness //
3-
// /////////////////
1+
// ///////////////////////////
2+
// Tres (STM32H7) + Harness //
3+
// ///////////////////////////
44

55
bool tres_ir_enabled;
66
bool tres_fan_enabled;

board/boards/uno.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// ///////////// //
2-
// Uno + Harness //
3-
// ///////////// //
1+
// /////////////////////// //
2+
// Uno (STM32F4) + Harness //
3+
// /////////////////////// //
44

55
void uno_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver){

board/boards/white.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// /////////// //
2-
// White Panda //
3-
// /////////// //
1+
// ///////////////////// //
2+
// White Panda (STM32F4) //
3+
// ///////////////////// //
44

55
void white_enable_can_transceiver(uint8_t transceiver, bool enabled) {
66
switch (transceiver){

0 commit comments

Comments
 (0)