New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino ZERO as board type? #356

Closed
orome opened this Issue Dec 5, 2015 · 54 comments

Comments

Projects
None yet
4 participants
@orome

orome commented Dec 5, 2015

Is there a way to specify the Arduino ZERO as a board?

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 5, 2015

We will add support for Arduino Zero as soon as possible.

@orome

This comment has been minimized.

orome commented Dec 5, 2015

Cool. Thanks!

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 9, 2015

@orome do you have this board?

@orome

This comment has been minimized.

orome commented Dec 9, 2015

@ivankravets — Yes (but I'm a total beginner, so I'm not sure I'll be the best tester — though I'm happy to try and help — if that's where you're headed).

@valeros

This comment has been minimized.

Member

valeros commented Dec 18, 2015

Hi @orome
I've implemented some basic support for this board in special branch and we would be grateful if you could test it with PlatformIO.

  1. Install special version of PlatformIO:
    • pip uninstall platformio
    • pip install https://github.com/valeros/platformio/archive/feature/issue-356-arduino-zero.zip
    • platformio platforms install atmelsam
  2. Replace ldscripts and framework-arduinosam packages in PlatformIO home directory with these:
  3. Connect your board through the native USB port.
  4. Create simple blink project with the board zeroUSB and upload firmware.

Looking forward to your results!

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@valeros : Cool. I should have time later today for a test (if I can locate the appropriate USB adapter).

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@valeros : Where will I find ldscripts and framework-arduinosam to replace? My ~/.platformio/packages contains only:

framework-arduinoavr    
tool-avrdude        
tool-micronucleus   
toolchain-atmelavr

Do you mean move rather than replace?

@valeros

This comment has been minimized.

Member

valeros commented Dec 18, 2015

@orome platformio platforms install atmelsam

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@valeros : There they are! So replace after that?

@ivankravets ivankravets modified the milestone: 2.7.0 Dec 18, 2015

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@valeros : Actually, I can't get through platformio platforms install atmelsam:

