Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Generating Core Library for Single Board

  1. #1
    Junior Member bss_hmr's Avatar
    Join Date
    Nov 2018
    Posts
    3

    Generating Core Library for Single Board

    I used Erich Styger's article on modifying the Teensy 3.5 for SWD and was able to successfully use a JTAG debugger and MCUExpresso to program the device.

    I would like to be able to build off of all the terrific libraries and resources the community has invested in the core library work. Is there a way I can get all the core libraries set to the 3.5 board so I can include it in my eclipse project? My end goal is to be able to '#include <Arduino.h>' in my eclipse main and use the digitalWrite and digitalRead functions along with the hardware debugging options that are now available.

    Thanks in advance!

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,529
    Quote Originally Posted by bss_hmr View Post
    Is there a way I can get all the core libraries set to the 3.5 board so I can include it in my eclipse project?
    Sure. The easiest way is to just run the Teensyduino installer, then help yourself to the code in Arduino's hardware/teensy folder.

    If using a Mac, control-click Arduino and "Show Package Contents", then look for "hardware" in Contents/Java. On Linux and Windows, the Arduino software is ordinary folders. The default install location on Windows is C:\Program Files (x86)\Arduino.

    The code is also on github.

    https://github.com/PaulStoffregen/cores

    But if the want all the other libraries, they're scattered around in many different repositories. Not nearly as convenient as having them all in the "libraries" folder under hardware/teensy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •