1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 03:48:09 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
Martin Milata
e7c2800798 build: fix compilation on darwin
[no changelog]
2023-05-10 20:59:00 +02:00
Martin Milata
f403b4c511 ci(nix): update to llvmPackages_14 2023-04-26 16:41:50 +02:00
Pavol Rusnak
a0aa414aa0 ci: bump nixpkgs to latest nixpkgs-unstable
[no changelog]
2023-04-19 13:05:03 +02:00
Dusan Klinec
eacd15383b chore: update trezor_tests binary
- tests revamp, always use passphrase flow with transaction signing, more passphrase-related tests, pin test, invalid passphrase test. Chain generation optimized
2023-03-13 16:09:52 +01:00
Martin Milata
7408f169cb ci: drop cached-nix-shell 2023-02-21 10:23:46 +01:00
Pavol Rusnak
e4661e8f05
fix(nix): cached-nix-shell is not available on darwin
[no changelog]
2023-02-11 14:53:18 +01:00
Martin Milata
1e4b42792d ci(nix): use cached-nix-shell for speed
[no changelog]
2023-02-08 23:01:35 +01:00
Dusan Klinec
90771ebb59 fix(xmr): fix tx sending to an integrated address 2022-09-30 13:47:06 +02:00
matejcik
20ac679651 build(core/rust): enable panic_immediate_abort for firmware 2022-08-23 11:26:34 +02:00
matejcik
612d52e298 build(core): switch to nightly Rust 2022-08-23 11:26:34 +02:00
matejcik
459270ef3f build: update Rust overlay, switch to Rust stable 1.63 2022-08-12 14:56:36 +02:00
Martin Milata
16999d6b48 ci: minor caching fixes 2022-07-28 14:47:53 +02:00
Martin Milata
888ff23181 chore(nix): don't install autoPatchelfHook on MacOS 2022-07-09 21:04:44 +02:00
Dusan Klinec
2d36c4e8f3 fix(core/monero): add missing view_tags to hf15 2022-06-28 16:21:29 +02:00
Martin Milata
0112d0135a ci(nix): update to latest nixpkgs-unstable
Uses new implementation of autoPatchelf which only works on directories.
2022-06-21 15:58:06 +02:00
Dusan Klinec
1e9acf10fa fix(xmr): remove inv8 optimization as in xmr master 2022-06-08 08:59:34 +02:00
Dusan Klinec
98ec1fb067 chore(core/monero): update test binary to newest version
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2022-05-16 12:37:24 +02:00
Pavol Rusnak
8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
for firmware builds we still use arm-none-eabi-gcc via $(PREFIX)gcc

[no changelog]
2022-04-27 15:48:14 +02:00
Martin Milata
2a3f0c16bd ci(monero): update test executable, enable more tests 2022-04-07 16:28:12 +02:00
Martin Milata
0407e78e8c ci: use autoPatchelfHook for emulators from pinned nixpkgs 2022-03-29 12:52:34 +02:00
Martin Milata
7f97ea4961 chore(nix): export library path for macos 2022-03-22 16:08:50 +01:00
Martin Milata
2e3ce4fa1a docs(core): bump MSRV
[skip_ci]
2022-03-08 12:53:12 +01:00
grdddj
b77f4b7dbc feat(shell.nix): enable rust extensions in VS Code 2022-03-08 10:32:30 +01:00
Martin Milata
5632567c06 ci: fix HWI test bitcoind sources 2022-03-03 13:59:47 +01:00
Pavol Rusnak
b9bbd5fcd7 chore: update dependencies
[no changelog]

