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
b4c95f4c16
fix(core): fix systick frequency computation by utilizing HSE_VALUE properly
...
[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
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
tychovrahe
42396dd007
refactor(core): make USE_xxx defines global
...
[no changelog]
2024-10-31 10:27:08 +01:00
tychovrahe
7374700c0a
refactor(core): ui configuration in build scripts
...
[no changelog]
2024-09-27 22:02:08 +02:00
tychovrahe
d412ce987e
refactor(core): use common layout.c file
...
[no changelog]
2024-09-27 09:49:20 +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
33c2bcbe52
refactor(core/embed): simplify ensure_compatible_settings
...
[no changelog]
2024-09-24 12:21:53 +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
cepetr
3460c4b891
refactor(core/embed): prepare touch drivers for low power mode
...
[no changelog]
2024-06-19 14:03:38 +02:00
cepetr
baff1691a0
feat(core/embed): prepare usb driver for low power mode
...
[no changelog]
2024-06-19 11:57:18 +02:00
cepetr
0bc1d1f706
refactor(core/embed): refactor usb driver
...
[no changelog]
2024-06-19 11:48:06 +02:00
cepetr
8e429b0352
refactor(core/embed): move usb driver to its own folder
...
[no changelog]
2024-06-19 11:48:06 +02:00
tychovrahe
ffe1ac7d7e
fix(core): use DISPLAY_RGB565 macro consistently
...
[no changelog]
2024-05-21 19:01:31 +02:00
tychovrahe
9166dc330e
refactor(core): reorganize model-specific files in embed/models
...
[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