Skip to content

Commit

Permalink
SRA Board 2.4 related changes (#92)
Browse files Browse the repository at this point in the history
* Remove motor driver parallel example code

* Update pin definitions in pin_defs.h according to SRA Board 2.4
  • Loading branch information
SuperChamp234 authored Jan 30, 2024
1 parent 0b8ef14 commit 7f31d65
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 201 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
image: espressif/idf:release-v4.4
strategy:
matrix:
test-apps: [bar_graph, lsa, motor_driver_normal, motor_driver_parallel, mpu6050, servos, switches, oled]
test-apps: [bar_graph, lsa, motor_driver_normal, mpu6050, servos, switches, oled]
steps:
- name: Force Install GIT latest
run: |
Expand Down
83 changes: 0 additions & 83 deletions examples/motor_driver_parallel/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions examples/motor_driver_parallel/CMakeLists.txt

This file was deleted.

23 changes: 0 additions & 23 deletions examples/motor_driver_parallel/LICENSE

This file was deleted.

9 changes: 0 additions & 9 deletions examples/motor_driver_parallel/Makefile

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions examples/motor_driver_parallel/main/CMakeLists.txt

This file was deleted.

8 changes: 0 additions & 8 deletions examples/motor_driver_parallel/main/component.mk

This file was deleted.

50 changes: 0 additions & 50 deletions examples/motor_driver_parallel/main/main.c

This file was deleted.

24 changes: 13 additions & 11 deletions include/pin_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,34 +57,36 @@

//////// bar graph //////////
#define BG_LED_1 12
#define BG_LED_2 33
#define BG_LED_2 13
#define BG_LED_3 25
#define BG_LED_4 26
#define BG_LED_5 27
#define BG_LED_6 14
#define BG_LED_7 13
#define BG_LED_8 23
#define BG_LED_5 15
#define BG_LED_6 5
#define BG_LED_7 18
#define BG_LED_8 19
/////////////////////////////

////////// switches //////////
#define SWITCH_1 4
#define SWITCH_2 2
#define SWITCH_3 17
#define SWITCH_4 16
#define SWITCH_3 27
#define SWITCH_4 14
/////////////////////////////

/////////// lsa /////////////
#define LSA_A0 34
#define LSA_A0 32
#define LSA_A1 35
#define LSA_A2 36
#define LSA_A2 34
#define LSA_A3 39
#define LSA_A4 32
#define LSA_A4 36
//******* battery ********//
#define BATTERY 33
/////////////////////////////

/////// motor driver ////////
//****** normal mode ******//
#define MDA_NORMAL_IN_1 12 //MCPWM_UNIT_1 MCPWM0A
#define MDA_NORMAL_IN_2 33 //MCPWM_UNIT_1 MCPWM0B
#define MDA_NORMAL_IN_2 13 //MCPWM_UNIT_1 MCPWM0B
#define MDA_NORMAL_IN_3 25 //MCPWM_UNIT_1 MCPWM1A
#define MDA_NORMAL_IN_4 26 //MCPWM_UNIT_1 MCPWM1B

Expand Down

0 comments on commit 7f31d65

Please sign in to comment.