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

0 Members and 1 Guest are viewing this topic.

Offline IanJTopic starter

  • Supporter
  • ****
  • Posts: 1846
  • Country: scotland
  • Full time EE & Youtuber/Creator
    • 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 WinGPIB
Website: www.ianjohnston.com
YouTube: www.youtube.com/user/IanScottJohnston, Odysee: https://odysee.com/@IanScottJohnston, Twitter(X): https://twitter.com/IanSJohnston, Github: https://github.com/Ian-Johnston?tab=repositories
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5621
  • Country: va
Re: arduino_debug & NotePad++
« Reply #1 on: November 02, 2019, 05:09:04 pm »
What is your programmer?
Readers discretion is advised..
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf