Stefan Kerkmann
b875108cd0
Add R/W memory and instruction barrier after mstatus access
...
Fast subsequent reads and writes to the mstatus csr lead to
illegal instruction exceptions on the nucleisys bumblee core
of the gd32vf103. This behavior only occurred in high load
situations e.g. interrupt frequency of 5khz but reliably let
to these errors. Adding the instruction and memory barriers solved
the problem. There is some negligible performance impact.
2021-04-16 16:10:08 +02:00
a_p_u_r_o
fe3cdf8314
Merge pull request #270 from elfmimi/nuc123-efl-fix
...
Follow-up fix to alexclewontin's nuc123-kvs-example
2021-04-08 20:35:08 +09:00
a_p_u_r_o
6747713b04
Merge branch 'chibios-20.3.x' into nuc123-efl-fix
2021-04-08 20:17:24 +09:00
Fabien Poussin
b387cc84d7
Merge pull request #272 from stapelberg/usbendpoints
...
Fix MIMXRT1062/LLD/USBHSv1: increase USB_DEVICE_CONFIG_ENDPOINTS from 4 to 7 (== USB_MAX_ENDPOINTS)
2021-04-06 22:34:06 +02:00
Fabien Poussin
92eaded978
Merge branch 'chibios-20.3.x' into usbendpoints
2021-04-06 22:09:08 +02:00
Fabien Poussin
13f99fdf34
Merge pull request #266 from KarlK90/gd32vf103-riscv-eclic
...
[RISC-V] ECLIC Port and GD32VF103 HAL Support
2021-04-06 22:08:20 +02:00
Stefan Kerkmann
31f37e99b0
Fix VBUSSENS for Longan Nano
2021-04-06 14:23:27 +02:00
Stefan Kerkmann
35a04fc72c
Add myself to copyright notes :-)
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
d783126f55
Remove duplicate defines
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
4f56e326a8
Update demo mcuconf.h with ECLIC triggers
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
b32f8bbeac
Move ECLIC IRQ triggers to driver files
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
bd7f5f42a5
Add USB CDC demo for the longan nano board
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
5557082177
Update longan nano board
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
6e2b7317b0
Fix periodic tick timer
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
e90664f460
Add Sipeed Longan Nano Board
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
fcb66ed300
Add previously undefined constants
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
2463c10bd6
Explicitly define all capabilities in gd32registry
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
f39fb50760
Correct default values and usb prescaler defines
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
5dc6aa1d41
Add SystemCoreClock again
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
3c39240a6c
Rename STM32 to GD32
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
f093fe58b5
Remove STM32 registry
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
93c9c69644
Merge HAL files
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
cf2e6d4cea
Rename CMSIS header file to gd32vf103.h
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
4206c0469d
Remove unused RCU_CFG1 defines
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
e6822d95ed
Rename RCU registers
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
9ef3cfcc3d
Rename RCU_AHBENR
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
7262f2ed74
Rename RCU APB1RSTR register and remove unused peripherals
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
f6d7eda01b
Renumber SPI RCU defines to begin at 0
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
d304133046
Rename RCU_CIR and RCU_APB2RST registers
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
302e61bdcf
Remove unused USB OTG Defines
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
d25731f7cf
Delete unused exti and control defines
2021-04-06 13:38:23 +02:00
Stefan Kerkmann
387ccb8dea
Renumber ADC peripherals to begin at 0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
2cd74f3ea2
Replace GD32_DAC_DAC with GD32_DAC
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
c7e847a17a
Rename DAC1 to just DAC
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
389dbc2514
Remove unified can interrupts which are not present on this device
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
4ec485fdab
Renumber CAN peripherals to start from 0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
b047b96764
Revert "remove 5..9 handler"
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
0104b80b23
GD32VF103 define rename
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
94397bdc43
Rename EXTI15_10 to EXTI10_15
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
b507bafbef
Rename missed adc registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
a3b80a3b3d
Rename EXTI registers, remove 5..9 handler
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
35256724ba
Rename f105 hal to gd32vf103 hal
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
1ea62bc82b
Rename RCU pll clock names
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
7636389126
Rename STM32 clocks to GD32 names
...
HSE -> HXTAL
LSE -> LXTAL
HSI -> IRC8M
LSI -> IRC40K
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
b8f128c86c
Rename EXMC -> FSMC
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
cc58c381f3
Rename BKP registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
53ddaa399b
Rename PMU register defines
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
fcb2d49c25
Rename STM32F1xx -> GD32VF103
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
116f34b808
Rename PWR -> PMU
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
4eef25ac2a
Rename RCU registers
2021-04-06 13:38:22 +02:00