diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h
index c40dcb20..beeca866 100644
--- a/cores/arduino/Arduino.h
+++ b/cores/arduino/Arduino.h
@@ -26,6 +26,10 @@
 #include <avr/io.h>
 #include <avr/interrupt.h>
 
+#undef F
+#define F(str) (str)
+#define __FlashStringHelper char
+
 #ifdef __cplusplus
 extern "C"{
 #endif