USB: compile-time endpoints allocation
[bertos.git] / bertos / cpu / cortex-m3 / drv / usb_stm32.c
index 7c802d600ffd26f06ece450897f6e7c3dd30685a..0aa4c188ee8a74a171b6e7aa2d63e9cd9fb73c9e 100644 (file)
 
 #include "usb_stm32.h"
 
+/* XXX: consider to move this to cfg/compiler.h */
 #define ALIGNED(x)     __attribute__ ((__aligned__(x)))
+
+/* XXX: consider to move this to cfg/macros.h */
 #define ALIGN_UP(value, align) (((value) & ((align) - 1)) ? \
                                (((value) + ((align) - 1)) & ~((align) - 1)) : \
                                (value))