Initial commit.

This commit is contained in:
conky
2026-08-31 15:45:58 +03:00
commit ec9805b01a
22 changed files with 1536 additions and 0 deletions

33
platformio.ini Normal file
View 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