add comment

This commit is contained in:
proddy
2024-08-02 09:59:22 +02:00
parent 085314fba4
commit 7e8a4f72ef

View File

@@ -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 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`
; - 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`
;
; The shell is needed to simulate the Winsock serial port.
; You can also integrate into Windows Terminal. See https://www.msys2.org/docs/terminals/
; - or integrate into Windows Terminal https://www.msys2.org/docs/terminals/
;
[env:native]
platform = native
@@ -262,6 +260,7 @@ lib_ignore = Module EMS-ESP-Modules
; unit tests
; pio run -e native-test -t exec
; works on Linux and Windows
[env:native-test]
platform = native
test_build_src = true