trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

generate defines for rust bindged automatically

Open TychoVrahe opened this issue 1 year ago • 0 comments

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

TychoVrahe avatar Feb 08 '24 10:02 TychoVrahe