Permalink
Browse files

Merge pull request #373 from EmbeddedMan/master

Added chipKIT Pi variant files

Former-commit-id: f9ca1a1
  • Loading branch information...
2 parents b19b91a + 2af4a81 commit 1b2592fb0bdd6f6129c9379c719651d8015eba0d @ricklon ricklon committed Jul 22, 2013
@@ -0,0 +1,37 @@
+############################################################
+chipkit_Pi.name=chipKIT Pi
+chipkit_Pi.group=chipKIT
+
+# new items
+chipkit_Pi.platform=pic32
+chipkit_Pi.board=_BOARD_CHIPKIT_PI_
+chipkit_Pi.ccflags=-Map="map.map"
+chipkit_Pi.board.define=
+chipkit_Pi.ldscript=chipKIT-application-32MX250F128.ld
+# end of new items
+
+# Use a high -Gnum for devices that have less than 64K of data memory
+# For -G1024, objects 1024 bytes or smaller will be accessed by
+# gp-relative addressing
+chipkit_Pi.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-G1024::-g::-mdebugger::-Wcast-align::-fno-short-double
+chipkit_Pi.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-G1024::-g::-mdebugger::-Wcast-align::-fno-short-double
+
+chipkit_Pi.upload.protocol=stk500v2
+# 128KB - 4K for EEPROM - 4K for bootloader
+fubarino_mini.upload.maximum_size=122880
+chipkit_Pi.upload.speed=115200
+
+chipkit_Pi.bootloader.low_fuses=0xff
+chipkit_Pi.bootloader.high_fuses=0xdd
+chipkit_Pi.bootloader.extended_fuses=0x00
+chipkit_Pi.bootloader.path=not-supported
+chipkit_Pi.bootloader.file=not-supported
+chipkit_Pi.bootloader.unlock_bits=0x3F
+chipkit_Pi.bootloader.lock_bits=0x0F
+
+chipkit_Pi.build.mcu=32MX250F128B
+chipkit_Pi.build.f_cpu=40000000L
+chipkit_Pi.build.core=pic32
+chipkit_Pi.build.variant=ChipKIT_Pi
+
+############################################################
@@ -188,6 +188,8 @@ const static uint8_t SCK = 24; // PIC32 SCK2
/* ------------------------------------------------------------ */
/* These define the pin numbers for the various change notice
** pins.
+/// TODO: MX250 parts have Change Notification on EVERY I/O pin.
+/// How should that get mapped? What calls actually use these values?
*/
#define PIN_CN0 6
#define PIN_CN1 5

0 comments on commit 1b2592f

Please sign in to comment.