altos: Move from newlib-nano to picolibc
[fw/altos] / src / kernel / ao_product.c
index 7248865427b725a60d6544f3e4fbec90bca59511..eaa6c78b8626d3b0070d0d8e811ca9d70aa59352 100644 (file)
@@ -60,8 +60,12 @@ const char ao_product[] = AO_iProduct_STRING;
 #define TOTAL_LENGTH           (HEADER_LEN + AO_USB_HAS_INT * CONTROL_CLASS_LEN + DATA_LEN)
 #define NUM_INTERFACES         (AO_USB_HAS_INT + 1)
 
+#ifndef AO_USBCONFIG_SYMBOL
+#define AO_USBCONFIG_SYMBOL AO_ROMCONFIG_SYMBOL
+#endif
+
 /* USB descriptors in one giant block of bytes */
-AO_ROMCONFIG_SYMBOL uint8_t ao_usb_descriptors [] =
+AO_USBCONFIG_SYMBOL uint8_t ao_usb_descriptors [] =
 {
        /* Device descriptor */
        0x12,