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

0 Members and 1 Guest are viewing this topic.

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1607
  • Country: scotland
  • Full time EE & Youtuber
    • 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 - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4780
  • Country: pm
  • It's important to try new things..
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