When I include header ultil.h in the in folder libraries\AF_Wave the program size is 10590 bytes.
#include <util.h> // 9996 bytes
void setup()
{
}
void loop() / 594 bytes of 14336 maximum
{
}
When I replace it with the header contents the program size is 594 bytes.
void ROM_putstring(const char *str, uint8_t nl);
#define UINT16_MAX 65535U
#define putstring(x) ROM_putstring(PSTR(x), 0)
#define putstring_nl(x) ROM_putstring(PSTR(x), 1)
#define nop asm volatile ("nop\n\t")
void setup()
{
}
void loop() // 594 bytes of 14336 maximum
{
}
Why?