Skip to content
This repository has been archived by the owner on Sep 2, 2018. It is now read-only.

Support Arduino #139

Closed
24 tasks done
dylanmckay opened this issue Jul 8, 2015 · 4 comments
Closed
24 tasks done

Support Arduino #139

dylanmckay opened this issue Jul 8, 2015 · 4 comments

Comments

@dylanmckay
Copy link
Member

We need to be able to compile the entire Arduino core.

Note that USB was not enabled when I attempted to build these files, so many files have been #ifdef'd out because -DUSBCON was not defined.

C++ files (and whether we can compile them without errors):

  • CDC.cpp
  • HID.cpp
  • HardwareSerial.cpp
  • HardwareSerial0.cpp
  • HardwareSerial1.cpp
  • HardwareSerial2.cpp
  • HardwareSerial3.cpp
  • IPAddress.cpp
  • Print.cpp
  • Stream.cpp
  • Tone.cpp
  • USBCore.cpp
  • WInterrupts.c
  • WMath.cpp
  • WString.cpp
  • abi.cpp
  • hooks.c
  • main.cpp
  • new.cpp
  • wiring.c
  • wiring_analog.c
  • wiring_digital.c
  • wiring_pulse.c
  • wiring_shift.c

Here is a Gist containing all of the C++ Arduino core files compiled into LLVM IR.

@paulobarcelos
Copy link

+1

@dylanmckay
Copy link
Member Author

There's only one file left to fix - Stream.cpp - for which I have a fix, I just need to update a few tests.

@dylanmckay
Copy link
Member Author

As of eb79a90 (which was blocking Stream.cpp), we can now completely compile the Arduino core.

@dylanmckay
Copy link
Member Author

This is not quite true as of today - see #149.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants