From 13f379ab86265a3326e89b29d599f08a33a43883 Mon Sep 17 00:00:00 2001 From: Brian Baltz Date: Thu, 25 Aug 2016 18:49:51 -0700 Subject: [PATCH] Add more diagnostic messages Signed-off-by: Brian Baltz --- main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index d7b3764..c6a343a 100644 --- a/main.go +++ b/main.go @@ -130,16 +130,19 @@ func main_load(args []string) { } // check for BLE library compliance + PrintlnVerbose("Verifying BLE version:", ble_compliance_string) found := searchBLEversionInDFU(tmpfile.Name(), ble_compliance_string) // remove the temporary file os.Remove(tmpfile.Name()) if !found { - fmt.Println("BLE firmware version is not in sync with CurieBLE library") - fmt.Println("Update it using \"Burn Bootloader\" menu") + fmt.Println("!! BLE firmware version is not in sync with CurieBLE library !!") + fmt.Println("* Set Programmer to \"Arduino/Genuino 101 Firmware Updater\"") + fmt.Println("* Update it using \"Burn Bootloader\" menu") os.Exit(1) } + PrintlnVerbose("BLE version: verified") }