19 lines
879 B
C
19 lines
879 B
C
#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
|