Giter VIP home page Giter VIP logo

Comments (3)

msproul avatar msproul commented on July 24, 2024

I have found a difference between MPIDE and Arduino IDE,

The 2nd to the last line uses g++ instead of gcc. This appears to be the cause of the difference in speed.

/Arduino-PIC/ChipKit-IDE/Mpide.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -Os -Wl,--gc-sections -mmcu=atmega2560 -o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/QTFT_Ard.cpp.elf /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/QTFT_Ard.cpp.o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/core.a -L/var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp -lm

Arduino IDE

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -Os -Wl,--gc-sections -mmcu=atmega2560 -o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/QTFT_Ard.cpp.elf /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/QTFT_Ard.cpp.o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/core.a -L/var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp -lm

from chipkit32-max.

ricklon avatar ricklon commented on July 24, 2024

I just added the fix to my code. I'm testing and will commit the
changes afterwards.
--Rick

On Sun, May 29, 2011 at 2:07 PM, msproul
[email protected]
wrote:

I have found a difference between MPIDE and Arduino IDE,

The 2nd to the last line uses g++ instead of gcc. This appears to be the cause of the difference in speed.

/Arduino-PIC/ChipKit-IDE/Mpide.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++    -Os  -Wl,--gc-sections  -mmcu=atmega2560  -o  /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/QTFT_Ard.cpp.elf  /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/QTFT_Ard.cpp.o    /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp/core.a  -L/var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build5778478475602800732.tmp  -lm

Arduino IDE

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-gcc -Os -Wl,--gc-sections -mmcu=atmega2560 -o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/QTFT_Ard.cpp.elf /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/QTFT_Ard.cpp.o /var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp/core.a -L/var/folders/At/AtJ1kM1UFOeJFbUSaF5E+k+++TI/-Tmp-/build7193673520898219636.tmp -lm

Reply to this email directly or view it on GitHub:
#39 (comment)

President
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org

from chipkit32-max.

ricklon avatar ricklon commented on July 24, 2024

Example of the correct output for elf compile, where Arduino is doing floating point normally. This also makes the elf step standard to main Arduino compile.

TFT Display
pinMode finished
Calling lcd_Init

Starting Mandlebrot

ATmega2560 Elapsed time=6 min 40 secs

from chipkit32-max.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.