aboutsummaryrefslogtreecommitdiff
path: root/examples/rp23/src/bin/uart_buffered_split.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-02-16 22:47:08 +0000
committerGitHub <[email protected]>2025-02-16 22:47:08 +0000
commitd01a299321e7ac3a7a0d4e4301f76ba38f7a2eae (patch)
tree6b8df10331cc3666a02b402f6b139cdebe2833a0 /examples/rp23/src/bin/uart_buffered_split.rs
parenta785bd09fcb1e2a1feb38c37feb93b6e2b222f21 (diff)
parent9495ec8ae435a1642c9f65b0967cd0a2accf1320 (diff)
Merge pull request #3890 from 9names/imagedef-feature
rp: add ImageDef features
Diffstat (limited to 'examples/rp23/src/bin/uart_buffered_split.rs')
-rw-r--r--examples/rp23/src/bin/uart_buffered_split.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/rp23/src/bin/uart_buffered_split.rs b/examples/rp23/src/bin/uart_buffered_split.rs
index 9ed130727..468d2b61a 100644
--- a/examples/rp23/src/bin/uart_buffered_split.rs
+++ b/examples/rp23/src/bin/uart_buffered_split.rs
@@ -10,7 +10,6 @@
10use defmt::*; 10use defmt::*;
11use embassy_executor::Spawner; 11use embassy_executor::Spawner;
12use embassy_rp::bind_interrupts; 12use embassy_rp::bind_interrupts;
13use embassy_rp::block::ImageDef;
14use embassy_rp::peripherals::UART0; 13use embassy_rp::peripherals::UART0;
15use embassy_rp::uart::{BufferedInterruptHandler, BufferedUart, BufferedUartRx, Config}; 14use embassy_rp::uart::{BufferedInterruptHandler, BufferedUart, BufferedUartRx, Config};
16use embassy_time::Timer; 15use embassy_time::Timer;
@@ -18,10 +17,6 @@ use embedded_io_async::{Read, Write};
18use static_cell::StaticCell; 17use static_cell::StaticCell;
19use {defmt_rtt as _, panic_probe as _}; 18use {defmt_rtt as _, panic_probe as _};
20 19
21#[link_section = ".start_block"]
22#[used]
23pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe();
24
25bind_interrupts!(struct Irqs { 20bind_interrupts!(struct Irqs {
26 UART0_IRQ => BufferedInterruptHandler<UART0>; 21 UART0_IRQ => BufferedInterruptHandler<UART0>;
27}); 22});