Can't not found the "TIM_SMCR_ECE"

Post Reply
skylin008
Posts: 5
Joined: Sun Feb 05, 2023 12:35 pm

Can't not found the "TIM_SMCR_ECE"

Post by skylin008 »

I am a arduino beginer, I had build the STM32-GPSDO file, any error issue shows as follow:


C:\Users\Administrator\Downloads\ArduinoIDE\GPSDO_V006c\GPSDO_V006c.ino:2761:17: error: 'TIM_SMCR_ECE' was not declared in this scope
TIM2->SMCR |= TIM_SMCR_ECE; // 0x4000


which file include the TIM_SMCR_ECE ,thanks!
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Can't not found the "TIM_SMCR_ECE"

Post by fpiSTM »

TIM_SMCR_ECE is defined for each mcu by the cmsis device header.
Which MCU you used?
And which stm32 core? Because if you use Roger's core, I don't think the GPSDO library are compatible.
davisjanden1
Posts: 2
Joined: Thu Jan 25, 2024 1:28 am

Re: Can't not found the "TIM_SMCR_ECE"

Post by davisjanden1 »

This comment showcases the determination and enthusiasm of a beginner in the Arduino community, who despite encountering errors, remains committed to learning and troubleshooting their project. It highlights the individual's proactive approach to seeking assistance and resolving issues, which is essential for growth and proficiency in Arduino programming.
Post Reply

Return to “PR's bugs and enhancements”