File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # pic32prog flasher
2+ # =================
3+ #
4+ # https://github.com/sergev/pic32prog
5+ #
6+ # Allow flashing pic32 boards using:
7+ # * Microchip PICkit2
8+ # * Microchip PICkit3 with script firmware
9+ #
10+ #
11+ # PICkit-3
12+ # --------
13+ #
14+ # Changing the firmware to 'scripting mode'
15+ # Should be done from a Windows computer as described here
16+ #
17+ # http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit3%20Programmer%20Application%20v3.10.zip
18+ #
19+ # ### Setup summary
20+ #
21+ # * Extract PICkit3 Programmer Application Setup v3.10.zip
22+ # * setup.exe
23+ # * Run PICkit3
24+ # * Tools/Download PICkit Operating System
25+ # * Select C://Program Files/Microchip/PICkit3/PK3OSV020005.hex
26+ #
27+
28+ PIC32PROG = $(RIOTTOOLS ) /pic32prog/pic32prog
29+
30+ FLASHFILE ?= $(HEXFILE )
31+
32+ FLASHER ?= $(PIC32PROG )
33+ FFLAGS ?= $(FLASHFILE )
34+
35+ # No reset command
36+ RESET ?=
37+ RESET_FLAGS ?=
38+
39+ # Compile pic32prog if using the one provided in RIOT
40+ ifeq ($(PIC32PROG ) ,$(FLASHER ) )
41+ FLASHDEPS += $(PIC32PROG )
42+ endif
You can’t perform that action at this time.
0 commit comments