{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/958","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/958/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/958/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/958/events","html_url":"https://github.com/esp8266/Arduino/issues/958","id":114710312,"number":958,"title":"Use without Arduino IDE / arduino-builder problem?","user":{"login":"marvinroger","id":990773,"avatar_url":"https://avatars.githubusercontent.com/u/990773?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinroger","html_url":"https://github.com/marvinroger","followers_url":"https://api.github.com/users/marvinroger/followers","following_url":"https://api.github.com/users/marvinroger/following{/other_user}","gists_url":"https://api.github.com/users/marvinroger/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinroger/subscriptions","organizations_url":"https://api.github.com/users/marvinroger/orgs","repos_url":"https://api.github.com/users/marvinroger/repos","events_url":"https://api.github.com/users/marvinroger/events{/privacy}","received_events_url":"https://api.github.com/users/marvinroger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-02T23:42:13Z","updated_at":"2015-11-12T21:18:11Z","closed_at":"2015-11-07T11:35:45Z","body":"I would like to code on Atom and get rid of the Arduino IDE, kind of limited.\r\nIs there a way to build without using it?\r\n\r\nI tried arduino-builder with `/opt/arduino-builder/arduino-builder -compile -hardware /opt/arduino-builder/hardware/ -hardware ~/.arduino15/packages/esp8266/hardware/ -tools ~/.arduino15/packages/esp8266/tools/ -libraries ~/Arduino/libraries -fqbn esp8266:1.6.5-1160-gef26c5f:nodemcuv2 ~/Arduino/Sketch/Sketch.ino`, but `ARDUINO_ARCH_ESP8266` doesn't get defined so libraries like OneWire fail. When changing from `ARDUINO_ARCH_ESP8266` to `ESP8266` it passes, but I get `fork/exec {runtime.tools.ctags.path}/ctags: no such file or directory`.\r\n\r\nSo something is not right, seems like it doesn't parse parameters correctly. I saw in this issue tracker that you would maybe use `arduino-builder` to do CI, so I guess it should be compatible. Maybe I am doing it wrong? Or there is a problem in arduino-builder?"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/156236862","html_url":"https://github.com/esp8266/Arduino/issues/958#issuecomment-156236862","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/958","id":156236862,"user":{"login":"sej7278","id":817564,"avatar_url":"https://avatars.githubusercontent.com/u/817564?v=3","gravatar_id":"","url":"https://api.github.com/users/sej7278","html_url":"https://github.com/sej7278","followers_url":"https://api.github.com/users/sej7278/followers","following_url":"https://api.github.com/users/sej7278/following{/other_user}","gists_url":"https://api.github.com/users/sej7278/gists{/gist_id}","starred_url":"https://api.github.com/users/sej7278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sej7278/subscriptions","organizations_url":"https://api.github.com/users/sej7278/orgs","repos_url":"https://api.github.com/users/sej7278/repos","events_url":"https://api.github.com/users/sej7278/events{/privacy}","received_events_url":"https://api.github.com/users/sej7278/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T21:18:10Z","updated_at":"2015-11-12T21:18:10Z","body":"@steve-superiontech i believe the issue is with 1.6.5 upgrades - nuke your arduino install (including ~/.arduino15) and install 1.6.6 from scratch, works for me using my Makefile:\r\n\r\n```make\r\nARDUINO_PATH = $(HOME)/arduino-1.6.6\r\nSKETCHBOOK   = $(HOME)/sketchbook\r\nESPTOOL\t\t = $(SKETCHBOOK)/hardware/esp8266com/esp8266/tools/esptool/esptool\r\nSKETCH \t\t = $(notdir $(CURDIR)).ino\r\nTARGET_DIR   = $(CURDIR)/build-esp8266\r\nMONITOR_PORT = /dev/ttyUSB0\r\n\r\nall:\r\n\t@ mkdir -p $(TARGET_DIR)\r\n\r\n\t$(ARDUINO_PATH)/arduino-builder -compile -logger=machine \\\r\n\t-hardware \"$(ARDUINO_PATH)/hardware\" \\\r\n\t-hardware \"$(SKETCHBOOK)/hardware\" \\\r\n\t-tools \"$(ARDUINO_PATH)/tools-builder\" \\\r\n\t-tools \"$(ARDUINO_PATH)/hardware/tools/avr\" \\\r\n\t-built-in-libraries \"$(ARDUINO_PATH)/libraries\" \\\r\n\t-libraries \"$(SKETCHBOOK)/libraries\" \\\r\n\t-fqbn=esp8266com:esp8266:generic:UploadTool=esptool,CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64 \\\r\n\t-ide-version=10606 \\\r\n\t-build-path \"$(TARGET_DIR)\" \\\r\n\t-warnings=none \\\r\n\t-prefs=build.warn_data_percentage=75 \\\r\n\t-verbose \"$(SKETCH)\"\r\n\r\nflash:\r\n\t$(ESPTOOL) -v -cd ck -cb 115200 -cp $(MONITOR_PORT) -ca 0x00000 -cf $(TARGET_DIR)/$(SKETCH).bin \r\n\r\nupload: all flash\r\n\r\nclean:\r\n\trm -rf $(TARGET_DIR)\r\n\r\nmonitor:\r\n\tscreen $(MONITOR_PORT) 9600\r\n```"}}