This closes #218. Merge branch 'pic32' of https://github.com/IMGJulian/incubator-mynewt-core into develop
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ab16b5db Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ab16b5db Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ab16b5db Branch: refs/heads/develop Commit: ab16b5db18fa81e749c33a12cfe79265e873df8e Parents: a73a65b 70bf4a8 Author: Marko Kiiskila <ma...@runtime.io> Authored: Mon Apr 3 10:51:42 2017 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Mon Apr 3 10:51:42 2017 -0700 ---------------------------------------------------------------------- compiler/xc32/compiler.yml | 36 ++ compiler/xc32/pkg.yml | 27 + hw/bsp/pic32mx470_6LP_clicker/bsp.yml | 53 ++ hw/bsp/pic32mx470_6LP_clicker/include/bsp/bsp.h | 52 ++ .../include/bsp/bsp_sysid.h | 36 ++ hw/bsp/pic32mx470_6LP_clicker/pkg.yml | 46 ++ hw/bsp/pic32mx470_6LP_clicker/src/hal_bsp.c | 27 + hw/bsp/pic32mx470_6LP_clicker/src/os_bsp.c | 85 +++ hw/bsp/pic32mx470_6LP_clicker/src/sbrk.c | 51 ++ hw/bsp/pic32mx470_6LP_clicker/syscfg.yml | 41 ++ hw/bsp/pic32mz2048_wi-fire/bsp.yml | 53 ++ hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h | 52 ++ .../pic32mz2048_wi-fire/include/bsp/bsp_sysid.h | 36 ++ hw/bsp/pic32mz2048_wi-fire/pkg.yml | 52 ++ hw/bsp/pic32mz2048_wi-fire/src/hal_bsp.c | 27 + hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c | 109 ++++ hw/bsp/pic32mz2048_wi-fire/src/sbrk.c | 51 ++ hw/bsp/pic32mz2048_wi-fire/syscfg.yml | 49 ++ .../pic32mx470F512H/include/mcu/mips_bsp.h | 24 + .../pic32mx470F512H/include/mcu/mips_hal.h | 39 ++ .../pic32mx470F512H/include/mcu/pic32mx470.h | 25 + hw/mcu/microchip/pic32mx470F512H/pkg.yml | 31 + .../microchip/pic32mx470F512H/src/hal_os_tick.c | 36 ++ .../microchip/pic32mx470F512H/src/hal_system.c | 35 + hw/mcu/microchip/pic32mx470F512H/src/hal_uart.c | 463 +++++++++++++ .../pic32mx470F512H/src/hal_watchdog.c | 39 ++ .../pic32mz2048efg100/include/mcu/mips_bsp.h | 24 + .../pic32mz2048efg100/include/mcu/mips_hal.h | 39 ++ .../pic32mz2048efg100/include/mcu/pic32mz2048.h | 25 + hw/mcu/microchip/pic32mz2048efg100/pkg.yml | 31 + .../pic32mz2048efg100/src/hal_os_tick.c | 36 ++ .../pic32mz2048efg100/src/hal_system.c | 35 + .../microchip/pic32mz2048efg100/src/hal_uart.c | 645 +++++++++++++++++++ .../pic32mz2048efg100/src/hal_watchdog.c | 39 ++ hw/mcu/mips/danube/include/mcu/mips.h | 2 +- hw/mcu/mips/danube/include/mcu/mips_bsp.h | 2 +- hw/mcu/mips/danube/include/mcu/mips_hal.h | 2 +- hw/mcu/mips/danube/src/hal_uart.c | 5 +- kernel/os/include/os/arch/mips/os/os_arch.h | 2 +- kernel/os/include/os/arch/pic32mx/os/os_arch.h | 84 +++ kernel/os/include/os/arch/pic32mz/os/os_arch.h | 84 +++ kernel/os/src/arch/mips/asm/excpt_isr.S | 3 - kernel/os/src/arch/mips/os_arch_mips.c | 6 +- kernel/os/src/arch/pic32mx/asm/ctx.S | 163 +++++ kernel/os/src/arch/pic32mx/os_arch_pic32mx.c | 213 ++++++ kernel/os/src/arch/pic32mx/os_fault.c | 122 ++++ kernel/os/src/arch/pic32mz/asm/ctx.S | 163 +++++ kernel/os/src/arch/pic32mz/os_arch_pic32mz.c | 213 ++++++ kernel/os/src/arch/pic32mz/os_fault.c | 122 ++++ 49 files changed, 3623 insertions(+), 12 deletions(-) ----------------------------------------------------------------------