Code Monkey home page Code Monkey logo

chipkit-cxx's People

Contributors

geoffwozniak-mchp avatar jasonkajita avatar jkajita-mchp avatar mariusgeanta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chipkit-cxx's Issues

Arduino packaging must be in a single folder

A requirement for using the arduino-cli is that the compiler archive must contain only one root folder. At the moment the compiler is packaged as a tar file from inside the top level folder, rather than including that top level folder.

An example of how it should be:

$ tar -ztvf pic32-tools-143-3-Linux32-image.tar.gz 
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/lib/
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/lib/gcc/
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/4.8.3/
drwxr-xr-x matt/matt         0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/4.8.3/micromips/
-rw-r--r-- matt/matt       795 2017-03-13 17:01 pic32-tools-143/lib/gcc/pic32mx/4.8.3/micromips/crtn.o
... etc ...

Converting one of the existing builds is easy enough:

$ mkdir pic32-tools-143
$ tar -C pic32-tools-143 -zxf pic32-tools-143-3-Linux32-image.tar.gz
$ tar -zcf pic32-tools-143-3-Linux32-image.tar.gz pic32-tools-143

And of course the file size and SHA-256 checksum will change so the JSON file will need to be updated with those new details.

[Request for clarification] bin2hex license

A custom utility built inside the binutils tree, bin2hex ( https://github.com/chipKIT32/chipKIT-cxx/blob/master/src45x/binutils/binutils/bin2hex.c ) is missing license information inside the file.

Since binutils is GPL, and bin2hex is linked statically with part of the binutils tree, it is implied that bin2hex is also GPL, is this how ChipKit intended? Or is just the general license file for the whole tree implied?

The prefered solution would be to explicitly state the license inside the file to avoid confusion, as it is not a utility found in any official binutils distribution.

Add checksum to compiler build process

To package the compiler for Arduino 1.6.6 consumption, a checksum is needed on the compiler. While chipKIT-core can build this checksum every time the core is built, the best thing would be for the compiler build process to include the creation of this checksum.

See chipKIT32/chipKIT-core#108

Must include version number in binary release filenames

There appears to be a flaw in the way the Arduino IDE handles files that are downloaded from the Boards Manager. It can't properly handle files that have the same name across multiple versions. For example, if you had pic32tools.zip for chipKIT-core v1.0.0 and pic32tools.zip (an updated version) for chipKIT-core v2.0.0, then if somebody tried to go from v2.0.0 to v1.0.0 they would not get the 'old' version of pic32tools.zip, because Arduino IDE thinks that it already has the file it needs, or it gives a CRC error because the file that it already has doesn't have the CRC of the other file.

So, please make sure that the binary files you upload to https://github.com/chipKIT32/chipKIT-compiler-builds have the compiler version number (v1.42.rc2 or whatever) in their actual filenames, so that they are always unique across all chipKIT-core versions.

pic32-gdb for OpenOCD/PlatformIO debugging support

In order to support debugging using PlatformIO, a version of GDB is needed in the tools.

It is possible to use the version of GDB provided by Imagination, but it would be good to not require the user to have to get multiple tool sets.

Do not include *.py (Python) files in final compiler zip files

There are quite a number of -gdb.py files in the final output .zip files for each platform. These need to be removed. When the Arduino IDE installs the compiler and unzips the files, it chokes on these files for some reason (I don't think it's internal parsing like the leading dash?) - at least under Windows it chokes.

I tested this fix by removing all of the *.py files manually, re-zipping the compiler, uploading it to GH, and then having the Arduino IDE pull down the new zip file. It installs with no problems then.

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.