Search found 8 matches

by golb
Fri Dec 09, 2016 1:31 am
Forum: General Support
Topic: Problem including Math.h to my project
Replies: 3
Views: 3041

Re: Problem including Math.h to my project

Hello again,

I have run into some trouble again... after I included "math.h" succesfully to my project I started receiving the following error:


'pow10' redeclared as different kind of symbol chprintf.c /Proyecto_Micro/os/hal/lib/streams line 76 C/C++ Problem


could anyone help me sort ...
by golb
Mon Dec 05, 2016 4:58 pm
Forum: General Support
Topic: ADC Sampling rate configuration HELP!
Replies: 3
Views: 3890

Re: ADC Sampling rate configuration HELP!

Hello again

I was wondering if you could enlighten me with some information about the ADC Prescaler.

I have a stm32f746 board and its adc clock its defined in adc_lld.h like this:


* @brief Minimum ADC clock frequency.
*/
#define STM32_ADCCLK_MIN 600000

/**
* @brief Maximum ADC clock ...
by golb
Mon Dec 05, 2016 4:28 pm
Forum: General Support
Topic: Problem including Math.h to my project
Replies: 3
Views: 3041

Re: Problem including Math.h to my project

thank you giovanni, I sorted it out by including the path to the folder where the library was.

I have seen other people run into the same problem so I wil make sure to write my solution with a lot of detail later today, as I am currently very busy, in case someone else runs into the same problem in ...
by golb
Mon Dec 05, 2016 1:15 pm
Forum: General Support
Topic: Problem including Math.h to my project
Replies: 3
Views: 3041

Problem including Math.h to my project

Hello again,

I am using a STM32F746 board with chibiOS 16.1.0 ( accordign to release notes on chibios folder in eclipse)

I am trying to include the math library to my project and I have read in various post that all i need to do is "#include <math.h>" in my code as I would do regularly, however ...
by golb
Sun Dec 04, 2016 1:35 pm
Forum: General Support
Topic: issues with memory pool
Replies: 4
Views: 4237

Re: issues with memory pool

Thank you for you help yesterday guys.

I was wondering if there was a function that allowed me to know the amount of free objects in the pool...
I've been trying to check this using sizeof, but thinking about it more deeply, it wouldnt really give me any useful information regarding the amount of ...
by golb
Sat Dec 03, 2016 5:18 pm
Forum: General Support
Topic: issues with memory pool
Replies: 4
Views: 4237

Re: issues with memory pool

while looking through the .h on my projects I found: "chmempools.h" and found out that it is indeed as you just pointed out, some function names have also changed..

I fixed the code, and I'm going to try it out now.

thank you very much.
by golb
Sat Dec 03, 2016 4:22 pm
Forum: General Support
Topic: issues with memory pool
Replies: 4
Views: 4237

issues with memory pool

hello I am trying to configure a memory pool in chibios,

however I keep getting this error every time I try to build the project:
Description Resource Path Location Type
unknown type name 'MemoryPool' main.c /Proyecto_Micro line 17 C/C++ Problem

this is the section of my code where the error is ...
by golb
Mon Nov 21, 2016 10:28 pm
Forum: General Support
Topic: ADC Sampling rate configuration HELP!
Replies: 3
Views: 3890

ADC Sampling rate configuration HELP!

hello,
I'm very new to chibiOS and programming in general and I was wondering if someone would please point out where I could change the speed of the ADC sampling rate.

I am currently trying to sample a signal with a frequency of 60Hz, however I find myself unable to get more then one value per ...