chore: Update components to support ESP-IDF v6.0#611
Conversation
|
⚡ Static analysis result ⚡ 🔴 cppcheck found 108 issues! Click here to see details.espp/components/tt21100/include/tt21100.hpp Lines 51 to 56 in bf1cfe6 !Line: 51 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/tt21100/include/tt21100.hpp Lines 81 to 86 in bf1cfe6 !Line: 81 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/tt21100/include/tt21100.hpp Lines 92 to 97 in bf1cfe6 !Line: 92 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/tt21100/include/tt21100.hpp Lines 141 to 146 in bf1cfe6 !Line: 141 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/cst816/include/cst816.hpp Lines 47 to 52 in bf1cfe6 !Line: 47 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/cst816/example/main/cst816_example.cpp Lines 56 to 61 in bf1cfe6 !Line: 56 - style: Condition 'ec' is always false [knownConditionTrueFalse]
!Line: 42 - note: Assuming that condition 'ec' is not redundant
!Line: 46 - note: Assuming condition is false
!Line: 56 - note: Condition 'ec' is always falseespp/components/math/include/fast_math.hpp Lines 115 to 120 in bf1cfe6 !Line: 115 - style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm]
espp/components/monitor/src/heap_monitor.cpp Lines 6 to 11 in bf1cfe6 !Line: 6 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/interrupt/example/main/interrupt_example.cpp Lines 6 to 11 in bf1cfe6 !Line: 6 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/file_system/example/main/file_system_example.cpp Lines 323 to 328 in bf1cfe6 !Line: 323 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/st25dv/include/st25dv.hpp Lines 446 to 451 in bf1cfe6 !Line: 446 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 155 to 160 in bf1cfe6 !Line: 155 - warning: Member variable 'XboxRumbleOutputReport < 3 >::enabled' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-gamepad.hpp Lines 62 to 67 in bf1cfe6 !Line: 62 - warning: Member variable 'GamepadInputReport < 15 , std :: uint16_t , std :: uint16_t , 0 , 65535 , 0 , 1023 , 1 >::consumer_record' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 168 to 173 in bf1cfe6 !Line: 168 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::XboxRumbleOutputReport < 3 >::get_enabled' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 177 to 182 in bf1cfe6 !Line: 177 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::XboxRumbleOutputReport < 3 >::get_magnitude' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 195 to 200 in bf1cfe6 !Line: 195 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::XboxRumbleOutputReport < 3 >::get_duration' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 204 to 209 in bf1cfe6 !Line: 204 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::XboxRumbleOutputReport < 3 >::get_start_delay' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-xbox.hpp Lines 213 to 218 in bf1cfe6 !Line: 213 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::XboxRumbleOutputReport < 3 >::get_loop_count' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-gamepad.hpp Lines 62 to 67 in bf1cfe6 !Line: 62 - warning: Member variable 'GamepadInputReport::consumer_record' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::counter' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::connection_info' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::battery_charging' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::battery_level' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_y' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_x' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_b' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_a' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_right_sr' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_right_sl' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_r' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_zr' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_minus' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_plus' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_thumb_r' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_thumb_l' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_home' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_capture' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::dummy' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::charging_grip' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::dpad_down' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::dpad_up' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::dpad_right' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::dpad_left' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_left_sr' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_left_sl' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_l' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::btn_zl' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::analog' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::joy_lx' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::joy_ly' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::joy_rx' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::joy_ry' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::vibrator_input_report' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::raw_input_report' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::imuData' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::subcmd_ack' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::subcmd_id' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::subcmd_reply' is not initialized in the constructor. [uninitMemberVar]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 186 to 191 in bf1cfe6 !Line: 186 - warning: Member variable 'SwitchProGamepadInputReport < 0x30 >::raw_report' is not initialized in the constructor. [uninitMemberVar]
espp/components/chsc6x/example/main/chsc6x_example.cpp Lines 53 to 58 in bf1cfe6 !Line: 53 - style: Condition 'ec' is always false [knownConditionTrueFalse]
!Line: 42 - note: Assuming that condition 'ec' is not redundant
!Line: 46 - note: Assuming condition is false
!Line: 53 - note: Condition 'ec' is always falseespp/components/wifi/include/wifi.hpp Lines 408 to 413 in bf1cfe6 !Line: 408 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Wifi::get_registered_sta_configs' can be const. [functionConst]
espp/components/wifi/include/wifi.hpp Lines 415 to 420 in bf1cfe6 !Line: 415 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Wifi::get_registered_ap_configs' can be const. [functionConst]
espp/components/socket/src/socket.cpp Lines 115 to 120 in bf1cfe6 !Line: 115 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 142 to 147 in bf1cfe6 !Line: 142 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 156 to 161 in bf1cfe6 !Line: 156 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 170 to 175 in bf1cfe6 !Line: 170 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 228 to 233 in bf1cfe6 !Line: 228 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 235 to 240 in bf1cfe6 !Line: 235 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/socket.cpp Lines 164 to 169 in bf1cfe6 !Line: 164 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/tcp_socket.cpp Lines 164 to 169 in bf1cfe6 !Line: 164 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/tcp_socket.cpp Lines 221 to 226 in bf1cfe6 !Line: 221 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/tcp_socket.cpp Lines 232 to 237 in bf1cfe6 !Line: 232 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/tcp_socket.cpp Lines 241 to 246 in bf1cfe6 !Line: 241 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/tcp_socket.cpp Lines 248 to 253 in bf1cfe6 !Line: 248 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/socket/src/udp_socket.cpp Lines 127 to 132 in bf1cfe6 !Line: 127 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/ads7138/example/main/ads7138_example.cpp Lines 70 to 75 in bf1cfe6 !Line: 70 - style: Parameter 'arg' can be declared as pointer to const. However it seems that 'gpio_isr_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback]
!Line: 132 - note: You might need to cast the function pointer here
!Line: 70 - note: Parameter 'arg' can be declared as pointer to constespp/components/m5stack-tab5/src/video.cpp Lines 101 to 106 in bf1cfe6 !Line: 101 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/ads7138/include/ads7138.hpp Lines 1513 to 1518 in bf1cfe6 !Line: 1513 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/ftp/include/ftp_client_session.hpp Lines 385 to 390 in bf1cfe6 !Line: 385 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::FtpClientSession::parse_ftp_command' can be const. [functionConst]
espp/components/qmi8658/include/qmi8658.hpp Lines 238 to 243 in bf1cfe6 !Line: 238 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Qmi8658::get_accelerometer_sensitivity' can be const. [functionConst]
espp/components/qmi8658/include/qmi8658.hpp Lines 262 to 267 in bf1cfe6 !Line: 262 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Qmi8658::get_gyroscope_sensitivity' can be const. [functionConst]
espp/components/gt911/include/gt911.hpp Lines 74 to 79 in bf1cfe6 !Line: 74 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/gt911/example/main/gt911_example.cpp Lines 60 to 65 in bf1cfe6 !Line: 60 - style: Condition 'ec' is always false [knownConditionTrueFalse]
!Line: 46 - note: Assuming that condition 'ec' is not redundant
!Line: 50 - note: Assuming condition is false
!Line: 60 - note: Condition 'ec' is always falseespp/components/cli/include/cli.hpp Lines 20 to 25 in bf1cfe6 !Line: 20 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/tla2528/include/tla2528.hpp Lines 933 to 938 in bf1cfe6 !Line: 933 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/bldc_driver/include/bldc_driver.hpp Lines 331 to 336 in bf1cfe6 !Line: 331 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/bldc_driver/include/bldc_driver.hpp Lines 1 to 5 in bf1cfe6 !Line: 0 - information: This file is not analyzed. No working configuration could be extracted. Use -v for more details. [noValidConfiguration]
espp/components/vl53l/include/vl53l.hpp Lines 417 to 422 in bf1cfe6 !Line: 417 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Vl53l::get_timing_budget_seconds' can be const. [functionConst]
espp/components/vl53l/include/vl53l.hpp Lines 722 to 727 in bf1cfe6 !Line: 722 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/gfps_service/src/nearby_ble.cpp Lines 132 to 137 in bf1cfe6 !Line: 132 - warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]
espp/components/nvs/include/nvs_handle_espp.hpp Lines 503 to 506 in bf1cfe6 !Line: 503 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::NvsHandle::make_error_code' can be const. [functionConst]
espp/components/nvs/include/nvs.hpp Lines 56 to 61 in bf1cfe6 !Line: 56 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Nvs::erase' can be const. [functionConst]
espp/components/nvs/include/nvs.hpp Lines 71 to 76 in bf1cfe6 !Line: 71 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Nvs::erase' can be const. [functionConst]
espp/components/led/src/led.cpp Lines 44 to 49 in bf1cfe6 !Line: 44 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/led/include/led.hpp Lines 40 to 45 in bf1cfe6 !Line: 40 - error: failed to evaluate #if condition, undefined function-like macro invocation: ESP_IDF_VERSION_VAL( ... ) [syntaxError]
espp/components/led/include/led.hpp Lines 1 to 5 in bf1cfe6 !Line: 0 - information: This file is not analyzed. No working configuration could be extracted. Use -v for more details. [noValidConfiguration]
espp/components/pid/include/pid.hpp Lines 154 to 159 in bf1cfe6 !Line: 154 - performance: Function 'get_config()' should return member 'config_' by const reference. [returnByReference]
espp/components/icm42607/include/icm42607.hpp Lines 286 to 291 in bf1cfe6 !Line: 286 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Icm42607::get_accelerometer_sensitivity' can be const. [functionConst]
espp/components/icm42607/include/icm42607.hpp Lines 310 to 315 in bf1cfe6 !Line: 310 - style: inconclusive: Either there is a missing 'override', or the member function 'espp::Icm42607::get_gyroscope_sensitivity' can be const. [functionConst]
espp/components/hid-rp/include/hid-rp-switch-pro.hpp Lines 194 to 199 in bf1cfe6 !Line: 194 - information: Unmatched suppression: redundantAssignment [unmatchedSuppression]
espp/components/hid-rp/include/hid-rp-playstation.hpp Lines 778 to 783 in bf1cfe6 !Line: 778 - information: Unmatched suppression: redundantAssignment [unmatchedSuppression]
espp/components/hid-rp/include/hid-rp-playstation.hpp Lines 779 to 784 in bf1cfe6 !Line: 779 - information: Unmatched suppression: redundantAssignment [unmatchedSuppression]
espp/components/m5stack-tab5/example/main/m5stack_tab5_example.cpp Lines 534 to 539 in bf1cfe6 !Line: 534 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
espp/components/m5stack-tab5/example/main/m5stack_tab5_example.cpp Lines 536 to 541 in bf1cfe6 !Line: 536 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
espp/components/esp-box/example/main/esp_box_example.cpp Lines 394 to 399 in bf1cfe6 !Line: 394 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
espp/components/esp-box/example/main/esp_box_example.cpp Lines 396 to 401 in bf1cfe6 !Line: 396 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
espp/components/t-deck/example/main/t_deck_example.cpp Lines 243 to 248 in bf1cfe6 !Line: 243 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
espp/components/t-deck/example/main/t_deck_example.cpp Lines 245 to 250 in bf1cfe6 !Line: 245 - information: Unmatched suppression: syntaxError [unmatchedSuppression]
|
There was a problem hiding this comment.
Pull request overview
This PR updates several ESPP components and examples to build against ESP-IDF v6.0 by adjusting component dependencies and adding small compatibility shims for renamed/changed ESP-IDF APIs.
Changes:
- Update multiple component
REQUIRESlists to include the new ESP-IDF v6 split driver components (e.g.,esp_driver_gpio,esp_driver_spi,esp_driver_rmt, etc.). - Add ESP-IDF version-conditional code for API/constant changes (e.g., heap capability rename, LCD DPI config field changes, CLI console component selection).
- Minor code tweaks for toolchain/libc/API differences (e.g.,
modff, SPI transaction init, ADC attenuation constant).
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| components/ws-s3-touch/example/main/ws_s3_touch_example.cpp | Expands std::tm initialization used for RTC set-time in the example. |
| components/thermistor/example/main/thermistor_example.cpp | Updates ADC attenuation constant in the example. |
| components/t-deck/CMakeLists.txt | Adds ESP-IDF v6 driver component dependencies (I2S/SPI). |
| components/state_machine/example/main/Complex_generated_states.cpp | Removes dead/unreachable statements in generated switch blocks. |
| components/socket/src/socket.cpp | Uses modff for float fractional splitting. |
| components/rmt/CMakeLists.txt | Adds esp_driver_rmt dependency. |
| components/remote_debug/CMakeLists.txt | Adds esp_driver_gpio dependency. |
| components/neopixel/CMakeLists.txt | Adds esp_driver_gpio dependency. |
| components/mt6701/example/CMakeLists.txt | Adds esp_driver_spi to example component list. |
| components/motorgo-mini/src/motorgo-mini.cpp | Changes SPI transaction initialization to zero-init + field assignment. |
| components/motorgo-mini/CMakeLists.txt | Adds esp_driver_spi dependency. |
| components/monitor/src/heap_monitor.cpp | Adds IDF-version mapping for MALLOC_CAP_TCM → MALLOC_CAP_SPM in v6. |
| components/m5stack-tab5/src/video.cpp | Adds IDF-version conditionals for LCD DPI config and adjusts DSI bus config init. |
| components/m5stack-tab5/CMakeLists.txt | Adds ESP-IDF v6 driver component dependencies (I2S/SDMMC/SPI). |
| components/led/CMakeLists.txt | Adds esp_driver_ledc dependency. |
| components/interrupt/CMakeLists.txt | Adds esp_driver_gpio dependency. |
| components/esp32-timer-cam/CMakeLists.txt | Adds ESP-IDF v6 driver component dependencies (I2S/SPI). |
| components/esp-box/CMakeLists.txt | Adds esp_driver_i2s dependency. |
| components/encoder/CMakeLists.txt | Adds esp_driver_pcnt dependency. |
| components/cli/include/cli.hpp | Adds IDF-version conditional include for esp_vfs_usb_serial_jtag.h. |
| components/cli/CMakeLists.txt | Selects console-related component dependencies based on IDF major version. |
| components/bldc_driver/include/bldc_driver.hpp | Adds IDF/soc capability guards for MCPWM-related fields that differ across versions. |
| components/bldc_driver/CMakeLists.txt | Adds esp_driver_gpio and esp_driver_mcpwm dependencies. |
| components/adc/include/adc_types.hpp | Updates documentation comment for attenuation example value. |
Description
Update code (backwards compatible to
release/v1) to compile in ESP-IDF v6.0.Motivation and Context
Closese #610
Note: this doesn't make the upgrades to I2C (or other subsystems) necessary to remove the deprecation / EOL warnings. That will likely be breaking changes and will be targeted towards espp v2.x release in the very near future.
How has this been tested?
Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
Types of changes
Checklist:
Software
.github/workflows/build.ymlfile to add my new test to the automated cloud build github action.