nstalling ldscripts package:
Already installed
Installing toolchain-gccarmnoneeabi package:
Downloading  [#############-----------------------]   38%  00:09:11
Error: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/platformio/__main__.py", line 97, in main
    cli(None, None, None)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/platformio/commands/platforms.py", line 40, in platforms_install
    if p.install(with_package, without_package, skip_default_package):
  File "/usr/local/lib/python2.7/site-packages/platformio/platforms/base.py", line 311, in install
    pm.install(name)
  File "/usr/local/lib/python2.7/site-packages/platformio/pkgmanager.py", line 102, in install
    dlpath = self.download(info['url'], pkg_dir, info['sha1'])
  File "/usr/local/lib/python2.7/site-packages/platformio/pkgmanager.py", line 45, in download
    fd.start()
  File "/usr/local/lib/python2.7/site-packages/platformio/downloader.py", line 73, in start
    f.write(next(itercontent))
  File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 660, in generate
    raise ChunkedEncodingError(e)
ChunkedEncodingError: ("Connection broken: error(54, 'Connection reset by peer')", error(54, 'Connection reset by peer'))

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `platformio upgrade` command
* Report this problem to the developers
  https://github.com/platformio/platformio/issues

============================================================
@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

(removed) Will comment below...

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

As for ChunkedEncodingError: ("Connection broken: error(54, 'Connection reset by peer')", error(54, 'Connection reset by peer')) - I'll fix it.

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@ivankravets, @valeros : Actually, can you spell this out better? I thought I was supposed to use pip install https://github.com/valeros/platformio/archive/feature/issue-356-arduino-zero.zip. Now I'm supposed to use the latest?

ivankravets added a commit that referenced this issue Dec 18, 2015

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

Sorry, it was my mistake. I've not seen that this is branch in @valeros repo. Don't make any upgrade operations. You are in right branch.

Please try again platformio platforms install atmelsam

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@ivankravets : Can you spell out the _full instructions_ (all steps to get from a previous installation to where I need to be)? It's totally unclear what code I'm supposed to be testing!

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

Edited. Sorry, it is hard day for me today. Need to go out and relax.

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@ivankravets , @valeros :

/Applications/CLion.app/Contents/bin/cmake/bin/cmake --build /Users/Orome/Library/Caches/CLion12/cmake/generated/581a5b46/581a5b46/Debug --target PLATFORMIO_BUILD -- -j 4
Scanning dependencies of target PLATFORMIO_BUILD
[Fri Dec 18 16:41:38 2015] Processing zeroUSB (platform: atmelsam, board: zeroUSB, framework: arduino)
--------------------------------------------------------------------------------
arm-none-eabi-g++ -o .pioenvs/zeroUSB/src/main.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -DPLATFORMIO=020601 -I.pioenvs/zeroUSB/FrameworkArduino -I.pioenvs/zeroUSB/FrameworkCMSISInc -I.pioenvs/zeroUSB/FrameworkLibSam -I.pioenvs/zeroUSB/FrameworkLibSam/include -I.pioenvs/zeroUSB/FrameworkDeviceInc -I.pioenvs/zeroUSB/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zeroUSB/FrameworkArduinoVariant src/main.cpp
src/main.cpp:1:21: fatal error: Arduino.h: No such file or directory
#include "Arduino.h"
^
compilation terminated.
scons: *** [.pioenvs/zeroUSB/src/main.o] Error 1
========================= [ ERROR ] Took 0.95 seconds =========================
make[3]: *** [CMakeFiles/PLATFORMIO_BUILD] Error 1
make[2]: *** [CMakeFiles/PLATFORMIO_BUILD.dir/all] Error 2
make[1]: *** [CMakeFiles/PLATFORMIO_BUILD.dir/rule] Error 2
make: *** [PLATFORMIO_BUILD] Error 2
@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

I've just updated/formatted comments by @valeros #356 (comment)

Have you done all steps?

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@ivankravets : Only the last version of the steps, not the new version!

@orome

This comment has been minimized.

orome commented Dec 18, 2015

@ivankravets , @valeros : Looks like it works.

Full output of upload:

--------------------------------------------------------------------------------
BeforeUpload(["upload"], [".pioenvs/zeroUSB/firmware.bin"])
Auto-detected UPLOAD_PORT/DISK: /dev/cu.usbmodem1411
"/Users/Roy/.platformio/packages/tool-bossac/bossac" --info --port cu.usbmodem1411 --erase --write --verify --reset --debug .pioenvs/zeroUSB/firmware.bin
Set binary mode
readWord(addr=0)=0x200023a0
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010205
version()=v1.1 [Arduino:XYZ] Jun 10 2015 11:08:10
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x200023a0
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010205
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device       : ATSAMD21G18A
readWord(addr=0)=0x200023a0
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010205
Chip ID      : 10010005
version()=v1.1 [Arduino:XYZ] Jun 10 2015 11:08:10
Version      : v1.1 [Arduino:XYZ] Jun 10 2015 11:08:10
Address      : 8192
Pages        : 4096
Page Size    : 64 bytes
Total Size   : 256KB
Planes       : 1
Lock Regions : 16
Locked       : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security     : false
Boot Flash   : true
readWord(addr=0x40000834)=0x7000a
BOD          : true
readWord(addr=0x40000834)=0x7000a
BOR          : true
Arduino      : FAST_CHIP_ERASE
Arduino      : FAST_MULTI_PAGE_WRITE
Arduino      : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.817 seconds

Write 11136 bytes to flash (174 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
[===========                   ] 36% (64/174 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)
[======================        ] 73% (128/174 pages)write(addr=0x20005000,size=0xb80)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0xb80)
[==============================] 100% (174/174 pages)
done in 0.096 seconds

Verify 11136 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = 278c
checksumBuffer(start_addr=0x3000, size=0x1000) = 3346
checksumBuffer(start_addr=0x4000, size=0xb80) = f931
Verify successful
done in 0.044 seconds
CPU reset.
readWord(addr=0)=0x200023a0
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010205
writeWord(addr=0xe000ed0c,value=0x5fa0004)
========================= [SUCCESS] Took 5.89 seconds =========================
Built target PLATFORMIO_UPLOAD
@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 18, 2015

Great! Will ask @valeros to merge his feature into main repository and update all related packages. Please wait for the further instructions from @valeros

Thanks for the help and testing.

@ivankravets ivankravets modified the milestones: 2.6.2, 2.7.0 Dec 18, 2015

@valeros

This comment has been minimized.

Member

valeros commented Dec 22, 2015

@orome Yes, 1&2 steps.

@orome

This comment has been minimized.

orome commented Dec 22, 2015

@valeros : K, thx. Probably later today.

@orome

This comment has been minimized.

orome commented Dec 22, 2015

@valeros : How should I initialize the project? Not zeroUSB, right?

@valeros

This comment has been minimized.

Member

valeros commented Dec 22, 2015

@orome zero

@orome

This comment has been minimized.

orome commented Dec 22, 2015

@valeros : No luck. It asks to "allow incoming connections", which I allow, and then hangs:

/Applications/CLion.app/Contents/bin/cmake/bin/cmake --build /Users/Orome/Library/Caches/CLion12/cmake/generated/2ed14bee/2ed14bee/Debug0 --target PLATFORMIO_UPLOAD -- -j 4
Scanning dependencies of target PLATFORMIO_UPLOAD
[Tue Dec 22 13:38:15 2015] Processing zero (platform: atmelsam, board: zero, framework: arduino)
--------------------------------------------------------------------------------
arm-none-eabi-g++ -o .pioenvs/zero/src/main.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -DPLATFORMIO=020601 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant src/main.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduinoVariant/variant.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduinoVariant/variant.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/IPAddress.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/IPAddress.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/Print.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/Print.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/Reset.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/Reset.cpp
arm-none-eabi-ar rcs .pioenvs/zero/libFrameworkArduinoVariant.a .pioenvs/zero/FrameworkArduinoVariant/variant.o
arm-none-eabi-ranlib .pioenvs/zero/libFrameworkArduinoVariant.a
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/RingBuffer.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/RingBuffer.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/SERCOM.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/SERCOM.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/Stream.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/Stream.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/Tone.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/Tone.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/USB/CDC.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/USB/CDC.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/USB/PluggableUSB.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/USB/PluggableUSB.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/USB/USBCore.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/USB/USBCore.cpp
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/USB/samd21_host.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/USB/samd21_host.c
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/Uart.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/Uart.cpp
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/WInterrupts.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/WInterrupts.c
.pioenvs/zero/FrameworkArduino/USB/USBCore.cpp: In member function 'uint32_t USBDeviceClass::send(uint32_t, const void*, uint32_t)':
.pioenvs/zero/FrameworkArduino/USB/USBCore.cpp:649:8: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
data += length;
^
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/WMath.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/WMath.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/WString.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/WString.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/abi.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/abi.cpp
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/avr/dtostrf.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/avr/dtostrf.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/cortex_handlers.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/cortex_handlers.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/delay.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/delay.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/hooks.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/hooks.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/itoa.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/itoa.c
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/main.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/main.cpp
arm-none-eabi-g++ -o .pioenvs/zero/FrameworkArduino/new.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/new.cpp
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/pulse.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/pulse.c
arm-none-eabi-gcc -x assembler-with-cpp -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant -c -o .pioenvs/zero/FrameworkArduino/pulse_asm.o .pioenvs/zero/FrameworkArduino/pulse_asm.S
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/startup.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/startup.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/wiring.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/wiring.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/wiring_analog.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/wiring_analog.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/wiring_digital.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/wiring_digital.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/wiring_private.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/wiring_private.c
arm-none-eabi-gcc -o .pioenvs/zero/FrameworkArduino/wiring_shift.o -c -std=gnu11 -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib -MMD --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d "-DUSB_PRODUCT=\"Arduino Zero\"" -DARDUINO=10606 -I.pioenvs/zero/FrameworkArduino -I.pioenvs/zero/FrameworkCMSISInc -I.pioenvs/zero/FrameworkLibSam -I.pioenvs/zero/FrameworkLibSam/include -I.pioenvs/zero/FrameworkDeviceInc -I.pioenvs/zero/FrameworkDeviceInc/d21g18a/include -I.pioenvs/zero/FrameworkArduinoVariant .pioenvs/zero/FrameworkArduino/wiring_shift.c
arm-none-eabi-ar rcs .pioenvs/zero/libFrameworkArduino.a .pioenvs/zero/FrameworkArduino/IPAddress.o .pioenvs/zero/FrameworkArduino/Print.o .pioenvs/zero/FrameworkArduino/Reset.o .pioenvs/zero/FrameworkArduino/RingBuffer.o .pioenvs/zero/FrameworkArduino/SERCOM.o .pioenvs/zero/FrameworkArduino/Stream.o .pioenvs/zero/FrameworkArduino/Tone.o .pioenvs/zero/FrameworkArduino/USB/CDC.o .pioenvs/zero/FrameworkArduino/USB/PluggableUSB.o .pioenvs/zero/FrameworkArduino/USB/USBCore.o .pioenvs/zero/FrameworkArduino/USB/samd21_host.o .pioenvs/zero/FrameworkArduino/Uart.o .pioenvs/zero/FrameworkArduino/WInterrupts.o .pioenvs/zero/FrameworkArduino/WMath.o .pioenvs/zero/FrameworkArduino/WString.o .pioenvs/zero/FrameworkArduino/abi.o .pioenvs/zero/FrameworkArduino/avr/dtostrf.o .pioenvs/zero/FrameworkArduino/cortex_handlers.o .pioenvs/zero/FrameworkArduino/delay.o .pioenvs/zero/FrameworkArduino/hooks.o .pioenvs/zero/FrameworkArduino/itoa.o .pioenvs/zero/FrameworkArduino/main.o .pioenvs/zero/FrameworkArduino/new.o .pioenvs/zero/FrameworkArduino/pulse.o .pioenvs/zero/FrameworkArduino/pulse_asm.o .pioenvs/zero/FrameworkArduino/startup.o .pioenvs/zero/FrameworkArduino/wiring.o .pioenvs/zero/FrameworkArduino/wiring_analog.o .pioenvs/zero/FrameworkArduino/wiring_digital.o .pioenvs/zero/FrameworkArduino/wiring_private.o .pioenvs/zero/FrameworkArduino/wiring_shift.o
arm-none-eabi-ranlib .pioenvs/zero/libFrameworkArduino.a
arm-none-eabi-g++ -o .pioenvs/zero/firmware.elf -Os -Wl,--gc-sections,--relax -mthumb -mcpu=cortex-m0plus --specs=nosys.specs --specs=nano.specs -Wl,-T /Users/Roy/.platformio/packages/ldscripts/samd21g18a.ld .pioenvs/zero/src/main.o -L/Users/Roy/.platformio/packages/ldscripts -L.pioenvs/zero -Wl,--start-group -lc -lgcc -lm .pioenvs/zero/libFrameworkArduinoVariant.a .pioenvs/zero/libFrameworkArduino.a -Wl,--end-group
arm-none-eabi-objcopy -O binary .pioenvs/zero/firmware.elf .pioenvs/zero/firmware.bin
"/Users/Roy/.platformio/packages/tool-openocd/bin/openocd" -d2 -s /Users/Roy/.platformio/packages/tool-openocd/share/openocd/scripts -f /Users/Roy/.platformio/packages/framework-arduinosam/variants/arduino_zero/openocd_scripts/arduino_zero.cfg -c telnet_port disabled; program {{.pioenvs/zero/firmware.bin}} verify reset 0x00002000; shutdown
Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-19:16)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : only one transport option; autoselect 'swd'
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
4444
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 02.01.0157
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
@orome

