Skip to content

Commit

Permalink
refactored pio tests via workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Aug 3, 2022
1 parent b8d743a commit b80df02
Showing 1 changed file with 23 additions and 44 deletions.
67 changes: 23 additions & 44 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,63 +33,42 @@ 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}

[env:esp8266full]
extends = esp8266_common
src_filter = -<*> +<platformio/>
[atmelsam_common]
extends = common
platform = atmelsam
board = seeed_wio_terminal

[env:esp32sps30i2c]
extends = esp32_common
src_filter = -<*> +<sps30i2c/>
;;;;;;;;;;;;;;;;;
;; T E S T S :
;;;;;;;;;;;;;;;;;

[env:esp32full]
extends = esp32_common
src_filter = -<*> +<platformio/>
[env:esp8266]
extends = esp8266_common
build_src_filter = -<*> +<advanced_multivariable/>

[env:esp32]
extends = esp32_common
src_filter = -<*> +<advanced_multivariable/>
build_src_filter = -<*> +<advanced_multivariable/>

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

; [env:teensy36]
; platform = teensy
; framework = arduino
; board = teensy36
; upload_speed = ${env.upload_speed}
; monitor_speed = ${env.monitor_speed}
; lib_deps = ${env.lib_deps}
; build_flags =
; ${env.build_flags}
; -D TEENSY_OPT_SMALLEST_CODE

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

0 comments on commit b80df02

Please sign in to comment.