Search found 5 matches

by lucky62
Tue Mar 17, 2020 7:00 am
Forum: General discussion
Topic: [SOLVED] error: 'LL_RCC_ClocksTypeDef' was not declared in this scope
Replies: 6
Views: 4447

Re: error: 'LL_RCC_ClocksTypeDef' was not declared in this scope

Solution was found here.
Thank! Indeed the file "build_opt.h" in the sketch directory with a string "-DUSE_FULL_LL_DRIVER" completely solved the problem.
by lucky62
Tue Mar 17, 2020 6:05 am
Forum: General discussion
Topic: [SOLVED] error: 'LL_RCC_ClocksTypeDef' was not declared in this scope
Replies: 6
Views: 4447

Re: error: 'LL_RCC_ClocksTypeDef' was not declared in this scope

I added the half_conf_extra.h file with the #define USE_FULL_LL_DRIVER to the project, but result is the same as with this define in main sketch. compilation is fine but linker failed: SineWaveGenerator2.ino.cpp:(.text.setup+0x12): undefined reference to `LL_RCC_GetSystemClocksFreq' collect2: error:...
by lucky62
Mon Mar 16, 2020 8:10 pm
Forum: General discussion
Topic: [SOLVED] error: 'LL_RCC_ClocksTypeDef' was not declared in this scope
Replies: 6
Views: 4447

Re: error: 'LL_RCC_ClocksTypeDef' was not declared in this scope

I tried this already, but problem was not solved.
Compilator was ok, but linker failed with error:
undefined reference to `LL_RCC_GetSystemClocksFreq'
BTW - what is the meanings of USE_FULL_LL_DRIVER config?
by lucky62
Mon Mar 16, 2020 5:52 pm
Forum: General discussion
Topic: [SOLVED] error: 'LL_RCC_ClocksTypeDef' was not declared in this scope
Replies: 6
Views: 4447

[SOLVED] error: 'LL_RCC_ClocksTypeDef' was not declared in this scope

Hello i am trying to set the bluepill clock and then check. Here is the whole program (it is a skeleton for I2C-DMA transfer): #include "stm32f1xx.h" #include "stm32f1xx_ll_bus.h" #include "stm32f1xx_ll_gpio.h" #include "stm32f1xx_ll_utils.h" #include "st...
by lucky62
Sun Mar 15, 2020 6:47 pm
Forum: General discussion
Topic: How to send data via I2C using DMA
Replies: 0
Views: 3325

How to send data via I2C using DMA

Hello friends, can someone to help me with configuration of DMA and I2C? I would like to send the data from blue pill (STM32F103) to the external DAC with I2C interface. I am trying to generate sine wave. Data of one sine period are stored in the array - 512 values. I would like to use it as a circu...

Go to advanced search