aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boards.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/boards.txt b/boards.txt
index a68e840..e817967 100644
--- a/boards.txt
+++ b/boards.txt
@@ -32,10 +32,11 @@ yun.build.mcu=atmega32u4
yun.build.f_cpu=16000000L
yun.build.vid=0x2341
yun.build.pid=0x8041
-yun.build.board=AVR_LEONARDO
+yun.build.usb_product="Arduino Yun"
+yun.build.board=AVR_YUN
yun.build.core=arduino
yun.build.variant=leonardo
-yun.build.extra_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid}
+yun.build.extra_flags={build.usb_flags}
##############################################################