How to fix warnings : cw308_fe310

how to fix these warning :

Hi @nader,

The first warning is because there is no special shutdown mechanism, so the “spinning” is basically all we can do. I didn’t check if there is something you can define to tell it that you expect that behaviour, I assume you’ll just need to define your own shutdown function which also just does a while(1);.

The second warning was from the version of the HAL we included. If you want to remove it, you could “fix” the code in the HAL file (time.c) as the compiler suggests.

  • Colin

thank you very much