Skip to content

Commit

Permalink
added new example for Wioterminal (atmelsam)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jul 29, 2022
1 parent fe45fcf commit 5e4f573
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
5 changes: 0 additions & 5 deletions examples/wio_terminal/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion examples/wio_terminal/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_flags =
-D CORE_DEBUG_LEVEL=0
lib_deps =
hpsaturn/CanAirIO Air Quality Sensors Library @ ^0.5.5
https://github.com/Seeed-Studio/Seeed_Arduino_LvGL.git
; https://github.com/Seeed-Studio/Seeed_Arduino_LvGL.git


[env:wioterminal]
Expand Down
49 changes: 29 additions & 20 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,31 @@ lib_deps =
https://github.com/jcomas/S8_UART.git
https://github.com/jcomas/CM1106_UART.git

[esp32_common]
platform = espressif32
board = esp32dev
[common]
framework = ${env.framework}
upload_speed = ${env.upload_speed}
monitor_speed = ${env.monitor_speed}
build_flags = ${env.build_flags}
lib_deps = ${env.lib_deps}
build_flags =
${env.build_flags}

[esp32_common]
extends = common
platform = espressif32
board = esp32dev

[esp8266_common]
extends = common
platform = espressif8266
framework = ${env.framework}
board = esp12e
monitor_speed = ${env.monitor_speed}
build_flags =
${env.build_flags}
lib_deps =
${env.lib_deps}

[arduino_avr]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
monitor_speed = ${env.monitor_speed}
build_flags =
${env.build_flags}
lib_deps =
${env.lib_deps}
[atmelsam_common]
extends = common
platform = atmelsam
board = seeed_wio_terminal

;;;;;;;;;;;;;;;;;
;; T E S T S :
;;;;;;;;;;;;;;;;;

[env:esp8266]
extends = esp8266_common
Expand All @@ -71,6 +67,9 @@ build_src_filter = -<*> +<advanced_multivariable/>
extends = esp32_common
build_src_filter = -<*> +<advanced_multivariable/>

[env:atmelsam]
extends = atmelsam_common
build_src_filter = -<*> +<wio_terminal/>

; [env:teensy36]
; platform = teensy
Expand All @@ -83,6 +82,16 @@ build_src_filter = -<*> +<advanced_multivariable/>
; ${env.build_flags}
; -D TEENSY_OPT_SMALLEST_CODE

; [arduino_avr]
; platform = atmelavr
; board = pro16MHzatmega328
; framework = arduino
; monitor_speed = ${env.monitor_speed}
; build_flags =
; ${env.build_flags}
; lib_deps =
; ${env.lib_deps}

;[env:arduino]
;extends = arduino_avr
;build_src_filter = -<*> +<platformio/>

0 comments on commit 5e4f573

Please sign in to comment.