Skip to content

Commit b5ec567

Browse files
committed
Add menu RAKWireless board
1 parent e25c449 commit b5ec567

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

boards.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,42 @@ Maple.menu.upload_method.serialMethod=Serial
465465
Maple.menu.upload_method.serialMethod.upload.protocol=maple_serial
466466
Maple.menu.upload_method.serialMethod.upload.tool=serial_upload
467467

468+
################################################################################
469+
# RAK boards
470+
471+
RAK.name=RAKWireless
472+
473+
RAK.build.vid=0x0483
474+
RAK.build.pid=0x5711
475+
RAK.vid.0=0x0483
476+
RAK.pid.0=0x5711
477+
478+
RAK.build.core=arduino
479+
RAK.build.board=RAK811
480+
RAK.build.extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial}
481+
482+
# RAK811 board
483+
# Support: Serial1 (USART1 on PA10, PA9) and Serial2 (UART4 on PC11, PC10)
484+
RAK.menu.pnum.RAK811=RAK811
485+
#RAK.menu.pnum.RAK811.node="NODE_RAK811"
486+
RAK.menu.pnum.RAK811.upload.maximum_size=128000
487+
RAK.menu.pnum.RAK811.upload.maximum_data_size=32768
488+
RAK.menu.pnum.RAK811.build.mcu=cortex-m3
489+
RAK.menu.pnum.RAK811.build.board=STM32L151CBUx
490+
RAK.menu.pnum.RAK811.build.series=STM32L1xx
491+
RAK.menu.pnum.RAK811.build.product_line=STM32L151xB
492+
RAK.menu.pnum.RAK811.build.variant=RAK811
493+
RAK.menu.pnum.RAK811.build.cmsis_lib_gcc=arm_cortexM3l_math
494+
495+
# Upload menu
496+
#RAK.menu.upload_method.MassStorage=Mass Storage
497+
#RAK.menu.upload_method.MassStorage.upload.protocol=
498+
#RAK.menu.upload_method.MassStorage.upload.tool=massStorageCopy
499+
500+
RAK.menu.upload_method.STLink=STLink
501+
RAK.menu.upload_method.STLink.upload.protocol=STLink
502+
RAK.menu.upload_method.STLink.upload.tool=stlink_upload
503+
468504

469505
################################################################################
470506
# Serialx activation

0 commit comments

Comments
 (0)