aboutsummaryrefslogtreecommitdiff
path: root/example-cdc/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'example-cdc/sys.c')
-rw-r--r--example-cdc/sys.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/example-cdc/sys.c b/example-cdc/sys.c
index 0f0c1ac..19c31b1 100644
--- a/example-cdc/sys.c
+++ b/example-cdc/sys.c
@@ -415,7 +415,10 @@ handler vector[] __attribute__ ((section(".vectors"))) = {
const uint8_t sys_version[8] __attribute__((section(".sys.version"))) = {
3*2+2, /* bLength */
- 0x03, /* bDescriptorType = USB_STRING_DESCRIPTOR_TYPE*/
+ 0x03, /* bDescriptorType = USB_STRING_DESCRIPTOR_TYPE */
/* sys version: "2.0" */
'2', 0, '.', 0, '0', 0,
};
+
+const uint8_t __attribute__((section(".sys.board")))
+sys_board[] = BOARD_NAME;