matejcik
b35854471b
build(core): improve CPPDEFINES quoting
...
Here we change all FOO=VALUE defines to be tuples ("FOO", "VALUE").
Also, VALUE is always the raw string you want to end up in the C file,
instead of attempting to shell-escape it while specifying.
By all rights scons _should_ be using shlex.quote() on the CPPDEFINES,
but it doesn't, so we hack it by specifying the define prefix as `-D'`
and suffix as `'`. That way the arguments in shell are '-escaped, and
we're (currently) not using ' in any argument value so this should work
fine.
At the same time, when passing the flags to cargo, we can shlex.quote
the whole thing and get the right strings passed all the way into
build.rs -- as long as no argument contains a comma, which is the split
character...
2024-11-21 14:33:52 +01:00
cepetr
089db2cadf
refactor(core): restructure embed folder
...
[no changelog]
2024-11-18 09:41:02 +01:00
cepetr
d4286ff584
chore(core): remove legacy drawing code (c)
...
[no changelog]
2024-11-13 12:15:38 +01:00
cepetr
4929ca1c66
fix(core): fix bootloader_emu macOS build
...
[no changelog]
2024-11-04 14:05:37 +01:00
tychovrahe
42396dd007
refactor(core): make USE_xxx defines global
...
[no changelog]
2024-10-31 10:27:08 +01:00
cepetr
0bacbdf355
fix(emulator): fix bootloader emulator build on MacOS
...
[no changelog]
2024-10-30 14:18:34 +01:00
cepetr
12a9dca5e1
refactor(emulator): improve SDL event polling logic
...
[no changelog]
2024-10-22 09:06:21 +02:00
cepetr
5845c665af
refactor(core): refactor unit properties detection
...
[no changelog]
2024-10-22 08:30:49 +02:00
tychovrahe
d71d9e9c34
feat(core): add T3W1 emulator build
...
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
7374700c0a
refactor(core): ui configuration in build scripts
...
[no changelog]
2024-09-27 22:02:08 +02:00
tychovrahe
94af4d98f0
chore(core): clean sconscripts
...
[no changelog]
2024-09-27 09:49:20 +02:00
cepetr
35c6f52133
refactor(core/embed): introduce system, tasks, applets and emergency mode
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
1c991339ce
refactor(core/embed): split firmware into kernel & coreapp
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
7f3cff04f1
refactor(core/embed): introduce new mpu driver
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
0666e6ea9a
refactor(core/embed): rename boot_args to bootuils
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
1443f86983
feat(core/embed): introduce systick and systimer drivers
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
a3fcc62655
refactor(core/build): remove hardcoded build path
...
[no changelog]
2024-09-24 12:21:53 +02:00
tychovrahe
b685820fb3
feat(core): implement firmware downgrade protection
2024-09-03 13:07:34 +02:00
tychovrahe
c1864a2a91
refactor(core): enclose monotonic counter to platform specific module
...
[no changelog]
2024-09-03 13:07:34 +02:00
tychovrahe
6caafd6642
fix(core/bootloader): fix T3B1 bootloader UI - unsafe screen, boot image
2024-09-02 15:50:51 +02:00
tychovrahe
384615c047
fix(core): fix button alignment in T3T1 bootloader
...
[no changelog]
2024-08-29 10:49:32 +02:00
tychovrahe
c42c268e05
fix(core): fix dma2d includes and initialization with respect to new rendering
...
[no changelog]
2024-08-07 18:11:29 +02:00
vdovhanych
bb92a6b56a
chore: fix hardcoded x86 build
2024-08-06 15:34:29 +02:00
tychovrahe
655478c3e0
fix(core): fix missing TS3 font in bootloader
...
[no changelog]
2024-07-16 15:56:28 +02:00
tychovrahe
78b4017859
feat(core): add support for T3B1
2024-07-16 15:56:28 +02:00
cepetr
3460c4b891
refactor(core/embed): prepare touch drivers for low power mode
...
[no changelog]
2024-06-19 14:03:38 +02:00
cepetr
5fc3c6e617
refactor(core): improve and simplify error handling
...
[no changelog]
2024-06-17 16:57:33 +02:00
Martin Milata
d6c502f27e
feat(core): add fonts for T3T1
2024-05-31 11:59:52 +00:00
tychovrahe
76e98ecc3d
fix(core): fix DISC2 build
...
[no changelog]
2024-05-21 19:01:31 +02:00
tychovrahe
0b5e8ed480
refactor(core): introduce emulator boards
...
[no changelog]
2024-05-21 19:01:31 +02:00
tychovrahe
e6f2fa711e
refactor(core): reorganize model specific files in site-scons
...
[no changelog]
2024-05-21 19:01:31 +02:00
tychovrahe
a86f3604ca
fix(core): fix TS3 bootloader crash when entering menu
...
[no changelog]
2024-05-17 10:42:54 +02:00
cepetr
3336e3902f
feat(core): introduce new display drivers
...
[no changelog]
2024-05-17 09:17:37 +02:00
Ondřej Vejpustek
756d250015
chore(core): initialize automatic variables to zero
...
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
6b81d24b5c
chore(core): separate crypto sources in build scripts
...
[no changelog]
2024-05-10 20:06:28 +02:00
obrusvit
43e759ea0b
refactor(core): apply uppercased fonts in build
...
[no changelog]
2024-05-08 22:46:58 +02:00
tychovrahe
ea1c32f90e
fix(core/rust): fix bindgen macros generation
...
[no changelog]
2024-04-26 13:36:58 +02:00
tychovrahe
d349c44a58
refactor(core): generate macros for rust bindgen automatically
...
[no changelog]
2024-04-25 13:20:07 +02:00
Martin Milata
804d97c9d8
feat(core): bootloader: T3T1 startup UI
...
[no changelog]
2024-04-12 12:25:46 +00:00
tychovrahe
c277dbcfcb
feat(core): T3T1 loader
...
[no changelog]
2024-04-12 12:25:46 +00:00
Martin Milata
cf00726152
feat(core): copy T2T1 bootloader UI for T3T1
2024-04-12 12:25:46 +00:00
Martin Milata
b5fa5a3f3a
feat(core): add fonts for T3T1 bootloader
...
[no changelog]
2024-04-12 12:25:46 +00:00
tychovrahe
1600759457
refactor(core): simplify secret.h api, hide platform differences
...
[no changelog]
2024-04-11 16:13:58 +02:00
tychovrahe
ed6aa48726
feat(core): use confidential section for confidential and sensitive data
...
[no changelog]
2024-04-05 18:54:30 +02:00
Martin Milata
ebb480ef29
fix(core): T3T1 emulator
...
[no changelog]
2024-03-12 20:55:23 +00:00
matejcik
ccf4b7e9eb
fix(core/rust): convert bitcoin_only to an additive feature
...
universal_fw enables more features, as opposed to bitcoin_only removing features
2024-03-08 13:17:12 +01:00
tychovrahe
a71a608ea7
feat(core): add basic support for T3T1
2024-02-29 23:05:56 +01:00
cepetr
4cf781abb2
chore(core, legacy, storage): refactor flash drivers
...
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
271bed8bf6
chore(core): use cortex-m33 stack protection
2024-02-29 23:05:56 +01:00
cepetr
c4c571d837
chore(core): refactor boot_args
...
[no changelog]
2024-02-29 23:05:56 +01:00