diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-30 22:29:20 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-30 22:29:20 +0200 |
commit | 82125db510b46a0bae1cfe6df769bf671f446790 (patch) | |
tree | c954c5c2a689e6cb2d24c9680778578aae7cedfe /at91lib/boards/simtrace/board.h | |
parent | e927ad57bee4deb1cec236559f2c082342621f4f (diff) |
at91lib: go throguh LowlevelInit even after DFU loader
this makes sure the PLL is set up the way at91lib expects it
Diffstat (limited to 'at91lib/boards/simtrace/board.h')
-rw-r--r-- | at91lib/boards/simtrace/board.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/at91lib/boards/simtrace/board.h b/at91lib/boards/simtrace/board.h index 22ca0ea..8e8290d 100644 --- a/at91lib/boards/simtrace/board.h +++ b/at91lib/boards/simtrace/board.h @@ -232,7 +232,8 @@ /// - PINS_ISO7816
/// Smartcard detection pin
-#define PIN_SMARTCARD_CONNECT {1 << 8, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_INPUT, PIO_DEFAULT}
+#define PIN_SMARTCARD_CONNECT {1 << 8, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_INPUT, \
+ PIO_PULLUP|PIO_DEGLITCH}
/// PIN used for reset the smartcard
#define PIN_ISO7816_RSTMC {1 << 7, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT}
/// Pins used for connect the smartcard
|