Skip to content

Commit 016c100

Browse files
committed
Add new board Shelly dimmer 2
The shelly dimmer 2 [0] board is tiny LIVE AC powered board used as a dimmer by Shelly. It features a 16M (2mb) quad IO flash chip and already has support in tasmota [1] (and home-assistant). Dimming functionality is provided by a secondary STM32 microcontroller, which is driven via UART0, which means that when using the microcontroller (and pulling it out of reset), UART0 cannot be used for debugging. Flashing works just fine, as the STM32 is in reset and ignores the serial messages. Runtime debugging is provided by the exposed UART1_TX pin (labeled ESP_DBG_TX by shelly). [0]: https://us.shelly.com/products/shelly-dimmer2 [1]: https://templates.blakadder.com/shelly_Dimmer_2.html Signed-off-by: Olliver Schinagl <[email protected]>
1 parent 87fdc0f commit 016c100

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

boards/shelly_dimmer_2.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "eagle.flash.2m64.ld"
5+
},
6+
"core": "esp8266",
7+
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01",
8+
"f_cpu": "80000000L",
9+
"f_flash": "40000000L",
10+
"flash_mode": "qio",
11+
"mcu": "esp8266",
12+
"variant": "shelly_dimmer_2"
13+
},
14+
"connectivity": [
15+
"wifi"
16+
],
17+
"frameworks": [
18+
"arduino",
19+
"esp8266-rtos-sdk",
20+
"esp8266-nonos-sdk"
21+
],
22+
"name": "WeMos D1 ESP-WROOM-02",
23+
"upload": {
24+
"maximum_ram_size": 81920,
25+
"maximum_size": 2097152,
26+
"require_upload_port": true,
27+
"resetmethod": "ck",
28+
"speed": 115200
29+
},
30+
"url": "https://kb.shelly.cloud/knowledge-base/shelly-dimmer-2",
31+
"vendor": "Shelly"
32+
}

0 commit comments

Comments
 (0)