Hi there~
Please refer to step 4 of the software session of wiki page. thanks.
http://wiki.seeedstudio.com/Wio-Lite-MG126/#software
- Open the platform.txt file in the folder: C:\Users$(USER_NAME)\AppData\Local\Arduino15\packages\Seeeduino\hardware\Seeeduino_Wio_Lite_BLE\1.0.0\platform.txt
- Go to line 75 and line 76.
##recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" “-L{build.path}” {compiler.c.elf.flags} {compiler.c.elf.extra_flags} “-T{build.variant.path}/{build.ldscript}” “-Wl,-Map,{build.path}/{build.project_name}.map” --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o “{build.path}/{build.project_name}.elf” {object_files} -Wl,–start-group {compiler.arm.cmsis.ldflags} -lm “{build.path}/{archive_file}” -Wl,–end-group
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" “-L{build.path}” {compiler.c.elf.flags} {compiler.c.elf.extra_flags} “-T{build.variant.path}/{build.ldscript}” “-Wl,-Map,{build.path}/{build.project_name}.map” --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o “{build.path}/{build.project_name}.elf” {object_files} {compiler.libraries.ldflags} -Wl,–start-group {compiler.arm.cmsis.ldflags} -lm “{build.path}/{archive_file}” -Wl,–end-group
- If the sample program has a Bluetooth library called, you need to add ## in front of line 75 (ie, comment the line), at the same time, you need to delete ## in front of line 76 (ie, uncomment). Conversely, if the Bluetooth library is not called, but the basic operation of the SAM D21 development board is used, the operation is reversed.
- You can find 7 demos in this folder. The button/get_bat_vol demos do not use the bluetooth library, and the rest do.