matejcik
8d8cfd6692
build: fully replace mypy with pyright
...
[no changelog]
2022-01-07 21:41:17 +01:00
grdddj
9fc5bb546b
style(core): full pyright-based type-checking
...
Changes many fields to required -- as far as we were able to figure out,
signing would fail if these fields aren't provided anyway, so this
should not pose a compatibility problem.
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-07 21:41:17 +01:00
Martin Milata
52f719ad81
ci: add core unit test t1
...
[no changelog]
2021-11-24 15:36:34 +01:00
Jan Pochyla
2703d714c2
feat(core): add Rust UI components, layouts, text rendering
...
[no changelog]
2021-10-07 15:01:55 +02:00
matejcik
98f0496b2c
feat(core/stellar): add type checking to Stellar app
2021-09-24 10:30:19 +02:00
Martin Milata
81e66cb024
style(core/rust): enable clippy lints
...
[no changelog]
2021-09-23 14:22:40 +02:00
matejcik
d0efdfa715
fix(core/rust): enable "test" feature for Rust unit test
2021-09-21 12:43:31 +02:00
Martin Milata
a7a7570496
ci(core): enable rust unit tests
...
[no changelog]
2021-09-16 14:57:06 +02:00
matejcik
e80077e0a4
feat(core/ethereum): enable type-checking for Ethereum app
2021-09-10 15:09:03 +02:00
Martin Milata
31052007ff
refactor(core): enable mypy for apps.management
2021-08-04 15:03:11 +02:00
Martin Milata
312876ab67
refactor(core): convert apps.management.reset_device to layouts
2021-08-04 15:03:11 +02:00
Pavol Rusnak
23aa69caea
fix(core): unify Features.revision reporting with legacy
2021-06-04 12:50:49 +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
Pavol Rusnak
dfbdcf5b2b
feat(core): add support for olimex-arm-usb-tiny-h via openocd
...
[skip_ci]
2021-03-24 18:01:50 +01:00
Pavol Rusnak
b37e5c916f
fix(core): add missing targets to make clean
...
[skip_ci]
2021-03-22 22:06:29 +01:00
mcudev
b50f1e0b89
openocd: separate stlink configs deprecated - now combined
2021-03-09 11:41:55 +01:00
Ondrej Mikle
ed57320c86
build(flashing): nogui flag for flashing for newer JLink versions ( #1482 )
2021-02-16 14:35:06 +01:00
matejcik
bf562cfd4b
feat(core/misc): enable typing for misc app
2021-02-10 10:56:52 +01:00
matejcik
ccd241fe55
feat(core/cardano): enable typing for Cardano app
2021-02-10 10:56:52 +01:00
Pavol Rusnak
c25e5daad2
chore(core): use SYSTEM_VIEW as feature flag, not make flag
2021-01-26 20:53:38 +01:00
Ondrej Mikle
b51ed55ea8
build(core): parameters for SystemView instrumentation
2021-01-26 20:53:38 +01:00
Pavol Rusnak
6508d0a3c7
refactor(core): turn RDI into a firmware feature flag
2021-01-22 14:06:29 +01:00
matejcik
fe55f0c1f0
build(core): do not regenerate resources for a mypy run
2020-11-20 18:55:35 +01:00
Martin Milata
c89a8b7bd5
ci(core): add memory profiler job
2020-11-02 14:14:00 +01:00
matejcik
d89c42e139
feat(core): add more mypy targets
2020-09-23 16:00:10 +02:00
Martin Milata
c7934116ec
core: introduce TREZOR_MODEL flag ( #1233 )
2020-08-28 14:50:38 +02:00
Ondrej Mikle
8d3d3be09c
core/bootloader_ic: introduce CI bootloader for TT device tests ( #1182 )
2020-08-21 14:39:56 +02:00
Martin Milata
71c5bc4e3b
ci: fail if coverage falls under threshold
2020-08-18 21:08:46 +02:00
Pavol Rusnak
063aba910d
core: rename emulator to trezor-emu-core
2020-07-30 15:27:34 +02:00
matejcik
c3a61998cb
core: generate resdata by Mako, use if/elif trick to save RAM
2020-07-24 14:09:31 +02:00
Ondrej Mikle
10f0f107e0
core: Adds T1 core port FW flashing options for for openocd and jlink
2020-05-21 10:05:12 +02:00
Tomas Susanka
25d2d130a0
tests: use maxfail
option for fido2 tests
2020-05-12 09:48:23 +00:00
Tomas Susanka
53c43ac305
core/tests: initialize emu with slip14 before running fido2 test suite
2020-05-06 14:36:04 +00:00
Ondřej Vejpustek
c461692f3a
core: implement random delay interrupts
2020-04-16 11:51:28 +02:00
Ondrej Mikle
634ed5aabc
core: commands for flashing via JLink ( #911 )
2020-03-23 10:40:06 +01:00
Tomas Susanka
577daf09fe
tests: introduce --ui-check-missing to test/remove missing tests
2020-02-18 09:33:21 +01:00
matejcik
741c0c8888
core: improve stability of Monero test runner
2020-02-11 11:16:28 +01:00
matejcik
5d052678a6
build: make sure resources are built for 'make mypy'
2020-01-28 16:42:24 +01:00
matejcik
6cf48bf485
ci: use explicit trezor.log location
2020-01-23 18:43:20 +01:00
matejcik
ec192e9406
core: use better emulator test wrappers ( fixes #468 )
2020-01-23 18:43:20 +01:00
matejcik
1b04d1caa7
core/tools: drop tools obsoleted by headertool
2020-01-20 17:32:59 +01:00
Tomas Susanka
7c41b40dff
tests: introduce UI tests for core with diffs ( #784 )
...
tests: introduce UI tests for core with diffs
2020-01-10 20:39:31 +01:00
Milan Rossa
33b7e378c2
core/ci: add coverage target, introduce posttest stage
2020-01-09 15:26:40 +01:00
Milan Rossa
42f1af3aa4
core: add build target for debug unix build
2020-01-09 13:44:46 +01:00
Tomas Susanka
8796ca96b9
tests/ui: rename test-screen to ui
2020-01-07 09:13:08 +00:00
Tomas Susanka
56257eb6a5
tests/ui: code review fixes
2020-01-06 14:44:30 +00:00
Tomas Susanka
3a035a0ef8
tests: save screens directly to ui_tests; introduce recorded/actual dir
2020-01-03 14:28:27 +00:00
Tomas Susanka
eabd0da196
core/make; legacy: style
2020-01-03 14:28:27 +00:00
Tomas Susanka
51ef963738
tests: introduce UI tests for core
2020-01-03 14:28:27 +00:00
Tomas Susanka
11f8da2f2d
core: remove .sconsign.dblite on make clean
2019-11-21 14:01:15 +00:00