nrf refactor#6815
Conversation
[no changelog]
…finition [no changelog]
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughBLE backup RAM usage for persisting the BLE Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| model | device_test | click_test | persistence_test |
|---|---|---|---|
| T2T1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3B1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3T1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3W1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
Latest CI run: 24822270347
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@core/embed/models/T3W1/boards/trezor_t3w1_revB.h`:
- Around line 240-247: NRF_UART_IRQN is incorrectly set to USART1_IRQn while
NRF_UART_INSTANCE and NRF_UART_INTERRUPT_HANDLER reference USART3; update the
IRQ define so NRF_UART_IRQN maps to USART3_IRQn to match NRF_UART_INSTANCE
(USART3) and NRF_UART_INTERRUPT_HANDLER (USART3_IRQHandler), ensuring nrf.c
enabling/disabling uses the correct interrupt line.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d63c177a-ea73-4c09-8c12-a3cb3b8342cd
📒 Files selected for processing (7)
core/embed/io/ble/stm32/ble.ccore/embed/io/nrf/stm32u5/nrf.ccore/embed/io/nrf/stm32u5/nrf_spi.ccore/embed/io/nrf/stm32u5/nrf_uart.ccore/embed/models/T3W1/boards/trezor_t3w1_revA.hcore/embed/models/T3W1/boards/trezor_t3w1_revB.hcore/embed/models/T3W1/boards/trezor_t3w1_revC.h




































this PR refactors nrf driver a bit, mainly focused on making the pinout configurable by board, and support ble usage without backup ram