reverted un-related file changes
This commit is contained in:
@@ -8,9 +8,6 @@ CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls -Wno-error=cast
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = $(MCU_DIR)/gcc/K32L2A41xxxxA_flash.ld
|
||||
|
||||
SRC_C += \
|
||||
$(MCU_DIR)/project_template/clock_config.c \
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = K32L2A41xxxxA
|
||||
|
||||
|
@@ -8,9 +8,6 @@ CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = $(MCU_DIR)/gcc/K32L2B31xxxxA_flash.ld
|
||||
|
||||
SRC_C += \
|
||||
$(MCU_DIR)/project_template/clock_config.c \
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = K32L2B31xxxxA
|
||||
|
||||
|
@@ -42,8 +42,8 @@
|
||||
#define BUTTON_STATE_ACTIVE 0
|
||||
|
||||
// UART
|
||||
#define UART_RX_PIN 32
|
||||
#define UART_TX_PIN 33
|
||||
#define UART_RX_PIN 22
|
||||
#define UART_TX_PIN 20
|
||||
|
||||
// SPI for USB host shield
|
||||
// Pin is correct but not working probably due to signal incompatible (1.8V 3v3) with MAC3421E !?
|
||||
|
@@ -2,6 +2,9 @@ CPU_CORE = cortex-m33
|
||||
MCU_VARIANT = nrf5340_application
|
||||
CFLAGS += -DNRF5340_XXAA -DNRF5340_XXAA_APPLICATION
|
||||
|
||||
# enable max3421 host driver for this board
|
||||
MAX3421_HOST = 1
|
||||
|
||||
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf5340_xxaa_application.ld
|
||||
|
||||
SRC_C += hw/mcu/nordic/nrfx/drivers/src/nrfx_usbreg.c
|
||||
|
@@ -76,6 +76,7 @@ enum {
|
||||
#define LFCLK_SRC_RC CLOCK_LFCLKSRC_SRC_LFRC
|
||||
#define VBUSDETECT_Msk USBREG_USBREGSTATUS_VBUSDETECT_Msk
|
||||
#define OUTPUTRDY_Msk USBREG_USBREGSTATUS_OUTPUTRDY_Msk
|
||||
#define GPIOTE_IRQn GPIOTE1_IRQn
|
||||
#else
|
||||
#define LFCLK_SRC_RC CLOCK_LFCLKSRC_SRC_RC
|
||||
#define VBUSDETECT_Msk POWER_USBREGSTATUS_VBUSDETECT_Msk
|
||||
|
Reference in New Issue
Block a user