Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Makefile arduino-mk

Makefile arduino-mk

Scheduled Pinned Locked Moved Development
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Josh CoxJ Offline
    Josh CoxJ Offline
    Josh Cox
    wrote on last edited by
    #1

    Hello I've been using the arduino-mk Makefile for my project instead of using the IDE as I generally program using vim anyhow, why fire up the IDE when you can just 'make' and
    'make upload'?

    Anyhow, I'm also interested in this project. But when I combine the two I get errors like:

    fatal error: MySensor.h: No such file or directory
    

    my Makefile is pretty simplistic:

    include /home/george/git/Arduino-Makefile/Arduino.mk
    ARDUINO_LIBS     = SPI MySensors DHT
    

    USER_LIB_PATH is computed to be:

    - [DEFAULT]            USER_LIB_PATH = /home/thoth/sketchbook/libraries
    

    and the MySensors folder is in there:

    ls ~/sketchbook/libraries/MySensors 
    core  drivers  examples  keywords.txt  library.json  library.properties  MyConfig.h  MySensor.h  tests
    

    Is anyone else using the arduino-mk Makefile? And if so any hints as to what might be wrong here?

    note I've tried with latest everything on Archlinux, and using a docker container with debian jessie here:
    https://github.com/joshuacox/mkarduino

    same result in both environments

    *Note in debian I use this include line:

    include /usr/share/arduino/Arduino.mk
    
    1 Reply Last reply
    0
    • Josh CoxJ Offline
      Josh CoxJ Offline
      Josh Cox
      wrote on last edited by
      #2

      I don't seem to be getting any replies here, so I'm moving to github here:
      https://github.com/mysensors/Arduino/issues/480

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      13

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular