CPU_CSOURCE(): New macro.
[bertos.git] / mware / pgm.h
index d8ef9f5426df09b5996b9c0c0ce64a7cf70d762c..87b46b2822c49ba598766fb9163cef380d5e9b65 100755 (executable)
@@ -22,7 +22,7 @@
 #ifndef MWARE_PGM_H
 #define MWARE_PGM_H
 
-#include <cpu_detect.h>
+#include <cfg/cpu_detect.h>
 
 #if CPU_AVR
 
@@ -164,9 +164,7 @@ typedef PROGMEM uint32_t pgm_uint32_t;
 /*\}*/
 
 /*!
- * \def PGM_READ_CHAR
- * \def PGM_FUNC
- * \def PGM_ATTR
+ * \name PGM support macros.
  *
  * These macros enable dual compilation of code for both program
  * and data memory.
@@ -193,6 +191,8 @@ typedef PROGMEM uint32_t pgm_uint32_t;
  *     // To be used when invoking inside other PGM_FUNC functions:
  *     PGM_FUNC(lcd_puts)(some_string);
  * \endcode
+ *
+ * \{
  */
 #ifdef _PROGMEM
        #define PGM_READ_CHAR(s) pgm_read_char(s)
@@ -203,6 +203,7 @@ typedef PROGMEM uint32_t pgm_uint32_t;
        #define PGM_FUNC(x)      x
        #define PGM_ATTR         /* nothing */
 #endif
+/* \} */
 
 
 #endif /* MWARE_PGM_H */