-
Notifications
You must be signed in to change notification settings - Fork 10
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
Modifying Pinout - IOC Code Regeneration Question #27
Comments
i have the same problem |
for me, i need a ADC pin, but ioc generate faulty code |
If you change the configuration, you may need to change the source files. CubeMX just helps with initialization and configuration. I'll take a look but this is really something to do with ST's toolchain |
i think so, it's like they did not optimize for every code generator tool chain. |
it's very complicate problem. With STM32CubeIDE tool chain, when i generate code with adc pin, adc_if.h is gone, i back up this file, but some code like generate DBG pin is gone, i think some configuration code is outside user code tag section |
Same issue. I also wanted to add one pin to adc. After regenerating the code, I found that the code base had huge changes. So my solution is to find out the real difference of adc-related codes and manually change it to the original codebase instead of using .ioc to regenerate the project. |
Building with the default configuration works fine. That said, when changing the pinout in CubeMX (e.g., enabling I2C1) regenerating the code throws several errors as shown below regarding lora_app_version.h not being found. Am I missing something basic?
I'm hoping to use the I2C and UART interfaces on the STM32WL in the LoRa-E5 module, but have had trouble getting over this hump. Thanks!
The text was updated successfully, but these errors were encountered: