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:
Jose Castillo
2024-07-06 11:07:02 -04:00
committed by GitHub
parent 89a2af92ef
commit d98d14d236
15 changed files with 282 additions and 38 deletions

View File

@@ -30,6 +30,9 @@
#include "driver_init.h"
#include "pins.h"
#define SWCLK GPIO(GPIO_PORTA, 30)
#define SWDIO GPIO(GPIO_PORTA, 31)
#ifdef __EMSCRIPTEN__
#include "watch_main_loop.h"
#endif // __EMSCRIPTEN__