You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ju...@apache.org on 2017/05/10 10:59:59 UTC
[1/2] incubator-mynewt-core git commit: hw: hsp: pic32mz2048_wi-fire:
Define LED pins
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/master 21d4cf079 -> 4c4ae1c97
hw: hsp: pic32mz2048_wi-fire: Define LED pins
Signed-off-by: Francois Berder <fb...@outlook.fr>
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/1191e7da
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/1191e7da
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/1191e7da
Branch: refs/heads/master
Commit: 1191e7da69143830def3c4166948aefe86f8659d
Parents: cb23f34
Author: Francois Berder <fb...@outlook.fr>
Authored: Tue May 9 14:15:45 2017 +0200
Committer: Francois Berder <fb...@outlook.fr>
Committed: Tue May 9 14:15:45 2017 +0200
----------------------------------------------------------------------
hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1191e7da/hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h
----------------------------------------------------------------------
diff --git a/hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h b/hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h
index 1a8a40c..06cd45f 100644
--- a/hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h
+++ b/hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h
@@ -20,6 +20,7 @@
#define H_BSP_H
#include <inttypes.h>
+#include "mcu/mcu.h"
#ifdef __cplusplus
extern "C" {
@@ -39,6 +40,13 @@ extern uint8_t _ccram_start;
#define RAM_SIZE (128 * 1024)
#define CCRAM_SIZE (64 * 1024)
+/* LED pins */
+#define LED_1 MCU_GPIO_PORTG(6)
+#define LED_2 MCU_GPIO_PORTD(4)
+#define LED_3 MCU_GPIO_PORTB(11)
+#define LED_4 MCU_GPIO_PORTG(15)
+#define LED_BLINK_PIN LED_1
+
/* UART */
#define UART_CNT 6
#define CONSOLE_UART "uart3"
[2/2] incubator-mynewt-core git commit: This closes pull request #266.
Posted by ju...@apache.org.
This closes pull request #266.
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/4c4ae1c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4c4ae1c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4c4ae1c9
Branch: refs/heads/master
Commit: 4c4ae1c97f88ca7645cc588102eef8213e8caf20
Parents: 21d4cf0 1191e7d
Author: julian <ju...@imgtec.com>
Authored: Wed May 10 11:59:07 2017 +0100
Committer: julian <ju...@imgtec.com>
Committed: Wed May 10 11:59:07 2017 +0100
----------------------------------------------------------------------
hw/bsp/pic32mz2048_wi-fire/include/bsp/bsp.h | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------