-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can not apply the patch #2
Comments
You need to provide more information about what you have tried, what message you got, and what you think that means. I am unfortunately not psychic. The STM32F3 peripherals library is code that you must download in a ZIP file from ST. The patch applies to its contents. I cannot redistribute the files due to their copyright notices. If you have this file and have unpacked the zip, you should be able to apply the patch. Have you tried this? What error did you get? |
When you unzip stm32f3discovery_fw.zip, you get a new directory called "STM32F3-Discovery_FW_V1.1.0". Before changing into that sub-directory, do "git clone [email protected]:cjheath/stm32f3-discovery-usb-example.git". That will give you a new subdirectory beside the other one, called "stm32f3-discovery-usb-example". Now cd into STM32F3-Discovery_FW_V1.1.0 and say:
This should say:
Make the install directory: "mkdir inst". Next, "cd ../stm32f3-discovery-usb-example" and say "make" there. This compiles the source files and makes main.elf, which is what you upload to the STM32F3Discovery board. You can say "make program" to upload it, or "make debug" to upload it and run it using gdb and the openocd debug adapter (you need openocd installed and working for this) I just tested this, right up to main.elf - I don't have my STM32F3Discovery with me here on holidays. |
Can not understand where the patch needs to be. Tried different versions with no success. Can you help?
The text was updated successfully, but these errors were encountered: