-
Notifications
You must be signed in to change notification settings - Fork 95
Description
I tried to compile the Json_Example Sketch but get some compile errors.
First the avr/pgmspace.h couldnt find, so I delete the avr/. Until that I get these errors
`C:\xxx\AppData\Local\Temp\arduino_modified_sketch_748973\Json_Example.ino: In function 'uint16_t freeMem(uint16_t*)':
Json_Example:239: error: '__malloc_heap_start' was not declared in this scope
brkval = __malloc_heap_start;
^
Json_Example:241: error: '__malloc_heap_end' was not declared in this scope
cp = __malloc_heap_end;
^
Json_Example:243: error: 'AVR_STACK_POINTER_REG' was not declared in this scope
cp = ((char *)AVR_STACK_POINTER_REG) - __malloc_margin;
^
Json_Example:243: error: '__malloc_margin' was not declared in this scope
cp = ((char *)AVR_STACK_POINTER_REG) - __malloc_margin;
^
exit status 1
'__malloc_heap_start' was not declared in this scope
`
I'm using Arduino Version 1.8.5, ESP8266 Version 2.4.0-rc2
Can someone help me?