Initial commit.
This commit is contained in:
33
platformio.ini
Normal file
33
platformio.ini
Normal file
@@ -0,0 +1,33 @@
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
framework = arduino
|
||||
lib_deps =
|
||||
SPI
|
||||
I2C
|
||||
https://github.com/RobTillaart/MS5611#0.5.2
|
||||
https://github.com/RobTillaart/MS5611_SPI#0.4.3
|
||||
|
||||
|
||||
[env:nucleo_f042k6]
|
||||
extends = common
|
||||
platform = ststm32
|
||||
board = nucleo_f042k6
|
||||
monitor_speed = 115200
|
||||
; -flto and -fsingle-precision-constant are load-bearing, not tuning: the
|
||||
; STM32F042K6 has only 32 KB of flash and the build overflows without them.
|
||||
; Both MS5611 drivers write their compensation maths with unsuffixed double
|
||||
; literals, which would otherwise link ~5 KB of double soft-float helpers.
|
||||
build_flags =
|
||||
-Wall
|
||||
-Wextra
|
||||
-flto
|
||||
-fsingle-precision-constant
|
||||
Reference in New Issue
Block a user