1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-28 10:52:32 +00:00
Commit Graph

170 Commits

Author SHA1 Message Date
tychovrahe
80a18f1156 fix(core/prodtest): fix backlight setting in prodtest
[no changelog]
2025-05-30 14:39:10 +02:00
tychovrahe
b8b2d7cf13 feat(core/bootloader): add separate bootloader-entry haptic effect
[no changelog]
2025-05-30 14:38:56 +02:00
tychovrahe
a688bae64b fix(core/bootloader): fix entering bootloader on battery powered devices
[no changelog]
2025-05-30 14:38:56 +02:00
kopecdav
7d3d2e877f refactor(core): add power manager api comments
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
b97d05247c fix(core/prodtest): fix power off led signalization
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
378b81b663 feat(core/prodtest): add command to adjust SOC limit
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
7de6e438eb fix(core/prodtest): adjust power manager command documentation
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
33b8b2c8f7 fix(core): fix kernel power manager initialization
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
b634eaca91 feat(core/bootloader): adjust boot sequence for battery devices
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
a4eaf4dc27 feat(core): respect manufacturing mode in power on sequence
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
2e23349419 feat(core/prodtest): limit charging in prodtest to 70% SOC
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
e01edaad4a feat(core/prodtest): add fuel gauge to prodtest welcome screen
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
26dc39b941 feat(core/bootloader): add power management to bootloader
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
7fa4e2d510 fix(core/prodtest): fix power management initialization in prodtest
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
c89ca35bbc feat(core): event polling for power manager
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
0cd38186bf fix(core): adjust to powerctl->power manager transition
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
48ef573649 refactor(core): remove recursion from power manager state machine automat
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
a530fb2c76 feat(core): add pm_charging_set_max_current function to API
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
0e228caac1 feat(core) add prodtest precharge test [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
4b9fb839cd refactor(core): split pmic as a separate feature
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
58e31be4ec feat(core): add power_state into prodtest pm_report
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
892a1b8171 style(core): fix cstyles [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
a3ab75b5aa fix(core): fix prodtest to not hibernate with external power source [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
f6bb7684cc chore(core): add machine readable output of pm report [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
8e7d5a2a01 chore(core): unify prodtests under power_manager
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
39c5c9b068 feat(core): remove powerctl, transfer all subordinate libraries into power manager
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
e1503eee53 fix(core): add power_manager into the prodtest
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
614528acb6 refactor(core): refactor pm prodtest to new namespace, add watch test
[no changelog]
2025-05-30 14:04:45 +02:00
kopecdav
0fc4ad037e feat(core): Add power manager watch prodtest [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
6745cf01a5 feat(core): add battery SoC into power manager report [no changelog] 2025-05-30 14:04:45 +02:00
kopecdav
5b3c46c81f feat(core): Add power manager prodtest
[no changelog]
2025-05-30 14:04:45 +02:00
tychovrahe
a6fda4d814 feat(core/prodtest): add reboot to bootloader command
[no changelog]
2025-05-30 13:34:21 +02:00
tychovrahe
5c3cf0004e chore(core): bump FW and fix version due to storage migration
[no changelog]
2025-05-30 13:12:58 +02:00
tychovrahe
70e5561c3f feat(core): adjust bootloader locking for tropic-enabled models
[no changelog]
2025-05-27 13:38:56 +02:00
tychovrahe
539a0d08c8 fix(core/bootloader): fix BLE communication error message
[no changelog]
2025-05-27 13:01:29 +02:00
tychovrahe
6bdac7614f feat(core): support handling of tropic keys in secret sector
[no changelog]
2025-05-19 11:41:36 +02:00
tychovrahe
e4a31ab0e3 feat(core/prodtest): report build version in prodtest intro and version 2025-05-19 09:34:26 +02:00
tychovrahe
048970d059 fix(core/bootloader): fix reboot trezor when called from waiting for host
[no changelog]
2025-05-16 14:56:23 +02:00
Roman Zeyde
556e29b068 perf(core): enable MICROPY_ROM_TEXT_COMPRESSION
Also, use `__builtin_strcmp` instead of `strcmp`.

[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
ca943aeb8b chore(core): don't use main() in core/embed/projects/firmware/main.c
It would allow compile it without `-ffreestanding`.

[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
7cdb0cf244 feat(vendor): update MicroPython to allow excluding line numbers from bytecode
Setting `MICROPY_ENABLE_SOURCE_LINE=0` helps reducing the debug firmware size by ~2%:
```
$ TREZOR_MODEL=T3T1 MICROPY_ENABLE_SOURCE_LINE=0 PYOPT=0 make -C core build_firmware
<snip>
           FLASH:     1,629,456 B      1664 KB     95.63%
```

Before this PR:
```
           FLASH:     1,662,224 B      1664 KB     97.55%
```

[no changelog]
2025-05-13 17:07:37 +03:00
tychovrahe
e641fb1c25 fix(core): fix sysevents polling deadlines
[no changelog]
2025-05-12 08:58:58 +02:00
tychovrahe
d6220d72a5 fix(core/bootloader): fix null ios handling in host control
[no changelog]
2025-05-12 08:58:46 +02:00
cepetr
b9bb71a243 refactor(core): prepare board_capabilities for secmon api
[no changelog]
2025-05-12 07:57:46 +02:00
tychovrahe
c319e5fa20 refactor(core/bootloader): streamline initializing & deinitializing communication interfaces in bootloader
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
4f783c0a45 fix(core/prodtest): fix nrf communication tests
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
3fe0c90c1c feat(core): change internal communication with NRF to SPI only
[no changelog]
2025-05-07 16:36:40 +02:00
tychovrahe
54202b9f53 feat(nordic): send busy response when trezor is not listening to BLE messages
[no changelog]
2025-05-07 16:08:46 +02:00
tychovrahe
70014e103a feat(core/bootloader): add power-off item to the bootloader menu
[no changelog]
2025-05-07 15:23:46 +02:00
tychovrahe
37687f1815 feat(core): add BLE to bootloader 2025-05-07 14:54:28 +02:00