Skip to content

Commit

Permalink
add comments in platformio.ini about how to build the firmware for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
rayshobby committed Jul 31, 2024
1 parent 0ad54ed commit f4b8e3e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,22 @@ lib_deps =
build_src_filter = +<*> -<html/*> --<external/*>
monitor_speed=115200


; The following env is for syntax highlighting only,
; it is NOT for building the firmware for Linux.
; To build the firmware for Linux, please follow:
; https://openthings.freshdesk.com/support/solutions/articles/5000631599
[env:linux]
platform = native
build_flags =
${env.build_flags}
-DOSPI

; The following env is for syntax highlighting only,
; it is NOT for building the firmware for Linux.
; To build the firmware for Linux, please follow:
; https://openthings.freshdesk.com/support/solutions/articles/5000631599
[env:demo]
platform = native
build_flags =
${env.build_flags}
-DDEMO
-DDEMO

0 comments on commit f4b8e3e

Please sign in to comment.