Skip to content

Extend bus types and structure for Peripheral Manager #8888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update print format
  • Loading branch information
P-R-O-C-H-Y committed Nov 21, 2023
commit 973ef24a88bc26405a86a0b1d86136fc4d1dc038
5 changes: 3 additions & 2 deletions cores/esp32/chip-debug-report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ static void printBoardInfo(void){

static void printPerimanInfo(void){
chip_report_printf("GPIO Info:\n");
chip_report_printf("PIN number : BUS_TYPE[bus_num/unit][channel]\n");
chip_report_printf("------------------------------------------\n");
chip_report_printf(" GPIO : BUS_TYPE[bus/unit][chan]\n");
chip_report_printf(" -------------------------------------- \n");
for(uint8_t i = 0; i < SOC_GPIO_PIN_COUNT; i++){
if(!perimanPinIsValid(i)){
continue;//invalid pin
Expand All @@ -252,7 +253,7 @@ static void printPerimanInfo(void){
continue;//unused pin
}
const char* extra_type = perimanGetPinBusExtraType(i);
chip_report_printf(" %17u : ", i);
chip_report_printf(" %4u : ", i);
if(extra_type){
chip_report_printf("%s", extra_type);
}
Expand Down