build: clean up the mess of ifdefs from platform into a scons-configured hal

This commit is contained in:
Torrie Fischer
2023-12-20 10:47:26 +01:00
parent 236795917a
commit 23993a09cf
21 changed files with 376 additions and 410 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <Arduino.h>
#include "Hal.h"
struct BootOptions {
static void initPins();
@@ -7,7 +8,6 @@ struct BootOptions {
BootOptions();
void waitForRelease();
void forceSafeMode();
bool isSetup = false;
bool isSerial = false;