Closed
Description
Due to transitions in the avr-gcc libs, it is currently necessary to include definitions before including Arduino.h in a source file. From the IDE, this is impossible since that is automatically prepended. Can the automatic rule be changed to
if stdafx.h
exists in the project, then
#include "stdafx.h"
#include <Arduino.h>
...
This is consistent with the use of a stdafx.h
header file in C++ projects.