Stm32f030f4 and ds2401 ID chip onewire communication
Hello everyone,
I started new project that consist of ds2401 and stm32f030f4.I use Cubemx and hal drivers for this project.
Basically ? just would like to use onewire communication to read data from this ID chip.Therefore I tried to add TM drivers from this webside and this library is used for stm32f4 series.I just wanted to migrate it for f0 series but unfortunately ? was not able to add this libraries.
Is there anyway to make them work in my microcontroller.
Here is an example for onewire connection and the libarary is available below of this page :
https://stm32f4-discovery.net/2014/05/library-12-onewire-library-for-stm43f4xx/
here is my projectview

On the left side I added TM drivers , But after build I get following errors;
../Drivers/STM32F0xx_HAL_Driver/Inc/tm_stm32_delay.h(185): error: &sharp20: identifier ''DWT'' is undefined
uint32_t start = DWT->CYCCNT;..\Drivers\STM32F0xx_HAL_Driver\Src\tm_stm32_delay.c(47): error: &sharp20: identifier ''CoreDebug'' is undefined CoreDebug->DEMCR &= ~0x01000000;..\Drivers\STM32F0xx_HAL_Driver\Src\tm_stm32_delay.c(51): error: &sharp20: identifier ''DWT'' is undefined#onewire #ds2401 #stm32f030f4 #hal-drivers