Skip to content

Commit

Permalink
added comments for environments
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausMu committed Jan 26, 2025
1 parent a68c4e3 commit e6ecd8f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
[platformio]
default_envs = esp32

; platformio.ini custom options, reused by lovyanGFX, SDL2 and in OMOTE code
; used by all environments
[env]
;-- platformio.ini custom options, reused by lovyanGFX, SDL2 and in OMOTE code -
custom_screen_width = 240
custom_screen_height = 320
lib_deps =
Expand Down Expand Up @@ -127,6 +128,7 @@ build_src_filter =
-<../hardware/ESP32/boardtest/main_boardtest.cpp>
-<devices_pool/*>

; use this is for OMOTE hardware revision 1 to 4
[env:esp32]
extends = esp32-common
board = esp32dev
Expand All @@ -144,6 +146,7 @@ build_flags =
; please select environment esp32-s3 for later hardware revisions!
-D OMOTE_HARDWARE_REV=4

; use this is for OMOTE hardware revision 5
[env:esp32-s3]
extends = esp32-common
board = esp32-s3-devkitc-1
Expand All @@ -164,6 +167,7 @@ build_flags =
; 5: rev5 - Major overhaul: ESP32-S3 with PSRAM, 8-Bit LCD, TCA8418
-D OMOTE_HARDWARE_REV=5

; use this is for a test of the board, OMOTE hardware revision 1 to 4
[env:esp32_testboard]
extends = env:esp32
build_flags =
Expand All @@ -172,7 +176,7 @@ build_src_filter =
+<../hardware/ESP32/boardtest/main_boardtest.cpp>
+<../hardware/ESP32/lib/Keypad/src/*>

; use this if you are using Ubuntu or WSL2 (64 bit compiler)
; use this if you are using the simulator in Ubuntu or WSL2 (64 bit compiler)
[env:linux_64bit]
platform = native@^1.2.1
lib_deps =
Expand Down Expand Up @@ -205,15 +209,15 @@ build_src_filter =
+<../hardware/windows_linux/*>
-<devices_pool/*>

; use this if you are using Windows MSYS2 MINGW64 (64 bit compiler)
; use this if you are using the simulator in Windows MSYS2 MINGW64 (64 bit compiler)
[env:windows_64bit]
extends = env:linux_64bit
build_flags =
${env:linux_64bit.build_flags}
; winsock
-l ws2_32

; use this if you are using Windows MSYS2 MINGW32 (32 bit compiler)
; use this if you are using the simulator in Windows MSYS2 MINGW32 (32 bit compiler)
[env:windows_32bit]
extends = env:windows_64bit
build_unflags =
Expand All @@ -235,6 +239,7 @@ build_flags =
;linker option
-Wl,-mi386pe

; use this if you are using the simulator in macOS
[env:macOS]
extends = env:linux_64bit
build_flags =
Expand Down

0 comments on commit e6ecd8f

Please sign in to comment.