arduino.mk | DEPRECATED FORK : Arduino Makefile with chipKIT support | Continous Integration library

 by   peplin Shell Version: Current License: LGPL-2.1

kandi X-RAY | arduino.mk Summary

kandi X-RAY | arduino.mk Summary

arduino.mk is a Shell library typically used in Devops, Continous Integration applications. arduino.mk has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Note that the changes in this Makefile have been merged in the now active upstream project at The only difference at this point is that the upstream version requries Perl (for the board reset script). This project should be considered deprecated but I will update it once the Perl dependency is finally dropped from the upstream version to say this is dead for good. This is a versioned history of the work done by Martin Oldfield on an Arduino Makefile. He releases tarballs on his website, so this version might be a bit easier if you want to track your modifications. The various released versions (0.3, 0.4, etc) are tagged in this repository. The original blog post: A blog post on the addition of chipKIT support: This Makefile current requires either Arduino 1.0 or MPIDE 0023.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              arduino.mk has a low active ecosystem.
              It has 11 star(s) with 4 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 13 have been closed. On average issues are closed in 21 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of arduino.mk is current.

            kandi-Quality Quality

              arduino.mk has 0 bugs and 0 code smells.

            kandi-Security Security

              arduino.mk has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              arduino.mk code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              arduino.mk is licensed under the LGPL-2.1 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              arduino.mk releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of arduino.mk
            Get all kandi verified functions for this library.

            arduino.mk Key Features

            No Key Features are available at this moment for arduino.mk.

            arduino.mk Examples and Code Snippets

            No Code Snippets are available at this moment for arduino.mk.

            Community Discussions

            QUESTION

            How to select a particular USB port on raspberry pi 3B+ to program two arduino boards with arduino-mk?
            Asked 2019-Apr-22 at 19:20

            I have a python program on my Raspberry pi 3B+ witch updates an Arduino mega2560 and an Arduino Uno by using Arduino-mk through bash commands. Each Arduino has its own code folder with its code (.ino) and a Makefile which looks like:

            ...

            ANSWER

            Answered 2019-Apr-22 at 19:20

            Plug in one device at a time and look at the output of ls -l /dev/serial/by-id/, you should see a symlink to the actual device node, but uniquely named for your specific device.

            You can then set ARDUINO_PORT=/dev/serial/by-id/unique_name in the respective makefiles.

            Source https://stackoverflow.com/questions/55681275

            QUESTION

            Vim makeprg make environment variable expansion
            Asked 2019-Jan-20 at 15:13

            This is bothering me more than it should and has me completely stumped. I feel like like finding the answer will have some good learning opportunities so hopefully it's relevant.

            I do embedded C development with Vim and have a setup for hobbyist stuff with Arduino (using Arduino Makefile). I use :make with some shortcuts with build projects.

            An external define resolves the Arduino Makefile root directory in the project level Makefile: 'ARDMK_DIR=/usr/local/opt/arduino-mk'. This is define as an export in my shell (zsh). This is where it gets weird:

            • Using make at the shell prompt the project builds fine:
            ...

            ANSWER

            Answered 2019-Jan-20 at 15:13

            Zsh has multiple init files that are sourced. The file .zshenv is always sourced, when the shell starts and the file .zshrc is only sourced when the shell is started in interactive mode.

            If you define the variable ARDMK_DIR with different values in .zshenv and in .zshrc, the value from .zshrc will be used when you work interactive with the shell (entering commands, starting Vim, ...).

            But when Vim starts a command it will start a non-interactive shell. In that case only the file .zshenv will be sourced, so you get the value from that file.

            One question left:

            Why did the following command first echo the correct value, but make uses the wrong?

            Source https://stackoverflow.com/questions/54274905

            QUESTION

            Arduino makefile can't compile
            Asked 2017-Aug-12 at 06:41

            I'm trying to compile my Arduino file/project with Makefile. But I'm having issues with the global variables. It says there not declared. The makefile that I downloaded was from github: https://github.com/sudar/Arduino-Makefile.

            Since I have no experience about Arduino, I don't see what could be the problem.

            My error code:

            ...

            ANSWER

            Answered 2017-Aug-10 at 15:23

            The Arduino IDE does some "sketch pre-processing" (see https://github.com/arduino/arduino-preprocessor#about-the-arduino-sketch-ino-preprocessing) that Arduino-Makefile does not. In other words, the Arduino IDE modify your sketch.ino to convert it into C++ before attempting to compile it while Arduino-Makefile try to compile it without changes.

            As a result, Arduino-Makefile fail to compile some sketch that compile just fine using the Arduino IDE. Performing by hand theses three steps usually do the trick:

            1. Are there many source files? If yes, merge them into a single file.
            2. Is #include at the top of the single source file? If not, add it.
            3. Are all functions declared before use? if not, add forward declaration.

            In your case, it looks like step 2 is needed (the missing variable OUTPUT and missings functions from your compilation error message are declared in Arduino.h, see https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/Arduino.h).

            If you intent to continue with Arduino-Makefile I would suggest to get used to theses types of errors as most sketch you will find on the web are only tested using the Arduino IDE. On the bright side, it's usually trivial to convert them into C++ and rarely time consuming as Arduino sketch are rarely "big".

            Source https://stackoverflow.com/questions/45608482

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install arduino.mk

            You can download it from GitHub.

            Support

            This version adds support for the Digilent chipKIT Uno32 and Max32, both Arduino-compatible microcontrollers. To use this Makefile with one of those, include chipKIT.mk instead of Arduino.mk at the bottom of your Makefile. You can adjust the same variables as described by Martin for Arduino.mk, but point to an MPIDE installation (which includes the chipKIT toolchain) instead of the Arduino IDE.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/peplin/arduino.mk.git

          • CLI

            gh repo clone peplin/arduino.mk

          • sshUrl

            git@github.com:peplin/arduino.mk.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continous Integration Libraries

            chinese-poetry

            by chinese-poetry

            act

            by nektos

            volkswagen

            by auchenberg

            phpdotenv

            by vlucas

            watchman

            by facebook

            Try Top Libraries by peplin

            pygatt

            by peplinPython

            gpxviewer

            by peplinJavaScript

            astral

            by peplinPython