Hi! I edited the last post. It is exti_serve_irq(pr, 0); prevents the callback,
becaure pr = 4, and ((pr) & (1U << (0))) == 0.
I tempeory change exti_serve_irq(pr, 0); to exti_serve_irq(pr, 2); So that I can use the new Chibios_20.3.1
thanks for the help.
Search found 5 matches
- Mon May 18, 2020 7:08 am
- Forum: Bug Reports
- Topic: pal Callback is not called with ch version 20.3.1
- Replies: 8
- Views: 13169
- Mon May 18, 2020 6:49 am
- Forum: Bug Reports
- Topic: pal Callback is not called with ch version 20.3.1
- Replies: 8
- Views: 13169
Re: pal Callback is not called with ch version 20.3.1
Hi!
the ISR is reached !
pr = 4
exti_serve_irq(pr, 0);
stm32_isr.c line 43:
#define exti_serve_irq(pr, channel) { \
\
if ((pr) & (1U << (channel))) { \
_pal_isr_code(channel); \
} \
}
so _pal_isr_code(channel) function is not called?
the ISR is reached !
pr = 4
exti_serve_irq(pr, 0);
stm32_isr.c line 43:
#define exti_serve_irq(pr, channel) { \
\
if ((pr) & (1U << (channel))) { \
_pal_isr_code(channel); \
} \
}
so _pal_isr_code(channel) function is not called?
- Mon May 18, 2020 5:30 am
- Forum: Bug Reports
- Topic: pal Callback is not called with ch version 20.3.1
- Replies: 8
- Views: 13169
Re: pal Callback is not called with ch version 20.3.1
the Line is PAL_LINE(GPIOD, 2U)
- Mon May 18, 2020 4:18 am
- Forum: Bug Reports
- Topic: pal Callback is not called with ch version 20.3.1
- Replies: 8
- Views: 13169
pal Callback is not called with ch version 20.3.1
Hi! I have a project use Chibios19.1.3. I upgrade to the lastest Chibios_20.3.1. After that, the pal callback is not working.
I use "palEnableLineEvent" and "palSetLineCallback" the set the line and the callback function. the hardware is stm32f765zg, I set the chip define to "STM32F767xx" to "board ...
I use "palEnableLineEvent" and "palSetLineCallback" the set the line and the callback function. the hardware is stm32f765zg, I set the chip define to "STM32F767xx" to "board ...
- Mon May 18, 2020 3:24 am
- Forum: General Support
- Topic: Link problem in ChibiStudio
- Replies: 6
- Views: 7603
Re: Link problem in ChibiStudio
I get the same error message. After I change "USE_LINK_GC", "USE_LTO" from NO to Yes. Problem is solved. I am using ChibiOS_19.1.3 and gcc 10.1.0