SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
#219510
Background
Brand new Artemis Nano
Win 10
Arduino 1.8.13, fresh install
Core 2.0.1 with the understanding that the serial monitor needs to be closed during upload
"Blink" runs fine

Symptom and/or Red Herring
On load of Arduino IDE
...\core-implement\HardwareSerial.cpp: In member function 'int UART::printf(const char*, ...)':
...\core-implement\HardwareSerial.cpp:153:19: warning: variable length array 'buf' is used [-Wvla] char buf[space];

Test Code
Code: Select all
void setup() {
  pinMode(19, OUTPUT);
  Serial.begin(9600);
  while (!Serial){};
  Serial.print("Hello.");
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(19, HIGH);   
  delay(500);               
  digitalWrite(19, LOW);    
  delay(1000);               
}
Results
Serial monitor output: "10:56:10.798 -> He"
LED activity: None

Thanks in advance.
#219544
Thanks for quick reply. Excellent. I'm up and running.
Retrograde to 1.1.2

Results as expected
Serial Monitor: 08:26:13.209 -> Hello.

Arduino Watch Window:
Sketch uses 8736 bytes (0%) of program storage space. Maximum is 960000 bytes.
Global variables use 33820 bytes of dynamic memory.


Artemis SVL Bootloader
Got SVL Bootloader Version: 5
[##################################################]Upload complete
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum