Skip to content

Commit

Permalink
hy
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyscout committed Apr 22, 2024
1 parent 5718e13 commit 1df3292
Show file tree
Hide file tree
Showing 18 changed files with 729 additions and 1,079 deletions.
31 changes: 26 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,26 @@
[platformio]
description = Library to support Microchip MPC3x6xR 16/24bit analog to digital converters.

# common env settings

[env]
framework = arduino
check_tool = cppcheck, clangtidy
test_build_src = yes
debug_build_flags = -Og -g3 -ggdb

# ci native test

[test]
platform = native
build_type = test
lib_deps =
ArduinoFake=https://github.com/FabioBatSilva/ArduinoFake
build_flags =
-DPIO_NATIVE_TESTING
-frtti
-fexceptions


# Arduino UNO shaped boards

Expand All @@ -27,7 +41,7 @@ board = wemos_d1_uno32
[env:ESP8266]
platform = espressif8266
board = d1
test_speed= 9600
test_speed = 9600

[env:ATMEGA328P]
platform = atmelavr
Expand All @@ -36,9 +50,6 @@ board = uno
[env:SAMD51P20A]
platform = atmelsam
board = adafruit_grandcentral_m4
debug_tool = atmel-ice
;upload_protocol = atmel-ice



# Sparkfun PROMICRO shaped boards
Expand All @@ -47,13 +58,23 @@ debug_tool = atmel-ice
platform = atmelavr
board = sparkfun_promicro8

[env:test_ATMEGA32U4]
extends = test, env:ATMEGA32U4

[env:SAMD21G18A]
platform = atmelsam
#board = sparkfun_samd21_mini_usb
board = adafruit_metro_m0

[env:test_SAMD21G18A]
build_type = debug
platform = atmelsam
board = adafruit_metro_m0
#board = sparkfun_samd21_mini_usb
debug_tool = atmel-ice
#debug_build_flags = -Og -g3 -ggdb
upload_protocol = atmel-ice
build_type = debug
debug_init_break = tbreak setup

# Adafruit FEATHER shaped boards

Expand Down
51 changes: 0 additions & 51 deletions platformio_ci.ini

This file was deleted.

Loading

0 comments on commit 1df3292

Please sign in to comment.