-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from rrivirr/merge_3
Merge 3 to main
- Loading branch information
Showing
7 changed files
with
129 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
#Select the default buil here. | ||
[platformio] | ||
default_envs = NUCLEO-F103RB-airpump | ||
default_envs = NUCLEO-F103RE-ch4-aht-ap | ||
|
||
#RB: not all drivers will fit | ||
[env:NUCLEO-F103RB] | ||
|
@@ -24,8 +24,6 @@ default_envs = NUCLEO-F103RB-airpump | |
-DUSE_HSI_CLOCK | ||
-Os | ||
-DPRODUCTION_FIRMWARE_BUILD | ||
-DRRIV_ANALOG | ||
-DRRIV_AHT | ||
build_unflags = -O2 | ||
# -std=gnu++17 | ||
#build_unflags = -std=gnu++11 | ||
|
@@ -62,6 +60,42 @@ default_envs = NUCLEO-F103RB-airpump | |
-DRRIV_ANALOG | ||
-DRRIV_DHT22 | ||
|
||
build_unflags = -O2 | ||
# -std=gnu++17 | ||
#build_unflags = -std=gnu++11 | ||
board_build.f_cpu = 64000000L | ||
lib_deps = | ||
; [email protected]:ZavenArra/ModularSensors.git#stm32f1 | ||
https://github.com/ZavenArra/ModularSensors.git#stm32f1 | ||
; https://github.com/deepwinter/Adafruit_BluefruitLE_nRF51.git | ||
https://github.com/WaterBearSondes/DS3231.git | ||
https://github.com/WaterBearSondes/atlas_OEM.git | ||
https://github.com/greiman/SdFat.git#1.1.4 | ||
https://github.com/DaveGamble/cJSON.git | ||
https://github.com/ZavenArra/CmdArduino.git | ||
https://github.com/adafruit/DHT-sensor-library.git | ||
https://github.com/adafruit/Adafruit_AHTX0.git | ||
https://github.com/adafruit/Adafruit_BME280_Library.git | ||
;adafruit/DHT sensor library | ||
monitor_speed = 115200 | ||
debug_port = /dev/ttyACM0 | ||
check_tool = cppcheck | ||
check_flags = --enable=all | ||
#RB: ch4 & AHT | ||
[env:NUCLEO-F103RB-ch4-aht] | ||
platform = ststm32 | ||
board_build.core = maple ;source https://github.com/rogerclarkmelbourne/Arduino_STM32 | ||
board = genericSTM32F103RB | ||
framework = arduino | ||
build_flags = | ||
-DSTM32 | ||
-fpermissive | ||
-DUSE_HSI_CLOCK | ||
-Os | ||
-DPRODUCTION_FIRMWARE_BUILD | ||
-DRRIV_ANALOG | ||
-DRRIV_AHT | ||
|
||
build_unflags = -O2 | ||
# -std=gnu++17 | ||
#build_unflags = -std=gnu++11 | ||
|
@@ -134,7 +168,7 @@ default_envs = NUCLEO-F103RB-airpump | |
-Os | ||
-DPRODUCTION_FIRMWARE_BUILD | ||
-DCONT_PWR | ||
-DRRIV | ||
-DRRIV_GENACTUATOR | ||
-DRRIV_AIRPUMP | ||
|
||
build_unflags = -O2 | ||
|
@@ -175,7 +209,45 @@ default_envs = NUCLEO-F103RB-airpump | |
-DRRIV_DHT22 | ||
-DRRIV_CO2 | ||
-DRRIV_RGB | ||
|
||
build_unflags = -O2 | ||
# -std=gnu++17 | ||
#build_unflags = -std=gnu++11 | ||
board_build.f_cpu = 64000000L | ||
lib_deps = | ||
; [email protected]:ZavenArra/ModularSensors.git#stm32f1 | ||
https://github.com/ZavenArra/ModularSensors.git#stm32f1 | ||
; https://github.com/deepwinter/Adafruit_BluefruitLE_nRF51.git | ||
https://github.com/WaterBearSondes/DS3231.git | ||
https://github.com/WaterBearSondes/atlas_OEM.git | ||
https://github.com/greiman/SdFat.git#1.1.4 | ||
https://github.com/DaveGamble/cJSON.git | ||
https://github.com/ZavenArra/CmdArduino.git | ||
https://github.com/adafruit/DHT-sensor-library.git | ||
https://github.com/adafruit/Adafruit_AHTX0.git | ||
https://github.com/adafruit/Adafruit_BME280_Library.git | ||
;adafruit/DHT sensor library | ||
monitor_speed = 115200 | ||
debug_port = /dev/ttyACM0 | ||
check_tool = cppcheck | ||
check_flags = --enable=all | ||
#spacer | ||
[env:NUCLEO-F103RE-ch4-aht-ap] | ||
platform = ststm32 | ||
board_build.core = maple ;source https://github.com/rogerclarkmelbourne/Arduino_STM32 | ||
board = genericSTM32F103RE | ||
framework = arduino | ||
build_flags = | ||
-DSTM32 | ||
-fpermissive | ||
-DUSE_HSI_CLOCK | ||
-Os | ||
-DPRODUCTION_FIRMWARE_BUILD | ||
-DCONT_PWR | ||
-DRRIV_ANALOG | ||
-DRRIV_AHT | ||
-DRRIV_AIRPUMP | ||
|
||
build_unflags = -O2 | ||
# -std=gnu++17 | ||
#build_unflags = -std=gnu++11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* RRIV - Open Source Environmental Data Logging Platform | ||
* RRIV - Open Source Environmental ` Logging Platform | ||
* Copyright (C) 20202 Zaven Arra [email protected] | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
|
Oops, something went wrong.