Rename the Plus-only LILYGO profile to the T-Embed CC1101 names

The profile was named for the Plus model only, but the standard T-Embed
CC1101 is expected to run the same firmware. Rename the macro to
ESPSOMFY_LILYGO_T_EMBED_CC1101, the PlatformIO environment to
lilygo-t-embed-cc1101, and the release files to
SomfyController.{ino,littlefs,onboard}.lilygo-t-embed-cc1101.*, so later
merges with downstream builds match by name. The matrix entry reads
"LILYGO T-Embed CC1101 / Plus". Behavior and partitions are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
R. Sid Shaytay 2026-11-14 18:35:23 -08:00
parent bfd8c1c7b4
commit 31eda550b9
No known key found for this signature in database
6 changed files with 23 additions and 23 deletions

View file

@ -6,7 +6,7 @@ trap 'rm -rf -- "$scratch"' EXIT
compiler="${CXX:-c++}"
common=(-std=c++11 -Wall -Wextra -Werror -Wno-unused-parameter -I"$repo/tests/board-profile" -I"$repo/src")
sources=("$repo/tests/board-profile/board-profile-test.cpp" "$repo/src/BoardProfile.cpp")
"$compiler" "${common[@]}" -DESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS -DCONFIG_IDF_TARGET_ESP32S3 \
"$compiler" "${common[@]}" -DESPSOMFY_LILYGO_T_EMBED_CC1101 -DCONFIG_IDF_TARGET_ESP32S3 \
"${sources[@]}" -o "$scratch/lilygo-test"
"$scratch/lilygo-test"
"$compiler" "${common[@]}" "${sources[@]}" -o "$scratch/generic-test"
@ -14,13 +14,13 @@ sources=("$repo/tests/board-profile/board-profile-test.cpp" "$repo/src/BoardProf
for profile in generic lilygo; do
flags=()
if [[ "$profile" == lilygo ]]; then
flags=(-DESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS -DCONFIG_IDF_TARGET_ESP32S3)
flags=(-DESPSOMFY_LILYGO_T_EMBED_CC1101 -DCONFIG_IDF_TARGET_ESP32S3)
fi
"$compiler" "${common[@]}" "${flags[@]}" \
"$repo/tests/board-profile/shade-gpio-test.cpp" "$repo/src/BoardProfile.cpp" -o "$scratch/shade-gpio-$profile"
"$scratch/shade-gpio-$profile"
done
if "$compiler" "${common[@]}" -DESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS \
if "$compiler" "${common[@]}" -DESPSOMFY_LILYGO_T_EMBED_CC1101 \
"${sources[@]}" -o "$scratch/wrong-target" > "$scratch/wrong-target.log" 2>&1; then
echo 'LILYGO profile incorrectly accepted a non-S3 target' >&2
exit 1
@ -32,7 +32,7 @@ python3 "$repo/tests/board-profile/extract-radio-setup.py" "$repo/src/Transceive
for profile in generic lilygo; do
flags=()
if [[ "$profile" == lilygo ]]; then
flags=(-DESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS -DCONFIG_IDF_TARGET_ESP32S3)
flags=(-DESPSOMFY_LILYGO_T_EMBED_CC1101 -DCONFIG_IDF_TARGET_ESP32S3)
fi
"$compiler" "${common[@]}" -I"$scratch" -I"$repo/lib/SmartRC-CC1101-Driver-Lib" "${flags[@]}" \
"$repo/tests/board-profile/radio-setup-test.cpp" "$repo/src/BoardProfile.cpp" \