Hi
I am trying to switch my project from compiler V5 to V6 as following software,as you see,I think the promble is “void adc_config(void) __attribute__ ((naked, section("adc_config")));” ,this line of software isn't set turn, but I can't find any information about how to set it, could you give me some suggest? Tks.
void rcu_config(void);void gpio_config(void);
void adc_config(void) __attribute__ ((naked, section("adc_config")));
Hi Ronan,
Thanks. I had solved my problem. I want to place a function in a named section.The correct setup in my case is "void adc_config(void) __attribute__ ((naked, section("adc_con")));" When using Arm compiler 6, section need to be unique.