Skip to content
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

Opening in STM32CUBEIDE #8

Open
RanHam335 opened this issue Jan 8, 2021 · 2 comments
Open

Opening in STM32CUBEIDE #8

RanHam335 opened this issue Jan 8, 2021 · 2 comments

Comments

@RanHam335
Copy link

I'm a total noob when it comes to STM32CUBEIDE so sorry if this comes across as a stupid question. But I downloaded the files and since there wasn't a project file in there, I started a new project using the base.ioc file. The problem I'm having is trying to import the other files and getting the project to compile. Is there something I'm missing here on how to open this base project? I was hoping to get the project open and sent over to my unlocked G&W so then I can mess around a try to figure out how everything works.

@Willyarma
Copy link

Willyarma commented Jan 11, 2021

I've done it, I'm sorry but I cant remember how, it took a lot of trial and error, but it does work.
I think it was something like creating a new empty project from the IOC and then copying over all the other source c and h files without overwriting from the project and merging main.c and h. also I had to manually add string.h and tweak a couple of function calls with casts. I mostly left the linker script alone apart from adding the SPI flash segment and lcd section manually.
However i'm having a nightmare with my STLink/V2 it only uploads from the IDE like 1 in 10 times.

@slipperstree
Copy link

slipperstree commented Apr 23, 2022

However i'm having a nightmare with my STLink/V2 it only uploads from the IDE like 1 in 10 times.

I guess you can unplug the battery wire and plug usb-c in when upload from the IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants