Skip to content

Commit a623192

Browse files
committed
chips: rp2350: implement threadid
1 parent 55e40e3 commit a623192

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

arch/cortex-m33/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub use cortexm::nvic;
3131
pub use cortexm::scb;
3232
pub use cortexm::support;
3333
pub use cortexm::systick;
34+
pub use cortexm::thread_id;
3435
pub use cortexm::unhandled_interrupt;
3536
pub use cortexm::CortexMVariant;
3637

chips/rp2350/src/chip.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ impl<'a, I: InterruptService> Rp2350<'a, I> {
4949
impl<I: InterruptService> Chip for Rp2350<'_, I> {
5050
type MPU = cortexm33::mpu::MPU<8>;
5151
type UserspaceKernelBoundary = cortexm33::syscall::SysCall;
52+
type ThreadIdProvider = cortexm33::thread_id::CortexMThreadIdProvider;
5253

5354
fn service_pending_interrupts(&self) {
5455
unsafe {

0 commit comments

Comments
 (0)