where is variant_config.json??

Post here first, or if you can't find a relevant section!
Post Reply
ahsanu
Posts: 7
Joined: Wed Jul 27, 2022 1:14 pm

where is variant_config.json??

Post by ahsanu »

recently i started learn stm32f407vgt6 with arduino core, then i want to try make my own variant, i have read this on manual https://github.com/stm32duino/wiki/wiki ... 28board%29, but on generated variant files section, i don't know how to generate this file, then.
based from this repo https://github.com/RickKimball/vendor, i can generate use python script called
genpinmap_arduino.py
like explained in https://github.com/stm32duino/wiki/wiki/genpinmap, but after searching on google i found that script has change to
stm32variant.py
on https://github.com/stm32duino/Arduino_C ... /CI/update.
then after try to run that script i got this result
Platform is Windows

Cube Mx seems not to be installed or not at the specified location.

Please check the value set for 'CUBEMX_DIRECTORY' in 'variant_config.json' file.
so where i can place
variant_config.json
or how i can use the new script
stm32variant.py
??

thanks for any help
by fpiSTM » Wed Jul 27, 2022 3:19 pm
You don 't need ro generate generic files. They are already generated. Look in variant folders.
Go to full post
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: where is variant_config.json??

Post by fpiSTM »

You don 't need ro generate generic files. They are already generated. Look in variant folders.
ahsanu
Posts: 7
Joined: Wed Jul 27, 2022 1:14 pm

Re: where is variant_config.json??

Post by ahsanu »

i got it, iam newbie sorry for stupid question.
thanks :D
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: where is variant_config.json??

Post by fpiSTM »

Welcome.
Not a stupid question when we do not know the answer ;)
Post Reply

Return to “General discussion”