Hi,
I'm getting this warning when I include/enable the ICU subsystem:
Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this C:\Users\asfarley\Desktop\ChibiOS_2.4.2\ChibiOS_2.4.2\os\hal\platforms\STM32\icu_lld.c 109
This is using IAR-EW. Is this expected? Thanks ...
Search found 8 matches
- Sat Dec 22, 2012 7:38 pm
- Forum: General Support
- Topic: order of volatile accesses is undefined
- Replies: 2
- Views: 2925
- Wed Dec 19, 2012 11:52 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
No, I didn't know there was such a thing. I'll look into that, thanks.
- Wed Dec 19, 2012 10:52 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
Also, this line:
NVICEnableVector(EXTI15_10_IRQn,1);
now gives me an error: no definition for NVICEnableVector().
(sorry for the double post)
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT is free ...
NVICEnableVector(EXTI15_10_IRQn,1);
now gives me an error: no definition for NVICEnableVector().
(sorry for the double post)
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT is free ...
- Wed Dec 19, 2012 10:50 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
Also, when I comment out the alternate function configuration line, this line:
NVICEnableVector(EXTI15_10_IRQn,1);
gives an error: no definition for NVICEnableVector.
NVICEnableVector(EXTI15_10_IRQn,1);
gives an error: no definition for NVICEnableVector.
- Wed Dec 19, 2012 10:40 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
No, I'm using an F415 - does it have an equivalent register?
I've tried this since SYSCFG_EXTICR3 appears in the STM32F4 reference manual, but it appears that SYSCFG_EXTICR3 is also undefined:
SYSCFG_EXTICR3 = (1<<9);
Looking at stm32f4xx.h, I see in the section *CHIBIOS FIX* a definition for AFR ...
I've tried this since SYSCFG_EXTICR3 appears in the STM32F4 reference manual, but it appears that SYSCFG_EXTICR3 is also undefined:
SYSCFG_EXTICR3 = (1<<9);
Looking at stm32f4xx.h, I see in the section *CHIBIOS FIX* a definition for AFR ...
- Wed Dec 19, 2012 10:07 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
Thanks,
I was looking at Joaquin's post above, I've realized that STM32_EXTLINES_PRIORITY is probably defined by him in his code.
Are the alternate function mapping registers defined by ChibiOS anywhere? I get AFIO undefined.
I was looking at Joaquin's post above, I've realized that STM32_EXTLINES_PRIORITY is probably defined by him in his code.
Are the alternate function mapping registers defined by ChibiOS anywhere? I get AFIO undefined.
- Wed Dec 19, 2012 9:20 pm
- Forum: General Support
- Topic: STM32 External Interrupts
- Replies: 13
- Views: 19329
Re: STM32 External Interrupts
Hi,
In this line:
NVICEnableVector(EXTI15_10_IRQn,STM32_EXTLINES_PRIORITY);
Why is it EXT15 instead of EXT14?
What does the 10 mean?
Where is STM32_EXTLINES_PRIORITY defined?
When creating the interrupt handler CH_IRQ_HANDLER(ExtLineVector), where does ExtLineVector come from? I mean, where is ...
In this line:
NVICEnableVector(EXTI15_10_IRQn,STM32_EXTLINES_PRIORITY);
Why is it EXT15 instead of EXT14?
What does the 10 mean?
Where is STM32_EXTLINES_PRIORITY defined?
When creating the interrupt handler CH_IRQ_HANDLER(ExtLineVector), where does ExtLineVector come from? I mean, where is ...
- Thu Dec 13, 2012 7:29 pm
- Forum: General Support
- Topic: STM32F4 Clock source select
- Replies: 2
- Views: 3240
STM32F4 Clock source select
How can I change the main clock source to the internal oscillator for the STM32F4?
I've tried changing this line in mcuconf.h:
#define STM32_PLLSRC STM32_PLLSRC_HSE
to this:
#define STM32_PLLSRC STM32_PLLSRC_HSI
but this gives compiler errors:
STM32_PLLVCO outside acceptable ranges
I'm working ...
I've tried changing this line in mcuconf.h:
#define STM32_PLLSRC STM32_PLLSRC_HSE
to this:
#define STM32_PLLSRC STM32_PLLSRC_HSI
but this gives compiler errors:
STM32_PLLVCO outside acceptable ranges
I'm working ...