boards: update id string from V5X{0-a}{0-a} to V5X{xxxx}{xxxx}

boards: new format for hwtypecmp string
boards: update manifest.c to follow the new hw_ver_rev format
This commit is contained in:
Igor Mišić
2022-06-20 13:13:48 +02:00
committed by Beat Küng
parent 49d63958a8
commit ec1614d156
29 changed files with 159 additions and 150 deletions
+1 -3
View File
@@ -115,9 +115,7 @@
#define GPIO_HW_REV_SENSE /* PC3 */ ADC1_GPIO(13)
#define GPIO_HW_VER_DRIVE /* PG0 */ (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTG|GPIO_PIN0)
#define GPIO_HW_VER_SENSE /* PC2 */ ADC1_GPIO(12)
#define HW_INFO_INIT {'V','5','x', 'x',0}
#define HW_INFO_INIT_VER 2
#define HW_INFO_INIT_REV 3
#define HW_INFO_INIT "V5%04x%04x"
#define BOARD_TAP_ESC_MODE 2 // select closed-loop control mode for the esc
// #define BOARD_USE_ESC_CURRENT_REPORT