Skip to content

[New Variant] #648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mayurharge opened this issue Sep 12, 2019 · 5 comments
Closed

[New Variant] #648

mayurharge opened this issue Sep 12, 2019 · 5 comments
Labels
answered enhancement New feature or request new variant Add support of new bard question ❓ Usually converted as a discussion

Comments

@mayurharge
Copy link

mayurharge commented Sep 12, 2019

Hello,
I have followed add new variant steps as suggested in #633 .
I am getting these errors


error: 'TIM_HandleTypeDef' does not name a type

TIM_HandleTypeDef handle;


stm32/timer.h:188:25: error: variable or field 'timer_enable_clock' declared void

void timer_enable_clock(TIM_HandleTypeDef *htim);


stm32/timer.h:188:25: error: 'TIM_HandleTypeDef' was not declared in this scope


stm32/timer.h:188:44: error: 'htim' was not declared in this scope

void timer_enable_clock(TIM_HandleTypeDef *htim);


stm32/timer.h:189:26: error: variable or field 'timer_disable_clock' declared void

void timer_disable_clock(TIM_HandleTypeDef *htim);
here I am attaching my new Board file
boards.txt
and variant files
KIOT_L433xx.zip

please help to solve this issue and let me know where I went wrong

@mayurharge mayurharge added the new variant Add support of new bard label Sep 12, 2019
@fpistm
Copy link
Member

fpistm commented Sep 12, 2019

Hi @mayurharge
could you be more precise, please.
Firstly, which board you try to add with all relevant info (schematics, manual,..).
How do you proceed? Using git? Directly, in the latest core release (i.e. 1.6.1)?
Thanks in advance.

@fpistm fpistm added Request waiting feedback Further information is required labels Sep 12, 2019
@mayurharge
Copy link
Author

I am trying to add STM32L433CBT6 series board,
the sch is same as blue pill as this controller has the same pinout (planning to replace f103c with l433cb
I am using core 1.5.0
I am not using git (editing files in arduino packages)

@fpistm
Copy link
Member

fpistm commented Sep 12, 2019

There is lot of change since 1.5.0 in the variant folder. So, firstly update to the latest core version as the wiki is aligned with the last release.
That's probably solved your issue.

@mayurharge
Copy link
Author

mayurharge commented Sep 12, 2019 via email

@mayurharge
Copy link
Author

Thankx again for the help, updating core solved my problem

@fpistm fpistm added answered question ❓ Usually converted as a discussion and removed waiting feedback Further information is required labels Nov 6, 2019
@fpistm fpistm added enhancement New feature or request and removed Request labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered enhancement New feature or request new variant Add support of new bard question ❓ Usually converted as a discussion
Projects
None yet
Development

No branches or pull requests

2 participants