visual_micro
Active member
Teensy Board Package v1.58.1
Affects: Arduino IDE, Visual Micro
Summary:
After uploading the Blink Sketch to a Standard Teensy 4.1, the LED does not blink.
This is only found when using the "Smallest Code" Optimization, all other Optimization levels work as expected.
Code:
Affects: Arduino IDE, Visual Micro
Summary:
After uploading the Blink Sketch to a Standard Teensy 4.1, the LED does not blink.
This is only found when using the "Smallest Code" Optimization, all other Optimization levels work as expected.
Code:
Code:
// Teensy Board Package v1.58.1
// Board Options:
// - USBType: Serial
// - CPU Speed: 600Mhz
// - Optimize: Smallest Code
// - Keyboard Layout: US English
// Compiling with "Smallest Code" -Os - LED Doesnt blink
// Faster: OK
// Debug: OK
// Fast: OK
// Fastest: OK
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
}