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
tychovrahe
007a9a4f3b
chore(core): remove residual optiga_hal symlink
...
[no changelog]
2024-11-21 13:04:13 +01:00
tychovrahe
a7f6930c78
feat(core): add support for haptics on T3W1
...
[no changelog]
2024-11-20 20:01:52 +01:00
tychovrahe
0f0f54f185
feat(core): support optiga on T3W1
...
[no changelog]
2024-11-20 11:17:35 +01:00
tychovrahe
b4c95f4c16
fix(core): fix systick frequency computation by utilizing HSE_VALUE properly
...
[no changelog]
2024-11-20 11:17:35 +01:00
tychovrahe
10687e8fa0
feat(core): add power button to T3W1 board rev A
...
[no changelog]
2024-11-20 11:17:35 +01:00
tychovrahe
d9d4fc0187
feat(core): implement RGB LED driver for T3W1
...
[no changelog]
2024-11-20 11:17:35 +01:00
cepetr
089db2cadf
refactor(core): restructure embed folder
...
[no changelog]
2024-11-18 09:41:02 +01:00
cepetr
82bc0ef186
refactor(core): define USE_xxx consistently with feature flags
...
[no changelog]
2024-11-18 09:41:02 +01:00
tychovrahe
fa953d7296
chore(core): switch T3W1 support to U5
...
[no changelog]
2024-11-14 09:30:20 +01:00
tychovrahe
5c101ab800
feat(core): switch DISC2 to use newer U5G variant
...
[no changelog]
2024-11-14 09:30:20 +01:00
cepetr
c11dc5dcd3
refactor(core): rename xframebuffer to framebuffer
...
[no changelog]
2024-11-13 12:15:38 +01:00
cepetr
d4286ff584
chore(core): remove legacy drawing code (c)
...
[no changelog]
2024-11-13 12:15:38 +01:00
cepetr
c997201754
refactor(core): simplify ensure_compatible_settings
...
[no changelog]
2024-11-04 14:05:37 +01:00
cepetr
387d98d6e4
refactor(core): get rid of STM32U5 in platform indep code
...
[no changelog]
2024-11-04 14:05:37 +01:00
tychovrahe
d38c2e1790
chore(core): drop obsolete boards
...
[no changelog]
2024-10-31 10:27:08 +01:00
tychovrahe
42396dd007
refactor(core): make USE_xxx defines global
...
[no changelog]
2024-10-31 10:27:08 +01:00
cepetr
4af600d422
refactor(core): introduce USE_TRUSTZONE
...
[no changelog]
2024-10-31 10:25:31 +01:00
tychovrahe
1c7965421f
feat(core): switch to 32 bit colors in T3W1 emulator
...
[no changelog]
2024-10-23 14:42:13 +02:00
cepetr
5fd1f0e4c6
refactor(core): decompose lowlevel module
...
[no changelog]
2024-10-22 09:06:21 +02:00
cepetr
f6647ab3b7
refactor(core): introduce startup_init.c
...
[no changelog]
2024-10-22 09:06:21 +02:00
cepetr
bfa3ea4e5e
refactor(core): remove common.c on all platforms
...
[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
cepetr
63f5f72804
feat(core): implement syscall verifiers
...
[no changelog]
2024-10-22 07:41:30 +02:00
tychovrahe
d71d9e9c34
feat(core): add T3W1 emulator build
...
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
a0c885d244
fix(core): fix T3T1 MCU definition for emulator
...
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
915d4fca94
feat(core): add support for T3W1, on F4
...
[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
tychovrahe
d412ce987e
refactor(core): use common layout.c file
...
[no changelog]
2024-09-27 09:49:20 +02:00
tychovrahe
e13d4a45a6
chore(core): remove residual support for T1B1 in core
...
[no changelog]
2024-09-25 09:18:01 +02:00
tychovrahe
28f420189a
refactor(core): combined build of coreapp + kernel, linker scripts refactoring
...
[no changelog]
2024-09-24 12:21:53 +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
33a94d945d
chore(core/embed): remove unused legacy i2c driver
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
91649dc7cb
feat(core/embed): introduce non-blocking i2c drivers
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
2bb5b5c0ce
refactor(core/embed): introduce fwutils module
...
[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
2fd5aca05c
refactor(core/embed): remove supervise module
...
[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
4312c08612
refactor(core/embed): extract hw entropy logic to its own module
...
[no changelog]
2024-09-24 12:21:53 +02:00
cepetr
33c2bcbe52
refactor(core/embed): simplify ensure_compatible_settings
...
[no changelog]
2024-09-24 12:21:53 +02:00
tychovrahe
c1864a2a91
refactor(core): enclose monotonic counter to platform specific module
...
[no changelog]
2024-09-03 13:07:34 +02:00
tychovrahe
c7eabe3088
fix(core): update display initialization sequence on T3T1
...
[no changelog]
2024-08-28 11:03:20 +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
tychovrahe
7307c47b94
chore(core): support new rendering on T3B1
...
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
1212a7319a
fix(core): T3T1: adjust touch coordinates
2024-07-25 12:37:21 +03:00
tychovrahe
78b4017859
feat(core): add support for T3B1
2024-07-16 15:56:28 +02:00
Andrew Kozlik
9420b38a35
feat(core): Account for Optiga throttling delay in PIN countdown.
2024-07-09 16:52:50 +02:00
tychovrahe
3bc9e23260
feat(core): add support for 32bit colors in UI
...
[no changelog]
2024-07-09 11:44:21 +02:00