Co-Authored-By: Martin Milata <martin@martinmilata.cz>
2022-02-15 13:28:03 +01:00
vdovhanych
48d7f71ccc ci: add hwi tests for core and legacy builds 2022-02-08 14:18:08 +01:00
Martin Milata
3100961dda ci(nix): update to pyright-1.1.204 2022-01-07 21:41:17 +01:00
grdddj
3ed92a72bb feat(ci): running connect tests against current branch 2021-12-10 14:18:21 +01:00
Martin Milata
2b7b4b13bd chore(nix): update rust to 1.57 2021-12-07 17:12:43 +01:00
Martin Milata
e43ff4ba8e ci(nix): prefer gcc over clang for symlinks with same name 2021-12-06 16:25:59 +01:00
Pavol Rusnak
4419572437
ci(nix): use gcc-arm-embedded on aarch64-darwin too
it is now enabled in nixpkgs (via rosetta)
2021-12-06 00:21:42 +01:00
Pavol Rusnak
8428456df6
ci(nix): use explicit versions for clang and gcc (#1969) 2021-12-03 12:49:08 +01:00
Martin Milata
ebfaff7904 ci(nix): keep python3.6 from old nixpkgs 2021-11-19 16:26:31 +01:00
Martin Milata
0e505ec78b ci(nix): update to latest nixpkgs-unstable 2021-11-19 10:54:31 +01:00
grdddj
6eac12e80e feat(shell.nix): adding pyright as a dependency 2021-11-19 10:54:31 +01:00
Pavol Rusnak
a3b83685ef fix(core): fix emulator build on Apple Silicon
[no changelog]
2021-11-08 11:00:04 +01:00
Martin Milata
81e66cb024 style(core/rust): enable clippy lints
[no changelog]
2021-09-23 14:22:40 +02:00
Martin Milata
c80c8edf70 ci(core): add rustfmt to style checks
[no changelog]
2021-09-16 14:57:06 +02:00
Martin Milata
7832b2f140 chore(nix): update rust to 1.55 2021-09-16 13:42:15 +02:00
Pavol Rusnak
08609cf9a1 chore(nix): update rust to 1.54 2021-09-08 13:27:52 +02:00
Pavol Rusnak
acb01916db ci(nix): update nixpkgs, use latest stable rust (1.53.0) 2021-07-14 17:34:12 +02:00
vdovhanych
6b3e743373 ci: add duration timestamps on all test jobs 2021-06-09 10:00:24 +02:00
Martin Milata
f771dc6f60 ci(nix): switch to stable rust in shell.nix
Switch to https://github.com/oxalica/rust-overlay for rustc binaries.

Drop x86_64-unknown-linux-gnu from target list as host is included by
default.
2021-05-21 13:42:10 +02:00
Pavol Rusnak
709d9e0dcd
fix(ci): update to latest nixpkgs-unstable 2021-05-07 17:11:58 +02:00
Jan Pochyla
6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
core: Remove dangling module decls

core: Use new Cargo feature resolver, use external MacOS debug info

core: Rust docs improvements

core: Upgrade bindgen

core: Add test target to Rust

ci: build rust sources

build(core): .ARM.exidx.text.__aeabi_ui2f in t1 firmware size

It's an unwind table for softfloat function inserted by rustc, probably
can be removed to save 8 bytes:
599c58db70/link.x.in (L175-L182)

scons: Remove dead code

core: Move Rust target to build/rust

core: Replace extern with a FFI version

core: Add some explanatory Rust comments

core: Use correct path for the Rust lib

core: Remove Buffer::as_mut()

Mutable buffer access needs MP_BUFFER_WRITE flag. TBD in the Protobuf PR.

core: Improve docs for micropython::Buffer

core: Minor Rust docs changes

core: Rewrite trezor_obj_get_ll_checked

core: Fix incorrect doc comment

core: Remove cc from deps

fixup! core: Rewrite trezor_obj_get_ll_checked

core: update safety comments
2021-05-05 16:00:21 +02:00
Martin Milata
88cdb72aec ci: bump nixpkgs version to latest 2021-04-06 22:06:12 +02:00
Martin Milata
8e00904a3f ci: unified shell.nix for hardware tests 2021-04-06 22:06:12 +02:00
Martin Milata
4adbb4e8e1 ci: use same pinned nixpkgs for hardware tests 2021-02-05 12:58:21 +01:00
Pavol Rusnak
1f5d8b89d7
nix: stdenv.lib -> lib
[skip_ci]
2021-01-19 17:01:47 +01:00
Tomas Susanka
677465eecd ci: update Monero test binary to latest 0.17.1.9 2021-01-13 18:12:13 +01:00