VS Arduino | |
>> >> BootUp time different using VisualMicro or Arduino
https://www.visualmicro.com/forums/YaBB.pl?num=1610552493 Message started by JoeLeTurbo on Jan 13th, 2021 at 3:41pm |
Title: BootUp time different using VisualMicro or Arduino Post by JoeLeTurbo on Jan 13th, 2021 at 3:41pm
Hello,
I have some problems with the BootUp time with my Teensy 3.2 Here is my test sketch: [code] uint32_t Test; void setup() { Test = millis(); Serial.begin(115200); while (!Serial); } void loop() { delay(10000); // wait for 10 seconds Serial.println(); Serial.print("BootTime: "); Serial.print(Test); Serial.print(" ms"); } [/code] If I compile (Release mode) and upload it with VisualMicro I get a BootUp time of arround 4310 ms. If i compile the same code in Arduino I get a boot up time of 300ms. Where is the difference and how can I get the same BootTime? I'm using VS2019 and VisualMicro V 2020.910.8 JoeLeTurbo |
Title: Re: BootUp time different using VisualMicro or Arduino Post by Simon@Visual Micro on Jan 13th, 2021 at 3:48pm
Can you confirm you have the same board options set in both IDE's when comparing them?
(USB Type / CPU Speed / Optimize) If they are the same please upload the full Build Output from both IDE's, with the below options set: 1) Visual Micro: Enable options > vMicro > Compiler > Show Build Properties and Verbose 2) Arduino IDE: Preferences > Show Verbose Output During Compilation [ticked] |
Title: Re: BootUp time different using VisualMicro or Arduino Post by JoeLeTurbo on Jan 15th, 2021 at 8:34pm
Yes, the board options were the same.
I reinstalled VisualMicro and now it works perfectly. I now get the same boot up time in release version. The debug version still takes 4310 ms but I think that is ok because of debug. Thank you |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |