Author Topic: arduino_debug & NotePad++  (Read 1862 times)

0 Members and 1 Guest are viewing this topic.

Offline IanJ

  • Supporter
  • ****
  • Posts: 1381
  • Country: scotland
  • Pro EE guy many years ago, now a hobby/home biz.
    • IanJohnston.com
arduino_debug & NotePad++
« on: October 31, 2019, 05:37:54 pm »
Hi all,

I've set up NPPEXEC in NPP in order to compile and upload to my atmega1284 AVR using arduino_debug.exe, i.e. command line control of the IDE effectively...........So, no more IDE, and all within NPP. Just hit F6.

However, I can't see how to burn bootloaders with it............any ideas?

For reference, here's what I have so far (NPPEXEC execute scripts):-

COMPILE & UPLOAD -  REQUIRES IDE TO BE LAST SAVED WITH REQUIRED BOARD, PROGRAMMER CONFIGURED ETC.:-
set arduino_path = "C:\Program Files (x86)\Arduino-1.8.9\arduino_debug"
cmd /c $(arduino_path) --verbose-build --useprogrammer --verbose-upload --upload $(full_current_path)

COMPILE & UPLOAD -  OVERRIDES PREVIOUS IDE SELECTIONS
set arduino_path = "C:\Program Files (x86)\Arduino-1.8.9\arduino_debug"
cmd /c $(arduino_path) --verbose-build --board IanJ_1284:avr:IanJ_1284 --useprogrammer --verbose-upload --upload $(full_current_path)

COMPILE ONLY
set arduino_path = "C:\Program Files (x86)\Arduino-1.8.9\arduino_debug"
cmd /c $(arduino_path) --board IanJ_1284:avr:IanJ_1284 --verify $(FULL_CURRENT_PATH)

Ian.
Ian Johnston - Manufacturer of the PDVS2, PDVS2mini & author of the free WinGPIB app.
Website & Online Shop: www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston
 

Offline imo

  • Super Contributor
  • ***
  • Posts: 3284
  • Country: mv
Re: arduino_debug & NotePad++
« Reply #1 on: November 02, 2019, 05:09:04 pm »
What is your programmer?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf