Skip to content

Commit

Permalink
Merge pull request #3 from bmorcelli/main
Browse files Browse the repository at this point in the history
TV-B-Gone e minnor fixes
  • Loading branch information
pr3y authored May 7, 2024
2 parents 3db84a0 + 2d7f854 commit b5f0ceb
Show file tree
Hide file tree
Showing 7 changed files with 9,406 additions and 77 deletions.
38 changes: 22 additions & 16 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ build_flags =
lib_deps =
AsyncTCP
esphome/ESPAsyncWebServer-esphome
WireGuard-ESP32
WireGuard-ESP32
IRremoteESP8266
; bodmer/TFT_eSPI@^2.5.43 ; Esta biblioteca deve estar na pasta lib, devido as alterações no drive do StickC


Expand Down Expand Up @@ -60,6 +61,7 @@ build_flags =

-DLED=19
-DLED_ON=HIGH
-DLED_OFF=LOW
-DBAT_PIN=38

-DFP=1 ; tamanho da fonte pequena
Expand Down Expand Up @@ -104,11 +106,11 @@ framework = arduino
board_build.partitions = custom_4Mb.csv
build_flags =
${common.build_flags}

-DSTICK_C_PLUS=1
-DROTATION=3
-DHAS_BTN=1
-DSEL_BTN=37
-DROTATION=3
-DHAS_BTN=1
-DSEL_BTN=37
-DUP_BTN=0
-DDW_BTN=39
-DBTN_ALIAS='"M5"'
Expand All @@ -121,6 +123,7 @@ build_flags =

-DLED=10
-DLED_ON=LOW
-DLED_OFF=HIGH

-DFP=1
-DFM=2
Expand Down Expand Up @@ -166,13 +169,13 @@ build_flags =
${common.build_flags}
-DCARDPUTER=1

-DROTATION=1
-DROTATION=1

-DHAS_BTN=1
-DHAS_BTN=1
-DBTN_ALIAS='"Ok"'
-DBTN_PIN=0
-DBTN_PIN=0

-DHAS_SCREEN=1
-DHAS_SCREEN=1
-DWIDTH=240
-DHEIGHT=135
-DBACKLIGHT=38
Expand All @@ -186,6 +189,7 @@ build_flags =
-DBAT_PIN=10
-DLED=21
-DLED_ON=HIGH
-DLED_OFF=LOW

-DUSER_SETUP_LOADED=1
-DST7789_2_DRIVER=1
Expand Down Expand Up @@ -227,9 +231,9 @@ build_flags =
-DSTICK_C=1
-DSTICK_C_PLUS=1

-DROTATION=3
-DHAS_BTN=1
-DSEL_BTN=37
-DROTATION=3
-DHAS_BTN=1
-DSEL_BTN=37
-DUP_BTN=0
-DDW_BTN=39
-DBTN_ALIAS='"M5"'
Expand All @@ -242,6 +246,7 @@ build_flags =

-DLED=10
-DLED_ON=LOW
-DLED_OFF=HIGH


-DFP=1
Expand Down Expand Up @@ -271,13 +276,13 @@ build_flags =
${common.build_flags}
-DSTICK_C=1
-DCARDPUTER=1
-DROTATION=1
-DHAS_BTN=1
-DROTATION=1
-DHAS_BTN=1
-DMAX_SPIFFS=0x100000
-DMAX_APP=0x4F0000
-DBTN_ALIAS='"G0"'
-DBTN_PIN=0
-DHAS_SCREEN=1
-DBTN_PIN=0
-DHAS_SCREEN=1

-DWIDTH=160
-DHEIGHT=80
Expand All @@ -292,6 +297,7 @@ build_flags =
-DBAT_PIN=10
-DLED=21
-DLED_ON=HIGH
-DLED_OFF=LOW
-DBACKLIGHT=38
-DMINBRIGHT=165
-DMAX_MENU_SIZE=5
Expand Down
Loading

0 comments on commit b5f0ceb

Please sign in to comment.