Search found 53 matches

by ceremcem
Wed May 13, 2020 12:15 pm
Forum: General Support
Topic: ADC configuration tool
Replies: 2
Views: 199

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: 2
Views: 199

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

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

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

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

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

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"...
by ceremcem
Thu Jun 20, 2019 12:31 pm
Forum: General Support
Topic: How to properly pass argument to palSetPadCallback's callback? Topic is solved
Replies: 2
Views: 440

Re: How to properly pass argument to palSetPadCallback's callback? Topic is solved

Now all warnings are vanished. Here is my changes: I changed my handler function from: void button_callback(uint8_t pad){ ... } to: void button_callback(void * _pad){ uint8_t pad = *((uint8_t *) _pad); ... } and palSetPadCallback() invocation from palSetPadCallback(GPIOA, DOWNWARD_BUTTON, button_cal...
by ceremcem
Thu Jun 20, 2019 10:39 am
Forum: STM32 Support
Topic: Virtual control interface via semihosting
Replies: 11
Views: 5808

Re: Virtual control interface via semihosting

inca wrote:I recently got semihosting up and going again using ChibiStudio (without chibi or chibi hal, unfortunely) and STM32 STD PERIPH lib.



Is there an example project for introduction to semihosting?
by ceremcem
Thu Jun 20, 2019 9:30 am
Forum: General Support
Topic: How to properly pass argument to palSetPadCallback's callback? Topic is solved
Replies: 2
Views: 440

How to properly pass argument to palSetPadCallback's callback? Topic is solved

I have a function which takes the button_number as an argument and decides the action according to the button_number. My button setup is as follows: // forward button palSetPadMode(GPIOA, UPWARD_BUTTON, PAL_MODE_INPUT); palEnablePadEvent(GPIOA, UPWARD_BUTTON, PAL_EVENT_MODE_BOTH_EDGES); palSetPadCal...

Go to advanced search