saaadhu / naggy

A live compiler diagnostics extension for Atmel Studio
18 stars 4 forks source link

FreeRTOS AVR port incompatibility #57

Open shaiku opened 7 years ago

shaiku commented 7 years ago

LLVM doesn't allow non-asm statements inside naked functions: https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg105282.html

Unfortunately this is precisely what FreeRTOS ports for AVR do, and gcc lets them get away with it. Installing Naggy prevents FreeRTOS projects from being compiled.

I suggest changing this error to a warning.