Hi,
GCC complains with "Assignment to itself 'adcp->adcm->ISR = adcp->adcm->ISR'"
It seems that this warning is just from the static syntax checker and that the actual compile does not generate a error.
Therefore I have return the line to it's original state and I will disregard the warning.
I am ...
Search found 5 matches
- Tue May 28, 2013 10:30 am
- Forum: STM32 Support
- Topic: Changes to STM32F30x/adc_lld.c
- Replies: 4
- Views: 3885
- Mon May 27, 2013 6:54 pm
- Forum: STM32 Support
- Topic: Changes to STM32F30x/adc_lld.c
- Replies: 4
- Views: 3885
Re: Changes to STM32F30x/adc_lld.c
Hi Giovanni
GCC complains that the line is a null statement but to be honest I have not checked if it's necessary to write the same contents to the ISR register.
Many have said it before but it has got to be said again "congratulations on a supper piece of work"!
Stephen Kench
GCC complains that the line is a null statement but to be honest I have not checked if it's necessary to write the same contents to the ISR register.
Many have said it before but it has got to be said again "congratulations on a supper piece of work"!
Stephen Kench
- Fri May 24, 2013 12:09 pm
- Forum: STM32 Support
- Topic: Changes to STM32F30x/adc_lld.c
- Replies: 4
- Views: 3885
Changes to STM32F30x/adc_lld.c
Hi all
To successfully use both ADC1 and ADC3 I have had to make a couple of changes to the STM32F30x/adc_lld.c file, see the diff below.
345c345
< adcObjectInit(&ADCD3);
---
> adcObjectInit(&ADCD1);
507c507
< // adcp->adcm->ISR = adcp->adcm->ISR;
---
> adcp->adcm->ISR = adcp->adcm->ISR;
Best ...
To successfully use both ADC1 and ADC3 I have had to make a couple of changes to the STM32F30x/adc_lld.c file, see the diff below.
345c345
< adcObjectInit(&ADCD3);
---
> adcObjectInit(&ADCD1);
507c507
< // adcp->adcm->ISR = adcp->adcm->ISR;
---
> adcp->adcm->ISR = adcp->adcm->ISR;
Best ...
- Fri Apr 19, 2013 8:47 am
- Forum: Development and Feedback
- Topic: [FINALLY] SPC5Studio and STM32
- Replies: 29
- Views: 28593
Re: [FINALLY] SPC5Studio and STM32
I would second that.
My particular interest would be in the continuation of an eclipse plugin for Linux.
Thanks
Stephen Kench
My particular interest would be in the continuation of an eclipse plugin for Linux.
Thanks
Stephen Kench
- Wed Apr 03, 2013 2:49 pm
- Forum: User Projects
- Topic: Comparator (COMP) HAL
- Replies: 1
- Views: 2819
Re: Comparator (COMP) HAL
Hi Beause
I think the file comp_lld.h is missing.
Regards
Stephen Kench
I think the file comp_lld.h is missing.
Regards
Stephen Kench