trezor-firmware
trezor-firmware copied to clipboard
generate defines for rust bindged automatically
Rust bindgen needs to be passed appropriate defines and include paths to work correctly. These are currently duplicated in both build.rs and board definitions. We should create an universal tool to pass all (necessary?) defines to rust bindgen automatically.
https://github.com/trezor/trezor-firmware/pull/3228#discussion_r1450475121