Created
February 7, 2023 06:53
-
-
Save reefwing/9ea6dd1073604c4f58f6d9689903fc13 to your computer and use it in GitHub Desktop.
Stub Arduino Hardware Detection Sketch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(ARDUINO_ARCH_NRF52840) | |
#include "nano33ble.h" | |
#elif defined(ARDUINO_PORTENTA_H7_M7) | |
#include "portentah7.h" | |
#elif defined(ARDUINO_ARCH_MBED_RP2040) | |
#include "pico.h" | |
#else | |
#error "Unsupported Hardware" | |
#endif // target detection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment