consolidate sketches
This commit is contained in:
18
BoardConfig.h
Normal file
18
BoardConfig.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// Board selector — driven by build flags
|
||||
// Pass -DTARGET_E32R35T or -DTARGET_WAVESHARE_S3_43
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
#if defined(TARGET_E32R35T)
|
||||
#include "boards/board_e32r35t.h"
|
||||
|
||||
#elif defined(TARGET_WAVESHARE_S3_43)
|
||||
#include "boards/board_waveshare_s3.h"
|
||||
|
||||
#else
|
||||
// Default to E32R35T for backward compatibility with existing builds
|
||||
#pragma message("No TARGET_* defined — defaulting to E32R35T")
|
||||
#define TARGET_E32R35T
|
||||
#include "boards/board_e32r35t.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user