From 3e87c0b87716a2c022e4a2cedf3a0b996951d48a Mon Sep 17 00:00:00 2001 From: Richard Meadows Date: Wed, 24 Jun 2015 21:37:57 +0100 Subject: [PATCH] Updated hw_config for new 0.98x.x hw --- firmware/Peripherals.md | 1 + firmware/inc/hw_config.h | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/firmware/Peripherals.md b/firmware/Peripherals.md index dccd619..c8f6ec7 100644 --- a/firmware/Peripherals.md +++ b/firmware/Peripherals.md @@ -47,6 +47,7 @@ |--> [tc5] |--> [adc] |--> [extint] + |--> [cm0+, apbs etc.] |\ diff --git a/firmware/inc/hw_config.h b/firmware/inc/hw_config.h index 8a6dd97..d3c8427 100644 --- a/firmware/inc/hw_config.h +++ b/firmware/inc/hw_config.h @@ -56,7 +56,7 @@ #ifdef XPLAINED #define LED0_PIN PIN_PA14 #else -#define LED0_PIN PIN_PA15 +#define LED0_PIN PIN_PA16 #endif /** @@ -112,7 +112,7 @@ #define SI406X_SEL_PIN PIN_PA18 #define SI406X_IRQ_PIN PIN_PA24 #define SI406X_IRQ_PINMUX PINMUX_PA24A_EIC_EXTINT12 -#define SI406X_SDN_PIN PIN_PA16 +#define SI406X_SDN_PIN PIN_PA17 #define SI406X_GPIO0_PIN PIN_PA27 #define SI406X_GPIO1_PIN PIN_PA25 #define SI406X_GPIO1_PINMUX PINMUX_PA25F_TC5_WO1 @@ -150,13 +150,6 @@ #define SWD_SWDCLK_PINMUX PINMUX_PA30G_CORE_SWCLK #define SWD_SWDIO_PIN PIN_PA31 -/** - * NC - Pins not connected externally - */ -#define NC1_PIN PIN_PA02 -#define NC2_PIN PIN_PA03 -#define NC3_PIN PIN_PA04 -#define NC4_PIN PIN_PA14 /** * Interrupt Priority