Basic

Dependencies:   MQTT

Committer:
lwtroach
Date:
Wed Apr 24 03:30:36 2019 +0000
Revision:
6:86eea1bcf499
Parent:
5:b9d12dfdc674
Child:
7:e556528beeba
ALL SECTOR ARE USED BY STORED THE TEST STRING ??? BUT I ONLY GIVE ONE ADDRESS ???

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lwtroach 0:6bdfb6ccd136 1 #ifndef _LPG_CONFIG_
lwtroach 1:347333bac1fb 2 #define _LPG_CONFIG_
lwtroach 6:86eea1bcf499 3 #define SLEEP_TIME 500 /*(msec)*/
lwtroach 6:86eea1bcf499 4 #define PRINT_AFTER_N_LOOPS 20
lwtroach 6:86eea1bcf499 5 #define D_UART_BR 115200
lwtroach 6:86eea1bcf499 6 #define AT_UART_BR 115200
lwtroach 6:86eea1bcf499 7 #ifdef _WISE_1570_ /* WISE-1570 */
lwtroach 6:86eea1bcf499 8 #define GPIO_0 PB_9
lwtroach 6:86eea1bcf499 9 #define GPIO_1 PC_7
lwtroach 6:86eea1bcf499 10 #define GPIO_2 PB_15
lwtroach 6:86eea1bcf499 11 #define GPIO_3 PB_12
lwtroach 6:86eea1bcf499 12 #define GPIO_4 PC_8
lwtroach 6:86eea1bcf499 13 #define GPIO_5 PC_13
lwtroach 6:86eea1bcf499 14 #define UART_TX PC_10
lwtroach 6:86eea1bcf499 15 #define UART_RX PC_11
lwtroach 6:86eea1bcf499 16 #define ADC_0 PA_1
lwtroach 6:86eea1bcf499 17 #define ADC_1 PC_2
lwtroach 6:86eea1bcf499 18 #define ADC_2 PC_4
lwtroach 6:86eea1bcf499 19 #define PWM_0 PB_0
lwtroach 6:86eea1bcf499 20 #define PWM_1 PB_1
lwtroach 6:86eea1bcf499 21 #define I2C1_DATA PB_11
lwtroach 6:86eea1bcf499 22 #define I2C1_DCLK PB_10
lwtroach 6:86eea1bcf499 23 #define I2C0_DATA PB_7
lwtroach 6:86eea1bcf499 24 #define I2C0_DCLK PB_6
lwtroach 6:86eea1bcf499 25 #else /* BG96 */
lwtroach 6:86eea1bcf499 26 #define LED_1 PC_0
lwtroach 6:86eea1bcf499 27 #define LED_2 PC_1
lwtroach 6:86eea1bcf499 28 #define LED_3 PC_2
lwtroach 6:86eea1bcf499 29 #define UART_TX PC_10
lwtroach 6:86eea1bcf499 30 #define UART_RX PC_11
lwtroach 6:86eea1bcf499 31 #define D_UART_TX PA_9
lwtroach 6:86eea1bcf499 32 #define D_UART_RX PA_10
lwtroach 6:86eea1bcf499 33 #define BTN PA_0
lwtroach 6:86eea1bcf499 34 #define PWR_LTE PC_3
lwtroach 6:86eea1bcf499 35 #define KEY PC_4
lwtroach 6:86eea1bcf499 36 #define RST PC_5
lwtroach 2:e90526c0bcbe 37 #define MEM_START 0x0800C4F0
lwtroach 1:347333bac1fb 38 #endif
lwtroach 0:6bdfb6ccd136 39 #endif