Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ touch applications/blink/blink.cpp
- $ make v=1 APP=blink PLATFORM=photon
- /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../wiring PLATFORM=photon APP=blink v=1
- make[1]: Nothing to be done for `all'.
- /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../services PLATFORM=photon APP=blink v=1
- make[1]: Nothing to be done for `all'.
- /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../communication PLATFORM=photon APP=blink v=1
- make[1]: Nothing to be done for `all'.
- /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../hal PLATFORM=photon APP=blink v=1
- make[1]: Nothing to be done for `all'.
- /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../platform PLATFORM=photon APP=blink v=1
- make[1]: Nothing to be done for `all'.
- mkdir -p ../build/target/main/platform-0/applications/blink/
- arm-none-eabi-gcc -DSTM32_DEVICE -DSTM32F10X_MD -DPLATFORM_ID=0 -DSPARK_PLATFORM -DSTM32_DEVICE -DSTM32F10X_MD -DPLATFORM_ID=0 -DINCLUDE_PLATFORM=1 -DSPARK_PLATFORM_NET=CC3000 -DPRODUCT_ID=65535 -DPRODUCT_FIRMWARE_VERSION=65535 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DRELEASE_BUILD -I./inc -I./applications/blink -I./libraries -I../wiring/inc -I../services/inc -I../communication/lib/tropicssl/include -I../communication/src -I../hal/inc -I../hal/shared -I../hal/src/core-v1 -I../platform/MCU/STM32F1xx/CMSIS/Include -I../platform/MCU/STM32F1xx/CMSIS/Device/ST/Include -I../platform/MCU/STM32F1xx/SPARK_Firmware_Driver/inc -I../platform/MCU/STM32F1xx/STM32_StdPeriph_Driver/inc -I../platform/MCU/STM32F1xx/STM32_USB_Device_Driver/inc -I../platform/NET/CC3000/CC3000_Host_Driver -I../bootloader/src/core-v2 -I. -MD -MP -MF ../build/target/main/platform-0/applications/blink/blink.o.d -ffunction-sections -Wall -Werror -Wno-switch -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -g3 -gdwarf-2 -Os -mcpu=cortex-m3 -mthumb -std=gnu++11 -fno-exceptions -fno-rtti -c -o ../build/target/main/platform-0/applications/blink/blink.o applications/blink/blink.cpp
- mkdir -p ../build/target/main/platform-0/applications/blink/
- arm-none-eabi-g++ -DSTM32_DEVICE -DSTM32F10X_MD -DPLATFORM_ID=0 -DSPARK_PLATFORM -DSTM32_DEVICE -DSTM32F10X_MD -DPLATFORM_ID=0 -DINCLUDE_PLATFORM=1 -DSPARK_PLATFORM_NET=CC3000 -DPRODUCT_ID=65535 -DPRODUCT_FIRMWARE_VERSION=65535 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DRELEASE_BUILD -I./inc -I./applications/blink -I./libraries -I../wiring/inc -I../services/inc -I../communication/lib/tropicssl/include -I../communication/src -I../hal/inc -I../hal/shared -I../hal/src/core-v1 -I../platform/MCU/STM32F1xx/CMSIS/Include -I../platform/MCU/STM32F1xx/CMSIS/Device/ST/Include -I../platform/MCU/STM32F1xx/SPARK_Firmware_Driver/inc -I../platform/MCU/STM32F1xx/STM32_StdPeriph_Driver/inc -I../platform/MCU/STM32F1xx/STM32_USB_Device_Driver/inc -I../platform/NET/CC3000/CC3000_Host_Driver -I../bootloader/src/core-v2 -I. -MD -MP -MF ../build/target/main/platform-0/applications/blink/blink.elf.d -ffunction-sections -Wall -Werror -Wno-switch -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -g3 -gdwarf-2 -Os -mcpu=cortex-m3 -mthumb ../build/target/main/platform-0/applications/blink/blink.o ../build/target/main/platform-0/startup/startup_stm32f10x_md.o --output ../build/target/main/platform-0/applications/blink/blink.elf -T../build/arm/linker/linker_stm32f10x_md_dfu.ld --specs=nano.specs -lc -lnosys -u _printf_float -Wl,-Map,../build/target/main/platform-0/applications/blink/blink.map -L../build/target/wiring/arm/ -L../build/target/services/arm/ -L../build/target/communication/platform-0/ -L../build/target/hal/platform-0/ -L../build/target/platform/platform-0/ -Wl,--start-group -lwiring -lservices -lcommunication -lhal -lplatform -Wl,--end-group -nostartfiles -Xlinker --gc-sections
- arm-none-eabi-objcopy -O binary ../build/target/main/platform-0/applications/blink/blink.elf ../build/target/main/platform-0/applications/blink/blink.bin
- arm-none-eabi-objcopy -O ihex ../build/target/main/platform-0/applications/blink/blink.elf ../build/target/main/platform-0/applications/blink/blink.hex
- arm-none-eabi-size --format=berkeley ../build/target/main/platform-0/applications/blink/blink.elf
- text data bss dec hex filename
- 76820 1144 11580 89544 15dc8 ../build/target/main/platform-0/applications/blink/blink.elf
- $ particle flash --usb ../build/target/main/platform-0/applications/blink/blink.dfu
- Found DFU device 2b04:d006
- Apparently I didn't find a DFU device? util said dfu-util 0.7
- Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2012 Tormod Volden and Stefan Schmidt
- This program is Free Software and has ABSOLUTELY NO WARRANTY
- Please report bugs to dfu-util@lists.gnumonks.org
- Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
- Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=1, name="@DCT Flash /0x00000000/01*016Kg"
- checking file ../build/target/main/platform-0/applications/blink/blink.dfu
- spawning dfu-util -d 2b04:d006 -a 0 -i 0 -s 0x080A0000:leave -D ../build/target/main/platform-0/applications/blink/blink.dfu
- dfu-util 0.7
- Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2012 Tormod Volden and Stefan Schmidt
- This program is Free Software and has ABSOLUTELY NO WARRANTY
- Please report bugs to dfu-util@lists.gnumonks.org
- Filter on vendor = 0x2b04 product = 0xd006
- Opening DFU capable USB device... ID 2b04:d006
- Run-time device DFU version 011a
- Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
- Claiming USB DFU Interface...
- Setting Alternate Setting #0 ...
- Determining device status: state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 011a
- Device returned transfer size 4096
- Dfu suffix version 100
- DfuSe interface name: "Internal Flash "
- Downloading to address = 0x080a0000, size = 77984
- ....................
- File downloaded successfully
- Error during download get_status
- Error during download get_status
- Flashed!
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement