mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-11-20 15:52:12 +01:00
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:
parent
bfd8c1c7b4
commit
31eda550b9
6 changed files with 23 additions and 23 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#include "BoardProfile.h"
|
||||
#include <SPI.h>
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS)
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101)
|
||||
#include <driver/gpio.h>
|
||||
#endif
|
||||
|
||||
namespace BoardProfile {
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS)
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101)
|
||||
static bool initialized = false;
|
||||
|
||||
static void output(uint8_t pin, uint8_t level) {
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@
|
|||
#include <Arduino.h>
|
||||
|
||||
namespace BoardProfile {
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101_PLUS)
|
||||
#if defined(ESPSOMFY_LILYGO_T_EMBED_CC1101)
|
||||
#if !defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
#error "The LILYGO T-Embed CC1101 Plus profile requires an ESP32-S3 target"
|
||||
#error "The LILYGO T-Embed CC1101 / Plus profile requires an ESP32-S3 target"
|
||||
#endif
|
||||
constexpr bool integratedRadio = true;
|
||||
#else
|
||||
constexpr bool integratedRadio = false;
|
||||
#endif
|
||||
|
||||
// LILYGO T-Embed CC1101 wiring, hardware-tested on the Plus model.
|
||||
// LILYGO T-Embed CC1101 wiring, hardware-tested on the Plus model; the standard model is expected to match.
|
||||
constexpr uint8_t power = 15;
|
||||
constexpr uint8_t sck = 11;
|
||||
constexpr uint8_t mosi = 9;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue