mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Update ESP8266/ESP32 bases (#760)
* Update ESP8266/ESP32 bases * Update platformio.ini * Update boards definitions
This commit is contained in:
parent
c3aa834d80
commit
1cfc6ac3c6
5 changed files with 184 additions and 134 deletions
|
@ -15,11 +15,14 @@ ALLOWED_NAME_CHARS = u'abcdefghijklmnopqrstuvwxyz0123456789_'
|
||||||
ARDUINO_VERSION_ESP32_DEV = 'https://github.com/platformio/platform-espressif32.git#feature/stage'
|
ARDUINO_VERSION_ESP32_DEV = 'https://github.com/platformio/platform-espressif32.git#feature/stage'
|
||||||
ARDUINO_VERSION_ESP32_1_0_0 = 'espressif32@1.5.0'
|
ARDUINO_VERSION_ESP32_1_0_0 = 'espressif32@1.5.0'
|
||||||
ARDUINO_VERSION_ESP32_1_0_1 = 'espressif32@1.6.0'
|
ARDUINO_VERSION_ESP32_1_0_1 = 'espressif32@1.6.0'
|
||||||
|
ARDUINO_VERSION_ESP32_1_0_2 = 'espressif32@1.9.0'
|
||||||
|
ARDUINO_VERSION_ESP32_1_0_3 = 'espressif32@1.10.0'
|
||||||
|
ARDUINO_VERSION_ESP32_1_0_4 = 'espressif32@1.11.0'
|
||||||
ARDUINO_VERSION_ESP8266_DEV = 'https://github.com/platformio/platform-espressif8266.git#feature' \
|
ARDUINO_VERSION_ESP8266_DEV = 'https://github.com/platformio/platform-espressif8266.git#feature' \
|
||||||
'/stage'
|
'/stage'
|
||||||
ARDUINO_VERSION_ESP8266_2_5_0 = 'espressif8266@2.0.0'
|
ARDUINO_VERSION_ESP8266_2_5_0 = 'espressif8266@2.0.0'
|
||||||
ARDUINO_VERSION_ESP8266_2_5_1 = 'espressif8266@2.1.0'
|
ARDUINO_VERSION_ESP8266_2_5_1 = 'espressif8266@2.1.0'
|
||||||
ARDUINO_VERSION_ESP8266_2_5_2 = 'espressif8266@2.2.0'
|
ARDUINO_VERSION_ESP8266_2_5_2 = 'espressif8266@2.2.3'
|
||||||
ARDUINO_VERSION_ESP8266_2_3_0 = 'espressif8266@1.5.0'
|
ARDUINO_VERSION_ESP8266_2_3_0 = 'espressif8266@1.5.0'
|
||||||
SOURCE_FILE_EXTENSIONS = {'.cpp', '.hpp', '.h', '.c', '.tcc', '.ino'}
|
SOURCE_FILE_EXTENSIONS = {'.cpp', '.hpp', '.h', '.c', '.tcc', '.ino'}
|
||||||
HEADER_FILE_EXTENSIONS = {'.h', '.hpp', '.tcc'}
|
HEADER_FILE_EXTENSIONS = {'.h', '.hpp', '.tcc'}
|
||||||
|
|
|
@ -45,14 +45,14 @@ def validate_board(value):
|
||||||
validate_platform = cv.one_of('ESP32', 'ESP8266', upper=True)
|
validate_platform = cv.one_of('ESP32', 'ESP8266', upper=True)
|
||||||
|
|
||||||
PLATFORMIO_ESP8266_LUT = {
|
PLATFORMIO_ESP8266_LUT = {
|
||||||
'2.5.2': 'espressif8266@2.2.0',
|
'2.5.2': 'espressif8266@2.2.3',
|
||||||
'2.5.1': 'espressif8266@2.1.0',
|
'2.5.1': 'espressif8266@2.1.0',
|
||||||
'2.5.0': 'espressif8266@2.0.1',
|
'2.5.0': 'espressif8266@2.0.1',
|
||||||
'2.4.2': 'espressif8266@1.8.0',
|
'2.4.2': 'espressif8266@1.8.0',
|
||||||
'2.4.1': 'espressif8266@1.7.3',
|
'2.4.1': 'espressif8266@1.7.3',
|
||||||
'2.4.0': 'espressif8266@1.6.0',
|
'2.4.0': 'espressif8266@1.6.0',
|
||||||
'2.3.0': 'espressif8266@1.5.0',
|
'2.3.0': 'espressif8266@1.5.0',
|
||||||
'RECOMMENDED': 'espressif8266@1.8.0',
|
'RECOMMENDED': 'espressif8266@2.2.3',
|
||||||
'LATEST': 'espressif8266',
|
'LATEST': 'espressif8266',
|
||||||
'DEV': ARDUINO_VERSION_ESP8266_DEV,
|
'DEV': ARDUINO_VERSION_ESP8266_DEV,
|
||||||
}
|
}
|
||||||
|
@ -60,8 +60,10 @@ PLATFORMIO_ESP8266_LUT = {
|
||||||
PLATFORMIO_ESP32_LUT = {
|
PLATFORMIO_ESP32_LUT = {
|
||||||
'1.0.0': 'espressif32@1.4.0',
|
'1.0.0': 'espressif32@1.4.0',
|
||||||
'1.0.1': 'espressif32@1.6.0',
|
'1.0.1': 'espressif32@1.6.0',
|
||||||
'1.0.2': 'espressif32@1.8.0',
|
'1.0.2': 'espressif32@1.9.0',
|
||||||
'RECOMMENDED': 'espressif32@1.6.0',
|
'1.0.3': 'espressif32@1.10.0',
|
||||||
|
'1.0.4': 'espressif32@1.11.0',
|
||||||
|
'RECOMMENDED': 'espressif32@1.11.0',
|
||||||
'LATEST': 'espressif32',
|
'LATEST': 'espressif32',
|
||||||
'DEV': ARDUINO_VERSION_ESP32_DEV,
|
'DEV': ARDUINO_VERSION_ESP32_DEV,
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,52 +280,70 @@
|
||||||
</optgroup>
|
</optgroup>
|
||||||
<optgroup label="Other ESP32s">
|
<optgroup label="Other ESP32s">
|
||||||
<option value="lolin32">Wemos Lolin 32</option>
|
<option value="lolin32">Wemos Lolin 32</option>
|
||||||
<option value="esp32dev">Espressif ESP32 Dev Module</option>
|
|
||||||
<option value="m5stack-fire">M5Stack FIRE</option>
|
<option value="m5stack-fire">M5Stack FIRE</option>
|
||||||
<option value="wemosbat">Wemos WiFi & Bluetooth Battery</option>
|
<option value="wemosbat">Wemos WiFi & Bluetooth Battery</option>
|
||||||
<option value="node32s">Aiyarafun Node32s</option>
|
<option value="node32s">Node32s</option>
|
||||||
<option value="espea32">April Brother ESPea32</option>
|
|
||||||
<option value="firebeetle32">DFRobot FireBeetle-ESP32</option>
|
<option value="alksesp32">ALKS ESP32</option>
|
||||||
<option value="esp32doit-devkit-v1">Doit ESP32 Devkit v1</option>
|
<option value="bpi-bit">BPI-Bit</option>
|
||||||
<option value="pocket_32">Dongsen Tech Pocket 32</option>
|
<option value="d-duino-32">D-duino-32</option>
|
||||||
<option value="espectro32">DycodeX ESPectro32</option>
|
<option value="esp32-devkitlipo">OLIMEX ESP32-DevKit-LiPo</option>
|
||||||
<option value="esp32vn-iot-uno">ESP32vn IoT Uno</option>
|
<option value="esp32-evb">OLIMEX ESP32-EVB</option>
|
||||||
|
<option value="esp32-gateway">OLIMEX ESP32-GATEWAY</option>
|
||||||
|
<option value="esp32-poe-iso">OLIMEX ESP32-PoE-ISO</option>
|
||||||
|
<option value="esp32-poe">OLIMEX ESP32-PoE</option>
|
||||||
|
<option value="esp32-pro">OLIMEX ESP32-PRO</option>
|
||||||
<option value="esp320">Electronic SweetPeas ESP320</option>
|
<option value="esp320">Electronic SweetPeas ESP320</option>
|
||||||
<option value="pico32">Espressif ESP32 Pico Kit</option>
|
<option value="esp32cam">AI Thinker ESP32-CAM</option>
|
||||||
<option value="odroid_esp32">Hardkernel Odroid GO</option>
|
<option value="esp32dev">Espressif ESP32 Dev Module</option>
|
||||||
<option value="heltec_wifi_kit_32">Heltec WIFI Kit 32</option>
|
<option value="esp32doit-devkit-v1">DOIT ESP32 DEVKIT V1</option>
|
||||||
<option value="heltec_wifi_lora_32">Heltec WIFI LoRa 32</option>
|
<option value="esp32thing">SparkFun ESP32 Thing</option>
|
||||||
|
<option value="esp32vn-iot-uno">ESP32vn IoT Uno</option>
|
||||||
|
<option value="espea32">April Brother ESPea32</option>
|
||||||
|
<option value="espectro32">ESPectro32</option>
|
||||||
|
<option value="espino32">ESPino32</option>
|
||||||
|
<option value="firebeetle32">FireBeetle-ESP32</option>
|
||||||
|
<option value="fm-devkit">ESP32 FM DevKit</option>
|
||||||
|
<option value="frogboard">Frog Board ESP32</option>
|
||||||
|
<option value="heltec_wifi_kit_32">Heltec WiFi Kit 32</option>
|
||||||
|
<option value="heltec_wifi_lora_32">Heltec WiFi LoRa 32</option>
|
||||||
|
<option value="heltec_wifi_lora_32_V2">Heltec WiFi LoRa 32 (V2)</option>
|
||||||
|
<option value="heltec_wireless_stick">Heltec Wireless Stick</option>
|
||||||
<option value="hornbill32dev">Hornbill ESP32 Dev</option>
|
<option value="hornbill32dev">Hornbill ESP32 Dev</option>
|
||||||
<option value="hornbill32minima">Hornbill ESP32 Minima</option>
|
<option value="hornbill32minima">Hornbill ESP32 Minima</option>
|
||||||
<option value="intorobot">IntoRobot Fig</option>
|
<option value="intorobot">IntoRobot Fig</option>
|
||||||
<option value="mhetesp32devkit">MH-ET Live ESP32 Devkit</option>
|
<option value="iotaap_magnolia">IoTaaP Magnolia</option>
|
||||||
<option value="mhetesp32minikit">MH-ET Live ESP32 Minikit</option>
|
|
||||||
<option value="nano32">MakerAsia Nano32</option>
|
|
||||||
<option value="microduino-core-esp32">Microduino Core ESP32</option>
|
|
||||||
<option value="quantum">Noduino Quantum</option>
|
|
||||||
<option value="esp32-evb">Olimex ESP32-EVB</option>
|
|
||||||
<option value="esp32-gateway">Olimex ESP32-GATEWAY</option>
|
|
||||||
<option value="esp32-pro">Olimex ESP32-PRO</option>
|
|
||||||
<option value="onehorse32dev">Onehorse ESP32 Dev Module</option>
|
|
||||||
<option value="alksesp32">RoboticsBrno ALKS ESP32</option>
|
|
||||||
<option value="esp32thing">Sparkfun ESP32 Thing</option>
|
|
||||||
<option value="ttgo-lora32-v1">TTGO LoRa32-OLED v1</option>
|
|
||||||
<option value="espino32">ThaiEasyElec ESPino32</option>
|
|
||||||
<option value="widora-air">Widora AIR</option>
|
|
||||||
<option value="xinabox_cw02">XinaBox CW02</option>
|
|
||||||
<option value="iotbusio">oddWires IoT-Bus Io</option>
|
<option value="iotbusio">oddWires IoT-Bus Io</option>
|
||||||
<option value="iotbusproteus">oddWires Proteus IoT-Bus</option>
|
<option value="iotbusproteus">oddWires IoT-Bus Proteus</option>
|
||||||
<option value="nina_w10">u-blox NINA-W10 series</option>
|
|
||||||
<option value="bpi-bit">BananaPi-Bit</option>
|
|
||||||
<option value="d-duino-32">DSTIKE D-duino-32</option>
|
|
||||||
<option value="fm-devkit">ESP32 FM DevKit</option>
|
|
||||||
<option value="esp32-poe">OLIMEX ESP32-PoE</option>
|
|
||||||
<option value="oroca_edubot">OROCA EduBot</option>
|
|
||||||
<option value="lopy">Pycom LoPy</option>
|
<option value="lopy">Pycom LoPy</option>
|
||||||
<option value="lopy4">Pycom LoPy4</option>
|
<option value="lopy4">Pycom LoPy4</option>
|
||||||
<option value="wesp32">Silicognition wESP32</option>
|
<option value="m5stack-grey">M5Stack GREY ESP32</option>
|
||||||
|
<option value="m5stick-c">M5Stick-C</option>
|
||||||
|
<option value="magicbit">MagicBit</option>
|
||||||
|
<option value="mhetesp32devkit">MH ET LIVE ESP32DevKIT</option>
|
||||||
|
<option value="mhetesp32minikit">MH ET LIVE ESP32MiniKit</option>
|
||||||
|
<option value="microduino-core-esp32">Microduino Core ESP32</option>
|
||||||
|
<option value="nano32">MakerAsia Nano32</option>
|
||||||
|
<option value="nina_w10">u-blox NINA-W10 series</option>
|
||||||
|
<option value="odroid_esp32">ODROID-GO</option>
|
||||||
|
<option value="onehorse32dev">Onehorse ESP32 Dev Module</option>
|
||||||
|
<option value="oroca_edubot">OROCA EduBot</option>
|
||||||
|
<option value="pico32">ESP32 Pico Kit</option>
|
||||||
|
<option value="pocket_32">Dongsen Tech Pocket 32</option>
|
||||||
|
<option value="pycom_gpy">Pycom GPy</option>
|
||||||
|
<option value="quantum">Noduino Quantum</option>
|
||||||
|
<option value="sparkfun_lora_gateway_1-channel">SparkFun LoRa Gateway 1-Channel</option>
|
||||||
|
<option value="tinypico">TinyPICO</option>
|
||||||
|
<option value="ttgo-lora32-v1">TTGO LoRa32-OLED V1</option>
|
||||||
<option value="ttgo-t-beam">TTGO T-Beam</option>
|
<option value="ttgo-t-beam">TTGO T-Beam</option>
|
||||||
|
<option value="ttgo-t-watch">TTGO T-Watch</option>
|
||||||
|
<option value="ttgo-t1">TTGO T1</option>
|
||||||
<option value="turta_iot_node">Turta IoT Node</option>
|
<option value="turta_iot_node">Turta IoT Node</option>
|
||||||
|
<option value="vintlabs-devkit-v1">VintLabs ESP32 Devkit</option>
|
||||||
|
<option value="wemos_d1_mini32">WeMos D1 MINI ESP32</option>
|
||||||
|
<option value="wesp32">Silicognition wESP32</option>
|
||||||
|
<option value="widora-air">Widora AIR</option>
|
||||||
|
<option value="xinabox_cw02">XinaBox CW02</option>
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
212
esphome/pins.py
212
esphome/pins.py
|
@ -36,6 +36,7 @@ ESP8266_BOARD_PINS = {
|
||||||
'gen4iod': {},
|
'gen4iod': {},
|
||||||
'heltec_wifi_kit_8': 'd1_mini',
|
'heltec_wifi_kit_8': 'd1_mini',
|
||||||
'huzzah': {'LED': 0},
|
'huzzah': {'LED': 0},
|
||||||
|
'inventone': {},
|
||||||
'modwifi': {},
|
'modwifi': {},
|
||||||
'nodemcu': {'D0': 16, 'D1': 5, 'D2': 4, 'D3': 0, 'D4': 2, 'D5': 14, 'D6': 12, 'D7': 13,
|
'nodemcu': {'D0': 16, 'D1': 5, 'D2': 4, 'D3': 0, 'D4': 2, 'D5': 14, 'D6': 12, 'D7': 13,
|
||||||
'D8': 15, 'D9': 3, 'D10': 1, 'LED': 16},
|
'D8': 15, 'D9': 3, 'D10': 1, 'LED': 16},
|
||||||
|
@ -84,6 +85,7 @@ ESP8266_FLASH_SIZES = {
|
||||||
'gen4iod': FLASH_SIZE_512_KB,
|
'gen4iod': FLASH_SIZE_512_KB,
|
||||||
'heltec_wifi_kit_8': FLASH_SIZE_4_MB,
|
'heltec_wifi_kit_8': FLASH_SIZE_4_MB,
|
||||||
'huzzah': FLASH_SIZE_4_MB,
|
'huzzah': FLASH_SIZE_4_MB,
|
||||||
|
'inventone': FLASH_SIZE_4_MB,
|
||||||
'modwifi': FLASH_SIZE_2_MB,
|
'modwifi': FLASH_SIZE_2_MB,
|
||||||
'nodemcu': FLASH_SIZE_4_MB,
|
'nodemcu': FLASH_SIZE_4_MB,
|
||||||
'nodemcuv2': FLASH_SIZE_4_MB,
|
'nodemcuv2': FLASH_SIZE_4_MB,
|
||||||
|
@ -118,113 +120,137 @@ ESP32_BASE_PINS = {
|
||||||
}
|
}
|
||||||
|
|
||||||
ESP32_BOARD_PINS = {
|
ESP32_BOARD_PINS = {
|
||||||
'alksesp32': {'D0': 40, 'D1': 41, 'D2': 15, 'D3': 2, 'D4': 0, 'D5': 4, 'D6': 16, 'D7': 17,
|
'alksesp32': {'A0': 32, 'A1': 33, 'A2': 25, 'A3': 26, 'A4': 27, 'A5': 14, 'A6': 12, 'A7': 15,
|
||||||
'D8': 5, 'D9': 18, 'D10': 19, 'D11': 21, 'D12': 22, 'D13': 23, 'A0': 32, 'A1': 33,
|
'D0': 40, 'D1': 41, 'D10': 19, 'D11': 21, 'D12': 22, 'D13': 23, 'D2': 15,
|
||||||
'A2': 25, 'A3': 26, 'A4': 27, 'A5': 14, 'A6': 12, 'A7': 15, 'L_R': 22, 'L_G': 17,
|
'D3': 2, 'D4': 0, 'D5': 4, 'D6': 16, 'D7': 17, 'D8': 5, 'D9': 18, 'DHT_PIN': 26,
|
||||||
'L_Y': 23, 'L_B': 5, 'L_RGB_R': 4, 'L_RGB_G': 21, 'L_RGB_B': 16, 'SW1': 15,
|
'LED': 23, 'L_B': 5, 'L_G': 17, 'L_R': 22, 'L_RGB_B': 16, 'L_RGB_G': 21,
|
||||||
'SW2': 2, 'SW3': 0, 'POT1': 32, 'POT2': 33, 'PIEZO1': 19, 'PIEZO2': 18,
|
'L_RGB_R': 4, 'L_Y': 23, 'MISO': 22, 'MOSI': 21, 'PHOTO': 25, 'PIEZO1': 19,
|
||||||
'PHOTO': 25, 'DHT_PIN': 26, 'S1': 4, 'S2': 16, 'S3': 18, 'S4': 19, 'S5': 21,
|
'PIEZO2': 18, 'POT1': 32, 'POT2': 33, 'S1': 4, 'S2': 16, 'S3': 18, 'S4': 19,
|
||||||
'SDA': 27, 'SCL': 14, 'SS': 19, 'MOSI': 21, 'MISO': 22, 'SCK': 23},
|
'S5': 21, 'SCK': 23, 'SCL': 14, 'SDA': 27, 'SS': 19, 'SW1': 15, 'SW2': 2,
|
||||||
'bpi-bit': {'BUZZER': 25, 'BUTTON_A': 35, 'BUTTON_B': 27, 'RGB_LED': 4, 'LIGHT_SENSOR1': 36,
|
'SW3': 0},
|
||||||
'LIGHT_SENSOR2': 39, 'TEMPERATURE_SENSOR': 34, 'MPU9250_INT': 0, 'P0': 25, 'P1': 32,
|
'bpi-bit': {'BUTTON_A': 35, 'BUTTON_B': 27, 'BUZZER': 25, 'LIGHT_SENSOR1': 36,
|
||||||
'P2': 33, 'P3': 13, 'P4': 15, 'P5': 35, 'P6': 12, 'P7': 14, 'P8': 16, 'P9': 17,
|
'LIGHT_SENSOR2': 39, 'MPU9250_INT': 0, 'P0': 25, 'P1': 32, 'P10': 26, 'P11': 27,
|
||||||
'P10': 26, 'P11': 27, 'P12': 2, 'P13': 18, 'P14': 19, 'P15': 23, 'P16': 5,
|
'P12': 2, 'P13': 18, 'P14': 19, 'P15': 23, 'P16': 5, 'P19': 22, 'P2': 33,
|
||||||
'P19': 22, 'P20': 21, 'DAC1': 26},
|
'P20': 21, 'P3': 13, 'P4': 15, 'P5': 35, 'P6': 12, 'P7': 14, 'P8': 16, 'P9': 17,
|
||||||
'd-duino-32': {'SDA': 5, 'SCL': 4, 'SS ': 15, 'MOSI ': 13, 'MISO ': 12, 'SCK ': 14, 'D1': 5,
|
'RGB_LED': 4, 'TEMPERATURE_SENSOR': 34},
|
||||||
'D2': 4, 'D3': 0, 'D4': 2, 'D5': 14, 'D6': 12, 'D7': 13, 'D8': 15, 'D9': 3,
|
'd-duino-32': {'D1': 5, 'D10': 1, 'D2': 4, 'D3': 0, 'D4': 2, 'D5': 14, 'D6': 12, 'D7': 13,
|
||||||
'D10': 1},
|
'D8': 15, 'D9': 3, 'MISO': 12, 'MOSI': 13, 'SCK': 14, 'SCL': 4, 'SDA': 5,
|
||||||
|
'SS': 15},
|
||||||
'esp-wrover-kit': {},
|
'esp-wrover-kit': {},
|
||||||
'esp32-evb': {'BUTTON': 34, 'SDA': 13, 'SCL': 16, 'SS': 17, 'MOSI': 2, 'MISO': 15, 'SCK': 14},
|
'esp32-devkitlipo': {},
|
||||||
'esp32-gateway': {'LED': 33, 'BUTTON': 34, 'SCL': 16, 'SDA': 17},
|
'esp32-evb': {'BUTTON': 34, 'MISO': 15, 'MOSI': 2, 'SCK': 14, 'SCL': 16, 'SDA': 13, 'SS': 17},
|
||||||
'esp32-poe': {'BUTTON': 34, 'SDA': 13, 'SCL': 16, 'MOSI': 2, 'MISO': 15, 'SCK': 14},
|
'esp32-gateway': {'BUTTON': 34, 'LED': 33, 'SCL': 16, 'SDA': 32},
|
||||||
'esp320': {'LED': 5, 'SDA': 2, 'SCL': 14, 'SS': 15, 'MOSI': 13, 'MISO': 12, 'SCK': 14},
|
'esp32-poe-iso': {'BUTTON': 34, 'MISO': 15, 'MOSI': 2, 'SCK': 14, 'SCL': 16, 'SDA': 13},
|
||||||
|
'esp32-poe': {'BUTTON': 34, 'MISO': 15, 'MOSI': 2, 'SCK': 14, 'SCL': 16, 'SDA': 13},
|
||||||
|
'esp32-pro': {'BUTTON': 34, 'MISO': 15, 'MOSI': 2, 'SCK': 14, 'SCL': 16, 'SDA': 13, 'SS': 17},
|
||||||
|
'esp320': {'LED': 5, 'MISO': 12, 'MOSI': 13, 'SCK': 14, 'SCL': 14, 'SDA': 2, 'SS': 15},
|
||||||
|
'esp32cam': {},
|
||||||
'esp32dev': {},
|
'esp32dev': {},
|
||||||
'esp32doit-devkit-v1': {'LED': 2},
|
'esp32doit-devkit-v1': {'LED': 2},
|
||||||
'esp32thing': {'LED': 5, 'BUTTON': 0, 'SS': 2},
|
'esp32thing': {'BUTTON': 0, 'LED': 5, 'SS': 2},
|
||||||
'esp32vn-iot-uno': {},
|
'esp32vn-iot-uno': {},
|
||||||
'espea32': {'LED': 5, 'BUTTON': 0},
|
'espea32': {'BUTTON': 0, 'LED': 5},
|
||||||
'espectro32': {'LED': 15, 'SD_SS': 33},
|
'espectro32': {'LED': 15, 'SD_SS': 33},
|
||||||
'espino32': {'LED': 16, 'BUTTON': 0},
|
'espino32': {'BUTTON': 0, 'LED': 16},
|
||||||
'featheresp32': {'LED': 13, 'TX': 17, 'RX': 16, 'SDA': 23, 'SS': 2, 'MOSI': 18, 'SCK': 5,
|
'featheresp32': {'A0': 26, 'A1': 25, 'A10': 27, 'A11': 12, 'A12': 13, 'A13': 35, 'A2': 34,
|
||||||
'A0': 26, 'A1': 25, 'A2': 34, 'A4': 36, 'A5': 4, 'A6': 14, 'A7': 32, 'A8': 15,
|
'A4': 36, 'A5': 4, 'A6': 14, 'A7': 32, 'A8': 15, 'A9': 33, 'Ax': 2,
|
||||||
'A9': 33, 'A10': 27, 'A11': 12, 'A12': 13, 'A13': 35},
|
'LED': 13, 'MOSI': 18, 'RX': 16, 'SCK': 5, 'SDA': 23, 'SS': 33, 'TX': 17},
|
||||||
'firebeetle32': {'LED': 2},
|
'firebeetle32': {'LED': 2},
|
||||||
'fm-devkit': {'LED': 5, 'SW1': 4, 'SW2': 18, 'SW3': 19, 'SW4': 21, 'I2S_MCLK': 2,
|
'fm-devkit': {'D0': 34, 'D1': 35, 'D10': 0, 'D2': 32, 'D3': 33, 'D4': 27, 'D5': 14, 'D6': 12,
|
||||||
'I2S_LRCLK': 25, 'I2S_SCLK': 26, 'I2S_DOUT': 22, 'D0': 34, 'D1': 35, 'D2': 32,
|
'D7': 13, 'D8': 15, 'D9': 23, 'I2S_DOUT': 22, 'I2S_LRCLK': 25, 'I2S_MCLK': 2,
|
||||||
'D3': 33, 'D4': 27, 'D5': 14, 'D6': 12, 'D7': 13, 'D8': 15, 'D9': 23, 'D10': 0,
|
'I2S_SCLK': 26, 'LED': 5, 'SCL': 17, 'SDA': 16, 'SW1': 4, 'SW2': 18, 'SW3': 19,
|
||||||
'SDA': 16, 'SCL': 17},
|
'SW4': 21},
|
||||||
'heltec_wifi_kit_32': {'LED': 25, 'BUTTON': 0, 'A1': 37, 'A2': 38},
|
'frogboard': {},
|
||||||
'heltec_wifi_lora_32': {'LED': 25, 'BUTTON': 0, 'SDA': 4, 'SCL': 15, 'SS': 18, 'MOSI': 27,
|
'heltec_wifi_kit_32': {'A1': 37, 'A2': 38, 'BUTTON': 0, 'LED': 25, 'RST_OLED': 16,
|
||||||
'SCK': 5, 'A1': 37, 'A2': 38, 'OLED_SCL': 15, 'OLED_SDA': 4,
|
'SCL_OLED': 15, 'SDA_OLED': 4, 'Vext': 21},
|
||||||
'OLED_RST': 16, 'LORA_SCK': 5, 'LORA_MOSI': 27, 'LORA_MISO': 19,
|
'heltec_wifi_lora_32': {'BUTTON': 0, 'DIO0': 26, 'DIO1': 33, 'DIO2': 32, 'LED': 25,
|
||||||
'LORA_CS': 18, 'LORA_RST': 14, 'LORA_IRQ': 26},
|
'MOSI': 27, 'RST_LoRa': 14, 'RST_OLED': 16, 'SCK': 5, 'SCL_OLED': 15,
|
||||||
'hornbill32dev': {'LED': 13, 'BUTTON': 0},
|
'SDA_OLED': 4, 'SS': 18, 'Vext': 21},
|
||||||
|
'heltec_wifi_lora_32_V2': {'BUTTON': 0, 'DIO0': 26, 'DIO1': 35, 'DIO2': 34, 'LED': 25,
|
||||||
|
'MOSI': 27, 'RST_LoRa': 14, 'RST_OLED': 16, 'SCK': 5,
|
||||||
|
'SCL_OLED': 15, 'SDA_OLED': 4, 'SS': 18, 'Vext': 21},
|
||||||
|
'heltec_wireless_stick': {'BUTTON': 0, 'DIO0': 26, 'DIO1': 35, 'DIO2': 34, 'LED': 25,
|
||||||
|
'MOSI': 27, 'RST_LoRa': 14, 'RST_OLED': 16, 'SCK': 5,
|
||||||
|
'SCL_OLED': 15, 'SDA_OLED': 4, 'SS': 18, 'Vext': 21},
|
||||||
|
'hornbill32dev': {'BUTTON': 0, 'LED': 13},
|
||||||
'hornbill32minima': {'SS': 2},
|
'hornbill32minima': {'SS': 2},
|
||||||
'intorobot': {'LED': 4, 'LED_RED': 27, 'LED_GREEN': 21, 'LED_BLUE': 22,
|
'intorobot': {'A1': 39, 'A2': 35, 'A3': 25, 'A4': 26, 'A5': 14, 'A6': 12, 'A7': 15, 'A8': 13,
|
||||||
'BUTTON': 0, 'SDA': 23, 'SCL': 19, 'MOSI': 16, 'MISO': 17, 'A1': 39, 'A2': 35,
|
'A9': 2, 'BUTTON': 0, 'D0': 19, 'D1': 23, 'D2': 18, 'D3': 17, 'D4': 16, 'D5': 5,
|
||||||
'A3': 25, 'A4': 26, 'A5': 14, 'A6': 12, 'A7': 15, 'A8': 13, 'A9': 2, 'D0': 19,
|
'D6': 4, 'LED': 4, 'MISO': 17, 'MOSI': 16, 'RGB_B_BUILTIN': 22,
|
||||||
'D1': 23, 'D2': 18, 'D3': 17, 'D4': 16, 'D5': 5, 'D6': 4, 'T0': 19, 'T1': 23,
|
'RGB_G_BUILTIN': 21, 'RGB_R_BUILTIN': 27, 'SCL': 19, 'SDA': 23, 'T0': 19,
|
||||||
'T2': 18, 'T3': 17, 'T4': 16, 'T5': 5, 'T6': 4},
|
'T1': 23, 'T2': 18, 'T3': 17, 'T4': 16, 'T5': 5, 'T6': 4},
|
||||||
|
'iotaap_magnolia': {},
|
||||||
|
'iotbusio': {},
|
||||||
|
'iotbusproteus': {},
|
||||||
'lolin32': {'LED': 5},
|
'lolin32': {'LED': 5},
|
||||||
'lolin_d32': {'LED': 5, 'VBAT': 35},
|
'lolin_d32': {'LED': 5, '_VBAT': 35},
|
||||||
'lolin_d32_pro': {'LED': 5, 'VBAT': 35, 'TF_CS': 4, 'TS_CS': 12, 'TFT_CS': 14, 'TFT_LED': 32,
|
'lolin_d32_pro': {'LED': 5, '_VBAT': 35},
|
||||||
'TFT_RST': 33, 'TFT_DC': 27},
|
'lopy': {'A1': 37, 'A2': 38, 'LED': 0, 'MISO': 37, 'MOSI': 22, 'SCK': 13, 'SCL': 13,
|
||||||
'lopy': {'LORA_SCK': 5, 'LORA_MISO': 19, 'LORA_MOSI': 27, 'LORA_CS': 17, 'LORA_RST': 18,
|
'SDA': 12, 'SS': 17},
|
||||||
'LORA_IRQ': 23, 'LED': 0, 'ANT_SELECT': 16, 'SDA': 12, 'SCL': 13, 'SS': 17,
|
'lopy4': {'A1': 37, 'A2': 38, 'LED': 0, 'MISO': 37, 'MOSI': 22, 'SCK': 13, 'SCL': 13,
|
||||||
'MOSI': 22, 'MISO': 37, 'SCK': 13, 'A1': 37, 'A2': 38},
|
'SDA': 12, 'SS': 18},
|
||||||
'lopy4': {'LORA_SCK': 5, 'LORA_MISO': 19, 'LORA_MOSI': 27, 'LORA_CS': 18, 'LORA_IRQ': 23,
|
'm5stack-core-esp32': {'ADC1': 35, 'ADC2': 36, 'G0': 0, 'G1': 1, 'G12': 12, 'G13': 13,
|
||||||
'LED': 0, 'ANT_SELECT': 21, 'SDA': 12, 'SCL': 13, 'SS': 18, 'MOSI': 22, 'MISO': 37,
|
'G15': 15, 'G16': 16, 'G17': 17, 'G18': 18, 'G19': 19, 'G2': 2,
|
||||||
'SCK': 13, 'A1': 37, 'A2': 38},
|
'G21': 21, 'G22': 22, 'G23': 23, 'G25': 25, 'G26': 26, 'G3': 3,
|
||||||
'm5stack-core-esp32': {'TXD2': 17, 'RXD2': 16, 'G23': 23, 'G19': 19, 'G18': 18, 'G3': 3,
|
'G34': 34, 'G35': 35, 'G36': 36, 'G5': 5, 'RXD2': 16, 'TXD2': 17},
|
||||||
'G16': 16, 'G21': 21, 'G2': 2, 'G12': 12, 'G15': 15, 'G35': 35,
|
'm5stack-fire': {'ADC1': 35, 'ADC2': 36, 'G0': 0, 'G1': 1, 'G12': 12, 'G13': 13, 'G15': 15,
|
||||||
'G36': 36, 'G25': 25, 'G26': 26, 'G1': 1, 'G17': 17, 'G22': 22, 'G5': 5,
|
'G16': 16, 'G17': 17, 'G18': 18, 'G19': 19, 'G2': 2, 'G21': 21, 'G22': 22,
|
||||||
'G13': 13, 'G0': 0, 'G34': 34, 'ADC1': 35, 'ADC2': 36},
|
'G23': 23, 'G25': 25, 'G26': 26, 'G3': 3, 'G34': 34, 'G35': 35, 'G36': 36,
|
||||||
'm5stack-fire': {'G23': 23, 'G19': 19, 'G18': 18, 'G3': 3, 'G16': 16, 'G21': 21, 'G2': 2,
|
'G5': 5},
|
||||||
'G12': 12, 'G15': 15, 'G35': 35, 'G36': 36, 'G25': 25, 'G26': 26, 'G1': 1,
|
'm5stack-grey': {'ADC1': 35, 'ADC2': 36, 'G0': 0, 'G1': 1, 'G12': 12, 'G13': 13, 'G15': 15,
|
||||||
'G17': 17, 'G22': 22, 'G5': 5, 'G13': 13, 'G0': 0, 'G34': 34, 'ADC1': 35,
|
'G16': 16, 'G17': 17, 'G18': 18, 'G19': 19, 'G2': 2, 'G21': 21, 'G22': 22,
|
||||||
'ADC2': 36},
|
'G23': 23, 'G25': 25, 'G26': 26, 'G3': 3, 'G34': 34, 'G35': 35, 'G36': 36,
|
||||||
|
'G5': 5, 'RXD2': 16, 'TXD2': 17},
|
||||||
|
'm5stick-c': {'ADC1': 35, 'ADC2': 36, 'G0': 0, 'G10': 10, 'G26': 26, 'G32': 32, 'G33': 33,
|
||||||
|
'G36': 36, 'G37': 37, 'G39': 39, 'G9': 9, 'MISO': 36, 'MOSI': 15, 'SCK': 13,
|
||||||
|
'SCL': 33, 'SDA': 32},
|
||||||
|
'magicbit': {'BLUE_LED': 17, 'BUZZER': 25, 'GREEN_LED': 16, 'LDR': 36, 'LED': 16,
|
||||||
|
'LEFT_BUTTON': 35, 'MOTOR1A': 27, 'MOTOR1B': 18, 'MOTOR2A': 16, 'MOTOR2B': 17,
|
||||||
|
'POT': 39, 'RED_LED': 27, 'RIGHT_PUTTON': 34, 'YELLOW_LED': 18},
|
||||||
'mhetesp32devkit': {'LED': 2},
|
'mhetesp32devkit': {'LED': 2},
|
||||||
'mhetesp32minikit': {'LED': 2},
|
'mhetesp32minikit': {'LED': 2},
|
||||||
'microduino-core-esp32': {'SDA': 22, 'SCL': 21, 'SDA1': 12, 'SCL1': 13, 'A0': 12, 'A1': 13,
|
'microduino-core-esp32': {'A0': 12, 'A1': 13, 'A10': 25, 'A11': 26, 'A12': 27, 'A13': 14,
|
||||||
'A2': 15, 'A3': 4, 'A6': 38, 'A7': 37, 'A8': 32, 'A9': 33, 'A10': 25,
|
'A2': 15, 'A3': 4, 'A6': 38, 'A7': 37, 'A8': 32, 'A9': 33, 'D0': 3,
|
||||||
'A11': 26, 'A12': 27, 'A13': 14, 'D0': 3, 'D1': 1, 'D2': 16, 'D3': 17,
|
'D1': 1, 'D10': 5, 'D11': 23, 'D12': 19, 'D13': 18, 'D14': 12,
|
||||||
'D4': 32, 'D5': 33, 'D6': 25, 'D7': 26, 'D8': 27, 'D9': 14, 'D10': 5,
|
'D15': 13, 'D16': 15, 'D17': 4, 'D18': 22, 'D19': 21, 'D2': 16,
|
||||||
'D11': 23, 'D12': 19, 'D13': 18, 'D14': 12, 'D15': 13, 'D16': 15,
|
'D20': 38, 'D21': 37, 'D3': 17, 'D4': 32, 'D5': 33, 'D6': 25,
|
||||||
'D17': 4, 'D18': 22, 'D19': 21, 'D20': 38, 'D21': 37},
|
'D7': 26, 'D8': 27, 'D9': 14, 'SCL': 21, 'SCL1': 13, 'SDA': 22,
|
||||||
'nano32': {'LED': 16, 'BUTTON': 0},
|
'SDA1': 12},
|
||||||
'nina_w10': {'LED_GREEN': 33, 'LED_RED': 23, 'LED_BLUE': 21, 'SW1': 33, 'SW2': 27, 'SDA': 12,
|
'nano32': {'BUTTON': 0, 'LED': 16},
|
||||||
'SCL': 13, 'D0': 3, 'D1': 1, 'D2': 26, 'D3': 25, 'D4': 35, 'D5': 27, 'D6': 22,
|
'nina_w10': {'D0': 3, 'D1': 1, 'D10': 5, 'D11': 19, 'D12': 23, 'D13': 18, 'D14': 13,
|
||||||
'D7': 0, 'D8': 15, 'D9': 14, 'D10': 5, 'D11': 19, 'D12': 23, 'D13': 18, 'D14': 13,
|
'D15': 12, 'D16': 32, 'D17': 33, 'D18': 21, 'D19': 34, 'D2': 26, 'D20': 36,
|
||||||
'D15': 12, 'D16': 32, 'D17': 33, 'D18': 21, 'D19': 34, 'D20': 36, 'D21': 39},
|
'D21': 39, 'D3': 25, 'D4': 35, 'D5': 27, 'D6': 22, 'D7': 0, 'D8': 15, 'D9': 14,
|
||||||
|
'LED_BLUE': 21, 'LED_GREEN': 33, 'LED_RED': 23, 'SCL': 13, 'SDA': 12, 'SW1': 33,
|
||||||
|
'SW2': 27},
|
||||||
'node32s': {},
|
'node32s': {},
|
||||||
'nodemcu-32s': {'LED': 2, 'BUTTON': 0},
|
'nodemcu-32s': {'BUTTON': 0, 'LED': 2},
|
||||||
'odroid_esp32': {'LED': 2, 'SDA': 15, 'SCL': 4, 'SS': 22, 'ADC1': 35, 'ADC2': 36},
|
'odroid_esp32': {'ADC1': 35, 'ADC2': 36, 'LED': 2, 'SCL': 4, 'SDA': 15, 'SS': 22},
|
||||||
'onehorse32dev': {'LED': 5, 'BUTTON': 0, 'A1': 37, 'A2': 38},
|
'onehorse32dev': {'A1': 37, 'A2': 38, 'BUTTON': 0, 'LED': 5},
|
||||||
'oroca_edubot': {'LED': 13, 'TX': 17, 'RX': 16, 'SDA': 23, 'SS': 2, 'MOSI': 18, 'SCK': 5,
|
'oroca_edubot': {'A0': 34, 'A1': 39, 'A2': 36, 'A3': 33, 'D0': 4, 'D1': 16, 'D2': 17,
|
||||||
'A0': 34, 'A1': 39, 'A2': 36, 'A3': 33, 'D0': 4, 'D1': 16, 'D2': 17, 'D3': 22,
|
'D3': 22, 'D4': 23, 'D5': 5, 'D6': 18, 'D7': 19, 'D8': 33, 'LED': 13,
|
||||||
'D4': 23, 'D5': 5, 'D6': 18, 'D7': 19, 'D8': 33, 'VBAT': 35},
|
'MOSI': 18, 'RX': 16, 'SCK': 5, 'SDA': 23, 'SS': 2, 'TX': 17, 'VBAT': 35},
|
||||||
'pico32': {},
|
'pico32': {},
|
||||||
'pocket_32': {'LED': 16},
|
'pocket_32': {'LED': 16},
|
||||||
|
'pycom_gpy': {'A1': 37, 'A2': 38, 'LED': 0, 'MISO': 37, 'MOSI': 22, 'SCK': 13, 'SCL': 13,
|
||||||
|
'SDA': 12, 'SS': 17},
|
||||||
'quantum': {},
|
'quantum': {},
|
||||||
'ttgo-lora32-v1': {'LED': 2, 'BUTTON': 0, 'SS': 18, 'MOSI': 27, 'SCK': 5, 'A1': 37, 'A2': 38,
|
'sparkfun_lora_gateway_1-channel': {'MISO': 12, 'MOSI': 13, 'SCK': 14, 'SS': 16},
|
||||||
'OLED_SDA': 4, 'OLED_SCL': 15, 'OLED_RST': 16, 'LORA_SCK': 5,
|
'tinypico': {},
|
||||||
'LORA_MISO': 19, 'LORA_MOSI': 27, 'LORA_CS': 18, 'LORA_RST': 14,
|
'ttgo-lora32-v1': {'A1': 37, 'A2': 38, 'BUTTON': 0, 'LED': 2, 'MOSI': 27, 'SCK': 5, 'SS': 18},
|
||||||
'LORA_IRQ': 26},
|
'ttgo-t-beam': {'BUTTON': 39, 'LED': 14, 'MOSI': 27, 'SCK': 5, 'SS': 18},
|
||||||
'ttgo-t-beam': {'LORA_SCK': 5, 'LORA_MISO': 19, 'LORA_MOSI': 27, 'LORA_CS': 18, 'LORA_RST': 23,
|
'ttgo-t-watch': {'BUTTON': 36, 'MISO': 2, 'MOSI': 15, 'SCK': 14, 'SS': 13},
|
||||||
'LORA_IRQ': 26, 'LORA_IO1': 33, 'LORA_IO2': 32, 'SS': 18, 'MOSI': 27, 'SCK': 5,
|
'ttgo-t1': {'LED': 22, 'MISO': 2, 'MOSI': 15, 'SCK': 14, 'SCL': 23, 'SS': 13},
|
||||||
'T8': 32, 'T9': 33, 'DAC2': 25},
|
'turta_iot_node': {},
|
||||||
'turta_iot_node': {'LED': 13, 'TX': 10, 'RX': 9, 'SDA': 23, 'SS': 21, 'MOSI': 18, 'SCK': 5,
|
'vintlabs-devkit-v1': {'LED': 2, 'PWM0': 12, 'PWM1': 13, 'PWM2': 14, 'PWM3': 15, 'PWM4': 16,
|
||||||
'A0': 4, 'A1': 25, 'A2': 26, 'A3': 27, 'A8': 38, 'T1': 25, 'T2': 26,
|
'PWM5': 17, 'PWM6': 18, 'PWM7': 19},
|
||||||
'T3': 27, 'T4': 32, 'T5': 33, 'T6': 34, 'T7': 35, 'T8': 22, 'T9': 23,
|
'wemos_d1_mini32': {'D0': 26, 'D1': 22, 'D2': 21, 'D3': 17, 'D4': 16, 'D5': 18, 'D6': 19,
|
||||||
'T10': 10, 'T11': 9, 'T12': 21, 'T13': 5, 'T14': 18, 'T15': 19,
|
'D7': 23, 'D8': 5, 'LED': 2, 'RXD': 3, 'TXD': 1, '_VBAT': 35},
|
||||||
'T16': 37, 'T17': 14, 'T18': 2, 'T19': 38},
|
'wemosbat': {'LED': 16},
|
||||||
'wemosbat': 'pocket_32',
|
'wesp32': {'MISO': 32, 'SCL': 4, 'SDA': 15},
|
||||||
'wesp32': {'SCL': 4, 'SDA': 2, 'MISO': 32, 'ETH_PHY_ADDR': 0, 'ETH_PHY_MDC': 16,
|
'widora-air': {'A1': 39, 'A2': 35, 'A3': 25, 'A4': 26, 'A5': 14, 'A6': 12, 'A7': 15, 'A8': 13,
|
||||||
'ETH_PHY_MDIO': 17},
|
'A9': 2, 'BUTTON': 0, 'D0': 19, 'D1': 23, 'D2': 18, 'D3': 17, 'D4': 16,
|
||||||
'widora-air': {'LED': 25, 'BUTTON': 0, 'SDA': 23, 'SCL': 19, 'MOSI': 16, 'MISO': 17, 'A1': 39,
|
'D5': 5, 'D6': 4, 'LED': 25, 'MISO': 17, 'MOSI': 16, 'SCL': 19, 'SDA': 23,
|
||||||
'A2': 35, 'A3': 25, 'A4': 26, 'A5': 14, 'A6': 12, 'A7': 15, 'A8': 13, 'A9': 2,
|
'T0': 19, 'T1': 23, 'T2': 18, 'T3': 17, 'T4': 16, 'T5': 5, 'T6': 4},
|
||||||
'D0': 19, 'D1': 23, 'D2': 18, 'D3': 17, 'D4': 16, 'D5': 5, 'D6': 4, 'T0': 19,
|
|
||||||
'T1': 23, 'T2': 18, 'T3': 17, 'T4': 16, 'T5': 5, 'T6': 4},
|
|
||||||
'xinabox_cw02': {'LED': 27},
|
'xinabox_cw02': {'LED': 27},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ build_flags =
|
||||||
src_filter = +<esphome>
|
src_filter = +<esphome>
|
||||||
|
|
||||||
[env:livingroom8266]
|
[env:livingroom8266]
|
||||||
|
; use Arduino framework v2.3.0 for clang-tidy (latest 2.5.2 breaks static code analysis, see #760)
|
||||||
platform = espressif8266@1.8.0
|
platform = espressif8266@1.8.0
|
||||||
board = nodemcuv2
|
board = nodemcuv2
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
@ -41,7 +42,7 @@ build_flags = ${common.build_flags}
|
||||||
src_filter = ${common.src_filter} +<tests/livingroom8266.cpp>
|
src_filter = ${common.src_filter} +<tests/livingroom8266.cpp>
|
||||||
|
|
||||||
[env:livingroom32]
|
[env:livingroom32]
|
||||||
platform = espressif32@1.6.0
|
platform = espressif32@1.11.0
|
||||||
board = nodemcu-32s
|
board = nodemcu-32s
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
|
|
Loading…
Reference in a new issue