mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-21 16:20:46 +00:00
tested with nrf52840 and esp32s2
This commit is contained in:
parent
67e34267a6
commit
cfb683f481
@ -1,6 +1,6 @@
|
|||||||
set(MCU_VARIANT nrf52840)
|
set(MCU_VARIANT nrf52840)
|
||||||
#set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld)
|
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/nrf52840_s140_v6.ld)
|
||||||
set(LD_FILE_GNU ${NRFX_DIR}/mdk/nrf52840_xxaa.ld)
|
#set(LD_FILE_GNU ${NRFX_DIR}/mdk/nrf52840_xxaa.ld)
|
||||||
|
|
||||||
# enable max3421 host driver for this board
|
# enable max3421 host driver for this board
|
||||||
set(MAX3421_HOST 1)
|
set(MAX3421_HOST 1)
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
#define MAX3421_SCK_PIN 14
|
#define MAX3421_SCK_PIN 14
|
||||||
#define MAX3421_MOSI_PIN 13
|
#define MAX3421_MOSI_PIN 13
|
||||||
#define MAX3421_MISO_PIN 15
|
#define MAX3421_MISO_PIN 15
|
||||||
#define MAX3421_CS_PIN 27
|
#define MAX3421_CS_PIN 27 // D10
|
||||||
#define MAX3421_INTR_PIN 26
|
#define MAX3421_INTR_PIN 26 // D9
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user