Add support for Sensor Watch Pro (#412)
* Sensor Watch Pro board definition * Disable hot-plugging on SWCLK * Add rainbow test * Move interrupt mapping to board config * New color definition for Pro boards in makefile
This commit is contained in:
@@ -81,4 +81,8 @@
|
||||
#define D0 GPIO(GPIO_PORTB, 3)
|
||||
#define D1 GPIO(GPIO_PORTB, 0)
|
||||
|
||||
// interrupt mapping
|
||||
#define EXT_IRQ_AMOUNT 6
|
||||
#define CONFIG_EIC_EXTINT_MAP {0, PIN_PB00}, {1, PIN_PB01}, {2, PIN_PA02}, {3, PIN_PB03}, {6, PIN_PA22}, {7, PIN_PA23},
|
||||
|
||||
#endif // PINS_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user