Search found 66 matches

by ceremcem
Mon Aug 24, 2020 1:00 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 13
Views: 551

Re: ADC configuration tool

Demos lead a little: $ grep -i "MCU type, supported types" os/hal/boards/ -R os/hal/boards/MAPLEMINI_STM32_F103/board.h: * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h. os/hal/boards/OLIMEX_STM32_103STK/board.h: * MCU type, supported types are defined in ./os/hal/p...
by ceremcem
Mon Aug 24, 2020 8:23 am
Forum: General Support
Topic: ADC configuration tool
Replies: 13
Views: 551

Re: ADC configuration tool

Hi, There is an XML here: \tools\ftl\processors\processors.xml However it only lists MCUs supported by the board files generator. It only lists a few, not useful for the purpose. May I depend on extracting the definitions from os/common/ext/ST/**/*xx.h files? I can parse and extract the definitions...
by ceremcem
Sun Aug 23, 2020 10:14 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 13
Views: 551

Re: ADC configuration tool

Hi Giovanni, I made something that barely states my intention: https://aktos.io/chibi-config/ (source code here ). I need some sort of assistance, if you could. The .c and .h files are actually Ractive templates and I'm basically generating .c and .h files from those templates by user supplied pin c...
by ceremcem
Wed May 13, 2020 12:15 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 13
Views: 551

Re: ADC configuration tool

Very nice to hear that! So this is a real necessity and this approach is accurate. Thanks for the fast response.
by ceremcem
Wed May 13, 2020 11:03 am
Forum: General Support
Topic: ADC configuration tool
Replies: 13
Views: 551

ADC configuration tool

I'm having hard times while finding my way along with the ADC parameters. Being have to remember all the tiny parameters is uncool IMHO. Is there any configuration tool for that purpose? If not, I'm planning to create a Web UI with dropdowns and such, that will generate the desired ADCConversionGrou...
by ceremcem
Tue May 12, 2020 12:05 pm
Forum: Bug Reports
Topic: STM32F0xx/ADC example not compiling Topic is solved
Replies: 1
Views: 389

STM32F0xx/ADC example not compiling Topic is solved

Starting from https://github.com/ChibiOS/ChibiOS/commit/1647491035, testhal/STM32/STM32F0xx/ADC example fails to compile with the following error: Compiler Options arm-none-eabi-gcc -c -mcpu=cortex-m0 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common...
by ceremcem
Fri Apr 24, 2020 1:04 pm
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 3607

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Hi, Careful, GCC version 9-2019-q4 is still affected by the problem. Giovanni Oh, there was an already opened thread for that: http://www.chibios.com/forum/viewtopic.php?t=5449&p=37460 Is this a new bug or those fixes didn't fix the problem correctly? Currently my test application performs the ...
by ceremcem
Fri Apr 24, 2020 1:42 am
Forum: STM32 Support
Topic: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved
Replies: 19
Views: 3607

Re: chThdSleepX stucks while debugging on STM32F030x4 Topic is solved

Seems to be resolved in new GCC release. From 6c916b07ff6010d1d7c597927be546682ac598bb Mon Sep 17 00:00:00 2001 From: Cerem Cem ASLAN <cem@aktos.io> Date: Fri, 24 Apr 2020 03:34:41 +0300 Subject: [PATCH] updated GCC bug warning related to Cortex-M0 regarding to the fix --- os/common/ports/ARMCMx/chc...
by ceremcem
Tue Jun 25, 2019 1:31 pm
Forum: ChibiOS/HAL
Topic: How do we step out of a "lock zone"?
Replies: 1
Views: 445

How do we step out of a "lock zone"?

I'm trying to implement a debounce logic with the following procedure: ⋅  Define an input callback (button_callback) and register it when the application starts. ⋅  When an interrupt is received, disable the pad event on that pad inside this interrupt handler (button_callback) &s...
by ceremcem
Tue Jun 25, 2019 8:39 am
Forum: STM32 Support
Topic: Need for a clear Serial Port Example
Replies: 1
Views: 427

Need for a clear Serial Port Example

I'm trying to prepare a clean example of serial port usage. I can't find the struct reference for the following example in testhal/STM32/STM32F4xx/RTC/main.c : static SerialConfig ser_cfg = { 115200, 0, 0, 0, }; Problems ⋅  Searching Google with the keywords "SerialConfig chibios"...

Go to advanced search