diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index c1559e16f5b22b2e5cf57edaba8bde98f0b41b67..e404f78b116d7bcd91f4f1d401ccd2888eb6788a 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 b1327b2f8cdbd901ba71305893ad0945d67484d0..1e6f5f4111dbd162d8826264d9de5f2551754f82 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 6a9e81bcc69d7e199b47b6c6ed8bdd0b7c78ec37..a97735ad0fffadebdaa6012fed94ba313cd0d37c 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 cf4cec0e287b94d72d577d7968065256405da059..88f4008d6504ab997f386a11f451a2a272f1959f 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 fe521639aa9bfc1489345b2f1b096cf531b3ab34..8136738eaf50d3d15b672466f1dfe917edee8cff 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 825b953f5ae253cca9b7e79c91bee758afe02aa5..40dc34b6922affab8d82114a7e1c8b7587808fc1 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 e35846942a66f74a4a91bb723bd3b94760539915..a8795ebe45a6f9a82d95214c95ae43228e7e6b09 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 e35846942a66f74a4a91bb723bd3b94760539915..a8795ebe45a6f9a82d95214c95ae43228e7e6b09 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 a6c1ccb9831ad8cc5b0a376a7aea13c6a869c914..b101daed03964f687856e8f9e2fee6d498790048 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 0c5d95870401f5b111bfdfc8b9c9510e5ce3fb34..9bd16680f9f13fb7ea688aeba6a500912e409a80 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 d47b864d63223657e46e9494885330cda748c412..9d4f2616b91b17f45858bf602e408281798669c0 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 e74e5d28741cfa168732941a34e050a80368b944..68eaf3e76d408048f3ded81c886abca3af880102 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 f7b796378152e1eb9cfb2174c26800fee8ff5628..ad7c14008b668bb380b26153fcad301de95f3283 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 9fba7e4e2f6053d34174d355ffedfad92f826cac..286650c9f7c3f75adfcc54e53344c81c6cae54cb 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 5bdcabe70e844292e73dbb99966037d6c5c89711..3fc8b9e45ff63c42bb5fd6f903e9bc0d2db8b287 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 080ddbe5eaddd4e0547eaf63d25ff5b1c078ecc6..c5c84da2a6fc6419bf1bfbd0933aff0352730ed4 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 080ddbe5eaddd4e0547eaf63d25ff5b1c078ecc6..c5c84da2a6fc6419bf1bfbd0933aff0352730ed4 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 ff06e6e70d8255c37c9f122136446220313ca7b3..f9c05da8eaece67c7dc16dbc3c68342dfc3c7771 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 */