We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63efe66 commit 5e12342Copy full SHA for 5e12342
cpu/rp2350_common/periph/uart.c
@@ -225,6 +225,10 @@ void isr_handler(uint8_t num)
225
226
if (status & UART_UARTMIS_RXMIS_BITS) {
227
uint32_t data = dev->UARTDR;
228
+ if (data != 0) {
229
+ printf("UART%u: Received data: 0x%02lx ('%c')\n", num, data,
230
+ (data >= 32 && data <= 126) ? (char)data : '.');
231
+ }
232
ctx[num].rx_cb(ctx[num].arg, (uint8_t)data);
233
}
234
cpu/rp2350_riscv/cpu.c
@@ -31,8 +31,8 @@
31
*/
32
void cpu_init(void)
33
{
34
- /* initialize the RISC-V core */
35
- riscv_init();
36
-
+ /* rp2350 common startup routine */
37
rp2350_init();
+ /* initialize the RISC-V core (Interrupts, FPU, etc) */
+ riscv_init();
38
0 commit comments