Closed rei-vilo closed 12 years ago
In chipKIT.mk, _BOARD_MEGA_ is hard-coded
_BOARD_MEGA_
EXTRA_CPPFLAGS = -O2 -mno-smart-io -DARDUINO=22 -D_BOARD_MEGA_= \ -I$(ARDUINO_DIR)/hardware/pic32/variants/$(VARIANT)
while /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/boards.txt specifies
uno_pic32.board=_BOARD_UNO_ mega_pic32.board=_BOARD_MEGA_
So
BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) EXTRA_CPPFLAGS = -O2 -mno-smart-io -DARDUINO=22 -D$(BOARD)= \ -I$(ARDUINO_DIR)/hardware/pic32/variants/$(VARIANT)
Great, thanks. If you want to fork this repository and send pull requests with the changes, you can get your GitHub name more directly linked to the changes.
I'll do it and pull my request so you can review it.
In chipKIT.mk,
_BOARD_MEGA_
is hard-codedwhile /Applications/Mpide.app/Contents/Resources/Java/hardware/pic32/boards.txt specifies
So