Search found 67 matches

by ceremcem
Mon Aug 24, 2020 2:38 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 15
Views: 7022

Re: ADC configuration tool

Okay. Give me something then? There should be a way to obtain that list, right? To be clear, I'm trying to create a configuration tool for ChibiOS. It's much easier to support only MCU's that I personally use. That would prevent all the trouble. I'm okay with what I'm asking is a paid service, but t...
by ceremcem
Mon Aug 24, 2020 1:00 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 15
Views: 7022

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: 15
Views: 7022

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: 15
Views: 7022

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: 15
Views: 7022

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: 15
Views: 7022

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: 3924

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: 22540

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: 22540

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: 1768

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...

Go to advanced search