mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 02:47:06 +08:00
[arduino][stm32l475] support wireless module pinout
This commit is contained in:
parent
8f09245ed5
commit
9f4b7b3858
@ -50,6 +50,9 @@ const pin_map_t pin_map_table[]=
|
||||
{D27, GET_PIN(B,6)}, /* LCD RESET */
|
||||
{D28, GET_PIN(B,4)}, /* LCD DC (data or command) */
|
||||
{D29, GET_PIN(B,7)}, /* LCD POWER */
|
||||
{D30, GET_PIN(D,4)}, /* WIRELESS CE */
|
||||
{D31, GET_PIN(D,3)}, /* WIRELESS IRQ */
|
||||
{D32, GET_PIN(D,5)}, /* WIRELESS CS */
|
||||
{A0, GET_PIN(C,2), "adc1", 3}, /* ADC */
|
||||
{A1, GET_PIN(C,4), "adc1", 13}, /* ADC */
|
||||
{A2, RT_NULL, "adc1", 0}, /* ADC, On-Chip: internal reference voltage, ADC_CHANNEL_VREFINT */
|
||||
|
@ -42,11 +42,14 @@
|
||||
#define D27 (27)
|
||||
#define D28 (28)
|
||||
#define D29 (29)
|
||||
#define A0 (30)
|
||||
#define A1 (31)
|
||||
#define A2 (32)
|
||||
#define A3 (33)
|
||||
#define DAC0 (34)
|
||||
#define D30 (30)
|
||||
#define D31 (31)
|
||||
#define D32 (32)
|
||||
#define A0 (33)
|
||||
#define A1 (34)
|
||||
#define A2 (35)
|
||||
#define A3 (36)
|
||||
#define DAC0 (37)
|
||||
|
||||
#define F_CPU 80000000L /* CPU: 80MHz */
|
||||
#define LED_BUILTIN D22 /* Default Built-in LED */
|
||||
|
Loading…
x
Reference in New Issue
Block a user