DA14580 Bluetooth Smart IC writer library
Dependents: 11u35_usbLocalFilesystem
Diff: DA14580.h
- Revision:
- 5:45e9f3723a08
- Parent:
- 4:b66f3d100c82
- Child:
- 6:db0ae78150a3
--- a/DA14580.h Mon Oct 05 04:51:58 2015 +0000 +++ b/DA14580.h Tue Nov 10 01:12:06 2015 +0000 @@ -10,9 +10,11 @@ #define LOADER_FILE "/local/loader.bin" #define TARGET_FILE "/local/target.bin" +#define _RESET 1 +#define _BOOT 0 +#define _TIMEOUT 10000 -/** \class DA14580 - * \brief mbed library for Dialog Semiconductor DA14580 Bluetooth Smart chip +/** mbed library for Dialog Semiconductor DA14580 Bluetooth Smart chip * * Example: * @code @@ -105,7 +107,7 @@ /** copy application executable into external SPI flash memory */ void copy_to_flash(); - + /** Load bootloader executable into device through UART * the target binary should be defined by LOADER_FILE */