This FreeRTOS programs uses C programming language that enables the STM32 mcu to get the pressure data from the BMP280 sensor through I2C communication channel.
1 STM32L0
2 BMP280
3 STM32CUBEMX
4 Keil/Eclipse (I'm using Keil)
You need to build the project using stm32cubemx software. I had provided the .ioc file for this purpose
Utilize the Inc and Src files.