mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
introduce support for new ngff_cardem board
This adds support for the new ngff_cardem board, a board that basically combines a ngff breakout board with a built-in SIMtrace2. Cardem works, but depending on the modem it might need a adjusted ATR to ensure a lower baud rate is used by the modem, high rates might lead to weird power cycling of the card after a few transfers. Trace was also tested and appears to work as expected. Change-Id: Ia96124fbe8a752c98e7fd4096d542a3b2b9bc255
This commit is contained in:
@@ -71,8 +71,13 @@ static const conf_func config_func_ptrs[] = {
|
||||
.init = mode_cardemu_init,
|
||||
.exit = mode_cardemu_exit,
|
||||
.run = mode_cardemu_run,
|
||||
#if defined (ngff_cardem)
|
||||
.usart0_irq = mode_cardemu_usart1_irq,
|
||||
.usart1_irq = mode_cardemu_usart0_irq,
|
||||
#else
|
||||
.usart0_irq = mode_cardemu_usart0_irq,
|
||||
.usart1_irq = mode_cardemu_usart1_irq,
|
||||
#endif
|
||||
},
|
||||
#endif
|
||||
#ifdef HAVE_MITM
|
||||
|
||||
Reference in New Issue
Block a user