mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 08:46:01 +03:00
Generalize SIM switching code and allow local/remote switching via USB
This commit is contained in:
1 parent
114e74d322
commit
5c583d3535
5 files changed
+93
-32
No files matched your search
@@ -56,6 +56,10 @@
|
||||
|
||||
#define PIN_VERSION_DET {PIO_PA19, PIOA, ID_PIOA, PIO_PERIPH_D, PIO_DEFAULT}
|
||||
|
||||
/* GPIO towards SPDT switches between real SIM and SAM3 */
|
||||
#define PIN_SIM_SWITCH1 {PIO_PA20, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT}
|
||||
#define PIN_SIM_SWITCH2 {PIO_PA28, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT}
|
||||
|
||||
#define BOARD_USB_BMATTRIBUTES USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP
|
||||
|
||||
#define BOARD_USB_VENDOR_ID USB_VENDOR_OPENMOKO
|
||||
|
||||
Reference in new issue
Block a user