akopachov / flipper-zero_authenticator

Software-based TOTP/HOTP authenticator for Flipper Zero device.
GNU General Public License v3.0
579 stars 26 forks source link

Building on Linux for Official FW #211

Closed yasbean closed 1 year ago

yasbean commented 1 year ago

Describe the bug I am trying to compile the latest version on linux using fbt (I do not have powershell) but the totp/features_config.h has been moved. When I build, I receive an ApiTooNew error. Where can I set the build firmware version?

Device information (please complete the following information):

akopachov commented 1 year ago

Starting from v5 I updated all the necessary code to use uFBT.

Once you install it, all you need to do to build for latest official stable FW is:

cd totp
ufbt update --channel=release
ufbt

I also setup "Nightly build" action which once per day builds latest application version using latest firmwares, so you may download and use its artifacts too

Just in case if you need very specific version of official stable firmware, then it is also possible using uFBT, just take a look at their "Managing the SDK" section

yasbean commented 1 year ago

That has resolved it. Thank you!