GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Override complete compiler tool paths for chipKIT. by peplin · Pull Request #159 · sudar/Arduino-Makefile

Conversation

@peplin

@peplin peplin commented Jan 28, 2014

Copy link
Copy Markdown
Contributor

Previously we were setting the AVR tools path to the PIC32 tools path because it
made grabbing the compiling tools easier. Consequently, it made finding the
avrdude path much harder, especially since the avrdude files are in different
locations in the Linux distributions of MPIDE and Arduino.

Instead, we set the AVR tools path to the correct path (where AVR dude
lives), and totally override the CC, CXX, etc. paths to point to their PIC32
equivalents.

Eventually this will probably get merged with whatever changes made to handle the multiple platforms supported by Arduino 1.5 (AVR and ARM). The flashing tool and compiling tools are conflated in the current release, but we may need to split it up going forward based on this example (i.e. the chipKIT uses pic32 tools but still uses avrdude to flash).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@peplin
Override complete compiler tool paths for chipKIT.
067afbb
Previously we were setting the AVR tools path to the PIC32 tools path because it
made grabbing the compiling tools easier. Consequently, it made finding the
avrdude path much harder, especially since the avrdude files are in different
locations in the Linux distributions of MPIDE and Arduino.

Instead, we set the AVR tools path to the *correct* path (where *AVR* dude
lives), and totally override the CC, CXX, etc. paths to point to their PIC32
equivalents.
@peplin peplin mentioned this pull request Jan 28, 2014
Test the makefile in windows #94
Closed
sudar added a commit that referenced this pull request Jan 29, 2014
@sudar
Merge pull request #159 from peplin/simpler-crossplatform-paths
33813e0
Override complete compiler tool paths for chipKIT.
@sudar
sudar merged commit 33813e0 into sudar:master Jan 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

chipKIT

Projects

None yet

Milestone

1.3

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@peplin @sudar
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.