platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
79 stars 107 forks source link

Uploading this code to Adafruit Feather M0 breaks com port and upload port! #77

Closed deladriere closed 4 years ago

deladriere commented 4 years ago

This code

#include <Arduino.h>
#define LED 13
void setup()
{
  pinMode(LED, OUTPUT);
  do
  {
    digitalWrite(LED, HIGH);
    digitalWrite(LED, LOW);
    //delay(1);
  } while (1);
}
void loop()
{
}

breaks the usb com port with 3.8.0 ( but the code runs)

[env:adafruit_feather_m0]
platform = atmelsam@3.8.0 
board = adafruit_feather_m0
framework = arduino

using the same code with

[env:adafruit_feather_m0]
platform = atmelsam@3.6.1
board = adafruit_feather_m0
framework = arduino

Using 3.6.1 works just fine

deladriere commented 4 years ago

@valeros I just tested [env:adafruit_feather_m0] platform = https://github.com/platformio/platform-atmelsam.git board = adafruit_feather_m0 framework = arduino and its working also !