-
Notifications
You must be signed in to change notification settings - Fork 114
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
No compiling , error in adc #15
Comments
Recently tried to compile it, but got the same errors. However after downgrading GigaDevice pack to 3.1.0 and going through steps mentioned in other threads I was able to successfully build it.
|
Hello, the GigaDevice.GD32F1x0_DFP.3.1.0.pack is no longer available. could someone compile the two firmwares and upload it somewhere so the project isnt dying? |
Have you tried running Pack Installer? Select device. Under Pack Device Specific, look for Previous. Or you can get GD32F1x0_Addon_V3.1.0.rar from http://www.gd32mcu.com/en/download/7/p/2 Use the pack installer to downgrade to 3.1. |
3.1.0 pack available here https://github.com/gearsincorg/Hoverboard_Utility_Gateway_System |
using 3.1.0 fixed previous problems but. Apeared additional problem |
No compiling ok, this error show, help me, please.
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
compiling setup.c...
Src\setup.c(343): error: #167: argument of type "dma_parameter_struct" is incompatible with parameter of type "dma_parameter_struct *"
dma_init(DMA_CH0, dma_init_struct_adc);
Src\setup.c(365): error: #20: identifier "ADC_EXTTRIG_REGULAR_SWRCST" is undefined
adc_external_trigger_source_config(ADC_REGULAR_CHANNEL, ADC_EXTTRIG_REGULAR_SWRCST);
Src\setup.c(424): error: #167: argument of type "dma_parameter_struct" is incompatible with parameter of type "dma_parameter_struct *"
dma_init(DMA_CH4, dma_init_struct_usart);
Src\setup.c(480): error: #167: argument of type "dma_parameter_struct" is incompatible with parameter of type "dma_parameter_struct *"
dma_init(DMA_CH2, dma_init_struct_usart);
Src\setup.c: 0 warnings, 4 errors
The text was updated successfully, but these errors were encountered: