-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Description
Describe the bug.
Attempting to use a self-built SDK with uFBT via ufbt update --local=X seems to be unable to detect mbedtls.cfg.h, even though it is bundled in the .zip update package:
In file included from H:/dev/flipper-zero/.ufbt/current/sdk_headers/f7_sdk/lib/mbedtls/include/mbedtls/bignum.h:14,
from H:\dev\flipper-zero\flipper-bakery\flipper95\flipper95.c:14:
H:/dev/flipper-zero/.ufbt/current/sdk_headers/f7_sdk/lib/mbedtls/include/mbedtls/build_info.h:79:10: error: #include expects "FILENAME" or <FILENAME>
79 | #include MBEDTLS_CONFIG_FILE
| ^~~~~~~~~~~~~~~~~~~
Am I maybe missing a step in my local SDK builds and I need more than just ./fbt updater_package?
Reproduction
I'll outline the steps using my own app, but it's unlikely to be isolated to just that.
- Have a local debug SDK build done from FBT, in my case build with
./fbt updater_package. - Switch uFBT to use this local SDK -
ufbt update --local=h:\dev\flipper-zero\flipperzero-firmware\dist\f7-D\flipper-z-f7-sdk-local.zip --hw-target=f7 - Clone Flipper95 and set up
ufbt vscode_diston it. - Attempt to build the app with
ufbt. - Observe a
sdk_headers/f7_sdk/lib/mbedtls/include/mbedtls/build_info.h:79:10: error: #include expects "FILENAME" or <FILENAME>error. - Switch uFBT to the latest dev or release track via
ufbt update --channel=release/dev. - Attempt to build the app again.
- Observe the errror does not occur.
Target
f7 with latest dev release
Logs
No response
Anything else?
No response
Reactions are currently unavailable