mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add comment
This commit is contained in:
@@ -217,13 +217,11 @@ build_unflags = ${common.unbuild_flags}
|
|||||||
;
|
;
|
||||||
; to build and run directly on linux: pio run -e native -t exec
|
; to build and run directly on linux: pio run -e native -t exec
|
||||||
;
|
;
|
||||||
; to build and run on Windows:
|
; to build and run on Windows, it needs winsock for the console input so:
|
||||||
; - For the first time, install Msys2 (https://www.msys2.org/) and the GCC compiler with `run pacman -S mingw-w64-ucrt-x86_64-gcc`
|
; - For the first time, install Msys2 (https://www.msys2.org/) and the GCC compiler with `run pacman -S mingw-w64-ucrt-x86_64-gcc`
|
||||||
; - Then, build with `pio run -e native` to create the program.exe file
|
; - Then, build with `pio run -e native` to create the program.exe file
|
||||||
; - run by calling the executable from the Mysys shell e.g. `C:/msys64/msys2_shell.cmd -defterm -here -no-start -ucrt64 -c /d/dev/proddy/EMS-ESP32/.pio/build/native/program.exe`
|
; - run by calling the executable from the Mysys shell e.g. `C:/msys64/msys2_shell.cmd -defterm -here -no-start -ucrt64 -c /d/dev/proddy/EMS-ESP32/.pio/build/native/program.exe`
|
||||||
;
|
; - or integrate into Windows Terminal https://www.msys2.org/docs/terminals/
|
||||||
; The shell is needed to simulate the Winsock serial port.
|
|
||||||
; You can also integrate into Windows Terminal. See https://www.msys2.org/docs/terminals/
|
|
||||||
;
|
;
|
||||||
[env:native]
|
[env:native]
|
||||||
platform = native
|
platform = native
|
||||||
@@ -262,6 +260,7 @@ lib_ignore = Module EMS-ESP-Modules
|
|||||||
|
|
||||||
; unit tests
|
; unit tests
|
||||||
; pio run -e native-test -t exec
|
; pio run -e native-test -t exec
|
||||||
|
; works on Linux and Windows
|
||||||
[env:native-test]
|
[env:native-test]
|
||||||
platform = native
|
platform = native
|
||||||
test_build_src = true
|
test_build_src = true
|
||||||
|
|||||||
Reference in New Issue
Block a user