-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support #959
Commits on Aug 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2657560 - Browse repository at this point
Copy the full SHA 2657560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19b971c - Browse repository at this point
Copy the full SHA 19b971cView commit details -
Without having __riscv_flen defined we get multiple warinings. But defining it causes the startup code to contain floating point instructions. This results in a exception right after booting. See startup_gd32vf103.S lines 289-294 should open a PR at nuclei sdk
Configuration menu - View commit details
-
Copy full SHA for ddb8378 - Browse repository at this point
Copy the full SHA ddb8378View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771bbe8 - Browse repository at this point
Copy the full SHA 771bbe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3db2089 - Browse repository at this point
Copy the full SHA 3db2089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23e3b16 - Browse repository at this point
Copy the full SHA 23e3b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 790d90b - Browse repository at this point
Copy the full SHA 790d90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5bd6bd - Browse repository at this point
Copy the full SHA e5bd6bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab1979e - Browse repository at this point
Copy the full SHA ab1979eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb54d8 - Browse repository at this point
Copy the full SHA 3eb54d8View commit details
Commits on Aug 7, 2021
-
Remove dependencies to external libraries for the dcd driver
The core of tinyusb must be as independent as possible, we previously relied on nuclei-sdk or the GD32VF103 firmware library for the synopsys driver to work with the GD32VF103. Fortunatly we needed very few parts from them so we implement them here.
Configuration menu - View commit details
-
Copy full SHA for c6d495d - Browse repository at this point
Copy the full SHA c6d495dView commit details -
Add correct endpoint count for GD32VF103
This controller family only supports USB FS with four endpoints
Configuration menu - View commit details
-
Copy full SHA for 7682829 - Browse repository at this point
Copy the full SHA 7682829View commit details -
We use the linker files provided by nuclei-sdk instead
Configuration menu - View commit details
-
Copy full SHA for b473923 - Browse repository at this point
Copy the full SHA b473923View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e287a7 - Browse repository at this point
Copy the full SHA 6e287a7View commit details -
Use nuclei-sdk functions for init code
Instead of using the HAL functions we can just use the defines from the board support for the longan nano that comes with the nuclei-sdk. Also we move some includes and defines to the header file.
Configuration menu - View commit details
-
Copy full SHA for 733a362 - Browse repository at this point
Copy the full SHA 733a362View commit details -
Remove unsuitable clock configurations from init code
Only 48MHz, 72MHz, 96MHz and 120 MHz system clocks derived from an external crystal are suitable for the usb peripheral, as the internal oscillator is not stable enough. Also the usb-prescaler only supports division by 1 (48MHZ), 1.5(72MHz), 2(96MHz) and 2.5(120Mhz). 120Mhz is also out of spec and not added here.
Configuration menu - View commit details
-
Copy full SHA for 1d2a57a - Browse repository at this point
Copy the full SHA 1d2a57aView commit details -
Correctly initialize and handle the system tick
Forgot to reload the systick timer in the irq handler
Configuration menu - View commit details
-
Copy full SHA for 60d0311 - Browse repository at this point
Copy the full SHA 60d0311View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d566f - Browse repository at this point
Copy the full SHA 66d566fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0399996 - Browse repository at this point
Copy the full SHA 0399996View commit details -
Remove unnecessary define guard
The GD32VF103 family only has USB-OTG peripherals.
Configuration menu - View commit details
-
Copy full SHA for 4cebde6 - Browse repository at this point
Copy the full SHA 4cebde6View commit details -
Use linear buffer for GD32VF103
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same.
Configuration menu - View commit details
-
Copy full SHA for 8b78067 - Browse repository at this point
Copy the full SHA 8b78067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27f147f - Browse repository at this point
Copy the full SHA 27f147fView commit details
Commits on Aug 9, 2021
-
The systick timer is driven by the AHB bus divided by 4, set the correct reload value to generate a timer irq every ms.
Configuration menu - View commit details
-
Copy full SHA for 1b6540a - Browse repository at this point
Copy the full SHA 1b6540aView commit details
Commits on Aug 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 09e4348 - Browse repository at this point
Copy the full SHA 09e4348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37d9f94 - Browse repository at this point
Copy the full SHA 37d9f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f8fae - Browse repository at this point
Copy the full SHA 73f8faeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a6a5c - Browse repository at this point
Copy the full SHA c4a6a5cView commit details