This comment has been minimized.

orome commented Dec 23, 2015

@valeros, @ivankravets : And fwiw, 2.6.1.dev2 is downgrading click (to 5.; latest should be 6.2).

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 23, 2015

And fwiw, 2.6.1.dev2 is downgrading click (to 5.; latest should be 6.2).

See related issue for that #349

@ivankravets ivankravets added feature and removed feature labels Dec 29, 2015

@ivankravets ivankravets modified the milestones: 2.7.1, 3.0.0 Dec 30, 2015

@orome

This comment has been minimized.

orome commented Dec 30, 2015

@ivankravets - Ugh; any idea when 3.0.0 is expected?

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 30, 2015

I don't plan to release PlatformIO 2.8.0. However, if @valeros resolves this issue before PlatformIO 3.0, I'll release it in 2.8.0.

@valeros has vacation till Jan 11, 2016 🎄 If he has spare time till Jan 11, 2016, he will help you.

Sorry for inconvenience.

@orome

This comment has been minimized.

orome commented Dec 31, 2015

@ivankravets — Will zeroUSB work with 2.7.0; or will neither zeroUSB nor zero?

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 31, 2015

@orome please wait for @valeros. I've discussed with him today. He will prepare for your new branch with the support for zero. Of course, the branch will be based on the latest PlatformIO 2.7.0.

