stakwork / sphinx-key

Lightning hardware signer on ESP32
29 stars 1 forks source link

no std factory #136

Closed irriden closed 11 months ago

irriden commented 11 months ago

Biggest highlight here is 50% reduction in binary size of the factory app, with no tradeoff in performance. This also means that the main app binary now has 262k more bytes of room.

I also get rid of the workspace, as factory is now no-std, while sphinx-key is std.

To keep the "from scratch" build time the same, I explicitly specify the esp-idf install dir via ESP_IDF_TOOLS_INSTALL_DIR so that both factory and sphinx-key can use the same installation, and not have to download it twice.

irriden commented 11 months ago

Merged into master in 9773e4bec2003cf2588ec6feeb629fa8bbfca680