diff options
| author | Damien George | 2014-05-21 20:14:27 +0100 |
|---|---|---|
| committer | Damien George | 2014-05-21 20:14:27 +0100 |
| commit | aa7cf6f72f4e8a553f892629bb3338ab8c982d57 (patch) | |
| tree | b16167eecc2c5e8e5f84bd710308366a166c55e8 /stm/boards/NETDUINO_PLUS_2 | |
| parent | 63436ce22ee20f56b0083f846261c0b77af9961b (diff) | |
stm: Remove long-obsolete stm/ port.
Diffstat (limited to 'stm/boards/NETDUINO_PLUS_2')
| -rw-r--r-- | stm/boards/NETDUINO_PLUS_2/mpconfigboard.h | 38 | ||||
| -rw-r--r-- | stm/boards/NETDUINO_PLUS_2/pins.csv | 28 |
2 files changed, 0 insertions, 66 deletions
diff --git a/stm/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stm/boards/NETDUINO_PLUS_2/mpconfigboard.h deleted file mode 100644 index 9bc5149ec..000000000 --- a/stm/boards/NETDUINO_PLUS_2/mpconfigboard.h +++ /dev/null @@ -1,38 +0,0 @@ -#define NETDUINO_PLUS_2 - -#define MICROPY_HW_BOARD_NAME "NetduinoPlus2" - -#define MICROPY_HW_HAS_SWITCH (1) - -// On the netuino, the sdcard appears to be wired up as a 1-bit -// SPI, so the driver needs to be converted to support that before -// we can turn this on. -#define MICROPY_HW_HAS_SDCARD (0) -#define MICROPY_HW_HAS_MMA7660 (0) -#define MICROPY_HW_HAS_LIS3DSH (0) -#define MICROPY_HW_HAS_LCD (0) -#define MICROPY_HW_HAS_WLAN (0) -#define MICROPY_HW_ENABLE_RNG (1) -#define MICROPY_HW_ENABLE_RTC (0) -#define MICROPY_HW_ENABLE_TIMER (1) -#define MICROPY_HW_ENABLE_SERVO (1) -#define MICROPY_HW_ENABLE_AUDIO (0) - -// USRSW is pulled low. Pressing the button makes the input go high. -#define USRSW_PIN (pin_B11) -#define USRSW_PUPD (GPIO_PuPd_NOPULL) -#define USRSW_EXTI_EDGE (EXTI_Trigger_Rising) -#define USRSW_PRESSED (1) - -/* LED */ -#define PYB_LED1 (pin_A10) // Blue LED -#define PYB_LED2 (pin_C13) // White LED (aka Power) -#define PYB_LED3 (pin_A10) // Same as Led(1) -#define PYB_LED4 (pin_C13) // Same as Led(2) - -#define PYB_OTYPE (GPIO_OType_PP) - -#define PYB_LED_ON(pin) (pin->gpio->BSRRL = pin->pin_mask) -#define PYB_LED_OFF(pin) (pin->gpio->BSRRH = pin->pin_mask) - -#define HSE_VALUE (25000000) diff --git a/stm/boards/NETDUINO_PLUS_2/pins.csv b/stm/boards/NETDUINO_PLUS_2/pins.csv deleted file mode 100644 index f9b94a6c8..000000000 --- a/stm/boards/NETDUINO_PLUS_2/pins.csv +++ /dev/null @@ -1,28 +0,0 @@ -D0,PC7 -D1,PC6 -D2,PA3 -D3,PA2 -D4,PB12 -D5,PB8 -D6,PB9 -D7,PA1 -D8,PA0 -D9,PA6 -D10,PB10 -D11,PB15 -D12,PB14 -D13,PB13 -A0,PC0 -A1,PC1 -A2,PC2 -A3,PC3 -A4,PC4 -A5,PC5 -LED,PA10 -SW,PB11 -PWR_LED,PC13 -PWR_SD,PB1 -PWR_HDR,PB2 -PWR_ETH,PC15 -RST_ETH,PD2 - |