@orome

This comment has been minimized.

orome commented Dec 31, 2015

@ivankravets — Excellent, thanks!

@ivankravets ivankravets referenced this issue Jan 1, 2016

Closed

PlatformIO 3.0 Roadmap #423

28 of 37 tasks complete

@ivankravets ivankravets modified the milestones: 2.7.1, 3.0.0 Jan 5, 2016

@valeros valeros closed this in 9dde962 Jan 5, 2016

ivankravets added a commit that referenced this issue Jan 5, 2016

Merge pull request #436 from valeros/develop
Initial support for Arduino Zero board // Resolve #356
@orome

This comment has been minimized.

orome commented Jan 5, 2016

@valeros — Does this mean that the Zero is supported in 2.7.1 (with both zeroUSB and zero)?

@ivankravets

This comment has been minimized.

Member

ivankravets commented Jan 5, 2016

Yes! :) PlatformIO 2.7.1 will be released tomorrow.

@orome

This comment has been minimized.

orome commented Jan 5, 2016

⭐️

ivankravets added a commit that referenced this issue Jan 6, 2016

@chrise96

This comment has been minimized.

chrise96 commented Mar 2, 2017

mzeropro is working on my .org arduino m0 pro. (Bootloader_D21)
But the zero doesn't work for me with the .cc Arduino Zero. (Bootloader SAM-BA)

@ivankravets

This comment has been minimized.

Member

ivankravets commented Mar 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment