Merge pull request #16976 from Staars/fix_ulp_compile_c3

ignore USE_BERRY_ULP on unsupported platforms
This commit is contained in:
s-hadinger 2022-11-01 17:00:25 +01:00 committed by GitHub
commit c3215a9d6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ BERRY_LOCAL const bntvmodule* const be_module_table[] = {
#ifdef USE_ALEXA_AVS #ifdef USE_ALEXA_AVS
&be_native_module(crypto), &be_native_module(crypto),
#endif #endif
#if defined(USE_BERRY_ULP) #if defined(USE_BERRY_ULP) && ((CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3))
&be_native_module(ULP), &be_native_module(ULP),
#endif // USE_BERRY_ULP #endif // USE_BERRY_ULP
#if defined(USE_MI_ESP32) && !defined(USE_BLE_ESP32) #if defined(USE_MI_ESP32) && !defined(USE_BLE_ESP32)