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

@@ -24,10 +24,10 @@ struct filename_iterator: public std::iterator<std::input_iterator_tag, const ch
bool valid;
const char* suffix;
#ifdef BOARD_ESP8266
#ifdef ESP8266
Dir dir;
#endif
#ifdef BOARD_ESP32
#ifdef ESP32
File dir;
#endif
};