From 7b1e0c73c6fdb8745d7bb92a1f6cbd062dab6f8a Mon Sep 17 00:00:00 2001 From: wangzongqiang Date: Mon, 8 Apr 2024 17:45:39 +0800 Subject: [PATCH] update sdk --- docs/ChangeLog.md | 18 ++++++++++++++++++ drivers/gpio/fgpio/fgpio_os.c | 10 ++++------ drivers/spi/fspim/fspim_os.c | 2 +- .../e2000d_aarch32_demo_cherry_usb.config | 6 ++---- .../e2000d_aarch64_demo_cherry_usb.config | 6 ++---- .../e2000q_aarch32_demo_cherry_usb.config | 6 ++---- .../e2000q_aarch64_demo_cherry_usb.config | 6 ++---- example/peripheral/usb/xhci_pcie/sdkconfig | 6 ++---- example/peripheral/usb/xhci_pcie/sdkconfig.h | 6 ++---- .../usb/xhci_pcie/src/usb_host_pcie.c | 4 ++++ .../e2000d_aarch32_demo_cherry_usb.config | 6 ++---- .../e2000d_aarch64_demo_cherry_usb.config | 6 ++---- .../e2000q_aarch32_demo_cherry_usb.config | 6 ++---- .../e2000q_aarch64_demo_cherry_usb.config | 6 ++---- ...phytiumpi_aarch32_firefly_cherry_usb.config | 6 ++---- ...phytiumpi_aarch64_firefly_cherry_usb.config | 6 ++---- example/peripheral/usb/xhci_platform/sdkconfig | 6 ++---- .../peripheral/usb/xhci_platform/sdkconfig.h | 6 ++---- 18 files changed, 55 insertions(+), 63 deletions(-) diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index c1559e16..e404f78b 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,3 +1,21 @@ +# Phytium FreeRTOS SDK 2024-04-08 ChangeLog + +## driver + +- solve gpio interrupt can not work + +# Phytium FreeRTOS SDK 2024-04-01 ChangeLog + +Change Log since 2024-03-29 + +## example + +- solve USB XHCI_PCIE example aarch32 address out of range + +## driver + +- solve SPIM-oriented compile problem by modifying SPI-DDMA api + # Phytium FreeRTOS SDK 2024-03-29 ChangeLog Change Log since 2024-03-28 diff --git a/drivers/gpio/fgpio/fgpio_os.c b/drivers/gpio/fgpio/fgpio_os.c index b1327b2f..1e6f5f41 100644 --- a/drivers/gpio/fgpio/fgpio_os.c +++ b/drivers/gpio/fgpio/fgpio_os.c @@ -140,11 +140,6 @@ FFreeRTOSFGpio *FFreeRTOSGpioInit(u32 id, const FFreeRTOSGpioConfig *input_confi goto err_exit; } - if (FGPIO_IRQ_BY_CONTROLLER == FGpioGetPinIrqSourceType(instance->pins[FGPIO_PORT_A][FGPIO_PIN_0])) /* setup for ctrl report interrupt */ - { - FGpioOsSetupCtrlIRQ(instance); - } - FASSERT_MSG(NULL == instance->locker, "Locker exists!!!"); FASSERT_MSG((instance->locker = xSemaphoreCreateMutex()) != NULL, "Create mutex failed!!!"); @@ -265,7 +260,10 @@ FError FFreeRTOSSetupPin(FFreeRTOSFGpio *const instance, const FFreeRTOSGpioPinC { FGpioOSSetupPinIRQ(instance, pin, config); } - + else if (FGPIO_IRQ_BY_CONTROLLER == FGpioGetPinIrqSourceType(*pin)) /* setup for ctrl report interrupt */ + { + FGpioOsSetupCtrlIRQ(instance); + } FGpioRegisterInterruptCB(pin, config->irq_handler, config->irq_args, irq_one_time); /* register intr callback */ } diff --git a/drivers/spi/fspim/fspim_os.c b/drivers/spi/fspim/fspim_os.c index 6a9e81bc..a97735ad 100644 --- a/drivers/spi/fspim/fspim_os.c +++ b/drivers/spi/fspim/fspim_os.c @@ -334,7 +334,7 @@ FError FFreeRTOSSpimTransfer(FFreeRTOSSpim *const instance, const FFreeRTOSSpiMe if (instance->config.en_dma) /* dma-mode */ { FSPIM_INFO("Start DMA tx: %d, rx: %d", message->tx_len, message->rx_len); - err = FSpimTransferDMA(ctrl, (0U != message->tx_len), (0U != message->rx_len)); + err = FSpimTransferDMA(ctrl); if (FSPIM_SUCCESS != err) { FSPIM_ERROR("Spim DMA transfer failed: 0x%x", err); diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config index cf4cec0e..88f4008d 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch32_demo_cherry_usb.config @@ -60,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -125,8 +124,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -272,7 +270,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config index fe521639..8136738e 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000d_aarch64_demo_cherry_usb.config @@ -54,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -119,8 +118,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -261,7 +259,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config index 825b953f..40dc34b6 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch32_demo_cherry_usb.config @@ -60,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -124,8 +123,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -271,7 +269,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config index e3584694..a8795ebe 100644 --- a/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_pcie/configs/e2000q_aarch64_demo_cherry_usb.config @@ -54,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -118,8 +117,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -260,7 +258,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/sdkconfig b/example/peripheral/usb/xhci_pcie/sdkconfig index e3584694..a8795ebe 100644 --- a/example/peripheral/usb/xhci_pcie/sdkconfig +++ b/example/peripheral/usb/xhci_pcie/sdkconfig @@ -54,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -118,8 +117,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -260,7 +258,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_pcie/sdkconfig.h b/example/peripheral/usb/xhci_pcie/sdkconfig.h index a6c1ccb9..b101daed 100644 --- a/example/peripheral/usb/xhci_pcie/sdkconfig.h +++ b/example/peripheral/usb/xhci_pcie/sdkconfig.h @@ -52,7 +52,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -109,8 +108,7 @@ #define CONFIG_USE_IOMUX /* CONFIG_ENABLE_IOCTRL is not set */ #define CONFIG_ENABLE_IOPAD -#define CONFIG_USE_SPI -#define CONFIG_USE_FSPIM +/* CONFIG_USE_SPI is not set */ /* CONFIG_USE_QSPI is not set */ #define CONFIG_USE_SERIAL @@ -232,7 +230,7 @@ /* Freertos Spim Drivers */ -#define CONFIG_FREERTOS_USE_FSPIM +/* CONFIG_FREERTOS_USE_FSPIM is not set */ /* end of Freertos Spim Drivers */ /* Freertos DMA Drivers */ diff --git a/example/peripheral/usb/xhci_pcie/src/usb_host_pcie.c b/example/peripheral/usb/xhci_pcie/src/usb_host_pcie.c index 0c5d9587..9bd16680 100644 --- a/example/peripheral/usb/xhci_pcie/src/usb_host_pcie.c +++ b/example/peripheral/usb/xhci_pcie/src/usb_host_pcie.c @@ -201,7 +201,11 @@ void usb_hc_low_level_init(uint32_t id) } USBPcieIrqInstall(&pcie_device, bus, device, function); +#ifdef __aarch64__ usb_base = (bar1_addr << 32U) | bar0_addr; +#else + usb_base = bar0_addr; +#endif FUSB_INFO("xHCI base address: 0x%lx", usb_base); } } diff --git a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config index d47b864d..9d4f2616 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch32_demo_cherry_usb.config @@ -60,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -125,8 +124,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -264,7 +262,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config index e74e5d28..68eaf3e7 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000d_aarch64_demo_cherry_usb.config @@ -54,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -119,8 +118,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -253,7 +251,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config index f7b79637..ad7c1400 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch32_demo_cherry_usb.config @@ -60,7 +60,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -124,8 +123,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -263,7 +261,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config index 9fba7e4e..286650c9 100644 --- a/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/e2000q_aarch64_demo_cherry_usb.config @@ -54,7 +54,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -118,8 +117,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -252,7 +250,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config index 5bdcabe7..3fc8b9e4 100644 --- a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch32_firefly_cherry_usb.config @@ -59,7 +59,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -123,8 +122,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -262,7 +260,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config index 080ddbe5..c5c84da2 100644 --- a/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config +++ b/example/peripheral/usb/xhci_platform/configs/phytiumpi_aarch64_firefly_cherry_usb.config @@ -53,7 +53,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -117,8 +116,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -251,7 +249,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/sdkconfig b/example/peripheral/usb/xhci_platform/sdkconfig index 080ddbe5..c5c84da2 100644 --- a/example/peripheral/usb/xhci_platform/sdkconfig +++ b/example/peripheral/usb/xhci_platform/sdkconfig @@ -53,7 +53,6 @@ CONFIG_F32BIT_MEMORY_LENGTH=0x80000000 CONFIG_F64BIT_MEMORY_ADDRESS=0x2000000000 CONFIG_F64BIT_MEMORY_LENGTH=0x800000000 CONFIG_TARGET_E2000=y -# CONFIG_USE_SPINLOCK is not set CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set # CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set @@ -117,8 +116,7 @@ CONFIG_INTERRUPT_ROLE_MASTER=y CONFIG_USE_IOMUX=y # CONFIG_ENABLE_IOCTRL is not set CONFIG_ENABLE_IOPAD=y -CONFIG_USE_SPI=y -CONFIG_USE_FSPIM=y +# CONFIG_USE_SPI is not set # CONFIG_USE_QSPI is not set CONFIG_USE_SERIAL=y @@ -251,7 +249,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Spim Drivers # -CONFIG_FREERTOS_USE_FSPIM=y +# CONFIG_FREERTOS_USE_FSPIM is not set # end of Freertos Spim Drivers # diff --git a/example/peripheral/usb/xhci_platform/sdkconfig.h b/example/peripheral/usb/xhci_platform/sdkconfig.h index ff06e6e7..f9c05da8 100644 --- a/example/peripheral/usb/xhci_platform/sdkconfig.h +++ b/example/peripheral/usb/xhci_platform/sdkconfig.h @@ -51,7 +51,6 @@ #define CONFIG_F64BIT_MEMORY_ADDRESS 0x2000000000 #define CONFIG_F64BIT_MEMORY_LENGTH 0x800000000 #define CONFIG_TARGET_E2000 -/* CONFIG_USE_SPINLOCK is not set */ #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ /* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ @@ -108,8 +107,7 @@ #define CONFIG_USE_IOMUX /* CONFIG_ENABLE_IOCTRL is not set */ #define CONFIG_ENABLE_IOPAD -#define CONFIG_USE_SPI -#define CONFIG_USE_FSPIM +/* CONFIG_USE_SPI is not set */ /* CONFIG_USE_QSPI is not set */ #define CONFIG_USE_SERIAL @@ -225,7 +223,7 @@ /* Freertos Spim Drivers */ -#define CONFIG_FREERTOS_USE_FSPIM +/* CONFIG_FREERTOS_USE_FSPIM is not set */ /* end of Freertos Spim Drivers */ /* Freertos DMA Drivers */ -- Gitee