add E32V2 board profile, fix autodetect and GPIOs

This commit is contained in:
MichaelDvP
2023-10-22 17:40:38 +02:00
parent 509d213536
commit 5e6b0f64bd
5 changed files with 46 additions and 16 deletions

View File

@@ -284,7 +284,7 @@ static void setup_commands(std::shared_ptr<Commands> & commands) {
std::vector<int8_t> data; // led, dallas, rx, tx, button, phy_type, eth_power, eth_phy_addr, eth_clock_mode
std::string board_profile = Helpers::toUpper(arguments.front());
if (!to_app(shell).system_.load_board_profile(data, board_profile)) {
shell.println("Invalid board profile (S32, E32, MH-ET, NODEMCU, OLIMEX, OLIMEXPOE, C3MINI, S2MINI, S3MINI, CUSTOM)");
shell.println("Invalid board profile (S32, E32, E32V2, MH-ET, NODEMCU, OLIMEX, OLIMEXPOE, C3MINI, S2MINI, S3MINI, CUSTOM)");
return;
}
to_app(shell).webSettingsService.update(