Skip to content

Commit

Permalink
platformio.ini: Support ANAVI Miracle Controller
Browse files Browse the repository at this point in the history
Add support for ANAVI Miracle Controller open source hardware
development board with ESP8266. For the moment use a single LED
strip connected to LED1.

Signed-off-by: Leon Anavi <[email protected]>
  • Loading branch information
leon-anavi committed Dec 15, 2020
1 parent 84e4a4b commit da7ff52
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,14 @@ board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266}

[env:anavi_miracle_controller]
board = d1_mini
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266} -D LEDPIN=12 -D IRPIN=-1 -D RLYPIN=2

# ------------------------------------------------------------------------------
# custom board configurations
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit da7ff52

Please sign in to comment.