Skip to content

Commit

Permalink
Initial support for Curiosity MX board.
Browse files Browse the repository at this point in the history
*NOTE* This disables a PPS pin combination, and needs fixing. See Issue #357.
  • Loading branch information
lstandage committed Jul 10, 2017
1 parent d4c5f8a commit f5c1d1a
Show file tree
Hide file tree
Showing 4 changed files with 1,221 additions and 1 deletion.
55 changes: 55 additions & 0 deletions pic32/boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1047,3 +1047,58 @@ clicker2.build.mcu=32MX460F512L
clicker2.build.f_cpu=80000000L
clicker2.build.core=pic32
clicker2.build.variant=Clicker2

############################################################
flipnclickmz.name=MikroElektronika Flip N Click MZ
flipnclickmz.group=MikroElektronika
flipnclickmz.platform=pic32
flipnclickmz.build.board=_BOARD_PIC32MZ_FLIP_N_CLICK_
flipnclickmz.ccflags=ffff
#flipnclickmz.ldscript=MZ-application-32MZ2048ECX.ld
flipnclickmz.ldcommon=chipKIT-application-COMMON-MZ.ld

flipnclickmz.compiler.c.extra_flags=
flipnclickmz.compiler.cpp.extra_flags=
flipnclickmz.upload.protocol=stk500v2

flipnclickmz.upload.maximum_size=2080768
flipnclickmz.upload.maximum_data_size=524288
flipnclickmz.upload.speed=115200
flipnclickmz.upload.tool=pic32prog

flipnclickmz.bootloader.low_fuses=0xff
flipnclickmz.bootloader.high_fuses=0xdd
flipnclickmz.bootloader.extended_fuses=0x00
#flipnclickmz.bootloader.path=not-supported
#flipnclickmz.bootloader.file=not-supported
flipnclickmz.bootloader.unlock_bits=0x3F
flipnclickmz.bootloader.lock_bits=0x0F

flipnclickmz.build.mcu=32MZ2048EFG100
flipnclickmz.build.f_cpu=200000000UL
flipnclickmz.build.core=pic32
flipnclickmz.build.variant=Flip_N_Click
flipnclickmz.build.ldscript.path={build.variant.path}
#mikroe_PIC32MZFlipNClick.upload.using=avrdude1


############################################################
curiositymx.name=Microchip Curiosity PIC32MX470
curiositymx.group=Microchip
curiositymx.platform=pic32
curiositymx.build.board=_BOARD_MICROCHIP_CURIOSITY_PIC32MX_
curiositymx.ccflags=ffff
curiositymx.ldscript=chipKIT-application-32MX470F512.ld

curiositymx.build.extra_flags=-D_USE_USB_FOR_SERIAL_

curiositymx.upload.protocol=stk500v2
curiositymx.upload.maximum_size=520192
curiositymx.upload.maximum_data_size=131072
curiositymx.upload.speed=115200
curiositymx.upload.tool=pic32prog

curiositymx.build.mcu=32MX470F512H
curiositymx.build.f_cpu=120000000L
curiositymx.build.core=pic32
curiositymx.build.variant=Curiosity_MX470
2 changes: 1 addition & 1 deletion pic32/cores/pic32/pps/pingroups_37x47x.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#define _PPS_RPD8 ( 4 + _PPS_SET_D)
#define _PPS_RPB6 ( 5 + _PPS_SET_D)
#define _PPS_RPD5 ( 6 + _PPS_SET_D)
#define _PPS_RPB2 ( 7 + _PPS_SET_D)
//#define _PPS_RPB2 ( 7 + _PPS_SET_D)
#define _PPS_RPF3 ( 8 + _PPS_SET_D | _PPS_SET_B)
#define _PPS_RPF13 ( 9 + _PPS_SET_D)
#define _PPS_RPC2 (12 + _PPS_SET_D)
Expand Down
Loading

0 comments on commit f5c1d1a

Please sign in to comment.