When reading the readme regarding the V2 sensor :
The firmware shall be loaded as such : pio run -t upload -e soilsensor_v2_L4
When checking in this configuration :
[env:soilsensor_v2_L4]
extends = base_soilsensor_2
board = nucleo_l412kb
Meaning the target MCU is : STM32L412KB
This one have a touch sensor https://www.st.com/en/microcontrollers-microprocessors/stm32l412kb.html
But the project on aisler is for STM32L041K6Tx
Also the stm32L041K6Tx does not have touch sensor.
If I understandand correctly your idea is what you want to use as peripheral ?
Would you please cross check if the Hardware in aisler/kickad project and Firmware would be compatible ?
When reading the readme regarding the V2 sensor :
The firmware shall be loaded as such : pio run -t upload -e soilsensor_v2_L4
When checking in this configuration :
[env:soilsensor_v2_L4]
extends = base_soilsensor_2
board = nucleo_l412kb
Meaning the target MCU is : STM32L412KB
This one have a touch sensor https://www.st.com/en/microcontrollers-microprocessors/stm32l412kb.html
But the project on aisler is for STM32L041K6Tx
Also the stm32L041K6Tx does not have touch sensor.
If I understandand correctly your idea is what you want to use as peripheral ?
Would you please cross check if the Hardware in aisler/kickad project and Firmware would be compatible ?