blbosti
This commit is contained in:
@@ -59,6 +59,7 @@
|
|||||||
echo "cargo flash --release --chip STM32U575ZI"
|
echo "cargo flash --release --chip STM32U575ZI"
|
||||||
echo "cargo run --bin main"
|
echo "cargo run --bin main"
|
||||||
echo "probe-rs run --chip STM32U575ZITxQ target/thumbv8m.main-none-eabihf/release/main"
|
echo "probe-rs run --chip STM32U575ZITxQ target/thumbv8m.main-none-eabihf/release/main"
|
||||||
|
echo "probe-rs erase --chip STM32U575ZITxQ"
|
||||||
echo "target/**/build/embassy-stm32-*/out/_generated.rs"
|
echo "target/**/build/embassy-stm32-*/out/_generated.rs"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ pub async fn encode_uart_frames<'a>(
|
|||||||
#[task]
|
#[task]
|
||||||
pub async fn tx_dma_task(
|
pub async fn tx_dma_task(
|
||||||
ch: Peri<'static, GPDMA1_CH0>,
|
ch: Peri<'static, GPDMA1_CH0>,
|
||||||
register: *mut u32, // Either odr or bsrr
|
register: *mut u32, // ODR/BSRR
|
||||||
tx_ring_mem: &'static mut [u32],
|
tx_ring_mem: &'static mut [u32],
|
||||||
pipe_tx: &'static Pipe<CriticalSectionRawMutex, 1024>,
|
pipe_tx: &'static Pipe<CriticalSectionRawMutex, 1024>,
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user