Skip to content

Commit

Permalink
Add FIFO join configuration for SWO initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka0x2730 committed Feb 24, 2025
1 parent 3935397 commit 4461b48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/source/bmp/traceswoasync.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ void swo_init(swo_coding_e swo_mode, uint32_t baudrate, uint32_t itm_stream_bitm
sm_config_set_in_pins(&traceswo_program_config, target_pins->tdo);
sm_config_set_jmp_pin(&traceswo_program_config, target_pins->tdo);
sm_config_set_in_shift(&traceswo_program_config, true, true, 8);
sm_config_set_fifo_join(&traceswo_program_config, PIO_FIFO_JOIN_RX);

tap_pio_common_disable_input_sync(TARGET_SWD_PIO, target_pins->tdo);

Expand Down

0 comments on commit 4461b48

Please sign in to comment.