Overview of each dev layer and their purpose.
Include and compile hardware drivers for the platform.
Core project dependencies are declared in idf_component.yml.
OTFs have to be converted to TTF first.
see: https://convertio.co/otf-ttf/
Use the official web-based converter: https://lvgl.io/tools/fontconverter
I am the volunteer Lead Dev for SeedSigner. We are NOT a company. The FOSS project makes no profit whatsoever from our work.
Your support to help fund my open-source dev work would be hugely appreciated!
| def start(self): | |
| """Displays a screensaver until user presses a button or touch""" | |
| anim_frame = 0 | |
| initial_offset = (TOTAL_LINES - len(SPLASH)) // 2 | |
| fg_color = theme.fg_color | |
| bg_color = theme.bg_color | |
| self.ctx.display.clear() | |
| button_press = None | |
| min_distance = 5 # fixed chars or rows |
| """ | |
| Copy-paste of various mods to the ST7789 driver to facilitate testing. | |
| """ | |
| # Gamma curve constants for ST7789 display | |
| # Each tuple contains (positive_gamma_values, negative_gamma_values) | |
| GAMMA_CURVES = [ | |
| # Original SeedSigner gamma curve for the Waveshare display hat | |
| ( | |
| [0xD0, 0x04, 0x0D, 0x11, 0x13, 0x2B, 0x3F, 0x54, 0x4C, 0x18, 0x0D, 0x0B, 0x1F, 0x23], |
| """ | |
| Bitcoin Power Law: | |
| 1.0117e-17 * (days since genesis block)^5.82 | |
| Bitcoin Power Law Floor: | |
| (power law) * 0.42 | |
| Note: Model projections said to be invalid beyond 2040. | |
| """ | |
| import argparse |
| #!/bin/bash | |
| # Requires: apt install time | |
| export APP_REPO = https://github.com/kdmukai/seedsigner.git | |
| export APP_BRANCH = 0.8.6 | |
| touch results.txt | |
| for device in pi0 pi02w pi2 pi4 | |
| do | |
| ccache -d /root/.buildroot-ccache --zero-stats |
TODO:
lvgl_micropython compilation for esp32s3.Only works on linux. I've repeatedly tried to find a sequence that works on macOS but haven't had any success.
This script will remove empty space from the backup img which ensures that you'll be able to write the img back out to an SD card that's the same size as the source SD card.
git clone https://github.com/Drewsif/PiShrink.git| def get_mnemonic_from_coin_flip_indices(coin_flips: str, wordlist_language_code: str = SettingsConstants.WORDLIST_LANGUAGE__ENGLISH) -> list[str]: | |
| """ | |
| Interprets a string of 128 or 256 0s and 1s as 11-bit bip39 wordlist indices and | |
| returns the 12- or 24-word mnemonic. | |
| Indices are 0-based (i.e. b'00000000000' == 0000 == "abandon") | |
| Verify with iancoleman.io/bip39 using: | |
| * "Binary" mode | |
| * "Mnemonic Length" = "Use raw entropy" |