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

Build errors for GD32F303 #10

Open
x893 opened this issue Dec 29, 2023 · 6 comments
Open

Build errors for GD32F303 #10

x893 opened this issue Dec 29, 2023 · 6 comments

Comments

@x893
Copy link

x893 commented Dec 29, 2023

Hello,
i try build for GS32F303
cmake .. -DUSE_GD32F3=1 -G"Unix Makefiles"
and see next errors.

Can you help ?
Thanks in advance
lnDSO150.txt

@mean00
Copy link
Owner

mean00 commented Jan 2, 2024

Hi Sorry for the delay
Did you do a "git submodule update --init" before starting the cmake command ?

@mean00
Copy link
Owner

mean00 commented Jan 2, 2024

ok there is something weird just a sec

@mean00
Copy link
Owner

mean00 commented Jan 2, 2024

I broke something , while i fix it, does the following work for you ?
(Build for G3F303 with half step and rotary encoder rewired)
lnDSO_M4_mod_hstep_96M_USB_CLANG.elf (2).ck_bin.gz
lnDSO_M4_mod_hstep_96M_USB_CLANG.elf.gz

@x893
Copy link
Author

x893 commented Jan 3, 2024

Hi,
thanks. I check later. Now build under Keil ARMCC.

@mean00
Copy link
Owner

mean00 commented Jan 3, 2024

This should work now, careful you'll want to use
cmake -DUSE_NO_DEFAULT=1 -DUSE_GD32F3=1 -G"Unix Makefiles" ..

else it will revert to default i.e. g32F3 + Clang

@x893
Copy link
Author

x893 commented Jan 3, 2024

Build successfully under linux
Thanks

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

2 participants