Fix common files for mbed

This commit is contained in:
tmk 2014-06-17 22:41:14 +09:00
parent ee70fe59ee
commit e81c70149e
23 changed files with 323 additions and 110 deletions

11
common/progmem.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef PROGMEM_H
#define PROGMEM_H 1
#if defined(__AVR__)
# include <avr/pgmspace.h>
#elif defined(__arm__)
# define PROGMEM
# define pgm_read_byte(p) *(p)
#endif
#endif