diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index ccaf3321528e477302371fdf51bc55f17e20d06a..af8009482557a21c8d439d35ac36d778eda0373c 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,20 +1,61 @@ +# Phytium FreeRTOS SDK 2023-3-16 ChangeLog + +Change Log sinc 2023-3-15 + +## example + +- update sdkconfig about lwipstartup and udp_multicast + +## driver + +- convert data type of config->irqnum from u32 to int + +## third-party + +- delete redundant config in lwip-2.1.2/kconfig + +# Phytium FreeRTOS SDK 2023-3-15 ChangeLog + +Change Log sinc 2023-3-6 + +## example + +- Add exception debug example +- Move amp and nested intr example to system folder + +## make + +- Remove Copyright in complier.mk + +## third-party + +- Add aarch64 Serror exception vector and handler function + +# Phytium FreeRTOS SDK 2023-3-9 ChangeLog + +Change Log sinc 2023-3-2 + +## example + +Adapt OpenAMP routines based on e2000D/Q + # Phytium FreeRTOS SDK 2023-3-2 ChangeLog Change Log sinc 2023-2-27 ## driver -- eth/xmac delete conditional compilation statements about NO_SYS +- eth/xmac delete conditional compilation statements about NO_SYS ## example -- modify network/lwip_startup configs and sdkconfig +- modify network/lwip_startup configs and sdkconfig ## third-party -- lwip-2.1.2/ports/* delete conditional compilation statements about NO_SYS +- lwip-2.1.2/ports/* delete conditional compilation statements about NO_SYS - lwip-2.1.2/ports/fgmac ethernetif_init function name modified -- update lwip-2.1.2/kconfig +- update lwip-2.1.2/kconfig # Phytium FreeRTOS SDK 2023-3-1 ChangeLog @@ -31,27 +72,34 @@ Change Log sinc 2023-2-23 # Phytium FreeRTOS SDK 2023-2-20 ChangeLog Change Log sinc 2023-2-16 -## example + +## example + - add spim_spiffs example + ## third-party + - modify sfud and delete repetitive code # Phytium FreeRTOS SDK 2023-2-10 ChangeLog Change Log sinc 2023-2-8 -## example +## example + - modify configs of cherryusb_host ## third-party + - update cherryusb from v0.6.0 to v0.7.0 - modify Kconfig and makefile files - + # Phytium FreeRTOS SDK 2023-2-9 0.4.0 ChangeLog Change Log sinc 2023-2-6 -## example +## example + - freertos_feature/queue readme update - peripheral/spi readme update - peripheral/spi e2000d_aarch32_eg_configs update(CONFIG_SFUD_CTRL_FSPIM=y) @@ -60,11 +108,13 @@ Change Log sinc 2023-2-6 Change Log sinc 2023-2-5 -## example +## example + - modify qspi_spiffs example - modify qspi example ## driver + - modify can example # Phytium FreeRTOS SDK 2023-2-6 ChangeLog @@ -72,29 +122,37 @@ Change Log sinc 2023-2-5 Change Log sinc 2023-1-30 ## driver + - add developer information in file header - add file description in file header - all .c .h file format update -- print interface check +- print interface check - print statement syntax checking and punctuation supplementation -## example + +## example + - all example xxxx_eg_configs update - all example sdkconfig sdkconfig.h update - add developer information in file header - add file description in file header - all .c .h file format update -- print interface check +- print interface check - print statement syntax checking and punctuation supplementation + ## third-party + - add developer information in file header - add file description in file header - all .c .h file format update - third-party/lwip-2.1.2/ports/arch/cc.h modified -- print interface check +- print interface check - print statement syntax checking and punctuation supplementation + ## install.py + - modefiy the standalone_sdk_v、standalone_branche、standalone_remote value - add script statements which can delete standalone/third-party/lwip-2.1.2/ports/arch dir + # Phytium FreeRTOS SDK 2023-1-6 ChangeLog Change Log sinc 2023-1-5 @@ -103,7 +161,8 @@ Change Log sinc 2023-1-5 add lvgl and modify the third-party.mk and the Kconfig -## example +## example + ## driver add the media example and driver,modify the corresponding config @@ -113,17 +172,20 @@ add the media example and driver,modify the corresponding config Change Log sinc 2023-1-3 ## example + - network part adjust. add new example lwip_startup - delete xmac_lwip_test. - delete gmac_lwip_test. ## third-party + - lwip-2.1.2 ports part adjust. - delete lwip-2.1.2/api. - delete lwip-2.1.2/apps. - delete lwip-2.1.2/core. ## drivers + - add fgmac_os. - add fxmac_os. @@ -154,9 +216,10 @@ Change Log sinc 2022-12-6 Change Log sinc 2022-12-6 ## example + ## driver -- Adapt fparameters.h in standalone sdk +- Adapt fparameters.h in standalone sdk # Phytium FreeRTOS SDK 2022-11-28 ChangeLog @@ -212,12 +275,11 @@ Change Log sinc 2022-11-11 - remove e2000q adc support - modify some README.md description - # Phytium FreeRTOS SDK 2022-11-01 ChangeLog Change Log sinc 2022-11-1 -## driver +## driver - add USE_SPI slection in Kconfig @@ -227,7 +289,7 @@ Change Log sinc 2022-11-1 ## third-party -- sfud debug +- sfud debug - add spiffs port for spim # Phytium Standalone SDK 2022-10-31 ChangeLog @@ -243,6 +305,7 @@ Change Log sinc 2022-10-15 ## example - add e2000q example + ## third-party - Adapt fatfs to e2000 demo board for sata @@ -265,7 +328,7 @@ Change Log sinc 2022-09-23 Change Log sinc 2022-09-15 -## driver +## driver - add can os driver @@ -277,7 +340,7 @@ Change Log sinc 2022-09-15 Change Log sinc 2022-08-30 -## driver +## driver - optimize qspi os driver adapt to sfud and spiffs @@ -294,7 +357,7 @@ Change Log sinc 2022-08-30 Change Log sinc 2022-08-24 -## driver +## driver - add adc driver @@ -304,7 +367,7 @@ Change Log sinc 2022-08-24 # Phytium FreeRTOS SDK 2022-08-10 0.2.2 ChangeLog -Change Log sinc 0.2.1 +Change Log sinc 0.2.1 ## driver @@ -329,7 +392,7 @@ Change Log sinc 0.2.1 Change Log sinc 2022-08-16 -## driver +## driver - add pwm driver @@ -339,7 +402,7 @@ Change Log sinc 2022-08-16 # Phytium FreeRTOS SDK 2022-08-10 0.2.1 ChangeLog -Change Log sinc 0.2.0 +Change Log sinc 0.2.0 ## README @@ -349,7 +412,7 @@ Change Log sinc 0.2.0 Change Log sinc 2022-07-29 -## driver +## driver - modify wdt driver @@ -367,7 +430,7 @@ Change Log sinc 2022-07-29 Change Log sinc 2022-07-14 -# driver +# driver - add fxmac driver @@ -383,25 +446,24 @@ Change Log sinc 2022-07-14 Change Log sinc 2022-07-18 -# driver +# driver - modify wdt freertos driver ## third-party -- support qspi spiffs -- support sata fatfs +- support qspi spiffs +- support sata fatfs ## example - add usage example for qspi spiffs and sata fatfs - # Phytium FreeRTOS SDK 2022-07-14 ChangeLog Change Log sinc 2022-07-06 -# driver +# driver - add qspi read and write freertos driver - add wdt freertos driver @@ -410,7 +472,6 @@ Change Log sinc 2022-07-06 - add usage example for qspi and wdt freertos driver - # Phytium FreeRTOS SDK 2022-07-05 ChangeLog Change Log sinc 2022-07-01 @@ -426,7 +487,6 @@ Change Log sinc 2022-05-30 ## example - adapt to the new standalone sdk v0.2.0 - - Restruct lwip_test example ## third-party @@ -440,14 +500,12 @@ Change Log sinc 2022-03-21,2022-04-20 ## example - adapt to the new standalone sdk v0.1.17 - - add Linux OpenAMP example for freertos ## make - Modified some variable positions and added some configuration related variables - # Phytium FreeRTOS SDK 2022-03-21 ChangeLog Change Log sinc 0.0.6, 2022.03.21 @@ -455,7 +513,6 @@ Change Log sinc 0.0.6, 2022.03.21 ## example - adapt to the new standalone sdk v0.1.16 - - add OpenAMP for FreeRTOS ## third-party @@ -468,8 +525,6 @@ Change Log sinc 0.0.6, 2022.03.21 - replace LICENSE with Phytium Public License 1.0 (PPL-1.0) - update file COPYRIGHT declaration with PPL-1.0 - - # Phytium FreeRTOS SDK v0.0.6 ChangeLog Change Log sinc 0.0.5, 2021.12.23 @@ -496,7 +551,7 @@ Change Log sinc 0.0.3, 2021.9.24 - add aarch32 example - add aarch64 example -- add lwip_test example +- add lwip_test example ## third-party @@ -516,16 +571,16 @@ Change Log sinc init - add aarch32 example - add aarch64 example -- add qemu-aarch32 example +- add qemu-aarch32 example ## make - import makefile scripts + ## scripts - add arm-linux cc install script for qemu - ## third-party - add simple bootloader for qemu application diff --git a/drivers/dma/fgdma/fgdma_os.c b/drivers/dma/fgdma/fgdma_os.c index 8a14cbf38378db53e89c40e712435ad4bbf15f1f..92e530c82c7a1e5a1c17e62cfabafa5bc2d8909d 100644 --- a/drivers/dma/fgdma/fgdma_os.c +++ b/drivers/dma/fgdma/fgdma_os.c @@ -83,22 +83,23 @@ static void FGdmaOsSetupInterrupt(FGdma *const ctrl) FGdmaConfig *config = &ctrl->config; uintptr base_addr = config->base_addr; u32 cpu_id = 0; - + int irq_id = (int)config->irq_num; GetCpuId(&cpu_id); + FGDMA_INFO("cpu_id is cpu_id %d", cpu_id); - FGDMA_INFO("interrupt_id is %d", config->irq_num); - InterruptSetTargetCpus(config->irq_num, cpu_id); + FGDMA_INFO("interrupt_id is %d", irq_id); + InterruptSetTargetCpus(irq_id, cpu_id); - InterruptSetPriority(config->irq_num, config->irq_prority); + InterruptSetPriority(irq_id, config->irq_prority); /* register intr callback */ - InterruptInstall(config->irq_num, + InterruptInstall(irq_id, FGdmaIrqHandler, ctrl, NULL); /* enable gdma irq */ - InterruptUmask(config->irq_num); + InterruptUmask(irq_id); FGDMA_INFO("gdma interrupt setup done!!!"); return; diff --git a/example/amp/openamp/core0/rpmsg-echo_os.c b/example/amp/openamp/core0/rpmsg-echo_os.c deleted file mode 100644 index ae8e7624b698e1380fb3ba2319e6098d4e18e234..0000000000000000000000000000000000000000 --- a/example/amp/openamp/core0/rpmsg-echo_os.c +++ /dev/null @@ -1,192 +0,0 @@ -/* - * SPDX-License-Identifier: BSD-3-Clause - */ -/* This is a sample demonstration application that showcases usage of rpmsg -This application is meant to run on the remote CPU running baremetal code. -This application echoes back data that was sent to it by the master core. */ - -/***************************** Include Files *********************************/ - -#include -#include -#include -#include -#include -#include "platform_info.h" -#include "rpmsg-echo.h" -#include -#include "rsc_table.h" -#include "FreeRTOS.h" -#include "task.h" -#include "shell.h" -#include "finterrupt.h" -#include "fcache.h" -#include "fpsci.h" - - -#define SHUTDOWN_MSG 0xEF56A55A - -#define LPRINTF(format, ...) printf(format, ##__VA_ARGS__) -#define LPERROR(format, ...) LPRINTF("ERROR: " format, ##__VA_ARGS__) - -static struct rpmsg_endpoint lept; -static int shutdown_req = 0; - -/************************** Function Prototypes ******************************/ - -/*-----------------------------------------------------------------------------* - * RPMSG endpoint callbacks - *-----------------------------------------------------------------------------*/ -static int rpmsg_endpoint_cb(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv) -{ - (void)priv; - (void)src; - /* On reception of a shutdown we signal the application to terminate */ - if ((*(unsigned int *)data) == SHUTDOWN_MSG) - { - LPRINTF("Shutdown message is received.\r\n"); - shutdown_req = 1; - return RPMSG_SUCCESS; - } - -#ifdef CONFIG_MEM_NORMAL - FCacheDCacheInvalidateRange((intptr)data, len); -#endif - - /* Send data back to master */ - if (rpmsg_send(ept, data, len) < 0) - { - LPERROR("Rpmsg_send failed.\r\n"); - } - - return RPMSG_SUCCESS; -} - -static void rpmsg_service_unbind(struct rpmsg_endpoint *ept) -{ - (void)ept; - LPRINTF("Unexpected Remote endpoint destroy.\r\n"); - shutdown_req = 1; -} - -/*-----------------------------------------------------------------------------* - * Application - *-----------------------------------------------------------------------------*/ -int app(struct rpmsg_device *rdev, void *priv) -{ - int ret; - - /* Initialize RPMSG framework */ - LPRINTF("Try to create rpmsg endpoint.\r\n"); - - ret = rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, 0, RPMSG_ADDR_ANY, rpmsg_endpoint_cb, rpmsg_service_unbind); - if (ret) - { - LPERROR("Failed to create endpoint. %d \r\n", ret); - return -1; - } - - LPRINTF("Successfully created rpmsg endpoint.\r\n"); - - while (1) - { - platform_poll(priv); - /* we got a shutdown request, exit */ - if (shutdown_req) - { - break; - } - } - - rpmsg_destroy_ept(&lept); - - return 0; -} - - - -/*-----------------------------------------------------------------------------* - * Application entry point - *-----------------------------------------------------------------------------*/ -int rpmsg_echo(int argc, char *argv[]) -{ - void *platform; - struct rpmsg_device *rpdev; - int ret; - - LPRINTF("openamp lib version: %s (", openamp_version()); - LPRINTF("Major: %d, ", openamp_version_major()); - LPRINTF("Minor: %d, ", openamp_version_minor()); - LPRINTF("Patch: %d).\r\n", openamp_version_patch()); - - LPRINTF("libmetal lib version: %s (", metal_ver()); - LPRINTF("Major: %d, ", metal_ver_major()); - LPRINTF("Minor: %d, ", metal_ver_minor()); - LPRINTF("Patch: %d).\r\n", metal_ver_patch()); - - LPRINTF("Starting application...\r\n"); - - /* Initialize platform */ - ret = platform_init(argc, argv, &platform); - if (ret) - { - LPERROR("Failed to initialize platform.\r\n"); - ret = -1; - } - else - { -#ifdef CONFIG_DEBUG_CODE - LPERROR("CONFIG_TARGET_CPU_ID is %x \r\n", CONFIG_TARGET_CPU_ID); - PsciCpuOn(CONFIG_TARGET_CPU_ID, (uintptr_t)0xe0100000) ; -#endif - rpdev = platform_create_rpmsg_vdev(platform, 0, VIRTIO_DEV_SLAVE, NULL, NULL); - if (!rpdev) - { - LPERROR("Failed to create rpmsg virtio device.\r\n"); - ret = -1; - } - else - { - app(rpdev, platform); - - platform_release_rpmsg_vdev(rpdev, platform); - ret = 0; - } - } - - LPRINTF("Stopping application...\r\n"); - platform_cleanup(platform); - - return ret; -} - - -void RpmsgEchoTask(void *args) -{ - rpmsg_echo(0, NULL); - vTaskDelete(NULL); -} - -int rpmsg_echo_task(int argc, char *argv[]) -{ - BaseType_t ret; - - ret = xTaskCreate((TaskFunction_t)RpmsgEchoTask, /* 任务入口函数 */ - (const char *)"RpmsgEchoTask",/* 任务名字 */ - (uint16_t)4096, /* 任务栈大小 */ - (void *)NULL,/* 任务入口函数参数 */ - (UBaseType_t)1, /* 任务的优先级 */ - NULL); /* 任务控制块指针 */ - - if (ret != pdPASS) - { - // task_is_valid = 0; - LPERROR("Failed to create a rpmsg_echo task.\r\n"); - return -1; - } - - return 0; -} - - -SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), rpmsg_echo_task, rpmsg_echo_task, rpmsg_echo_task); \ No newline at end of file diff --git a/example/amp/openamp/figs/d2000_aarch32_loadelf_result.png b/example/amp/openamp/figs/d2000_aarch32_loadelf_result.png deleted file mode 100644 index 5040003220d29e73bca9a6c624cc3cffe1210a11..0000000000000000000000000000000000000000 Binary files a/example/amp/openamp/figs/d2000_aarch32_loadelf_result.png and /dev/null differ diff --git a/example/amp/openamp/figs/d2000_aarch64_loadelf_result.png b/example/amp/openamp/figs/d2000_aarch64_loadelf_result.png deleted file mode 100644 index 91c645deb317ca0b1a22cd69f5acb94544ac098c..0000000000000000000000000000000000000000 Binary files a/example/amp/openamp/figs/d2000_aarch64_loadelf_result.png and /dev/null differ diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch32_eg_configs b/example/freertos_feature/eventgroup/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch64_eg_configs b/example/freertos_feature/eventgroup/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_eg_configs index eea9646fc3246d363566729b218841d271b99ec9..b83ee82194669f7843cf8c3ef3ddc790dbbbc471 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_eg_configs index d15841303d8e54adec3651db1614fb584f5d698f..627f536cbef9606a6fbf8e6eae27c8764f3f8329 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/sdkconfig b/example/freertos_feature/eventgroup/sdkconfig index d15841303d8e54adec3651db1614fb584f5d698f..627f536cbef9606a6fbf8e6eae27c8764f3f8329 100644 --- a/example/freertos_feature/eventgroup/sdkconfig +++ b/example/freertos_feature/eventgroup/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/eventgroup/sdkconfig.h b/example/freertos_feature/eventgroup/sdkconfig.h index e5bce45231514698b1bbd71959b7dfbf790d0d72..1ef8877b024e062b37a12922af3be3b4e800ede0 100644 --- a/example/freertos_feature/eventgroup/sdkconfig.h +++ b/example/freertos_feature/eventgroup/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/interrupt/README.md b/example/freertos_feature/interrupt/README.md index 5150f972681235727a433dc69254a336aed2dd91..8988c3d5ac6b143310a4dcec877a03617fb41e87 100644 --- a/example/freertos_feature/interrupt/README.md +++ b/example/freertos_feature/interrupt/README.md @@ -26,7 +26,7 @@ ## 1. 例程介绍 本例程示范了freertos环境下的inteerrupt的使用。 -主要介绍了二值信号量、计数信号量、在中断中使用队列、中断嵌套的使用等方法 +主要介绍了二值信号量、计数信号量、在中断中使用队列等方法 ## 2. 如何使用例程 @@ -140,10 +140,6 @@ bootelf -p 0x90100000 ![queue](./figs/intr_queue.png) -- 输入```intr nest_cre```,启动中断嵌套测试 -- 输入```intr nest_del```,删除中断嵌套测试 - -![nested](./figs/intr_nested.png) - 测试任务能够能正常创建和删除,输入```ps```查看任务状态正常,即测试正常 diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch32_eg_configs b/example/freertos_feature/interrupt/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/interrupt/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch64_eg_configs b/example/freertos_feature/interrupt/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/interrupt/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/interrupt/configs/e2000d_aarch32_eg_configs index 4c1569574661823c508bdb209e99667aca7d13e7..43747998983b5576c18e71acd5b45a3d339c1cf1 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -87,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/interrupt/configs/e2000d_aarch64_eg_configs index a4715cf0c4cf0610dc98790055909e853688b010..14936cd4d82f26b6ddc704bb7e68743baf11c9af 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/interrupt/configs/e2000q_aarch32_eg_configs index a786509e156f1440be7e9837485af11a833f9e5d..10e6ae4258014ca420d4401b6077f4943a596d6c 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/interrupt/configs/e2000q_aarch64_eg_configs index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/interrupt/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/interrupt/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/figs/intr_nested.png b/example/freertos_feature/interrupt/figs/intr_nested.png deleted file mode 100644 index b7712b09df9c4caf4b7a09029ee5deae80fc4317..0000000000000000000000000000000000000000 Binary files a/example/freertos_feature/interrupt/figs/intr_nested.png and /dev/null differ diff --git a/example/freertos_feature/interrupt/inc/feature_interrupt.h b/example/freertos_feature/interrupt/inc/feature_interrupt.h index 86bb993a57723f28d5a5ae9ac744b596e6a23ae4..a9da368833a82b4a034abdc4be12ff3c4a46c29f 100644 --- a/example/freertos_feature/interrupt/inc/feature_interrupt.h +++ b/example/freertos_feature/interrupt/inc/feature_interrupt.h @@ -20,7 +20,6 @@ * Ver Who Date Changes * ----- ------ -------- -------------------------------------- * 1.0 wangxiaodong 2022/08/09 first commit - * 1.1 wangxiaodong 2023/02/25 add nested interrupt test */ @@ -42,9 +41,6 @@ void DeleteCountSemTasks(void); void CreateQueueTasks(void); void DeleteQueueTasks(void); -void CreateNestedTasks(void); -void DeleteNestedTasks(void); - #ifdef __cplusplus } #endif diff --git a/example/freertos_feature/interrupt/sdkconfig b/example/freertos_feature/interrupt/sdkconfig index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/interrupt/sdkconfig +++ b/example/freertos_feature/interrupt/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/interrupt/sdkconfig.h b/example/freertos_feature/interrupt/sdkconfig.h index 80305baca3d75744267bea25bbc372f9e03b7902..1179d14a4a68b36202bd563aba16cf680bb70c6b 100644 --- a/example/freertos_feature/interrupt/sdkconfig.h +++ b/example/freertos_feature/interrupt/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/interrupt/src/interrupt_cmd.c b/example/freertos_feature/interrupt/src/interrupt_cmd.c index 189426d3293f5f4fdeb139f15aa10646d79a54a3..9e515c65ecee91b979ca24777624cd969451dbdb 100644 --- a/example/freertos_feature/interrupt/src/interrupt_cmd.c +++ b/example/freertos_feature/interrupt/src/interrupt_cmd.c @@ -20,7 +20,6 @@ * Ver Who Date Changes * ----- ------ -------- -------------------------------------- * 1.0 wangxiaodong 2022/08/09 first commit - * 1.1 wangxiaodong 2023/02/25 add nested interrupt test */ #include "shell.h" #include @@ -32,7 +31,6 @@ typedef enum BINARY_SEM_TASK_INDEX = 0, COUNT_SEM_TASK_INDEX = 1, QUEUE_TASK_INDEX = 2, - NEST_TASK_INDEX = 3, INTR_FEATURE_LENGTH } FreeRtosIntrFeatureSelect; @@ -52,10 +50,6 @@ static void CreateIntrCmdUsage(void) printf(" -- Create queue tasks now.\r\n"); printf(" intr queue_del \r\n"); printf(" -- Del queue tasks now.\r\n"); - printf(" intr nest_cre \r\n"); - printf(" -- Create nest tasks now.\r\n"); - printf(" intr nest_del \r\n"); - printf(" -- Del nest tasks now.\r\n"); } int CreateIntrCmd(int argc, char *argv[]) @@ -140,30 +134,6 @@ int CreateIntrCmd(int argc, char *argv[]) printf("Please use queue_cre cmd first. \r\n"); } } - else if (!strcmp(argv[1], "nest_cre")) - { - if (create_flg[NEST_TASK_INDEX] == 0) - { - CreateNestedTasks(); - create_flg[NEST_TASK_INDEX] = 1; - } - else - { - printf("Please use nest_del cmd first. \r\n"); - } - } - else if (!strcmp(argv[1], "nest_del")) - { - if (create_flg[NEST_TASK_INDEX] == 1) - { - DeleteNestedTasks(); - create_flg[NEST_TASK_INDEX] = 0; - } - else - { - printf("Please use nest_cre cmd first. \r\n"); - } - } else { printf("Error: Invalid arguments. \r\n"); diff --git a/example/freertos_feature/queue/configs/d2000_aarch32_eg_configs b/example/freertos_feature/queue/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/queue/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/d2000_aarch64_eg_configs b/example/freertos_feature/queue/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/queue/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/queue/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/queue/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/queue/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/queue/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/queue/configs/e2000q_aarch32_eg_configs index a786509e156f1440be7e9837485af11a833f9e5d..10e6ae4258014ca420d4401b6077f4943a596d6c 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/queue/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/queue/configs/e2000q_aarch64_eg_configs index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/queue/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/queue/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/queue/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/queue/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/queue/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/sdkconfig b/example/freertos_feature/queue/sdkconfig index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/queue/sdkconfig +++ b/example/freertos_feature/queue/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/queue/sdkconfig.h b/example/freertos_feature/queue/sdkconfig.h index 80305baca3d75744267bea25bbc372f9e03b7902..1179d14a4a68b36202bd563aba16cf680bb70c6b 100644 --- a/example/freertos_feature/queue/sdkconfig.h +++ b/example/freertos_feature/queue/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/resource/configs/d2000_aarch32_eg_configs b/example/freertos_feature/resource/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/resource/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/d2000_aarch64_eg_configs b/example/freertos_feature/resource/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/resource/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/resource/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/resource/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/resource/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/resource/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/resource/configs/e2000q_aarch32_eg_configs index a786509e156f1440be7e9837485af11a833f9e5d..10e6ae4258014ca420d4401b6077f4943a596d6c 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/resource/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/resource/configs/e2000q_aarch64_eg_configs index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/resource/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/resource/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/resource/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/resource/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/resource/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/sdkconfig b/example/freertos_feature/resource/sdkconfig index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/resource/sdkconfig +++ b/example/freertos_feature/resource/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/resource/sdkconfig.h b/example/freertos_feature/resource/sdkconfig.h index 80305baca3d75744267bea25bbc372f9e03b7902..1179d14a4a68b36202bd563aba16cf680bb70c6b 100644 --- a/example/freertos_feature/resource/sdkconfig.h +++ b/example/freertos_feature/resource/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch32_eg_configs b/example/freertos_feature/software_timer/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/software_timer/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch64_eg_configs b/example/freertos_feature/software_timer/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/software_timer/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/software_timer/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/software_timer/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/software_timer/configs/e2000q_aarch32_eg_configs index a786509e156f1440be7e9837485af11a833f9e5d..10e6ae4258014ca420d4401b6077f4943a596d6c 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/software_timer/configs/e2000q_aarch64_eg_configs index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/software_timer/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/software_timer/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/sdkconfig b/example/freertos_feature/software_timer/sdkconfig index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/software_timer/sdkconfig +++ b/example/freertos_feature/software_timer/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/software_timer/sdkconfig.h b/example/freertos_feature/software_timer/sdkconfig.h index 80305baca3d75744267bea25bbc372f9e03b7902..1179d14a4a68b36202bd563aba16cf680bb70c6b 100644 --- a/example/freertos_feature/software_timer/sdkconfig.h +++ b/example/freertos_feature/software_timer/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/task/configs/d2000_aarch32_eg_configs b/example/freertos_feature/task/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/task/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/task/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/d2000_aarch64_eg_configs b/example/freertos_feature/task/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/task/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/task/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/task/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/task/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/task/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/task/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/task/configs/e2000q_aarch32_eg_configs index 17921f8f2b4437fb5589033a3fed0b99fdb9a1fd..70129a8ac9f5a2e2d020809ddadf3c17cc3a2971 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/task/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/task/configs/e2000q_aarch64_eg_configs index b76f48eeb64d212ce5d619d92de1456e5506e1db..b6038be7e58ff3bfcd984c3cbded969d9a1a1254 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/task/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/task/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/task/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/task/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/task/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/sdkconfig b/example/freertos_feature/task/sdkconfig index b76f48eeb64d212ce5d619d92de1456e5506e1db..b6038be7e58ff3bfcd984c3cbded969d9a1a1254 100644 --- a/example/freertos_feature/task/sdkconfig +++ b/example/freertos_feature/task/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task/sdkconfig.h b/example/freertos_feature/task/sdkconfig.h index 0bbbb8929b8671f89d0292101840924d50219176..23d2c02ee8f57f78319b963022a2d7c1e28b5d4e 100644 --- a/example/freertos_feature/task/sdkconfig.h +++ b/example/freertos_feature/task/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch32_eg_configs b/example/freertos_feature/task_notify/configs/d2000_aarch32_eg_configs index a16785ad54af36153e37c6b401b31d847493f42d..7e29042ff8b031df88bd83376c11a1765c5e9fd2 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch32_eg_configs +++ b/example/freertos_feature/task_notify/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch64_eg_configs b/example/freertos_feature/task_notify/configs/d2000_aarch64_eg_configs index 4731ef2f28f88014b15fe54b9662689cee32274f..e828c1d2319c9093f169bfe945b60bd5209bbfd9 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch64_eg_configs +++ b/example/freertos_feature/task_notify/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch32_eg_configs b/example/freertos_feature/task_notify/configs/e2000d_aarch32_eg_configs index 229022705bc103e6f867abfbce05526a6d480085..ae0d73ad8283636539db9d3fed3450fc19a16658 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch32_eg_configs +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch64_eg_configs b/example/freertos_feature/task_notify/configs/e2000d_aarch64_eg_configs index f3181d358e9c6ec7c5452447c06782bac1a30a91..1efdb2f82aa464ff232212a5addcaceed0c61d44 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch64_eg_configs +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch32_eg_configs b/example/freertos_feature/task_notify/configs/e2000q_aarch32_eg_configs index eea9646fc3246d363566729b218841d271b99ec9..b83ee82194669f7843cf8c3ef3ddc790dbbbc471 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch32_eg_configs +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch64_eg_configs b/example/freertos_feature/task_notify/configs/e2000q_aarch64_eg_configs index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch64_eg_configs +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch32_eg_configs b/example/freertos_feature/task_notify/configs/ft2004_aarch32_eg_configs index f0510b59527c3bb025d72f8ccca16b539ea7c56c..05b202751817c7bd10ec6a993247bbf884cf1db4 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch32_eg_configs +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch64_eg_configs b/example/freertos_feature/task_notify/configs/ft2004_aarch64_eg_configs index d99e8ace055af1b9260a237f1ce8ba6374d9f8e3..6c5b8bcd5728ee683e9d73b0d61dbf6470da4b99 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch64_eg_configs +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/sdkconfig b/example/freertos_feature/task_notify/sdkconfig index 9183d77b6ebf704e132f641e17c7fdfd254ec12d..8ea8169ba217813d5b3596ada75a387263413ad6 100644 --- a/example/freertos_feature/task_notify/sdkconfig +++ b/example/freertos_feature/task_notify/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/freertos_feature/task_notify/sdkconfig.h b/example/freertos_feature/task_notify/sdkconfig.h index 80305baca3d75744267bea25bbc372f9e03b7902..1179d14a4a68b36202bd563aba16cf680bb70c6b 100644 --- a/example/freertos_feature/task_notify/sdkconfig.h +++ b/example/freertos_feature/task_notify/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/network/lwip_startup/configs/d2000_aarch32_eg_configs b/example/network/lwip_startup/configs/d2000_aarch32_eg_configs index 989bbac11c40984578bb2453a3cc9cecb64e6536..22fbe65e1039bc2f56502b8a6cd1bc086b5d0ea5 100644 --- a/example/network/lwip_startup/configs/d2000_aarch32_eg_configs +++ b/example/network/lwip_startup/configs/d2000_aarch32_eg_configs @@ -238,8 +238,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -248,7 +246,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -259,6 +258,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/d2000_aarch64_eg_configs b/example/network/lwip_startup/configs/d2000_aarch64_eg_configs index 2664bc59fafc557b595b08a63a6fa60b9a39bc2f..7456a1d98e235a2f4ff709d1ed0ab3f5d74a7024 100644 --- a/example/network/lwip_startup/configs/d2000_aarch64_eg_configs +++ b/example/network/lwip_startup/configs/d2000_aarch64_eg_configs @@ -234,8 +234,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -244,7 +242,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -255,6 +254,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/e2000d_aarch32_eg_configs b/example/network/lwip_startup/configs/e2000d_aarch32_eg_configs index fdfd26c51ad5f4211b481084afd67d17163344ff..ddbeb0c86ab49a34fdb39b0950501e5862483d3b 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch32_eg_configs +++ b/example/network/lwip_startup/configs/e2000d_aarch32_eg_configs @@ -242,8 +242,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -252,7 +250,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -263,6 +262,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/e2000d_aarch64_eg_configs b/example/network/lwip_startup/configs/e2000d_aarch64_eg_configs index c030a950420763992b56a942017a446cef727725..382a01409116036195afd87fd9965a91adc4d8b0 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch64_eg_configs +++ b/example/network/lwip_startup/configs/e2000d_aarch64_eg_configs @@ -238,8 +238,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -248,7 +246,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -259,6 +258,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/e2000q_aarch32_eg_configs b/example/network/lwip_startup/configs/e2000q_aarch32_eg_configs index 593e12064f7c19e8a237fc1b26fe378f5301d79d..b5a11862442bef3d07648a4790d10e497c23cc4d 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch32_eg_configs +++ b/example/network/lwip_startup/configs/e2000q_aarch32_eg_configs @@ -242,8 +242,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -252,7 +250,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -263,6 +262,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/e2000q_aarch64_eg_configs b/example/network/lwip_startup/configs/e2000q_aarch64_eg_configs index f9e1348f13e6930b427bd80dc761e9383b44b67c..d95b535f02ed8c8a98343c92e2de450e037f52aa 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch64_eg_configs +++ b/example/network/lwip_startup/configs/e2000q_aarch64_eg_configs @@ -238,8 +238,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -248,7 +246,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -259,6 +258,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/ft2004_aarch32_eg_configs b/example/network/lwip_startup/configs/ft2004_aarch32_eg_configs index 29818bfce781446eb0c31a0ee1d08dec0db752b1..6dcc53020cc370ba08c177527a0d1e0464c7f3d2 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch32_eg_configs +++ b/example/network/lwip_startup/configs/ft2004_aarch32_eg_configs @@ -238,8 +238,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -248,7 +246,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -259,6 +258,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/configs/ft2004_aarch64_eg_configs b/example/network/lwip_startup/configs/ft2004_aarch64_eg_configs index 08203ba00c1e836ae89591163ffe75b6ae5612d9..536005a8db1ad916cf9f42e689452951050f2a55 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch64_eg_configs +++ b/example/network/lwip_startup/configs/ft2004_aarch64_eg_configs @@ -234,8 +234,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -244,7 +242,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -255,6 +254,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/sdkconfig b/example/network/lwip_startup/sdkconfig index f9e1348f13e6930b427bd80dc761e9383b44b67c..d95b535f02ed8c8a98343c92e2de450e037f52aa 100644 --- a/example/network/lwip_startup/sdkconfig +++ b/example/network/lwip_startup/sdkconfig @@ -238,8 +238,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -248,7 +246,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -259,6 +258,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/lwip_startup/sdkconfig.h b/example/network/lwip_startup/sdkconfig.h index 91567353774a26759956f5fd83c4128b313b522f..29faca22103b1e59cf30303a8d4bc67c194e02ff 100644 --- a/example/network/lwip_startup/sdkconfig.h +++ b/example/network/lwip_startup/sdkconfig.h @@ -206,14 +206,12 @@ /* LWIP Freertos Port Configuration */ -#define CONFIG_LWIP_FXMAC -/* CONFIG_LWIP_FGMAC is not set */ - /* LWIP Configuration */ /* LWIP Port Configuration */ -/* CONFIG_LWIP_PORT_DEBUG_EN is not set */ +#define CONFIG_LWIP_FXMAC +/* CONFIG_LWIP_FGMAC is not set */ /* end of LWIP Port Configuration */ /* CONFIG_LWIP_NO_SYS is not set */ #define CONFIG_LWIP_LOCAL_HOSTNAME "phytium" @@ -222,6 +220,7 @@ /* CONFIG_LWIP_USE_MEM_POOL is not set */ #define CONFIG_LWIP_USE_MEM_HEAP +/* CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set */ #define CONFIG_MEM_SIZE 2 #define CONFIG_MEM_ALIGNMENT 64 /* end of Memory configuration */ diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch32_eg_configs b/example/network/sockets/udp_multicast/configs/d2000_aarch32_eg_configs index 1f34331a616d1ebb1017ba46c0f1b824a749049d..c4b386f1438a1c8c744ae79baebf21361ebcb74a 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch32_eg_configs +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch32_eg_configs @@ -36,6 +36,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -94,6 +95,7 @@ CONFIG_FGMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -112,6 +114,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -244,8 +247,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -254,7 +255,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -265,6 +267,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch64_eg_configs b/example/network/sockets/udp_multicast/configs/d2000_aarch64_eg_configs index df0279b9a43c095cc934f51ea5666ff05204b527..a1e60964092f62bdef95cb4c7a5320cbb32bc7f6 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch64_eg_configs +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch64_eg_configs @@ -36,6 +36,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -94,6 +95,7 @@ CONFIG_FGMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -112,6 +114,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -240,8 +243,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -250,7 +251,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -261,6 +263,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_eg_configs b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_eg_configs index b353d2aa762d6e2cdf41150e4a4b87417139b6cd..4ed4741fe1bd152379c63f742687c67a4143472b 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_eg_configs +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_eg_configs @@ -44,6 +44,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -103,6 +104,7 @@ CONFIG_FXMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -121,6 +123,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -253,8 +256,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -263,7 +264,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -274,6 +276,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=1 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_eg_configs b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_eg_configs index 001c0d9741e03b836f2435f71888487d76c2c8d6..52af883e13b55748376849857819b15afa670fdc 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_eg_configs +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_eg_configs @@ -44,6 +44,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -103,6 +104,7 @@ CONFIG_FXMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -121,6 +123,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -249,8 +252,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -259,7 +260,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -270,6 +272,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=1 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_eg_configs b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_eg_configs index 8af9bc78d75315e186f9aa0cac49aa0f1ab5fdb5..272a5e869bc6b3ff5f35db79191cf6dfd4389e74 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_eg_configs +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_eg_configs @@ -44,6 +44,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -103,6 +104,7 @@ CONFIG_FXMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -121,6 +123,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -253,8 +256,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -263,7 +264,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -274,6 +276,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=1 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_eg_configs b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_eg_configs index f19c54f76bf3477f1fa31b8f10a20ec1ca5f0bdb..191c6b54c992e5f7bd339b5552eb6b3fe49dd1d6 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_eg_configs +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_eg_configs @@ -44,6 +44,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -103,6 +104,7 @@ CONFIG_FXMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -121,6 +123,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -249,8 +252,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -259,7 +260,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -270,6 +272,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=1 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_eg_configs b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_eg_configs index d68e3ccda0b7045096256b8832bafa8f4a7461bf..ae6c8d1cb62c1c9848332c52c7ba74d4f2c059f9 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_eg_configs +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_eg_configs @@ -36,6 +36,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -94,6 +95,7 @@ CONFIG_FGMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -112,6 +114,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -244,8 +247,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -254,7 +255,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -265,6 +267,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_eg_configs b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_eg_configs index 2d64127109c2f82e41cd30f9d3e1092c7e868ba5..c3a540bae868d9463837031df08249a633730fe4 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_eg_configs +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_eg_configs @@ -36,6 +36,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -94,6 +95,7 @@ CONFIG_FGMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -112,6 +114,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -240,8 +243,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -# CONFIG_LWIP_FXMAC is not set -CONFIG_LWIP_FGMAC=y # # LWIP Configuration @@ -250,7 +251,8 @@ CONFIG_LWIP_FGMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +# CONFIG_LWIP_FXMAC is not set +CONFIG_LWIP_FGMAC=y # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -261,6 +263,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=2 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/sdkconfig b/example/network/sockets/udp_multicast/sdkconfig index f19c54f76bf3477f1fa31b8f10a20ec1ca5f0bdb..191c6b54c992e5f7bd339b5552eb6b3fe49dd1d6 100644 --- a/example/network/sockets/udp_multicast/sdkconfig +++ b/example/network/sockets/udp_multicast/sdkconfig @@ -44,6 +44,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -103,6 +104,7 @@ CONFIG_FXMAC_PHY_COMMON=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -121,6 +123,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -249,8 +252,6 @@ CONFIG_USE_LWIP=y # # LWIP Freertos Port Configuration # -CONFIG_LWIP_FXMAC=y -# CONFIG_LWIP_FGMAC is not set # # LWIP Configuration @@ -259,7 +260,8 @@ CONFIG_LWIP_FXMAC=y # # LWIP Port Configuration # -# CONFIG_LWIP_PORT_DEBUG_EN is not set +CONFIG_LWIP_FXMAC=y +# CONFIG_LWIP_FGMAC is not set # end of LWIP Port Configuration # CONFIG_LWIP_NO_SYS is not set @@ -270,6 +272,7 @@ CONFIG_LWIP_LOCAL_HOSTNAME="phytium" # # CONFIG_LWIP_USE_MEM_POOL is not set CONFIG_LWIP_USE_MEM_HEAP=y +# CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set CONFIG_MEM_SIZE=1 CONFIG_MEM_ALIGNMENT=64 # end of Memory configuration diff --git a/example/network/sockets/udp_multicast/sdkconfig.h b/example/network/sockets/udp_multicast/sdkconfig.h index 6872aa074b469b58dd0bcbcd071a57844a314f16..211930eca3502f71f832cc11ab439e2b4098f503 100644 --- a/example/network/sockets/udp_multicast/sdkconfig.h +++ b/example/network/sockets/udp_multicast/sdkconfig.h @@ -41,6 +41,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -94,6 +95,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -110,6 +112,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ @@ -216,14 +219,12 @@ /* LWIP Freertos Port Configuration */ -#define CONFIG_LWIP_FXMAC -/* CONFIG_LWIP_FGMAC is not set */ - /* LWIP Configuration */ /* LWIP Port Configuration */ -/* CONFIG_LWIP_PORT_DEBUG_EN is not set */ +#define CONFIG_LWIP_FXMAC +/* CONFIG_LWIP_FGMAC is not set */ /* end of LWIP Port Configuration */ /* CONFIG_LWIP_NO_SYS is not set */ #define CONFIG_LWIP_LOCAL_HOSTNAME "phytium" @@ -232,6 +233,7 @@ /* CONFIG_LWIP_USE_MEM_POOL is not set */ #define CONFIG_LWIP_USE_MEM_HEAP +/* CONFIG_LWIP_USE_MEM_HEAP_DEBUG is not set */ #define CONFIG_MEM_SIZE 1 #define CONFIG_MEM_ALIGNMENT 64 /* end of Memory configuration */ diff --git a/example/peripheral/adc/configs/e2000d_aarch32_eg_configs b/example/peripheral/adc/configs/e2000d_aarch32_eg_configs index 5b7f05812f64bdeb8b1e1bfe92d9f64128fd35c9..73fd6a993991382171286c558dd40e8362543749 100644 --- a/example/peripheral/adc/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/adc/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FADC=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/adc/configs/e2000d_aarch64_eg_configs b/example/peripheral/adc/configs/e2000d_aarch64_eg_configs index b3f9414f296189ad1525d080dd80b9e6047b97ab..40374c48b74e4a0b3e630e0d6bc824f35d5e6561 100644 --- a/example/peripheral/adc/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/adc/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FADC=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/adc/sdkconfig b/example/peripheral/adc/sdkconfig index b3f9414f296189ad1525d080dd80b9e6047b97ab..40374c48b74e4a0b3e630e0d6bc824f35d5e6561 100644 --- a/example/peripheral/adc/sdkconfig +++ b/example/peripheral/adc/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FADC=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/adc/sdkconfig.h b/example/peripheral/adc/sdkconfig.h index 116eb47a4432aa322320eac40f1580b98095cdfb..fe77dd5b6e85f336b3e80fd9d1fc790f4479bb8a 100644 --- a/example/peripheral/adc/sdkconfig.h +++ b/example/peripheral/adc/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -68,6 +69,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/can/configs/d2000_aarch32_eg_configs b/example/peripheral/can/configs/d2000_aarch32_eg_configs index 1924d2d0cff655313f605d5903c54c1e31bfbafc..0048e11c939264e627a59ec781295207bc47c12f 100644 --- a/example/peripheral/can/configs/d2000_aarch32_eg_configs +++ b/example/peripheral/can/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/d2000_aarch64_eg_configs b/example/peripheral/can/configs/d2000_aarch64_eg_configs index 324b036b22fcc52fbbcadd9cccbe8444c4791773..ebfaea05823c3d1f488029b18665cfce1b044303 100644 --- a/example/peripheral/can/configs/d2000_aarch64_eg_configs +++ b/example/peripheral/can/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/e2000d_aarch32_eg_configs b/example/peripheral/can/configs/e2000d_aarch32_eg_configs index 87bbc467f0b8c70ff238c0479e6a9e9ece882660..aff6d75cc6fa978a0dae3f0efb2d9a418e7f220e 100644 --- a/example/peripheral/can/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/can/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/e2000d_aarch64_eg_configs b/example/peripheral/can/configs/e2000d_aarch64_eg_configs index 640ce2b4a88a0242042244fececc498de3b1493a..9c3cf90544f6c1b19ebcbf6def7ac59ce5ea2281 100644 --- a/example/peripheral/can/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/can/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/e2000q_aarch32_eg_configs b/example/peripheral/can/configs/e2000q_aarch32_eg_configs index 06db6845ba0395fc2322eaad50e4fbec2afa852e..65cbe46676580db3123e136bd72435b8d45d8ccd 100644 --- a/example/peripheral/can/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/can/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/e2000q_aarch64_eg_configs b/example/peripheral/can/configs/e2000q_aarch64_eg_configs index e9333d80518d691fd161e2a71c63b9e1176764bf..09528fe1748e735044744782a1687980d66e7eb2 100644 --- a/example/peripheral/can/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/can/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/ft2004_aarch32_eg_configs b/example/peripheral/can/configs/ft2004_aarch32_eg_configs index 288cecd8b0405335f64aeffda8cc56db04c4d9ba..8ebd7f884133c00258d31fc5ad2c40cdd65d5e08 100644 --- a/example/peripheral/can/configs/ft2004_aarch32_eg_configs +++ b/example/peripheral/can/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/configs/ft2004_aarch64_eg_configs b/example/peripheral/can/configs/ft2004_aarch64_eg_configs index 5ce7b18d2efa5e67e8b18afac3363839bec183b6..8d34fac80663c02313ec7277381a9d0147b522ec 100644 --- a/example/peripheral/can/configs/ft2004_aarch64_eg_configs +++ b/example/peripheral/can/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/sdkconfig b/example/peripheral/can/sdkconfig index e9333d80518d691fd161e2a71c63b9e1176764bf..09528fe1748e735044744782a1687980d66e7eb2 100644 --- a/example/peripheral/can/sdkconfig +++ b/example/peripheral/can/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_USE_FCAN=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/can/sdkconfig.h b/example/peripheral/can/sdkconfig.h index 1eaaf3cff7373d3f261a6c639a28f49a296be55c..f5022f221ef0f1a7c5ea33c33dfecc1dbba9b337 100644 --- a/example/peripheral/can/sdkconfig.h +++ b/example/peripheral/can/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -69,6 +70,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -85,6 +87,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch32_eg_configs b/example/peripheral/dma/ddma/configs/e2000d_aarch32_eg_configs index 1f03d3d192ff96529b16e66cbf76ef30ae34f882..91c7f367ea5804f10c867f753909054215f05515 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -71,6 +72,7 @@ CONFIG_ENABLE_FDDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -89,6 +91,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch64_eg_configs b/example/peripheral/dma/ddma/configs/e2000d_aarch64_eg_configs index 7975b4152643762a274ccf6da961107dc15daa59..cdea2b9fc0693151a438e5548e3759f1ea67e719 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -71,6 +72,7 @@ CONFIG_ENABLE_FDDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -89,6 +91,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch32_eg_configs b/example/peripheral/dma/ddma/configs/e2000q_aarch32_eg_configs index 0551ca56e22ab05c92cffcd7f0dfbd0d0d1c893b..76d1219446a574ec0e5cda542e30ac0bb0ebe39c 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -71,6 +72,7 @@ CONFIG_ENABLE_FDDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -89,6 +91,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch64_eg_configs b/example/peripheral/dma/ddma/configs/e2000q_aarch64_eg_configs index 6caceb1c68cfacb44411091b69d669c6a666b323..5cc178ee3c5e0bcc99fd5c1632ece8cdd32f398a 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -71,6 +72,7 @@ CONFIG_ENABLE_FDDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -89,6 +91,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/ddma/sdkconfig b/example/peripheral/dma/ddma/sdkconfig index 6caceb1c68cfacb44411091b69d669c6a666b323..5cc178ee3c5e0bcc99fd5c1632ece8cdd32f398a 100644 --- a/example/peripheral/dma/ddma/sdkconfig +++ b/example/peripheral/dma/ddma/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -71,6 +72,7 @@ CONFIG_ENABLE_FDDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -89,6 +91,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/ddma/sdkconfig.h b/example/peripheral/dma/ddma/sdkconfig.h index 9aa43168bdeb6242fe4ad32ba13572dc47b178fb..04b2e7dd9956a682064a3c3342db09ba4e5ebf24 100644 --- a/example/peripheral/dma/ddma/sdkconfig.h +++ b/example/peripheral/dma/ddma/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -66,6 +67,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -82,6 +84,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch32_eg_configs b/example/peripheral/dma/gdma/configs/e2000d_aarch32_eg_configs index 95001d317a44ba530f0cbbc3e1e12801740c7b19..61153addda803477c5a4bbaa0ae72ab12a100a93 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FGDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch64_eg_configs b/example/peripheral/dma/gdma/configs/e2000d_aarch64_eg_configs index a096cae76e7ba4f12d9ffbf0839bc0475b14d677..006b15623575d6b7c4ab1ab7c8d08db729bea30a 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FGDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch32_eg_configs b/example/peripheral/dma/gdma/configs/e2000q_aarch32_eg_configs index a78c58247a74575a4f1054f86860d17c8df7e3fd..62660af6dc87bf7819a4e70a614c7de474cee642 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FGDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch64_eg_configs b/example/peripheral/dma/gdma/configs/e2000q_aarch64_eg_configs index f253199b26f89e7521a11fcf32d45e65bcde600a..08b6dd2462631dd5a92e7d415bfef498ef6d1712 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FGDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/gdma/sdkconfig b/example/peripheral/dma/gdma/sdkconfig index f253199b26f89e7521a11fcf32d45e65bcde600a..08b6dd2462631dd5a92e7d415bfef498ef6d1712 100644 --- a/example/peripheral/dma/gdma/sdkconfig +++ b/example/peripheral/dma/gdma/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FGDMA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/dma/gdma/sdkconfig.h b/example/peripheral/dma/gdma/sdkconfig.h index cc1db429577537be583b2b107cafaeaba13ba172..4f3f9af4a8e049a34fcba4bffa2fb2573353d95d 100644 --- a/example/peripheral/dma/gdma/sdkconfig.h +++ b/example/peripheral/dma/gdma/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -65,6 +66,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -81,6 +83,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ #define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/gpio/configs/e2000d_aarch32_eg_configs b/example/peripheral/gpio/configs/e2000d_aarch32_eg_configs index fe40a10b1f2acdf8a9883c65afab3200fb2cfb5f..598a1db91fbe10683c845964cfe4d57cfab47da3 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/gpio/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_FGPIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/gpio/configs/e2000d_aarch64_eg_configs b/example/peripheral/gpio/configs/e2000d_aarch64_eg_configs index f00aff81c294ec3adec651e977211cb494c65636..1284f1be5cff4fe00329ee545f17a0690700673d 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/gpio/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_FGPIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/gpio/configs/e2000q_aarch32_eg_configs b/example/peripheral/gpio/configs/e2000q_aarch32_eg_configs index 63752a83cb5d25f601e4c8fea04b10e59eea36ed..1ddf23f15b762826db9b3c34c83847086c113bcb 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/gpio/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_FGPIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/gpio/configs/e2000q_aarch64_eg_configs b/example/peripheral/gpio/configs/e2000q_aarch64_eg_configs index 8d3d4aeb20a46c31bda2b91baa462da7e268decb..be8f0c2ea5b21d0074266a9ecd2ef32fd437a27e 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/gpio/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_FGPIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/gpio/sdkconfig b/example/peripheral/gpio/sdkconfig index 8d3d4aeb20a46c31bda2b91baa462da7e268decb..be8f0c2ea5b21d0074266a9ecd2ef32fd437a27e 100644 --- a/example/peripheral/gpio/sdkconfig +++ b/example/peripheral/gpio/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_FGPIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/gpio/sdkconfig.h b/example/peripheral/gpio/sdkconfig.h index 7675c972811566a133f9ce831ed2ffb906c88896..cf8946daf9da356ab8c5e5c3ba6d27e84280b22d 100644 --- a/example/peripheral/gpio/sdkconfig.h +++ b/example/peripheral/gpio/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -64,6 +65,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -80,6 +82,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ #define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/i2c/configs/d2000_aarch32_eg_configs b/example/peripheral/i2c/configs/d2000_aarch32_eg_configs index 944fdcd372484e75f6b0d788217409cb6e0d87a2..86491040fcc921b775bc5ce5d78806e8713e8911 100644 --- a/example/peripheral/i2c/configs/d2000_aarch32_eg_configs +++ b/example/peripheral/i2c/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/configs/d2000_aarch64_eg_configs b/example/peripheral/i2c/configs/d2000_aarch64_eg_configs index efcc8e0e6af9062c0f4c958eb065ee814c041788..f65782ad0da97a3f2759df71a9b34215e1198c7a 100644 --- a/example/peripheral/i2c/configs/d2000_aarch64_eg_configs +++ b/example/peripheral/i2c/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/configs/e2000d_aarch32_eg_configs b/example/peripheral/i2c/configs/e2000d_aarch32_eg_configs index fec861bc139c5f143cac95d09bd491d020bba443..1c63fb90e889d56a42f46f3304eb7b10f0f55fa4 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/i2c/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_ENABLE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/configs/e2000d_aarch64_eg_configs b/example/peripheral/i2c/configs/e2000d_aarch64_eg_configs index e84ed0b0ed63f38c39ab052e6260d91846e5c283..48928e771e4715688a40c44e013f2d1f2df34d6f 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/i2c/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_ENABLE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/configs/e2000q_aarch32_eg_configs b/example/peripheral/i2c/configs/e2000q_aarch32_eg_configs index 717137405f7cde600c17bbd8ee312176da1b089a..36d8874b69ff3b4c255519a202356c8255806ab5 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/i2c/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_ENABLE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/configs/e2000q_aarch64_eg_configs b/example/peripheral/i2c/configs/e2000q_aarch64_eg_configs index f08739ee59716f1b8fa02cb16c8c9b85352f17b2..a6c646a6fd4c9df3e9c1658f387c3e2d5d996c3a 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/i2c/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_ENABLE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/sdkconfig b/example/peripheral/i2c/sdkconfig index f08739ee59716f1b8fa02cb16c8c9b85352f17b2..a6c646a6fd4c9df3e9c1658f387c3e2d5d996c3a 100644 --- a/example/peripheral/i2c/sdkconfig +++ b/example/peripheral/i2c/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -76,6 +77,7 @@ CONFIG_ENABLE_MIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -94,6 +96,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/i2c/sdkconfig.h b/example/peripheral/i2c/sdkconfig.h index d004b5c6702c512df7aa44ffd6d9f8637608380c..7d28e515ab6eef5c7f0c5f937b4b739496175709 100644 --- a/example/peripheral/i2c/sdkconfig.h +++ b/example/peripheral/i2c/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -69,6 +70,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -85,6 +87,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/pwm/configs/e2000d_aarch32_eg_configs b/example/peripheral/pwm/configs/e2000d_aarch32_eg_configs index b355832239afbc0ca776f719405bd0501acd0867..358ecee3fef7acc62dcb2ec41d722d53a42c4f21 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/pwm/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FPWM=y # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/pwm/configs/e2000d_aarch64_eg_configs b/example/peripheral/pwm/configs/e2000d_aarch64_eg_configs index 9641b08c154fd87675f5a1d89069262aa3491cd9..60d3946526d985f0baead23eb720b561835289a4 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/pwm/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FPWM=y # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/pwm/configs/e2000q_aarch32_eg_configs b/example/peripheral/pwm/configs/e2000q_aarch32_eg_configs index 08a1967fa45bf6dc2044bb0978bac7c9127997ba..56645c563075b0b2ef465e281047a01e09d26e86 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/pwm/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FPWM=y # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/pwm/configs/e2000q_aarch64_eg_configs b/example/peripheral/pwm/configs/e2000q_aarch64_eg_configs index fc1797de12635fd867cd15ff7d7f841fecba2ae9..332287f14b6b4910371ea101fb676153b6fb7bff 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/pwm/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FPWM=y # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/pwm/sdkconfig b/example/peripheral/pwm/sdkconfig index fc1797de12635fd867cd15ff7d7f841fecba2ae9..332287f14b6b4910371ea101fb676153b6fb7bff 100644 --- a/example/peripheral/pwm/sdkconfig +++ b/example/peripheral/pwm/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FPWM=y # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/pwm/sdkconfig.h b/example/peripheral/pwm/sdkconfig.h index c1455ed2a87f7c1d3ea43d7c7aafd84afbdd265f..0352891dc5fdbb36795360b61366ee4004ff9f73 100644 --- a/example/peripheral/pwm/sdkconfig.h +++ b/example/peripheral/pwm/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -68,6 +69,7 @@ /* end of FPWM Configuration */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/qspi/configs/d2000_aarch32_eg_configs b/example/peripheral/qspi/configs/d2000_aarch32_eg_configs index c7654be806930f5b5c9ab92055602528d475fb37..436e739fa695c4a8c7f46a56d83011d8a4fc37f5 100644 --- a/example/peripheral/qspi/configs/d2000_aarch32_eg_configs +++ b/example/peripheral/qspi/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/d2000_aarch64_eg_configs b/example/peripheral/qspi/configs/d2000_aarch64_eg_configs index 4c96604d55a6d6ed25a66b4ba75cfe52ed5ca9ee..04b9bf6b5f97f95f8bbea3bdf50816fd47894178 100644 --- a/example/peripheral/qspi/configs/d2000_aarch64_eg_configs +++ b/example/peripheral/qspi/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/e2000d_aarch32_eg_configs b/example/peripheral/qspi/configs/e2000d_aarch32_eg_configs index c7c5926457d067e93ca79ca03ebe3e6678b40233..cc0fa54f6e2dba465e530108b24bf7d949e74949 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/qspi/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/e2000d_aarch64_eg_configs b/example/peripheral/qspi/configs/e2000d_aarch64_eg_configs index 748ff821e312e83f9e7a8992125771a3364cc132..8fd8fc89777cf9362462f6ac9433c7dea6e38fed 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/qspi/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/e2000q_aarch32_eg_configs b/example/peripheral/qspi/configs/e2000q_aarch32_eg_configs index 9b66254fc45b00b75e25851a630e93fb5853c6d2..0d1d4c91ebf7185179dd1d8880d0afb3c027f7ed 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/qspi/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/e2000q_aarch64_eg_configs b/example/peripheral/qspi/configs/e2000q_aarch64_eg_configs index 855b203e9c0f2065dff34cc699fac0bb53eb67b5..1ec5f5bad82b54e1f04c7c0cfdebc5bc64d5feae 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/qspi/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/ft2004_aarch32_eg_configs b/example/peripheral/qspi/configs/ft2004_aarch32_eg_configs index 69c042909fab2f05a31756c4b614a30efaf9add5..a38f95ce9778886e1c68dc87c3a090a342ec447a 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch32_eg_configs +++ b/example/peripheral/qspi/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/configs/ft2004_aarch64_eg_configs b/example/peripheral/qspi/configs/ft2004_aarch64_eg_configs index be941bf3eb9e16bf32d867d4fe5f10bffd562806..e4043e6c7795cf4db6bd8119e92e5ed49311bc0f 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch64_eg_configs +++ b/example/peripheral/qspi/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/qspi/sdkconfig b/example/peripheral/qspi/sdkconfig index 748ff821e312e83f9e7a8992125771a3364cc132..1ec5f5bad82b54e1f04c7c0cfdebc5bc64d5feae 100644 --- a/example/peripheral/qspi/sdkconfig +++ b/example/peripheral/qspi/sdkconfig @@ -2,7 +2,7 @@ # # Freertos Configuration # -CONFIG_TARGET_NAME="e2000d_freertos_a64" +CONFIG_TARGET_NAME="e2000q_freertos_a64" # end of Freertos Configuration # @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -26,8 +27,8 @@ CONFIG_USE_SYS_TICK=y # # CONFIG_TARGET_F2000_4 is not set # CONFIG_TARGET_D2000 is not set -# CONFIG_TARGET_E2000Q is not set -CONFIG_TARGET_E2000D=y +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set # CONFIG_TARGET_E2000S is not set CONFIG_TARGET_E2000=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -233,7 +236,7 @@ CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y # CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set # end of Letter Shell Configuration -CONFIG_USE_TLSF=y +# CONFIG_USE_TLSF is not set # CONFIG_USE_SDMMC_CMD is not set # CONFIG_USE_CHERRY_USB is not set # end of Third-Party Configuration diff --git a/example/peripheral/qspi/sdkconfig.h b/example/peripheral/qspi/sdkconfig.h index 4632543a78d20fe69059123fb0c76cda90765caf..a678331974ec83c13991230926d3be4a8c15ba5d 100644 --- a/example/peripheral/qspi/sdkconfig.h +++ b/example/peripheral/qspi/sdkconfig.h @@ -3,7 +3,7 @@ /* Freertos Configuration */ -#define CONFIG_TARGET_NAME "e2000d_freertos_a64" +#define CONFIG_TARGET_NAME "e2000q_freertos_a64" /* end of Freertos Configuration */ /* Standalone Setting */ @@ -18,14 +18,15 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ /* CONFIG_TARGET_F2000_4 is not set */ /* CONFIG_TARGET_D2000 is not set */ -/* CONFIG_TARGET_E2000Q is not set */ -#define CONFIG_TARGET_E2000D +#define CONFIG_TARGET_E2000Q +/* CONFIG_TARGET_E2000D is not set */ /* CONFIG_TARGET_E2000S is not set */ #define CONFIG_TARGET_E2000 #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 @@ -68,6 +69,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ @@ -201,7 +204,7 @@ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ /* end of Letter Shell Configuration */ -#define CONFIG_USE_TLSF +/* CONFIG_USE_TLSF is not set */ /* CONFIG_USE_SDMMC_CMD is not set */ /* CONFIG_USE_CHERRY_USB is not set */ /* end of Third-Party Configuration */ diff --git a/example/peripheral/sdio/configs/e2000d_aarch32_eg_configs b/example/peripheral/sdio/configs/e2000d_aarch32_eg_configs index f657b1764fb06ebe209abed3628df1e380c0ea40..85166202b71da773da41cb7c4a4ac399ffa66168 100644 --- a/example/peripheral/sdio/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/sdio/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/sdio/configs/e2000d_aarch64_eg_configs b/example/peripheral/sdio/configs/e2000d_aarch64_eg_configs index 1bf9c3b905a9bb04ffe97fc6083240635c468780..e959d4886dd822193e4dfbfbc1bcae1f54020344 100644 --- a/example/peripheral/sdio/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/sdio/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/sdio/configs/e2000q_aarch32_eg_configs b/example/peripheral/sdio/configs/e2000q_aarch32_eg_configs index e516e1736620472cb4f9a3fe2e190d352d1c3663..962184851193b7c479f5b0c2d436eff7c1bcf6ba 100644 --- a/example/peripheral/sdio/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/sdio/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/sdio/configs/e2000q_aarch64_eg_configs b/example/peripheral/sdio/configs/e2000q_aarch64_eg_configs index 088376733917305ff01465d6b4c1db0764f9a0c9..ca9fc901ecd2e75e12319606ad0aea4c311f4193 100644 --- a/example/peripheral/sdio/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/sdio/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/sdio/sdkconfig b/example/peripheral/sdio/sdkconfig index 088376733917305ff01465d6b4c1db0764f9a0c9..ca9fc901ecd2e75e12319606ad0aea4c311f4193 100644 --- a/example/peripheral/sdio/sdkconfig +++ b/example/peripheral/sdio/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -70,6 +71,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -88,6 +90,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/sdio/sdkconfig.h b/example/peripheral/sdio/sdkconfig.h index 041cfb5eb49250f94280cf0762170fd1d8294906..7f8cabca315fb7e3433a7f7cd0735e58fd606ac8 100644 --- a/example/peripheral/sdio/sdkconfig.h +++ b/example/peripheral/sdio/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -65,6 +66,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -81,6 +83,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ #define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/spi/configs/e2000d_aarch32_eg_configs b/example/peripheral/spi/configs/e2000d_aarch32_eg_configs index f71a006b075411682488c2a6e5a0c4ef7924ddf3..39a7ba02b5dd3fe4027c884192372a20ceb6acb6 100644 --- a/example/peripheral/spi/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/spi/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -88,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/spi/configs/e2000d_aarch64_eg_configs b/example/peripheral/spi/configs/e2000d_aarch64_eg_configs index 09f7d6c8f40cf588d36bd6769db02fb5560d26d1..9404dace57c87f3b52736ce5764109f220665a7f 100644 --- a/example/peripheral/spi/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/spi/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -88,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/spi/sdkconfig b/example/peripheral/spi/sdkconfig index f71a006b075411682488c2a6e5a0c4ef7924ddf3..9404dace57c87f3b52736ce5764109f220665a7f 100644 --- a/example/peripheral/spi/sdkconfig +++ b/example/peripheral/spi/sdkconfig @@ -2,7 +2,7 @@ # # Freertos Configuration # -CONFIG_TARGET_NAME="e2000d_freertos_a32" +CONFIG_TARGET_NAME="e2000d_freertos_a64" # end of Freertos Configuration # @@ -13,12 +13,13 @@ CONFIG_USE_FREERTOS=y # # Arch Configuration # -CONFIG_TARGET_ARMV8_AARCH32=y -# CONFIG_TARGET_ARMV8_AARCH64 is not set +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y -CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -87,14 +88,15 @@ CONFIG_LOG_ERROR=y CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set -# CONFIG_LOG_EXTRA_INFO is not set +CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # # Linker Options # -CONFIG_AARCH32_RAM_LD=y -# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y # CONFIG_USER_DEFINED_LD is not set CONFIG_LINK_SCRIPT_ROM=y CONFIG_ROM_START_UP_ADDR=0x80100000 @@ -103,12 +105,8 @@ CONFIG_LINK_SCRIPT_RAM=y CONFIG_RAM_START_UP_ADDR=0x81000000 CONFIG_RAM_SIZE_MB=64 CONFIG_HEAP_SIZE=1 -CONFIG_SVC_STACK_SIZE=0x1000 -CONFIG_SYS_STACK_SIZE=0x1000 -CONFIG_IRQ_STACK_SIZE=0x1000 -CONFIG_ABORT_STACK_SIZE=0x1000 -CONFIG_FIQ_STACK_SIZE=0x1000 -CONFIG_UNDEF_STACK_SIZE=0x1000 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 # end of Linker Options # @@ -224,8 +222,8 @@ CONFIG_USE_SFUD=y # SFUD Configuration # CONFIG_SFUD_CTRL_FSPIM=y -CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y -# CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set +# CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set +CONFIG_SFUD_TRANS_MODE_INTRRUPT=y # CONFIG_SFUD_CTRL_FQSPI is not set # end of SFUD Configuration @@ -242,7 +240,7 @@ CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y # CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set # end of Letter Shell Configuration -# CONFIG_USE_TLSF is not set +CONFIG_USE_TLSF=y # CONFIG_USE_SDMMC_CMD is not set # CONFIG_USE_CHERRY_USB is not set # end of Third-Party Configuration diff --git a/example/peripheral/spi/sdkconfig.h b/example/peripheral/spi/sdkconfig.h index 4e04c66c9091d7423acdd522798b514ece87bb92..1e42a4786aa4c4c6d68df3f974a33fa0f3724b53 100644 --- a/example/peripheral/spi/sdkconfig.h +++ b/example/peripheral/spi/sdkconfig.h @@ -3,7 +3,7 @@ /* Freertos Configuration */ -#define CONFIG_TARGET_NAME "e2000d_freertos_a32" +#define CONFIG_TARGET_NAME "e2000d_freertos_a64" /* end of Freertos Configuration */ /* Standalone Setting */ @@ -12,12 +12,13 @@ /* Arch Configuration */ -#define CONFIG_TARGET_ARMV8_AARCH32 -/* CONFIG_TARGET_ARMV8_AARCH64 is not set */ +/* CONFIG_TARGET_ARMV8_AARCH32 is not set */ +#define CONFIG_TARGET_ARMV8_AARCH64 #define CONFIG_USE_CACHE #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK -#define CONFIG_USE_AARCH64_L1_TO_AARCH32 +/* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -80,13 +81,14 @@ #define CONFIG_USE_DEFAULT_INTERRUPT_CONFIG #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ -/* CONFIG_LOG_EXTRA_INFO is not set */ +#define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ -#define CONFIG_AARCH32_RAM_LD -/* CONFIG_AARCH64_RAM_LD is not set */ +/* CONFIG_AARCH32_RAM_LD is not set */ +#define CONFIG_AARCH64_RAM_LD /* CONFIG_USER_DEFINED_LD is not set */ #define CONFIG_LINK_SCRIPT_ROM #define CONFIG_ROM_START_UP_ADDR 0x80100000 @@ -95,12 +97,8 @@ #define CONFIG_RAM_START_UP_ADDR 0x81000000 #define CONFIG_RAM_SIZE_MB 64 #define CONFIG_HEAP_SIZE 1 -#define CONFIG_SVC_STACK_SIZE 0x1000 -#define CONFIG_SYS_STACK_SIZE 0x1000 -#define CONFIG_IRQ_STACK_SIZE 0x1000 -#define CONFIG_ABORT_STACK_SIZE 0x1000 -#define CONFIG_FIQ_STACK_SIZE 0x1000 -#define CONFIG_UNDEF_STACK_SIZE 0x1000 +#define CONFIG_STACK_SIZE 0x100000 +#define CONFIG_FPU_STACK_SIZE 0x1000 /* end of Linker Options */ /* Compiler Options */ @@ -195,8 +193,8 @@ /* SFUD Configuration */ #define CONFIG_SFUD_CTRL_FSPIM -#define CONFIG_SFUD_TRANS_MODE_POLL_FIFO -/* CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set */ +/* CONFIG_SFUD_TRANS_MODE_POLL_FIFO is not set */ +#define CONFIG_SFUD_TRANS_MODE_INTRRUPT /* CONFIG_SFUD_CTRL_FQSPI is not set */ /* end of SFUD Configuration */ /* CONFIG_USE_SPIFFS is not set */ @@ -210,7 +208,7 @@ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ /* end of Letter Shell Configuration */ -/* CONFIG_USE_TLSF is not set */ +#define CONFIG_USE_TLSF /* CONFIG_USE_SDMMC_CMD is not set */ /* CONFIG_USE_CHERRY_USB is not set */ /* end of Third-Party Configuration */ diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch32_eg_configs b/example/peripheral/timer_tacho/configs/e2000d_aarch32_eg_configs index faaaf578a1b0f895eded4ed39d9f0f3d0fe544d6..7b106d1da8aa54210f32bd9cef1a2aea512b68ec 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch32_eg_configs @@ -18,6 +18,7 @@ CONFIG_TARGET_ARMV8_AARCH32=y # CONFIG_USE_CACHE is not set # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -74,6 +75,7 @@ CONFIG_ENABLE_TIMER_TACHO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,6 +94,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch64_eg_configs b/example/peripheral/timer_tacho/configs/e2000d_aarch64_eg_configs index 3d1c2f6c591f5c941bf7997a7c0b751d9064c52d..7b7d8d1b073f620eaa64fc7f8cb89013e3bc206b 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch64_eg_configs @@ -18,6 +18,7 @@ CONFIG_TARGET_ARMV8_AARCH64=y # CONFIG_USE_CACHE is not set # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -74,6 +75,7 @@ CONFIG_ENABLE_TIMER_TACHO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,6 +94,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch32_eg_configs b/example/peripheral/timer_tacho/configs/e2000q_aarch32_eg_configs index bb9b4af41afeb39391fd06c2bcc14ee0ad4532c0..8cec2184e7e662d81ded306e0f70237266426577 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch32_eg_configs @@ -18,6 +18,7 @@ CONFIG_TARGET_ARMV8_AARCH32=y # CONFIG_USE_CACHE is not set # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -74,6 +75,7 @@ CONFIG_ENABLE_TIMER_TACHO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,6 +94,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch64_eg_configs b/example/peripheral/timer_tacho/configs/e2000q_aarch64_eg_configs index 2879a78dd0dc486897d22e5b056fa38b0f099132..c9809bc23129816422182df4e8d2463de2ea1491 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch64_eg_configs @@ -18,6 +18,7 @@ CONFIG_TARGET_ARMV8_AARCH64=y # CONFIG_USE_CACHE is not set # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -74,6 +75,7 @@ CONFIG_ENABLE_TIMER_TACHO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,6 +94,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/timer_tacho/sdkconfig b/example/peripheral/timer_tacho/sdkconfig index 2879a78dd0dc486897d22e5b056fa38b0f099132..c9809bc23129816422182df4e8d2463de2ea1491 100644 --- a/example/peripheral/timer_tacho/sdkconfig +++ b/example/peripheral/timer_tacho/sdkconfig @@ -18,6 +18,7 @@ CONFIG_TARGET_ARMV8_AARCH64=y # CONFIG_USE_CACHE is not set # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -74,6 +75,7 @@ CONFIG_ENABLE_TIMER_TACHO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,6 +94,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/timer_tacho/sdkconfig.h b/example/peripheral/timer_tacho/sdkconfig.h index cec51f9af912216b49d1d7b40d61784bce7aff89..96814334c11801c6d93246e8b4104243fe6815b5 100644 --- a/example/peripheral/timer_tacho/sdkconfig.h +++ b/example/peripheral/timer_tacho/sdkconfig.h @@ -17,6 +17,7 @@ /* CONFIG_USE_CACHE is not set */ /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -67,6 +68,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -83,6 +85,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_eg_configs b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_eg_configs index d4a096eca0db911c292f4b15428d718eae459e71..b5c8029470326eb7f879ff3a919b02bbfa61400d 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -83,6 +84,7 @@ CONFIG_ENABLE_FSATA=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -101,6 +103,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_eg_configs b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_eg_configs index 899e03a8e5b6e1ec833356a99935c09a9a2aa60b..cb1515f1f50e7faee43fa86e8f9aaa99c4847a0c 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch32_eg_configs b/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch32_eg_configs index 0ed600da98ba1e5b287cbe4435c3509330008c8c..b11aedb34da8c1cbc0d89891c9913c50f3ebeaa2 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch32_eg_configs +++ b/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch64_eg_configs b/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch64_eg_configs index 4556342147c74a28e5937c93e6bb76806c5512e1..3dee44579f3192bded1907143d9deda716d0c7a6 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch64_eg_configs +++ b/example/peripheral/usb/cherryusb_host/configs/e2000s_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -69,6 +70,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -87,6 +89,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/usb/cherryusb_host/sdkconfig b/example/peripheral/usb/cherryusb_host/sdkconfig index d4a096eca0db911c292f4b15428d718eae459e71..3dee44579f3192bded1907143d9deda716d0c7a6 100644 --- a/example/peripheral/usb/cherryusb_host/sdkconfig +++ b/example/peripheral/usb/cherryusb_host/sdkconfig @@ -2,7 +2,7 @@ # # Freertos Configuration # -CONFIG_TARGET_NAME="e2000d_freertos_a32" +CONFIG_TARGET_NAME="e2000s_freertos_a64" # end of Freertos Configuration # @@ -13,12 +13,13 @@ CONFIG_USE_FREERTOS=y # # Arch Configuration # -CONFIG_TARGET_ARMV8_AARCH32=y -# CONFIG_TARGET_ARMV8_AARCH64 is not set +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y -CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -27,8 +28,8 @@ CONFIG_USE_AARCH64_L1_TO_AARCH32=y # CONFIG_TARGET_F2000_4 is not set # CONFIG_TARGET_D2000 is not set # CONFIG_TARGET_E2000Q is not set -CONFIG_TARGET_E2000D=y -# CONFIG_TARGET_E2000S is not set +# CONFIG_TARGET_E2000D is not set +CONFIG_TARGET_E2000S=y CONFIG_TARGET_E2000=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y # CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set @@ -58,31 +59,18 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_TIMER is not set # CONFIG_USE_MIO is not set # CONFIG_USE_SDMMC is not set -CONFIG_USE_PCIE=y - -# -# Pcie Configuration -# -CONFIG_ENABLE_F_PCIE=y -# end of Pcie Configuration - +# CONFIG_USE_PCIE is not set # CONFIG_USE_WDT is not set # CONFIG_USE_DMA is not set # CONFIG_USE_NAND is not set # CONFIG_USE_RTC is not set -CONFIG_USE_SATA=y - -# -# FSATA Configuration -# -CONFIG_ENABLE_FSATA=y -# end of FSATA Configuration - +# CONFIG_USE_SATA is not set # CONFIG_USE_USB is not set # CONFIG_USE_ADC is not set # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -92,22 +80,23 @@ CONFIG_USE_NEW_LIBC=y # Building Option # # CONFIG_LOG_VERBOS is not set -# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_DEBUG=y # CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -CONFIG_LOG_ERROR=y +# CONFIG_LOG_ERROR is not set # CONFIG_LOG_NONE is not set CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # # Linker Options # -CONFIG_AARCH32_RAM_LD=y -# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y # CONFIG_USER_DEFINED_LD is not set CONFIG_LINK_SCRIPT_ROM=y CONFIG_ROM_START_UP_ADDR=0x80100000 @@ -116,12 +105,8 @@ CONFIG_LINK_SCRIPT_RAM=y CONFIG_RAM_START_UP_ADDR=0x81000000 CONFIG_RAM_SIZE_MB=64 CONFIG_HEAP_SIZE=1 -CONFIG_SVC_STACK_SIZE=0x1000 -CONFIG_SYS_STACK_SIZE=0x1000 -CONFIG_IRQ_STACK_SIZE=0x1000 -CONFIG_ABORT_STACK_SIZE=0x1000 -CONFIG_FIQ_STACK_SIZE=0x1000 -CONFIG_UNDEF_STACK_SIZE=0x1000 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 # end of Linker Options # @@ -230,46 +215,7 @@ CONFIG_FREERTOS_USE_FSPIM=y # # CONFIG_USE_LWIP is not set CONFIG_USE_BACKTRACE=y -CONFIG_USE_FATFS_0_1_4=y - -# -# FATFS Configuration (0.1.4) -# -CONFIG_FATFS_RAM_DISK=y - -# -# RAM Disk Configuration -# -CONFIG_FATFS_RAM_DISK_BASE=0xa0000000 -CONFIG_FATFS_RAM_DISK_SIZE_MB=500 -CONFIG_FATFS_RAM_DISK_SECTOR_SIZE_BYTE=512 -# end of RAM Disk Configuration - -# CONFIG_FATFS_SDMMC_FSDIO_TF is not set -# CONFIG_FATFS_SDMMC_FSDIO_EMMC is not set -# CONFIG_FATFS_SDMMC_FSDMMC_TF is not set -CONFIG_FATFS_SATA_DISK=y - -# -# SATA Disk Configuration -# -# CONFIG_FATFS_FSATA is not set -CONFIG_FATFS_FSATA_PCIE=y -# end of SATA Disk Configuration - -# CONFIG_FATFS_USB is not set -CONFIG_FATFS_VOLUME_COUNT=6 -# CONFIG_FATFS_LFN_NONE is not set -CONFIG_FATFS_LFN_HEAP=y -# CONFIG_FATFS_LFN_STACK is not set -CONFIG_FATFS_MAX_LFN=255 -CONFIG_FATFS_FS_LOCK=0 -CONFIG_FATFS_TIMEOUT_MS=10000 -CONFIG_FATFS_PER_FILE_CACHE=y -CONFIG_FATFS_ALLOC_PREFER_MEMP=y -CONFIG_FATFS_MEMP_SIZE=2 -# end of FATFS Configuration (0.1.4) - +# CONFIG_USE_FATFS_0_1_4 is not set # CONFIG_USE_SFUD is not set # CONFIG_USE_SPIFFS is not set # CONFIG_USE_AMP is not set diff --git a/example/peripheral/usb/cherryusb_host/sdkconfig.h b/example/peripheral/usb/cherryusb_host/sdkconfig.h index 9272999d4712c2cab85aebfa8258d23527d51397..e8e71a146f371dd10e559b009dcc33e93883c666 100644 --- a/example/peripheral/usb/cherryusb_host/sdkconfig.h +++ b/example/peripheral/usb/cherryusb_host/sdkconfig.h @@ -3,7 +3,7 @@ /* Freertos Configuration */ -#define CONFIG_TARGET_NAME "e2000d_freertos_a32" +#define CONFIG_TARGET_NAME "e2000s_freertos_a64" /* end of Freertos Configuration */ /* Standalone Setting */ @@ -12,12 +12,13 @@ /* Arch Configuration */ -#define CONFIG_TARGET_ARMV8_AARCH32 -/* CONFIG_TARGET_ARMV8_AARCH64 is not set */ +/* CONFIG_TARGET_ARMV8_AARCH32 is not set */ +#define CONFIG_TARGET_ARMV8_AARCH64 #define CONFIG_USE_CACHE #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK -#define CONFIG_USE_AARCH64_L1_TO_AARCH32 +/* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -25,8 +26,8 @@ /* CONFIG_TARGET_F2000_4 is not set */ /* CONFIG_TARGET_D2000 is not set */ /* CONFIG_TARGET_E2000Q is not set */ -#define CONFIG_TARGET_E2000D -/* CONFIG_TARGET_E2000S is not set */ +/* CONFIG_TARGET_E2000D is not set */ +#define CONFIG_TARGET_E2000S #define CONFIG_TARGET_E2000 #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 /* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ @@ -53,27 +54,18 @@ /* CONFIG_USE_TIMER is not set */ /* CONFIG_USE_MIO is not set */ /* CONFIG_USE_SDMMC is not set */ -#define CONFIG_USE_PCIE - -/* Pcie Configuration */ - -#define CONFIG_ENABLE_F_PCIE -/* end of Pcie Configuration */ +/* CONFIG_USE_PCIE is not set */ /* CONFIG_USE_WDT is not set */ /* CONFIG_USE_DMA is not set */ /* CONFIG_USE_NAND is not set */ /* CONFIG_USE_RTC is not set */ -#define CONFIG_USE_SATA - -/* FSATA Configuration */ - -#define CONFIG_ENABLE_FSATA -/* end of FSATA Configuration */ +/* CONFIG_USE_SATA is not set */ /* CONFIG_USE_USB is not set */ /* CONFIG_USE_ADC is not set */ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -81,21 +73,22 @@ /* Building Option */ /* CONFIG_LOG_VERBOS is not set */ -/* CONFIG_LOG_DEBUG is not set */ +#define CONFIG_LOG_DEBUG /* CONFIG_LOG_INFO is not set */ /* CONFIG_LOG_WARN is not set */ -#define CONFIG_LOG_ERROR +/* CONFIG_LOG_ERROR is not set */ /* CONFIG_LOG_NONE is not set */ #define CONFIG_USE_DEFAULT_INTERRUPT_CONFIG #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ #define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ -#define CONFIG_AARCH32_RAM_LD -/* CONFIG_AARCH64_RAM_LD is not set */ +/* CONFIG_AARCH32_RAM_LD is not set */ +#define CONFIG_AARCH64_RAM_LD /* CONFIG_USER_DEFINED_LD is not set */ #define CONFIG_LINK_SCRIPT_ROM #define CONFIG_ROM_START_UP_ADDR 0x80100000 @@ -104,12 +97,8 @@ #define CONFIG_RAM_START_UP_ADDR 0x81000000 #define CONFIG_RAM_SIZE_MB 64 #define CONFIG_HEAP_SIZE 1 -#define CONFIG_SVC_STACK_SIZE 0x1000 -#define CONFIG_SYS_STACK_SIZE 0x1000 -#define CONFIG_IRQ_STACK_SIZE 0x1000 -#define CONFIG_ABORT_STACK_SIZE 0x1000 -#define CONFIG_FIQ_STACK_SIZE 0x1000 -#define CONFIG_UNDEF_STACK_SIZE 0x1000 +#define CONFIG_STACK_SIZE 0x100000 +#define CONFIG_FPU_STACK_SIZE 0x1000 /* end of Linker Options */ /* Compiler Options */ @@ -198,40 +187,7 @@ /* CONFIG_USE_LWIP is not set */ #define CONFIG_USE_BACKTRACE -#define CONFIG_USE_FATFS_0_1_4 - -/* FATFS Configuration (0.1.4) */ - -#define CONFIG_FATFS_RAM_DISK - -/* RAM Disk Configuration */ - -#define CONFIG_FATFS_RAM_DISK_BASE 0xa0000000 -#define CONFIG_FATFS_RAM_DISK_SIZE_MB 500 -#define CONFIG_FATFS_RAM_DISK_SECTOR_SIZE_BYTE 512 -/* end of RAM Disk Configuration */ -/* CONFIG_FATFS_SDMMC_FSDIO_TF is not set */ -/* CONFIG_FATFS_SDMMC_FSDIO_EMMC is not set */ -/* CONFIG_FATFS_SDMMC_FSDMMC_TF is not set */ -#define CONFIG_FATFS_SATA_DISK - -/* SATA Disk Configuration */ - -/* CONFIG_FATFS_FSATA is not set */ -#define CONFIG_FATFS_FSATA_PCIE -/* end of SATA Disk Configuration */ -/* CONFIG_FATFS_USB is not set */ -#define CONFIG_FATFS_VOLUME_COUNT 6 -/* CONFIG_FATFS_LFN_NONE is not set */ -#define CONFIG_FATFS_LFN_HEAP -/* CONFIG_FATFS_LFN_STACK is not set */ -#define CONFIG_FATFS_MAX_LFN 255 -#define CONFIG_FATFS_FS_LOCK 0 -#define CONFIG_FATFS_TIMEOUT_MS 10000 -#define CONFIG_FATFS_PER_FILE_CACHE -#define CONFIG_FATFS_ALLOC_PREFER_MEMP -#define CONFIG_FATFS_MEMP_SIZE 2 -/* end of FATFS Configuration (0.1.4) */ +/* CONFIG_USE_FATFS_0_1_4 is not set */ /* CONFIG_USE_SFUD is not set */ /* CONFIG_USE_SPIFFS is not set */ /* CONFIG_USE_AMP is not set */ diff --git a/example/peripheral/wdt/configs/d2000_aarch32_eg_configs b/example/peripheral/wdt/configs/d2000_aarch32_eg_configs index 150e30fe4c07d19a8a49d820979aa6756e549cf0..a54fb4d12f7d5167dce5e52c7ffe0c97569c30b5 100644 --- a/example/peripheral/wdt/configs/d2000_aarch32_eg_configs +++ b/example/peripheral/wdt/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/d2000_aarch64_eg_configs b/example/peripheral/wdt/configs/d2000_aarch64_eg_configs index faf0982302abc77fc7d617d7d485972cad45b5dc..da381b84319d16278425fbdb28a3ca668fedb51a 100644 --- a/example/peripheral/wdt/configs/d2000_aarch64_eg_configs +++ b/example/peripheral/wdt/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/e2000d_aarch32_eg_configs b/example/peripheral/wdt/configs/e2000d_aarch32_eg_configs index 2b5328e4e0c15ed37dd8d745568038951fe62e1d..1ecfc292d38c2b64ceb408f70421d9d05df157b4 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch32_eg_configs +++ b/example/peripheral/wdt/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/e2000d_aarch64_eg_configs b/example/peripheral/wdt/configs/e2000d_aarch64_eg_configs index eac02deea439f810c0071c90bafe88051e156e55..b036433debf140b68e1035dd4b5501a6be2cb165 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch64_eg_configs +++ b/example/peripheral/wdt/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/e2000q_aarch32_eg_configs b/example/peripheral/wdt/configs/e2000q_aarch32_eg_configs index 14b06ad5b57050d96ab157980dd1aee3c2f705bf..d719b8ab396823bab9a63c32bb46324593449fcb 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch32_eg_configs +++ b/example/peripheral/wdt/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/e2000q_aarch64_eg_configs b/example/peripheral/wdt/configs/e2000q_aarch64_eg_configs index 414a94243442b9df6c8bda8867e41fae677348c6..ee32ba0291f0bc8b7189f93f2d460f923f77af04 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch64_eg_configs +++ b/example/peripheral/wdt/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/ft2004_aarch32_eg_configs b/example/peripheral/wdt/configs/ft2004_aarch32_eg_configs index 5cee0111e787964d238d8d705c23799cad803850..223a422a0b6f96c49d18a0dd42ba344436a57e0c 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch32_eg_configs +++ b/example/peripheral/wdt/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/configs/ft2004_aarch64_eg_configs b/example/peripheral/wdt/configs/ft2004_aarch64_eg_configs index ff15bf211594a7c988efec090626b164bd5f6cb8..45bff2abb96324e371ace6f06e675fd75505faee 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch64_eg_configs +++ b/example/peripheral/wdt/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/sdkconfig b/example/peripheral/wdt/sdkconfig index 414a94243442b9df6c8bda8867e41fae677348c6..ee32ba0291f0bc8b7189f93f2d460f923f77af04 100644 --- a/example/peripheral/wdt/sdkconfig +++ b/example/peripheral/wdt/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_USE_FWDT=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/peripheral/wdt/sdkconfig.h b/example/peripheral/wdt/sdkconfig.h index f8dd6b5a49346e9c7fa2e905c6eebb28ffb987a6..cb391a78bac8bbbfb9026f0c806d1b474cfb30f3 100644 --- a/example/peripheral/wdt/sdkconfig.h +++ b/example/peripheral/wdt/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -68,6 +69,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/storage/fatfs/configs/e2000d_aarch32_eg_configs b/example/storage/fatfs/configs/e2000d_aarch32_eg_configs index 8898745a9094db8b88c4d90828a908c2c21a00de..d375620a211b04e93a61d0a7576dc4c473169dcb 100644 --- a/example/storage/fatfs/configs/e2000d_aarch32_eg_configs +++ b/example/storage/fatfs/configs/e2000d_aarch32_eg_configs @@ -22,6 +22,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -73,6 +74,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -91,6 +93,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/fatfs/configs/e2000d_aarch64_eg_configs b/example/storage/fatfs/configs/e2000d_aarch64_eg_configs index 39d4ff17d52f3b6d6ed0c65e004e24b95b7594d4..fd8feed2f5c57c64e1c406ab8f5a82819a19f266 100644 --- a/example/storage/fatfs/configs/e2000d_aarch64_eg_configs +++ b/example/storage/fatfs/configs/e2000d_aarch64_eg_configs @@ -22,6 +22,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -73,6 +74,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -91,6 +93,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/fatfs/configs/e2000q_aarch32_eg_configs b/example/storage/fatfs/configs/e2000q_aarch32_eg_configs index 8b0e10786742ea1ab47c8bcaba3c1a38121510af..3b80c8c1bfca6b0d86e096f2a9035e7baa9e5c51 100644 --- a/example/storage/fatfs/configs/e2000q_aarch32_eg_configs +++ b/example/storage/fatfs/configs/e2000q_aarch32_eg_configs @@ -22,6 +22,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -73,6 +74,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -91,6 +93,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/fatfs/configs/e2000q_aarch64_eg_configs b/example/storage/fatfs/configs/e2000q_aarch64_eg_configs index 27fb43f5e85f9631fbff9674bc7071edd0843634..d19240d1085e993d79e311719f4626f1dfccca69 100644 --- a/example/storage/fatfs/configs/e2000q_aarch64_eg_configs +++ b/example/storage/fatfs/configs/e2000q_aarch64_eg_configs @@ -22,6 +22,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -73,6 +74,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -91,6 +93,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/fatfs/inc/usb_config.h b/example/storage/fatfs/inc/usb_config.h new file mode 100644 index 0000000000000000000000000000000000000000..3a89de76f1fe88caa9f3b9abb257f548a962e81d --- /dev/null +++ b/example/storage/fatfs/inc/usb_config.h @@ -0,0 +1,153 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: usb_config.h + * Date: 2022-09-19 17:28:44 + * LastEditTime: 2022-09-19 17:28:45 + * Description:  This file is for usb hc xhci configuration. + * + * Modify History: + * Ver   Who        Date         Changes + * ----- ------     --------    -------------------------------------- + * 1.0 zhugengyu 2022/9/19 init commit + * 1.1 liqiaozhong 2023/2/10 update to v0.7.0 + */ + +#ifndef USB_CONFIG_H +#define USB_CONFIG_H + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* ================ USB common Configuration ================ */ +void *usb_hc_malloc(size_t size); +void usb_hc_free(); +void *usb_hc_malloc_align(size_t align, size_t size); + +#define usb_malloc(size) usb_hc_malloc(size) +#define usb_free(ptr) usb_hc_free(ptr) +#define usb_align(align, size) usb_hc_malloc_align(align, size) + +#ifndef CONFIG_USB_DBG_LEVEL + #define CONFIG_USB_DBG_LEVEL USB_DBG_ERROR +#endif + +#ifndef CONFIG_USB_PRINTF + #define CONFIG_USB_PRINTF printf +#endif + +/* Enable print with color */ +#define CONFIG_USB_PRINTF_COLOR_ENABLE + +/* data align size when use dma */ +#ifndef CONFIG_USB_ALIGN_SIZE + #define CONFIG_USB_ALIGN_SIZE 4 +#endif + +/* attribute data into no cache ram */ +#define USB_NOCACHE_RAM_SECTION __attribute__((section(".noncacheable"))) + +/* ================= USB Device Stack Configuration ================ */ + +/* Ep0 max transfer buffer, specially for receiving data from ep0 out */ +#define CONFIG_USBDEV_REQUEST_BUFFER_LEN 256 + + +#ifndef CONFIG_USBDEV_MSC_BLOCK_SIZE + #define CONFIG_USBDEV_MSC_BLOCK_SIZE 512 +#endif + +#ifndef CONFIG_USBDEV_MSC_MANUFACTURER_STRING + #define CONFIG_USBDEV_MSC_MANUFACTURER_STRING "" +#endif + +#ifndef CONFIG_USBDEV_MSC_PRODUCT_STRING + #define CONFIG_USBDEV_MSC_PRODUCT_STRING "" +#endif + +#ifndef CONFIG_USBDEV_MSC_VERSION_STRING + #define CONFIG_USBDEV_MSC_VERSION_STRING "0.01" +#endif + +// #define CONFIG_USBHOST_GET_STRING_DESC +#define CONFIG_USBHOST_GET_DEVICE_DESC + +// #define CONFIG_USBDEV_MSC_THREAD +#define CONFIG_INPUT_MOUSE_WHEEL + +#ifdef CONFIG_USBDEV_MSC_THREAD + #ifndef CONFIG_USBDEV_MSC_STACKSIZE + #define CONFIG_USBDEV_MSC_STACKSIZE 2048 + #endif + + #ifndef CONFIG_USBDEV_MSC_PRIO + #define CONFIG_USBDEV_MSC_PRIO 4 + #endif +#endif + +#ifndef CONFIG_USBDEV_AUDIO_VERSION + #define CONFIG_USBDEV_AUDIO_VERSION 0x0100 +#endif + +#ifndef CONFIG_USBDEV_AUDIO_MAX_CHANNEL + #define CONFIG_USBDEV_AUDIO_MAX_CHANNEL 8 +#endif + +/* ================ USB HOST Stack Configuration ================== */ + +#define CONFIG_USBHOST_MAX_RHPORTS 1 +#define CONFIG_USBHOST_MAX_EXTHUBS 2 +#define CONFIG_USBHOST_MAX_EHPORTS 4 +#define CONFIG_USBHOST_MAX_INTERFACES 6 +#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1 +#define CONFIG_USBHOST_MAX_ENDPOINTS 4 + +#define CONFIG_USBHOST_DEV_NAMELEN 16 + +#ifndef CONFIG_USBHOST_PSC_PRIO + #define CONFIG_USBHOST_PSC_PRIO 4 +#endif +#ifndef CONFIG_USBHOST_PSC_STACKSIZE + #define CONFIG_USBHOST_PSC_STACKSIZE 2048 +#endif + +/* Ep0 max transfer buffer */ +#define CONFIG_USBHOST_REQUEST_BUFFER_LEN 512 + +#ifndef CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT + #define CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT 500 +#endif + +#ifndef CONFIG_USBHOST_MSC_TIMEOUT + #define CONFIG_USBHOST_MSC_TIMEOUT 5000 +#endif + +/* ================ USB Device Port Configuration ================*/ + +#define CONFIG_XHCI_PAGE_SIZE 4096U +#define CONFIG_XHCI_PAGE_SHIFT 12U + +/* ================ USB Host Port Configuration ==================*/ + +#define CONFIG_USBHOST_PIPE_NUM 10 + +/* ================ XHCI Configuration ================ */ +#define CONFIG_USBHOST_XHCI + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/example/storage/fatfs/sdkconfig b/example/storage/fatfs/sdkconfig index 27fb43f5e85f9631fbff9674bc7071edd0843634..d19240d1085e993d79e311719f4626f1dfccca69 100644 --- a/example/storage/fatfs/sdkconfig +++ b/example/storage/fatfs/sdkconfig @@ -22,6 +22,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -73,6 +74,7 @@ CONFIG_ENABLE_FSDIO=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -91,6 +93,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set CONFIG_LOG_EXTRA_INFO=y +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/fatfs/sdkconfig.h b/example/storage/fatfs/sdkconfig.h index 54265e1b720c6173e45a066ad88edcff7118739c..71b4e95f0c44e2c90045bd91781560bd968dff1b 100644 --- a/example/storage/fatfs/sdkconfig.h +++ b/example/storage/fatfs/sdkconfig.h @@ -21,6 +21,7 @@ #define CONFIG_USE_MMU /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -68,6 +69,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ #define CONFIG_LOG_EXTRA_INFO +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch32_eg_configs b/example/storage/qspi_spiffs/configs/d2000_aarch32_eg_configs index b10fdebcb92e12dfe13ed6d26a8bc55dd15ed1e0..4c3f1c60876f0273cb6236ef544bb9b192cd8a10 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch32_eg_configs +++ b/example/storage/qspi_spiffs/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch64_eg_configs b/example/storage/qspi_spiffs/configs/d2000_aarch64_eg_configs index 0406ccf7da708172bd1e0b1cdc6807837f1dbdd5..71894494c7c66df45587c3f3cd2fcaceb4c86a71 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch64_eg_configs +++ b/example/storage/qspi_spiffs/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch32_eg_configs b/example/storage/qspi_spiffs/configs/e2000d_aarch32_eg_configs index ba3109b778851b6efd17d0cd89be37767d5f7ae4..ff67e8c246c9c49041306b2452c0d6793e0e2bd9 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch32_eg_configs +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch64_eg_configs b/example/storage/qspi_spiffs/configs/e2000d_aarch64_eg_configs index d6d2f93dc18488b4c73249b8bc2fb993ff51380b..661ad9896ceea2a7217a53e043290dce7b627b38 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch64_eg_configs +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch32_eg_configs b/example/storage/qspi_spiffs/configs/e2000q_aarch32_eg_configs index f2bd11a88a7f76ebb56000cc324c6462d1cefb45..ee06279ad8b4d386da6be9399196ce32413147d4 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch32_eg_configs +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch64_eg_configs b/example/storage/qspi_spiffs/configs/e2000q_aarch64_eg_configs index 3842526ff5eb197cf1949e886b891c2d25eba73f..a2a70ee86273d7f758237a498afff0757a8667ac 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch64_eg_configs +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch32_eg_configs b/example/storage/qspi_spiffs/configs/ft2004_aarch32_eg_configs index db70d187103885064bbc92a521f45673b623aa05..32b1ff443be9e4b2bed7a02c93390ff873cc3e68 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch32_eg_configs +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch64_eg_configs b/example/storage/qspi_spiffs/configs/ft2004_aarch64_eg_configs index 46475ff2e39ad972c783dc3ac085a77741ce3ebe..fd1f8bf51ed352a670af9b84fa8592b2ab62a9d8 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch64_eg_configs +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/storage/qspi_spiffs/sdkconfig b/example/storage/qspi_spiffs/sdkconfig index d6d2f93dc18488b4c73249b8bc2fb993ff51380b..a2a70ee86273d7f758237a498afff0757a8667ac 100644 --- a/example/storage/qspi_spiffs/sdkconfig +++ b/example/storage/qspi_spiffs/sdkconfig @@ -2,7 +2,7 @@ # # Freertos Configuration # -CONFIG_TARGET_NAME="e2000d_freertos_a64" +CONFIG_TARGET_NAME="e2000q_freertos_a64" # end of Freertos Configuration # @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -26,8 +27,8 @@ CONFIG_USE_SYS_TICK=y # # CONFIG_TARGET_F2000_4 is not set # CONFIG_TARGET_D2000 is not set -# CONFIG_TARGET_E2000Q is not set -CONFIG_TARGET_E2000D=y +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set # CONFIG_TARGET_E2000S is not set CONFIG_TARGET_E2000=y CONFIG_DEFAULT_DEBUG_PRINT_UART1=y @@ -75,6 +76,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -93,6 +95,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # @@ -252,7 +255,7 @@ CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y # CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set # end of Letter Shell Configuration -CONFIG_USE_TLSF=y +# CONFIG_USE_TLSF is not set # CONFIG_USE_SDMMC_CMD is not set # CONFIG_USE_CHERRY_USB is not set # end of Third-Party Configuration diff --git a/example/storage/qspi_spiffs/sdkconfig.h b/example/storage/qspi_spiffs/sdkconfig.h index 321b9eda0d3ec0e1fb5260899f1eb676d5e93abe..1e977d356c4b877f8f3bd8a0217615427ff49850 100644 --- a/example/storage/qspi_spiffs/sdkconfig.h +++ b/example/storage/qspi_spiffs/sdkconfig.h @@ -3,7 +3,7 @@ /* Freertos Configuration */ -#define CONFIG_TARGET_NAME "e2000d_freertos_a64" +#define CONFIG_TARGET_NAME "e2000q_freertos_a64" /* end of Freertos Configuration */ /* Standalone Setting */ @@ -18,14 +18,15 @@ #define CONFIG_USE_MMU #define CONFIG_USE_SYS_TICK /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ /* CONFIG_TARGET_F2000_4 is not set */ /* CONFIG_TARGET_D2000 is not set */ -/* CONFIG_TARGET_E2000Q is not set */ -#define CONFIG_TARGET_E2000D +#define CONFIG_TARGET_E2000Q +/* CONFIG_TARGET_E2000D is not set */ /* CONFIG_TARGET_E2000S is not set */ #define CONFIG_TARGET_E2000 #define CONFIG_DEFAULT_DEBUG_PRINT_UART1 @@ -68,6 +69,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -84,6 +86,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ @@ -216,7 +219,7 @@ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ /* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ /* end of Letter Shell Configuration */ -#define CONFIG_USE_TLSF +/* CONFIG_USE_TLSF is not set */ /* CONFIG_USE_SDMMC_CMD is not set */ /* CONFIG_USE_CHERRY_USB is not set */ /* end of Third-Party Configuration */ diff --git a/example/storage/spim_spiffs/configs/e2000d_aarch64_eg_configs b/example/storage/spim_spiffs/configs/e2000d_aarch64_eg_configs index 7f168fdce7159842cef5f7444c004aa1a25d9303..86f59e21db46aa5ae4467657481d836de6ef73be 100644 --- a/example/storage/spim_spiffs/configs/e2000d_aarch64_eg_configs +++ b/example/storage/spim_spiffs/configs/e2000d_aarch64_eg_configs @@ -150,7 +150,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Qspi Drivers # -CONFIG_FREERTOS_USE_QSPI=y +# CONFIG_FREERTOS_USE_QSPI is not set # end of Freertos Qspi Drivers # @@ -230,10 +230,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set -CONFIG_SFUD_CTRL_FQSPI=y -# CONFIG_SFUD_QSPI_READ_MODE_READ is not set -# CONFIG_SFUD_QSPI_READ_MODE_DUAL_READ is not set -CONFIG_SFUD_QSPI_READ_MODE_QUAD_READ=y +# CONFIG_SFUD_CTRL_FQSPI is not set # end of SFUD Configuration CONFIG_USE_SPIFFS=y diff --git a/example/storage/spim_spiffs/sdkconfig b/example/storage/spim_spiffs/sdkconfig index 7f168fdce7159842cef5f7444c004aa1a25d9303..86f59e21db46aa5ae4467657481d836de6ef73be 100644 --- a/example/storage/spim_spiffs/sdkconfig +++ b/example/storage/spim_spiffs/sdkconfig @@ -150,7 +150,7 @@ CONFIG_FREERTOS_USE_UART=y # # Freertos Qspi Drivers # -CONFIG_FREERTOS_USE_QSPI=y +# CONFIG_FREERTOS_USE_QSPI is not set # end of Freertos Qspi Drivers # @@ -230,10 +230,7 @@ CONFIG_USE_SFUD=y CONFIG_SFUD_CTRL_FSPIM=y CONFIG_SFUD_TRANS_MODE_POLL_FIFO=y # CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set -CONFIG_SFUD_CTRL_FQSPI=y -# CONFIG_SFUD_QSPI_READ_MODE_READ is not set -# CONFIG_SFUD_QSPI_READ_MODE_DUAL_READ is not set -CONFIG_SFUD_QSPI_READ_MODE_QUAD_READ=y +# CONFIG_SFUD_CTRL_FQSPI is not set # end of SFUD Configuration CONFIG_USE_SPIFFS=y diff --git a/example/storage/spim_spiffs/sdkconfig.h b/example/storage/spim_spiffs/sdkconfig.h index 9a406bbdcd782bcf6af710cfcc10be0e7a879abc..e839ff185a6fd6f1dbe3857c94f256d5b13a3e8e 100644 --- a/example/storage/spim_spiffs/sdkconfig.h +++ b/example/storage/spim_spiffs/sdkconfig.h @@ -131,7 +131,7 @@ /* Freertos Qspi Drivers */ -#define CONFIG_FREERTOS_USE_QSPI +/* CONFIG_FREERTOS_USE_QSPI is not set */ /* end of Freertos Qspi Drivers */ /* Freertos Wdt Drivers */ @@ -199,10 +199,7 @@ #define CONFIG_SFUD_CTRL_FSPIM #define CONFIG_SFUD_TRANS_MODE_POLL_FIFO /* CONFIG_SFUD_TRANS_MODE_INTRRUPT is not set */ -#define CONFIG_SFUD_CTRL_FQSPI -/* CONFIG_SFUD_QSPI_READ_MODE_READ is not set */ -/* CONFIG_SFUD_QSPI_READ_MODE_DUAL_READ is not set */ -#define CONFIG_SFUD_QSPI_READ_MODE_QUAD_READ +/* CONFIG_SFUD_CTRL_FQSPI is not set */ /* end of SFUD Configuration */ #define CONFIG_USE_SPIFFS diff --git a/example/storage/spim_spiffs/src/spim_spiffs_example.c b/example/storage/spim_spiffs/src/spim_spiffs_example.c index 9a5b5066a3dd19f7fd074dc44d62af27e703fd00..94cf91aebb7ef0415df226144396ffe4d27682fe 100644 --- a/example/storage/spim_spiffs/src/spim_spiffs_example.c +++ b/example/storage/spim_spiffs/src/spim_spiffs_example.c @@ -64,7 +64,7 @@ enum #define FSPIFFS_DEBUG(format, ...) FT_DEBUG_PRINT_D(FSPIFFS_DEBUG_TAG, format, ##__VA_ARGS__) /* spiffs start address and size */ -#define FSPIFFS_START_ADDR (1 * SZ_1M) +#define FSPIFFS_START_ADDR (0 * SZ_1M) #define FSPIFFS_USE_SIZE SZ_1M #define FSPIFFS_RW_BUF_SIZE 64 @@ -519,13 +519,6 @@ BaseType_t FFreeRTOSSpimSpiffsCreate(u32 spim_id)/* 主要任务函数 */ (UBaseType_t )1, /* 任务的优先级 */ NULL); /* 任务控制 */ - xReturn = xTaskCreate((TaskFunction_t )FFreeRTOSSpimSpiffsReadTask, /* 任务入口函数 */ - (const char* )"FFreeRTOSSpimSpiffsReadTask",/* 任务名字 */ - (uint16_t )4096, /* 任务栈大小 */ - (void* )xString1,/* 任务入口函数参数 */ - (UBaseType_t )configMAX_PRIORITIES-1, /* 任务的优先级 */ - (TaskHandle_t* )&spim_read1_handle); /* 任务控制 */ - xReturn = xTaskCreate((TaskFunction_t )FFreeRTOSSpimSpiffsReadTask, /* 任务入口函数 */ (const char* )"FFreeRTOSSpimSpiffsReadTask",/* 任务名字 */ (uint16_t )4096, /* 任务栈大小 */ diff --git a/example/amp/openamp/README.md b/example/system/amp/openamp/README.md similarity index 35% rename from example/amp/openamp/README.md rename to example/system/amp/openamp/README.md index 0d5d851641cc567f8786428f66b2b75ed50ad9a1..26565e9eb978a15169fa873d65048498aeee67de 100644 --- a/example/amp/openamp/README.md +++ b/example/system/amp/openamp/README.md @@ -2,194 +2,184 @@ ## 1. 例程介绍 ->介绍例程的用途,使用场景,相关基本概念,描述用户可以使用例程完成哪些工作
+> ``介绍例程的用途,使用场景,相关基本概念,描述用户可以使用例程完成哪些工作 `
` - OpenAMP(Open Asymmetric Multi-processing) 是一个软件架构,为多核之间非对称运行提供软件支持 。 - - OpenAMP 提供了以下关键特性: 1. 提供生命周期管理 - 2. 兼容裸跑、RTOS等不同的软件环境 - 3. 兼容linux系统中的 remoteproc, rpmsg and VirtIO 模块 - 本例程基于开源openamp项目 -[OpenAMP](https://github.com/OpenAMP/open-amp.git) - -- 本例程主要提供了D2000/FT2004 裸机与裸机之间的测试例程 ,D2000裸机 与 linux kernel 的例程 + [OpenAMP](https://github.com/OpenAMP/open-amp.git) +- 本例程主要提供了D2000/FT2004/E2000Q/D/S RTOS与RTOS之间的测试例程 ,D2000/E2000Q/D/S 芯片平台 与 linux kernel 的例程 +- 本例程演示rpmsg用法的示例演示应用程序。此应用core0 中的程序为从机程序,core1 中的程序为主机程序,其目标是从核程序工作在echo 模式下,主核主动发送数据之后,从机程序会将收到的数据重新回复回来 ## 2. 如何使用例程 ->描述开发平台准备,使用例程配置,构建和下载镜像的过程
- +> ``描述开发平台准备,使用例程配置,构建和下载镜像的过程 `
` ### 2.1 硬件配置方法 ->哪些硬件平台是支持的,需要哪些外设,例程与开发板哪些IO口相关等(建议附录开发板照片,展示哪些IO口被引出)
+> ``哪些硬件平台是支持的,需要哪些外设,例程与开发板哪些IO口相关等(建议附录开发板照片,展示哪些IO口被引出)`
` -1. 准备一块ft2000/4 或者d2000 开发板 +1. 准备一块ft2000/4、d2000或者E2000/D/S开发板 2. 将串口连接好电脑,波特率设为 115200-8-1-N ### 2.2 SDK配置方法 ->依赖哪些驱动、库和第三方组件,如何完成配置(列出需要使能的关键配置项)
+> ``依赖哪些驱动、库和第三方组件,如何完成配置(列出需要使能的关键配置项)`
` + - 本例子已经提供好具体的编译指令,以下进行介绍: - 1. make core0 将./core0 目录下的工程进行编译 - 2. make core1 将./core1 目录下的工程进行编译 - 3. make clean_core0 将./core0 目录下的工程进行清理 - 4. make clean_core1 将./core1 目录下的工程进行清理 - 5. make boot_core0 将./core0 目录下的编译后的elf 复制到目标地址 - 6. make boot_core1 将./core1 目录下的编译后的elf 复制到目标地址 - 7. make config_amp_d2000_aarch64 将预设64bit d2000 下的配置分别加载至 ./core0 ./core1 - 8. make config_amp_d2000_aarch32 将预设32bit d2000 下的配置分别加载至 ./core0 ./core1 - 9. make config_amp_ft2004_aarch64 将预设64bit ft2004 下的配置分别加载至 ./core0 ./core1 - 10. make config_amp_ft2004_aarch32 将预设32bit ft2004 下的配置分别加载至 ./core0 ./core1 - 11. make menuconfig_core0 配置./core0 目录下的配置变量 - 12. make menuconfig_core1 配置./core1 目录下的配置变量 - 13. make all 编译./core0 ./core1 下的项目工程 - 14. make clean 清理./core0 ./core1 下的编译结果 - 15. make boot 将 ./core0 ./core1 下的目标elf 复制到目标路径下 + 1. make core0 将./core0 目录下的工程进行编译 + 2. make core1 将./core1 目录下的工程进行编译 + 3. make clean_core0 将./core0 目录下的工程进行清理 + 4. make clean_core1 将./core1 目录下的工程进行清理 + 5. make boot_core0 将./core0 目录下的编译后的elf 复制到目标地址 + 6. make boot_core1 将./core1 目录下的编译后的elf 复制到目标地址 + 7. make config_amp_d2000_aarch64 将预设64bit d2000 下的配置分别加载至 ./core0 ./core1 + 8. make config_amp_d2000_aarch32 将预设32bit d2000 下的配置分别加载至 ./core0 ./core1 + 9. make config_amp_ft2004_aarch64 将预设64bit ft2004 下的配置分别加载至 ./core0 ./core1 + 10. make config_amp_ft2004_aarch32 将预设32bit ft2004 下的配置分别加载至 ./core0 ./core1 + 11. make config_amp_e2000d_aarch64 将预设64bit e2000d 下的配置分别加载至 ./core0 ./core1 + 12. make config_amp_e2000d_aarch32 将预设32bit e2000d 下的配置分别加载至 ./core0 ./core1 + 13. make config_amp_e2000q_aarch64 将预设64bit e2000q 下的配置分别加载至 ./core0 ./core1 + 14. make config_amp_e2000q_aarch32 将预设32bit e2000q 下的配置分别加载至 ./core0 ./core1 + 15. make menuconfig_core0 配置./core0 目录下的配置变量 + 16. make menuconfig_core1 配置./core1 目录下的配置变量 + 17. make all 编译./core0 ./core1 下的项目工程 + 18. make clean 清理./core0 ./core1 下的编译结果 + 19. make boot 将 ./core0 ./core1 下的目标elf 复制到目标路径下 - 具体使用方法为: - - 在 /example/amp/openamp 下 - - 使用以上指令 + + - 在 /example/amp/openamp 下 + - 使用以上指令 ### 2.3 构建和下载 ->描述构建、烧录下载镜像的过程,列出相关的命令
+> ``描述构建、烧录下载镜像的过程,列出相关的命令 `
` #### OpenAMP 配置 + ![OpenAMP配置](./figs/OpenAmpConfig.png) #### core0 构建配置 -![core0配置2](./figs/Core0Openampconfig.png) -#### core1 构建配置 -![core1配置2](./figs/Core1Openampconfig.png) +![Core0构建](figs/Core0_BUILD_.png) +#### core1 构建配置 +![Core1构建](figs/Core1_BUILD_.png) - Remoteproc use ipi : 使用ipi 中断模式进行提醒 - Openamp resource address : OpenAMP 中共享资源表中地址 - Vring tx address : 共享发送缓冲区的起始地址,同时也是共享buffer 区域的起始地址 - Vring rx address : 共享接收缓冲区的起始地址 - table of base physical address of each of the pages in the I/O region : 用于核心间提醒机制的共享内存初始点 - - DEBUG_CODE : 增加裸跑shell 功能 -- Destination CPU communication mask : 主核心用于唤醒从核的掩码 +- TARGET_CPU_ID : 主核心用于唤醒从核的ID - Destination IPI mask : ipi 中断中,用于唤醒其他核心的掩码 -- Spin-lock shared memory : 互斥锁中关注的共享内存 - +- Spin-lock shared memory : 互斥锁中关注的共享内存 - Select mem default attribute : 提供内存属性选择 ### 2.4 输出与实验现象 ->描述输入输出情况,列出存在哪些输入,对应的输出是什么(建议附录相关现象图片)
+> ``描述输入输出情况,列出存在哪些输入,对应的输出是什么(建议附录相关现象图片)`
` -#### D2000/FT2004 aarch32 程序测试 (Free Rtos) - -1. 在编译环境下,切换至 phytium-free-rtos-sdk/example/amp/openamp 目录 -- 1.1 输入 'make config_amp_d2000_aarch32' 加载默认D2000配置信息,或者输入 'make config_amp_ft2004_aarch32' 加载默认ft2004配置信息 -- 1.2 输入 'make all' 编译core0 / core1 代码,并且生成对应的elf 文件 -- 1.3 先将 ./core0/makefile 与 ./core1/makefile 中 的 USR_BOOT_DIR 修改为您的tftp 所覆盖的目录 -- 1.4 输入 'make boot' 将生成的elf 拷贝至 tftp 的目录下 +#### D2000/FT2004/E2000 aarch32 裸跑程序测试 (rtos间) +1. 在编译环境下,切换至 example/amp/openamp 目录 + 1.1 输入 'make config_amp_d2000_aarch32' 加载默认D2000配置信息,或者输入 'make config_amp_ft2004_aarch32' 加载默认ft2004配置信息 + 1.2 输入 'make all' 编译core0 / core1 代码,并且生成对应的elf 文件 + 1.3 先将 ./core0/makefile 与 ./core1/makefile 中 的 USR_BOOT_DIR 修改为您的tftp 所覆盖的目录 + 1.4 输入 'make boot' 将生成的elf 拷贝至 tftp 的目录下 2. 使用串口连接D2000/FT2004 开发板 ,并且打开串口终端工具 - -2.1 复位开发板之后,将D2000/FT2004 开发板的网络与tftp 服务器在同一局域网中 - -2.2 在中断工具下输入以下命令 + 2.1 复位开发板之后,将D2000/FT2004 开发板的网络与tftp 服务器在同一局域网中 + 2.2 在中断工具下输入以下命令 ``` - setenv ipaddr 192.168.4.20 - setenv serverip 192.168.4.50 - setenv gatewayip 192.168.4.1 + setenv ipaddr 192.168.4.20 + setenv serverip 192.168.4.50 + setenv gatewayip 192.168.4.1 tftpboot f0000000 openamp_core0.elf tftpboot f1000000 openamp_core1.elf - bootelf -p f0000000 + bootelf -p f0000000 ``` + 2.3 会显示如下内容 ![](./figs/d2000_aarch32_openamp_startup.png) - -2.4 输入 'loadelf -p f1000000' 加载从核程 - -![](./figs/d2000_aarch32_loadelf_result.png) - +2.4 输入 'loadelf -p f1000000' 加载从核程序 2.5 输入 'rpmsg_echo_task' 运行openamp 测试程序 2.6 结果显示为 -![](./figs/d2000_aarch32_openamp_reault.png) - +![aarch32运行结果](figs/aarch32_runtime.png) -#### D2000/FT2004 aarch64 程序测试 (Free Rtos) - -1. 在编译环境下,切换至 phytium-standalone-sdk/baremetal/example/system/amp/openamp 目录 -- 1.1 输入 'make config_amp_d2000_aarch64' 加载默认配置信息,或输入 'make config_amp_ft2004_aarch64' 加载默认配置信息 -- 1.2 输入 'make all' 编译core0 / core1 代码,并且生成对应的elf 文件 -- 1.3 先将 ./core0/makefile 与 ./core1/makefile 中 的 USR_BOOT_DIR 修改为您的tftp 所覆盖的目录 -- 1.4 输入 'make boot' 将生成的elf 拷贝至 tftp 的目录下 +#### D2000/FT2004/E2000 aarch64 裸跑程序测试 (rtos间) +1. 在编译环境下,切换至 example/amp/openamp 目录 + 1.1 输入 'make config_amp_d2000_aarch64' 加载默认配置信息,或输入 'make config_amp_ft2004_aarch64' 加载默认配置信息 + 1.2 输入 'make all' 编译core0 / core1 代码,并且生成对应的elf 文件 + 1.3 先将 ./core0/makefile 与 ./core1/makefile 中 的 USR_BOOT_DIR 修改为您的tftp 所覆盖的目录 + 1.4 输入 'make boot' 将生成的elf 拷贝至 tftp 的目录下 2. 使用串口连接D2000/FT2004 开发板 ,并且打开串口终端工具 -2.1 复位开发板之后,将D2000/FT2004 开发板的网络与tftp 服务器在同一局域网中 -2.2 在中断工具下输入以下命令 + 2.1 复位开发板之后,将D2000/FT2004 开发板的网络与tftp 服务器在同一局域网中 + 2.2 在中断工具下输入以下命令 ``` - setenv ipaddr 192.168.4.20 - setenv serverip 192.168.4.50 - setenv gatewayip 192.168.4.1 + setenv ipaddr 192.168.4.20 + setenv serverip 192.168.4.50 + setenv gatewayip 192.168.4.1 tftpboot f0000000 openamp_core0.elf tftpboot f1000000 openamp_core1.elf - bootelf -p f0000000 + bootelf -p f0000000 ``` + 2.3 会显示如下内容 ![](./figs/d2000_aarch64_openamp_startup.png) - 2.4 输入 'loadelf -p f1000000' 加载从核程序 -![](./figs/d2000_aarch64_loadelf_result.png) - 2.5 输入 'rpmsg_echo_task' 运行openamp 测试程序 2.6 结果显示为 -![](./figs/d2000_aarch64_openamp_reault.png) - - +![aarch64_runtime](figs/aarch64_runtime.png) -#### D2000 aarch32 裸机程序测试 (与linux) +#### D2000/E2000 aarch32 裸机程序测试 (与linux) 1. 进入amp/openamp 目录 2. 进入core0 下 ,输入 make load_d2000_aarch32 ,加载预先配置信息 3. 输入make menuconfig ,在 Project Configuration → AMP Config 下 取消 DEBUG_CODE -![](./figs/freertos_openamp_d2000_config.png) + ![](./figs/freertos_openamp_d2000_config.png) 4. 在 Third-Party Configuration → Use Asymmetric Multi-processing → OpenAmp 下,选择 Skip local rvdev->shbuf_io ,并选择Use the Vring definition in the master -![](./figs/freertos_openamp_d2000_aarch32_ampconfig.png) -5. 进入core0 目录下输入 "make clean" "make" ,生成elf 文件之后,将其拷贝至linux 指定目录下 -![](./figs/d2000_linux_reasult.png) + ![](./figs/freertos_openamp_d2000_aarch32_ampconfig.png) +5. 在Building Option → Interrupt role select 选项中选择 use slave role + ![](./figs/interrupt_set.png) +6. 进入core0 目录下输入 "make clean" "make" ,生成elf 文件之后,将其拷贝至linux 指定目录下 + ![](./figs/d2000_linux_reasult.png) - -#### D2000 aarch64 裸机程序测试 (与linux) +#### D2000/E2000 aarch64 裸机程序测试 (与linux) 1. 进入amp/openamp 目录 2. 进入core0 下 ,输入 make load_d2000_aarch64 ,加载预先配置信息 3. 输入make menuconfig ,在 Project Configuration → AMP Config 下 取消 DEBUG_CODE -![](./figs/baremetal_openamp_d2000_config.png) 4. 在 Third-Party Configuration → Use Asymmetric Multi-processing → OpenAmp 下,选择 Skip local rvdev->shbuf_io ,并选择Use the Vring definition in the master -![](./figs/freertos_openamp_d2000_aarch32_ampconfig.png) -5. 进入core0 目录下输入 "make clean" "make" ,生成elf 文件之后,将其拷贝至linux 指定目录下 -![](./figs/d2000_linux_reasult.png) - - + ![img](./figs/freertos_openamp_d2000_aarch32_ampconfig.png) +5. 在Building Option → Interrupt role select 选项中选择 use slave role + ![](./figs/interrupt_set.png) +6. 进入core0 目录下输入 "make clean" "make" ,生成elf 文件之后,将其拷贝至linux 指定目录下 + ![](./figs/d2000_linux_reasult.png) ## 3. 如何解决问题 (Q&A) ->主要记录使用例程中可能会遇到的问题,给出相应的解决方案
+> 主要记录使用例程中可能会遇到的问题,给出相应的解决方案 ## 4. 修改历史记录 ->记录例程的重大修改记录,标明修改发生的版本号
+> 记录例程的重大修改记录,标明修改发生的版本号 - 2021-03-21 :v0.1.0 初始化项目 +- 2023-03-09 : v0.2.0 增加对e2000 的支持 diff --git a/example/amp/openamp/core0/Kconfig b/example/system/amp/openamp/core0/Kconfig similarity index 81% rename from example/amp/openamp/core0/Kconfig rename to example/system/amp/openamp/core0/Kconfig index 954e3d3c2bca8e0f352f2339fc3e523bc8a55d47..872c3214b97c87a73ee0d1767dd3eea769c4aff2 100644 --- a/example/amp/openamp/core0/Kconfig +++ b/example/system/amp/openamp/core0/Kconfig @@ -37,17 +37,21 @@ mainmenu "Phytium Freertos Configuration" default 0x80000000 config TARGET_CPU_ID - int "Destination CPU communication mask" + int "Destination CPU id" default 1 config IPI_CHN_BITMASK int "Destination IPI mask" default 1 + help + Each bit represents a CPU, for example, 0x3 represents CPU 0 and CPU 3 in the code. config DEBUG_CODE bool prompt "DEBUG_CODE" default 1 + help + Debug mode means using two bare metal code to simulate the operation of OpenAMP program endmenu diff --git a/example/amp/openamp/core0/configs/d2000_aarch32_eg_configs b/example/system/amp/openamp/core0/configs/d2000_aarch32_eg_configs similarity index 98% rename from example/amp/openamp/core0/configs/d2000_aarch32_eg_configs rename to example/system/amp/openamp/core0/configs/d2000_aarch32_eg_configs index 9d801308759622fb0cf12639ce6c986e49de5a87..17396a47a64efbdcdf5bc98215eb488f579ac1bf 100644 --- a/example/amp/openamp/core0/configs/d2000_aarch32_eg_configs +++ b/example/system/amp/openamp/core0/configs/d2000_aarch32_eg_configs @@ -37,6 +37,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -85,6 +86,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -103,6 +105,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/amp/openamp/core0/configs/d2000_aarch64_eg_configs b/example/system/amp/openamp/core0/configs/d2000_aarch64_eg_configs similarity index 98% rename from example/amp/openamp/core0/configs/d2000_aarch64_eg_configs rename to example/system/amp/openamp/core0/configs/d2000_aarch64_eg_configs index 773eab98147850110521a03cb49fd879b1e6b2c7..6ffb4a584d4a2699ee5698822cfffb9bda10411c 100644 --- a/example/amp/openamp/core0/configs/d2000_aarch64_eg_configs +++ b/example/system/amp/openamp/core0/configs/d2000_aarch64_eg_configs @@ -37,6 +37,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -85,6 +86,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -103,6 +105,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/system/amp/openamp/core0/configs/e2000d_aarch32_eg_configs b/example/system/amp/openamp/core0/configs/e2000d_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..4084f34ea8496a616d934a4587f09024d86793ad --- /dev/null +++ b/example/system/amp/openamp/core0/configs/e2000d_aarch32_eg_configs @@ -0,0 +1,303 @@ + +# +# Project Configuration +# + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="openamp_core0" +CONFIG_SHM_BASE_ADDR=0xc0000000 +# end of Freertos Configuration + +# +# AMP Config +# +CONFIG_IPI_IRQ_NUM=9 +CONFIG_IPI_IRQ_NUM_PRIORITY=16 +CONFIG_SPIN_MEM=0x80000000 +CONFIG_TARGET_CPU_ID=1 +CONFIG_IPI_CHN_BITMASK=2 +CONFIG_DEBUG_CODE=y +# end of AMP Config +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +CONFIG_LOG_VERBOS=y +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0xb0100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0xb0300000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +CONFIG_USE_AMP=y +CONFIG_USE_LIBMETAL=y + +# +# OpenAmp +# +CONFIG_USE_OPENAMP=y +CONFIG_USE_OPENAMP_IPI=y +CONFIG_OPENAMP_RESOURCES_ADDR=0xc0000000 +CONFIG_VRING_TX_ADDR=0xc0020000 +CONFIG_VRING_RX_ADDR=0xc0024000 +CONFIG_VRING_SIZE=0x100 +CONFIG_POLL_BASE_ADDR=0xc0224000 +# CONFIG_SKIP_SHBUF_IO_WRITE is not set +# CONFIG_USE_MASTER_VRING_DEFINE is not set + +# +# Baremetal config +# +CONFIG_MEM_NO_CACHE=y +# CONFIG_MEM_WRITE_THROUGH is not set +# CONFIG_MEM_NORMAL is not set +# end of Baremetal config +# end of OpenAmp + +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/amp/openamp/core0/configs/e2000d_aarch64_eg_configs b/example/system/amp/openamp/core0/configs/e2000d_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..9263e0a7beb14e6e5817d554ffd607e7e9317089 --- /dev/null +++ b/example/system/amp/openamp/core0/configs/e2000d_aarch64_eg_configs @@ -0,0 +1,299 @@ + +# +# Project Configuration +# + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="openamp_core0" +CONFIG_SHM_BASE_ADDR=0xc0000000 +# end of Freertos Configuration + +# +# AMP Config +# +CONFIG_IPI_IRQ_NUM=9 +CONFIG_IPI_IRQ_NUM_PRIORITY=16 +CONFIG_SPIN_MEM=0x80000000 +CONFIG_TARGET_CPU_ID=1 +CONFIG_IPI_CHN_BITMASK=255 +CONFIG_DEBUG_CODE=y +# end of AMP Config +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +CONFIG_LOG_VERBOS=y +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0xb0100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0xb0300000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +CONFIG_USE_AMP=y +CONFIG_USE_LIBMETAL=y + +# +# OpenAmp +# +CONFIG_USE_OPENAMP=y +CONFIG_USE_OPENAMP_IPI=y +CONFIG_OPENAMP_RESOURCES_ADDR=0xc0000000 +CONFIG_VRING_TX_ADDR=0xc0020000 +CONFIG_VRING_RX_ADDR=0xc0024000 +CONFIG_VRING_SIZE=0x100 +CONFIG_POLL_BASE_ADDR=0xc0224000 +# CONFIG_SKIP_SHBUF_IO_WRITE is not set +# CONFIG_USE_MASTER_VRING_DEFINE is not set + +# +# Baremetal config +# +CONFIG_MEM_NO_CACHE=y +# CONFIG_MEM_WRITE_THROUGH is not set +# CONFIG_MEM_NORMAL is not set +# end of Baremetal config +# end of OpenAmp + +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/amp/openamp/core0/configs/e2000q_aarch32_eg_configs b/example/system/amp/openamp/core0/configs/e2000q_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..6744ef564125c1d588f58434aaff1c6c3bb19850 --- /dev/null +++ b/example/system/amp/openamp/core0/configs/e2000q_aarch32_eg_configs @@ -0,0 +1,303 @@ + +# +# Project Configuration +# + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="openamp_core0" +CONFIG_SHM_BASE_ADDR=0xc0000000 +# end of Freertos Configuration + +# +# AMP Config +# +CONFIG_IPI_IRQ_NUM=9 +CONFIG_IPI_IRQ_NUM_PRIORITY=16 +CONFIG_SPIN_MEM=0x80000000 +CONFIG_TARGET_CPU_ID=3 +CONFIG_IPI_CHN_BITMASK=8 +CONFIG_DEBUG_CODE=y +# end of AMP Config +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +CONFIG_LOG_VERBOS=y +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +CONFIG_LOG_DISPALY_CORE_NUM=y +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0xb0100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0xb0300000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +CONFIG_USE_AMP=y +CONFIG_USE_LIBMETAL=y + +# +# OpenAmp +# +CONFIG_USE_OPENAMP=y +CONFIG_USE_OPENAMP_IPI=y +CONFIG_OPENAMP_RESOURCES_ADDR=0xc0000000 +CONFIG_VRING_TX_ADDR=0xc0020000 +CONFIG_VRING_RX_ADDR=0xc0024000 +CONFIG_VRING_SIZE=0x100 +CONFIG_POLL_BASE_ADDR=0xc0224000 +# CONFIG_SKIP_SHBUF_IO_WRITE is not set +# CONFIG_USE_MASTER_VRING_DEFINE is not set + +# +# Baremetal config +# +# CONFIG_MEM_NO_CACHE is not set +# CONFIG_MEM_WRITE_THROUGH is not set +CONFIG_MEM_NORMAL=y +# end of Baremetal config +# end of OpenAmp + +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/amp/openamp/core0/configs/e2000q_aarch64_eg_configs b/example/system/amp/openamp/core0/configs/e2000q_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..f1a80c9613ed2adc74ac0136cf4026782b695f08 --- /dev/null +++ b/example/system/amp/openamp/core0/configs/e2000q_aarch64_eg_configs @@ -0,0 +1,299 @@ + +# +# Project Configuration +# + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="openamp_core0" +CONFIG_SHM_BASE_ADDR=0xc0000000 +# end of Freertos Configuration + +# +# AMP Config +# +CONFIG_IPI_IRQ_NUM=9 +CONFIG_IPI_IRQ_NUM_PRIORITY=16 +CONFIG_SPIN_MEM=0x80000000 +CONFIG_TARGET_CPU_ID=3 +CONFIG_IPI_CHN_BITMASK=8 +CONFIG_DEBUG_CODE=y +# end of AMP Config +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +CONFIG_LOG_VERBOS=y +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +CONFIG_LOG_DISPALY_CORE_NUM=y +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0xb0100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0xb0300000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x10000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +CONFIG_USE_AMP=y +CONFIG_USE_LIBMETAL=y + +# +# OpenAmp +# +CONFIG_USE_OPENAMP=y +CONFIG_USE_OPENAMP_IPI=y +CONFIG_OPENAMP_RESOURCES_ADDR=0xc0000000 +CONFIG_VRING_TX_ADDR=0xc0020000 +CONFIG_VRING_RX_ADDR=0xc0024000 +CONFIG_VRING_SIZE=0x100 +CONFIG_POLL_BASE_ADDR=0xc0224000 +# CONFIG_SKIP_SHBUF_IO_WRITE is not set +# CONFIG_USE_MASTER_VRING_DEFINE is not set + +# +# Baremetal config +# +# CONFIG_MEM_NO_CACHE is not set +# CONFIG_MEM_WRITE_THROUGH is not set +CONFIG_MEM_NORMAL=y +# end of Baremetal config +# end of OpenAmp + +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/amp/openamp/core0/configs/ft2004_aarch32_eg_configs b/example/system/amp/openamp/core0/configs/ft2004_aarch32_eg_configs similarity index 98% rename from example/amp/openamp/core0/configs/ft2004_aarch32_eg_configs rename to example/system/amp/openamp/core0/configs/ft2004_aarch32_eg_configs index 5c260bfe59bf08b930dc2347735824ad4ae1cee5..b5a1472691c661c7388f7670ce79b0a5e33b089c 100644 --- a/example/amp/openamp/core0/configs/ft2004_aarch32_eg_configs +++ b/example/system/amp/openamp/core0/configs/ft2004_aarch32_eg_configs @@ -37,6 +37,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -85,6 +86,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -103,6 +105,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/amp/openamp/core0/configs/ft2004_aarch64_eg_configs b/example/system/amp/openamp/core0/configs/ft2004_aarch64_eg_configs similarity index 98% rename from example/amp/openamp/core0/configs/ft2004_aarch64_eg_configs rename to example/system/amp/openamp/core0/configs/ft2004_aarch64_eg_configs index 86647827880671272e8e70f695af095e6ed26d25..b01987284371e7454d30a781e6a13233ef442d8c 100644 --- a/example/amp/openamp/core0/configs/ft2004_aarch64_eg_configs +++ b/example/system/amp/openamp/core0/configs/ft2004_aarch64_eg_configs @@ -37,6 +37,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -85,6 +86,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -103,6 +105,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/amp/openamp/core0/main.c b/example/system/amp/openamp/core0/main.c similarity index 77% rename from example/amp/openamp/core0/main.c rename to example/system/amp/openamp/core0/main.c index 1428fc6b8ec40e25f3b25a329db0a3469f7abeff..f7da9336fa74a0e9447873dc2489cb78a0910be3 100644 --- a/example/amp/openamp/core0/main.c +++ b/example/system/amp/openamp/core0/main.c @@ -1,25 +1,26 @@ /* - * Copyright : (C) 2022 Phytium Information Technology, Inc. + * Copyright : (C) 2022 Phytium Information Technology, Inc. * All Rights Reserved. - * - * This program is OPEN SOURCE software: you can redistribute it and/or modify it - * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, - * either version 1.0 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Phytium Public License for more details. - * - * + * See the Phytium Public License for more details. + * + * * FilePath: main.c * Date: 2022-02-24 16:56:46 * LastEditTime: 2022-03-21 17:00:56 * Description:  This file is for AMP example that running rpmsg_echo_task and open scheduler - * - * Modify History: + * + * Modify History: * Ver   Who        Date         Changes * ----- ------     --------    -------------------------------------- - * 1.0 huanghe 2022/03/25 first commit + * 1.0 huanghe 2022/03/25 first commit + * 1.1 huanghe 2023/03/09 Adapt OpenAMP routines based on e2000D/Q */ @@ -47,16 +48,14 @@ int main(void) BaseType_t ret; ret = LSUserShellTask() ; - if (ret != pdPASS) - { + if(ret != pdPASS) goto FAIL_EXIT; - } - vTaskStartScheduler(); /* 启动任务,开启调度 */ + vTaskStartScheduler(); /* 启动任务,开启调度 */ while (1); /* 正常不会执行到这里 */ FAIL_EXIT: - printf("Failed 0x%x \r\n", ret); + printf("failed 0x%x \r\n", ret); return 0; } @@ -68,14 +67,14 @@ extern int rpmsg_echo_task(int argc, char *argv[]); int main(void) { BaseType_t ret; - f_printk("Freertos %s ,%s \r\n", __DATE__, __TIME__) ; + f_printk("freertos %s ,%s \r\n",__DATE__, __TIME__) ; rpmsg_echo_task(0, NULL); vTaskStartScheduler(); /* 启动任务,开启调度 */ while (1); /* 正常不会执行到这里 */ FAIL_EXIT: - printf("Failed 0x%x. \r\n", ret); + printf("failed 0x%x \r\n", ret); return 0; } diff --git a/example/amp/openamp/core0/makefile b/example/system/amp/openamp/core0/makefile similarity index 100% rename from example/amp/openamp/core0/makefile rename to example/system/amp/openamp/core0/makefile diff --git a/example/system/amp/openamp/core0/rpmsg-echo_os.c b/example/system/amp/openamp/core0/rpmsg-echo_os.c new file mode 100644 index 0000000000000000000000000000000000000000..11cf85b05f3a5beb0f5aae3d7bc7fa05e9da1c88 --- /dev/null +++ b/example/system/amp/openamp/core0/rpmsg-echo_os.c @@ -0,0 +1,213 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: rpmsg-echo_os.c + * Date: 2022-02-25 09:12:07 + * LastEditTime: 2022-02-25 09:12:19 + * Description:  This file is for a sample demonstration application that showcases usage of rpmsg. + * This application is meant to run on the remote CPU running baremetal code. + * This application echoes back data that was sent to it by the master core. + * + * Modify History: + * Ver   Who        Date         Changes + * ----- ------     --------    -------------------------------------- + * 1.0 huanghe 2022/03/25 first commit + */ + + +/***************************** Include Files *********************************/ + +#include +#include +#include +#include +#include +#include "platform_info.h" +#include "rpmsg-echo.h" +#include +#include "rsc_table.h" +#include "FreeRTOS.h" +#include "task.h" +#include "shell.h" +#include "finterrupt.h" +#include "fpsci.h" +#include "fdebug.h" + +/************************** Constant Definitions *****************************/ + +/**************************** Type Definitions *******************************/ + +/************************** Variable Definitions *****************************/ + +/***************** Macros (Inline Functions) Definitions *********************/ + +#define OPENAMP_SLAVE_DEBUG_TAG "OPENAMP_SLAVE" +#define OPENAMP_SLAVE_ERROR(format, ...) FT_DEBUG_PRINT_E(OPENAMP_SLAVE_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_SLAVE_WARN(format, ...) FT_DEBUG_PRINT_W(OPENAMP_SLAVE_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_SLAVE_INFO(format, ...) FT_DEBUG_PRINT_I(OPENAMP_SLAVE_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_SLAVE_DEBUG(format, ...) FT_DEBUG_PRINT_D(OPENAMP_SLAVE_DEBUG_TAG, format, ##__VA_ARGS__) + +#ifdef CONFIG_DEBUG_CODE +#define OPENAMP_MASTER_ADDRESS 0xe0100000 +#endif + +#define SHUTDOWN_MSG 0xEF56A55A + +#define LPRINTF(format, ...) printf(format, ##__VA_ARGS__) +#define LPERROR(format, ...) LPRINTF("ERROR: " format, ##__VA_ARGS__) + +static struct rpmsg_endpoint lept; +static int shutdown_req = 0; + +/************************** Function Prototypes ******************************/ + +/*-----------------------------------------------------------------------------* + * RPMSG endpoint callbacks + *-----------------------------------------------------------------------------*/ +static int rpmsg_endpoint_cb(struct rpmsg_endpoint *ept, void *data, size_t len, uint32_t src, void *priv) +{ + (void)priv; + (void)src; + /* On reception of a shutdown we signal the application to terminate */ + if ((*(unsigned int *)data) == SHUTDOWN_MSG) { + LPRINTF("shutdown message is received.\r\n"); + shutdown_req = 1; + return RPMSG_SUCCESS; + } + + /* Send data back to master */ + if (rpmsg_send(ept, data, len) < 0) + LPERROR("rpmsg_send failed\r\n"); + + return RPMSG_SUCCESS; +} + +static void rpmsg_service_unbind(struct rpmsg_endpoint *ept) +{ + (void)ept; + LPRINTF("unexpected Remote endpoint destroy\r\n"); + shutdown_req = 1; +} + +/*-----------------------------------------------------------------------------* + * Application + *-----------------------------------------------------------------------------*/ +int app(struct rpmsg_device *rdev, void *priv) +{ + int ret; + + /* Initialize RPMSG framework */ + OPENAMP_SLAVE_INFO("step7 : user to init endpoint "); + ret = rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, 0, RPMSG_ADDR_ANY, rpmsg_endpoint_cb, rpmsg_service_unbind); + if (ret) { + LPERROR("Failed to create endpoint. %d \r\n", ret); + return -1; + } + + OPENAMP_SLAVE_INFO("step8 : user to wait vq code "); + while (1) + { + platform_poll(priv); + /* we got a shutdown request, exit */ + if (shutdown_req) + { + OPENAMP_SLAVE_INFO("step9 : start to exit "); + break; + } + } + + rpmsg_destroy_ept(&lept); + + return 0; +} + + + +/*-----------------------------------------------------------------------------* + * Application entry point + *-----------------------------------------------------------------------------*/ +int rpmsg_echo(int argc, char *argv[]) +{ + void *platform; + struct rpmsg_device *rpdev; + int ret; + + LPRINTF("openamp lib version: %s (", openamp_version()); + LPRINTF("Major: %d, ", openamp_version_major()); + LPRINTF("Minor: %d, ", openamp_version_minor()); + LPRINTF("Patch: %d)\r\n", openamp_version_patch()); + + LPRINTF("libmetal lib version: %s (", metal_ver()); + LPRINTF("Major: %d, ", metal_ver_major()); + LPRINTF("Minor: %d, ", metal_ver_minor()); + LPRINTF("Patch: %d)\r\n", metal_ver_patch()); + + /* Initialize platform */ + OPENAMP_SLAVE_INFO("start application"); + ret = platform_init(argc, argv, &platform); + if (ret) { + LPERROR("Failed to initialize platform.\r\n"); + ret = -1; + } else { + #ifdef CONFIG_DEBUG_CODE + LPERROR("CONFIG_TARGET_CPU_ID is %x \r\n",CONFIG_TARGET_CPU_ID); + PsciCpuOn(1< #include #include @@ -35,19 +41,27 @@ #include "rpmsg-echo.h" #include "FreeRTOS.h" #include "task.h" +#include "fdebug.h" + /***************** Macros (Inline Functions) Definitions *********************/ #define LPRINTF(format, ...) printf(format, ##__VA_ARGS__) #define LPERROR(format, ...) LPRINTF("ERROR: " format, ##__VA_ARGS__) +#define OPENAMP_MASTER_DEBUG_TAG "OPENAMP_MASTER" +#define OPENAMP_MASTER_ERROR(format, ...) FT_DEBUG_PRINT_E(OPENAMP_MASTER_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_MASTER_WARN(format, ...) FT_DEBUG_PRINT_W(OPENAMP_MASTER_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_MASTER_INFO(format, ...) FT_DEBUG_PRINT_I(OPENAMP_MASTER_DEBUG_TAG, format, ##__VA_ARGS__) +#define OPENAMP_MASTER_DEBUG(format, ...) FT_DEBUG_PRINT_D(OPENAMP_MASTER_DEBUG_TAG, format, ##__VA_ARGS__) + + /**************************** Type Definitions *******************************/ -struct _payload -{ - unsigned long num; - unsigned long size; - unsigned char data[]; +struct _payload { + unsigned long num; + unsigned long size; + unsigned char data[]; }; static int err_cnt; @@ -71,61 +85,53 @@ static int ept_deleted = 0; * RPMSG endpoint callbacks *-----------------------------------------------------------------------------*/ static int rpmsg_endpoint_cb(struct rpmsg_endpoint *ept, void *data, size_t len, - uint32_t src, void *priv) + uint32_t src, void *priv) { - int i; - struct _payload *r_payload = (struct _payload *)data; - - (void)ept; - (void)src; - (void)priv; -#ifdef CONFIG_MEM_NORMAL - FCacheDCacheInvalidateRange((intptr)data, len); -#endif - - if (r_payload->size == 0) - { - LPERROR(" Invalid size of package is received.\r\n"); - err_cnt++; - return RPMSG_SUCCESS; - } - /* Validate data buffer integrity. */ - for (i = 0; i < (int)r_payload->size; i++) - { - if (r_payload->data[i] != flg_cnt) - { - LPRINTF("Data corruption at index %d.\r\n", i); - LPRINTF("Want data is %d.\r\n", flg_cnt); - LPRINTF("Get data is %d.\r\n", r_payload->data[i]); - err_cnt++; - break; - } - } - rnum = r_payload->num + 1; - return RPMSG_SUCCESS; + int i; + struct _payload *r_payload = (struct _payload *)data; + + (void)ept; + (void)src; + (void)priv; + + if (r_payload->size == 0) { + LPERROR(" Invalid size of package is received.\r\n"); + err_cnt++; + return RPMSG_SUCCESS; + } + /* Validate data buffer integrity. */ + for (i = 0; i < (int)r_payload->size; i++) { + if (r_payload->data[i] != flg_cnt) { + LPRINTF("Data corruption at index %d\r\n", i); + LPRINTF("Want data is %d\r\n", flg_cnt); + LPRINTF("Get data is %d\r\n", r_payload->data[i]); + err_cnt++; + break; + } + } + rnum = r_payload->num + 1; + return RPMSG_SUCCESS; } static void rpmsg_service_unbind(struct rpmsg_endpoint *ept) { - (void)ept; - rpmsg_destroy_ept(&lept); - LPRINTF("Echo test: service is destroyed.\r\n"); - ept_deleted = 1; + (void)ept; + rpmsg_destroy_ept(&lept); + LPRINTF("echo test: service is destroyed\r\n"); + ept_deleted = 1; } static void rpmsg_name_service_bind_cb(struct rpmsg_device *rdev, - const char *name, uint32_t dest) + const char *name, uint32_t dest) { - LPRINTF("New endpoint notification is received.\r\n"); - if (strcmp(name, RPMSG_SERVICE_NAME)) - { - LPERROR("Unexpected name service %s.\r\n", name); - } - else - (void)rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, - RPMSG_ADDR_ANY, dest, - rpmsg_endpoint_cb, - rpmsg_service_unbind); + LPRINTF("new endpoint notification is received.\r\n"); + if (strcmp(name, RPMSG_SERVICE_NAME)) + LPERROR("Unexpected name service %s.\r\n", name); + else + (void)rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, + RPMSG_ADDR_ANY, dest, + rpmsg_endpoint_cb, + rpmsg_service_unbind); } @@ -134,138 +140,130 @@ static void rpmsg_name_service_bind_cb(struct rpmsg_device *rdev, *-----------------------------------------------------------------------------*/ int app(struct rpmsg_device *rdev, void *priv) { - int ret; - int i; - int size, max_size, num_payloads; - int expect_rnum = 0; - - LPRINTF(" 1 - Send data to remote core, retrieve the echo"); - LPRINTF(" and validate its integrity ..\r\n"); - - max_size = rpmsg_virtio_get_buffer_size(rdev); - if (max_size < 0) - { - LPERROR("No avaiable buffer size.\r\n"); - return -1; - } - max_size -= sizeof(struct _payload); - num_payloads = max_size - PAYLOAD_MIN_SIZE + 1; - i_payload = - (struct _payload *)metal_allocate_memory(2 * sizeof(unsigned long) + - max_size); - - if (!i_payload) - { - LPERROR("Memory allocation failed.\r\n"); - return -1; - } - - /* Create RPMsg endpoint */ - ret = rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, - RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, - rpmsg_endpoint_cb, rpmsg_service_unbind); - - if (ret) - { - LPERROR("Failed to create RPMsg endpoint.\r\n"); - metal_free_memory(i_payload); - return ret; - } - while (!is_rpmsg_ept_ready(&lept)) - { - platform_poll(priv); - } - - LPRINTF("RPMSG endpoint is binded with remote.\r\n"); - for (i = 0, size = PAYLOAD_MIN_SIZE; i < num_payloads; i++, size++) - { - i_payload->num = i; - i_payload->size = size; - flg_cnt++; - /* Mark the data buffer. */ - memset(&(i_payload->data[0]), flg_cnt, size); - - ret = rpmsg_send(&lept, i_payload, - (2 * sizeof(unsigned long)) + size); - - if (ret < 0) - { - LPERROR("Failed to send data...\r\n"); - break; - } - - expect_rnum++; - do - { - platform_poll(priv); - } - while ((rnum < expect_rnum) && !err_cnt && !ept_deleted); - - } - - LPRINTF("**********************************\r\n"); - LPRINTF(" Test Results: Error count = %d. \r\n", err_cnt); - LPRINTF("**********************************\r\n"); - /* Destroy the RPMsg endpoint */ - rpmsg_destroy_ept(&lept); - LPRINTF("Quitting application .. Echo test end.\r\n"); - - metal_free_memory(i_payload); - return 0; + int ret; + int i; + int size, max_size, num_payloads; + int expect_rnum = 0; + + + + max_size = rpmsg_virtio_get_buffer_size(rdev); + if (max_size < 0) { + LPERROR("No avaiable buffer size.\r\n"); + return -1; + } + max_size -= sizeof(struct _payload); + num_payloads = max_size - PAYLOAD_MIN_SIZE + 1; + i_payload = + (struct _payload *)metal_allocate_memory(2 * sizeof(unsigned long) + + max_size); + + if (!i_payload) { + LPERROR("memory allocation failed.\r\n"); + return -1; + } + + OPENAMP_MASTER_INFO("step7 : user to init endpoint "); + /* Create RPMsg endpoint */ + ret = rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME, + RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, + rpmsg_endpoint_cb, rpmsg_service_unbind); + + if (ret) { + LPERROR("Failed to create RPMsg endpoint.\r\n"); + metal_free_memory(i_payload); + return ret; + } + OPENAMP_MASTER_INFO("step8 : user to wait vq code "); + while (!is_rpmsg_ept_ready(&lept)) + platform_poll(priv); + + for (i = 0, size = PAYLOAD_MIN_SIZE; i < num_payloads; i++, size++) + { + i_payload->num = i; + i_payload->size = size; + flg_cnt++; + /* Mark the data buffer. */ + memset(&(i_payload->data[0]), flg_cnt, size); + + ret = rpmsg_send(&lept, i_payload, + (2 * sizeof(unsigned long)) + size); + + if (ret < 0) { + LPERROR("Failed to send data...\r\n"); + break; + } + + expect_rnum++; + do { + platform_poll(priv); + } while ((rnum < expect_rnum) && !err_cnt && !ept_deleted); + + } + + LPRINTF("**********************************\r\n"); + LPRINTF(" Test Results: Error count = %d \r\n", err_cnt); + LPRINTF("**********************************\r\n"); + OPENAMP_MASTER_INFO("step9 : start to exit "); + /* Destroy the RPMsg endpoint */ + rpmsg_destroy_ept(&lept); + + metal_free_memory(i_payload); + return 0; } static void rpmsg_ping(void *args) { - void *platform; - struct rpmsg_device *rpdev; - int ret = 0; - /* Initialize platform */ - ret = platform_init(0, NULL, &platform); - if (ret) - { - LPERROR("Failed to initialize platform.\r\n"); - } - else - { - rpdev = platform_create_rpmsg_vdev(platform, 0, - VIRTIO_DEV_MASTER, - NULL, - rpmsg_name_service_bind_cb); - if (!rpdev) - { - LPERROR("Failed to create platform_create_rpmsg_vdev.\r\n"); - } - else - { - app(rpdev, platform); - platform_release_rpmsg_vdev(rpdev, platform); - } - } - - LPRINTF("Stopping application...\r\n"); - platform_cleanup(platform); - // PsciCpuOff(); - vTaskDelete(NULL); + void *platform; + struct rpmsg_device *rpdev; + int ret = 0; + /* Initialize platform */ + OPENAMP_MASTER_INFO("start application"); + ret = platform_init(0, NULL, &platform); + if (ret) { + LPERROR("Failed to initialize platform.\r\n"); + } + else + { + OPENAMP_MASTER_INFO("step3: start to init virtio device "); + rpdev = platform_create_rpmsg_vdev(platform, 0, + VIRTIO_DEV_MASTER, + NULL, + rpmsg_name_service_bind_cb); + if (!rpdev) { + LPERROR("Failed to create platform_create_rpmsg_vdev\r\n"); + } + else + { + app(rpdev, platform); + platform_release_rpmsg_vdev(rpdev, platform); + } + } + + OPENAMP_MASTER_INFO("Stopping application...\r\n"); + platform_cleanup(platform); + + vTaskDelete(NULL); } -int rpmsg_echo_task(void) +int rpmsg_ping_task(void) { - BaseType_t ret; - - ret = xTaskCreate((TaskFunction_t)rpmsg_ping, /* 任务入口函数 */ - (const char *)"rpmsg_ping",/* 任务名字 */ - (uint16_t)4096, /* 任务栈大小 */ - (void *)NULL,/* 任务入口函数参数 */ - (UBaseType_t)1, /* 任务的优先级 */ - NULL); /* 任务控制块指针 */ - - if (ret != pdPASS) + BaseType_t ret; + + ret = xTaskCreate((TaskFunction_t )rpmsg_ping, /* 任务入口函数 */ + (const char* )"rpmsg_ping",/* 任务名字 */ + (uint16_t )4096, /* 任务栈大小 */ + (void* )NULL,/* 任务入口函数参数 */ + (UBaseType_t )1, /* 任务的优先级 */ + NULL); /* 任务控制块指针 */ + + if(ret != pdPASS) { - LPERROR("Failed to create a rpmsg_echo task. \r\n"); + LPERROR("Failed to create a rpmsg_echo task "); return -1; } diff --git a/example/amp/openamp/core1/sdkconfig b/example/system/amp/openamp/core1/sdkconfig similarity index 98% rename from example/amp/openamp/core1/sdkconfig rename to example/system/amp/openamp/core1/sdkconfig index e8ec985a86937d0c10b55770b979cc9cdf498ff0..d082bd3e6eb9c70af732d5de67fac5d5830672b5 100644 --- a/example/amp/openamp/core1/sdkconfig +++ b/example/system/amp/openamp/core1/sdkconfig @@ -16,7 +16,6 @@ CONFIG_SHM_BASE_ADDR=0xc0000000 CONFIG_IPI_IRQ_NUM=9 CONFIG_IPI_IRQ_NUM_PRIORITY=16 CONFIG_SPIN_MEM=0x80000000 -CONFIG_TARGET_CPU_ID=1 CONFIG_IPI_CHN_BITMASK=1 # end of Amp Config # end of Project Configuration @@ -84,6 +83,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -102,6 +102,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y # CONFIG_INTERRUPT_ROLE_MASTER is not set CONFIG_INTERRUPT_ROLE_SLAVE=y # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/amp/openamp/core1/sdkconfig.h b/example/system/amp/openamp/core1/sdkconfig.h similarity index 98% rename from example/amp/openamp/core1/sdkconfig.h rename to example/system/amp/openamp/core1/sdkconfig.h index 0d2a25e2a20376b6821ae770974c9299edfba433..262e4778a0813bed0934531f6cadde3320186629 100644 --- a/example/amp/openamp/core1/sdkconfig.h +++ b/example/system/amp/openamp/core1/sdkconfig.h @@ -14,7 +14,6 @@ #define CONFIG_IPI_IRQ_NUM 9 #define CONFIG_IPI_IRQ_NUM_PRIORITY 16 #define CONFIG_SPIN_MEM 0x80000000 -#define CONFIG_TARGET_CPU_ID 1 #define CONFIG_IPI_CHN_BITMASK 1 /* end of Amp Config */ /* end of Project Configuration */ @@ -76,6 +75,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -92,6 +92,7 @@ /* CONFIG_INTERRUPT_ROLE_MASTER is not set */ #define CONFIG_INTERRUPT_ROLE_SLAVE /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/example/amp/openamp/figs/Core0Openampconfig.png b/example/system/amp/openamp/figs/Core0Openampconfig.png similarity index 100% rename from example/amp/openamp/figs/Core0Openampconfig.png rename to example/system/amp/openamp/figs/Core0Openampconfig.png diff --git a/example/system/amp/openamp/figs/Core0_BUILD_.png b/example/system/amp/openamp/figs/Core0_BUILD_.png new file mode 100644 index 0000000000000000000000000000000000000000..48b25e97e53c87f5770aef42fbc587d642a934a5 Binary files /dev/null and b/example/system/amp/openamp/figs/Core0_BUILD_.png differ diff --git a/example/amp/openamp/figs/Core1Openampconfig.png b/example/system/amp/openamp/figs/Core1Openampconfig.png similarity index 100% rename from example/amp/openamp/figs/Core1Openampconfig.png rename to example/system/amp/openamp/figs/Core1Openampconfig.png diff --git a/example/system/amp/openamp/figs/Core1_BUILD_.png b/example/system/amp/openamp/figs/Core1_BUILD_.png new file mode 100644 index 0000000000000000000000000000000000000000..250515fdce436097a55397ffc25c29eb7f0107b7 Binary files /dev/null and b/example/system/amp/openamp/figs/Core1_BUILD_.png differ diff --git a/example/amp/openamp/figs/OpenAmpConfig.png b/example/system/amp/openamp/figs/OpenAmpConfig.png similarity index 100% rename from example/amp/openamp/figs/OpenAmpConfig.png rename to example/system/amp/openamp/figs/OpenAmpConfig.png diff --git a/example/system/amp/openamp/figs/aarch32_runtime.png b/example/system/amp/openamp/figs/aarch32_runtime.png new file mode 100644 index 0000000000000000000000000000000000000000..51f4be952ab4e7ea00f915d18934a14e2900c3f4 Binary files /dev/null and b/example/system/amp/openamp/figs/aarch32_runtime.png differ diff --git a/example/system/amp/openamp/figs/aarch64_runtime.png b/example/system/amp/openamp/figs/aarch64_runtime.png new file mode 100644 index 0000000000000000000000000000000000000000..36fa14e484747cf322f82ccb8d333ef9d63dc7e9 Binary files /dev/null and b/example/system/amp/openamp/figs/aarch64_runtime.png differ diff --git a/example/amp/openamp/figs/d2000_aarch32_openamp_reault.png b/example/system/amp/openamp/figs/d2000_aarch32_openamp_reault.png similarity index 100% rename from example/amp/openamp/figs/d2000_aarch32_openamp_reault.png rename to example/system/amp/openamp/figs/d2000_aarch32_openamp_reault.png diff --git a/example/amp/openamp/figs/d2000_aarch32_openamp_startup.png b/example/system/amp/openamp/figs/d2000_aarch32_openamp_startup.png similarity index 100% rename from example/amp/openamp/figs/d2000_aarch32_openamp_startup.png rename to example/system/amp/openamp/figs/d2000_aarch32_openamp_startup.png diff --git a/example/amp/openamp/figs/d2000_aarch64_openamp_reault.png b/example/system/amp/openamp/figs/d2000_aarch64_openamp_reault.png similarity index 100% rename from example/amp/openamp/figs/d2000_aarch64_openamp_reault.png rename to example/system/amp/openamp/figs/d2000_aarch64_openamp_reault.png diff --git a/example/amp/openamp/figs/d2000_aarch64_openamp_startup.png b/example/system/amp/openamp/figs/d2000_aarch64_openamp_startup.png similarity index 100% rename from example/amp/openamp/figs/d2000_aarch64_openamp_startup.png rename to example/system/amp/openamp/figs/d2000_aarch64_openamp_startup.png diff --git a/example/amp/openamp/figs/d2000_linux_reasult.png b/example/system/amp/openamp/figs/d2000_linux_reasult.png similarity index 100% rename from example/amp/openamp/figs/d2000_linux_reasult.png rename to example/system/amp/openamp/figs/d2000_linux_reasult.png diff --git a/example/amp/openamp/figs/freertos_openamp_d2000_aarch32_ampconfig.png b/example/system/amp/openamp/figs/freertos_openamp_d2000_aarch32_ampconfig.png similarity index 100% rename from example/amp/openamp/figs/freertos_openamp_d2000_aarch32_ampconfig.png rename to example/system/amp/openamp/figs/freertos_openamp_d2000_aarch32_ampconfig.png diff --git a/example/amp/openamp/figs/freertos_openamp_d2000_aarch32_config.png b/example/system/amp/openamp/figs/freertos_openamp_d2000_aarch32_config.png similarity index 100% rename from example/amp/openamp/figs/freertos_openamp_d2000_aarch32_config.png rename to example/system/amp/openamp/figs/freertos_openamp_d2000_aarch32_config.png diff --git a/example/system/amp/openamp/figs/interrupt_set.png b/example/system/amp/openamp/figs/interrupt_set.png new file mode 100644 index 0000000000000000000000000000000000000000..338d54ea14b71525e0a064d1bdd865923ea3ca0e Binary files /dev/null and b/example/system/amp/openamp/figs/interrupt_set.png differ diff --git a/example/amp/openamp/makefile b/example/system/amp/openamp/makefile similarity index 58% rename from example/amp/openamp/makefile rename to example/system/amp/openamp/makefile index c91470fc05676481e3c61adb5a7224dae1ef4b29..ce714252bb4b4ee392e9b13fd100aaf84a96f683 100644 --- a/example/amp/openamp/makefile +++ b/example/system/amp/openamp/makefile @@ -45,6 +45,30 @@ config_amp_ft2004_aarch32_core0: config_amp_ft2004_aarch32_core1: $(MAKE) -C ./core1 load_ft2004_aarch32 +config_amp_e2000d_aarch64_core0: + $(MAKE) -C ./core0 load_e2000d_aarch64 + +config_amp_e2000d_aarch64_core1: + $(MAKE) -C ./core1 load_e2000d_aarch64 + +config_amp_e2000d_aarch32_core0: + $(MAKE) -C ./core0 load_e2000d_aarch32 + +config_amp_e2000d_aarch32_core1: + $(MAKE) -C ./core1 load_e2000d_aarch32 + +config_amp_e2000q_aarch64_core0: + $(MAKE) -C ./core0 load_e2000q_aarch64 + +config_amp_e2000q_aarch64_core1: + $(MAKE) -C ./core1 load_e2000q_aarch64 + +config_amp_e2000q_aarch32_core0: + $(MAKE) -C ./core0 load_e2000q_aarch32 + +config_amp_e2000q_aarch32_core1: + $(MAKE) -C ./core1 load_e2000q_aarch32 + menuconfig_core0: $(MAKE) -C ./core0 menuconfig @@ -58,6 +82,13 @@ config_amp_d2000_aarch64: config_amp_d2000_aarch64_core0 config_amp_d2000_aarch6 config_amp_d2000_aarch32: config_amp_d2000_aarch32_core0 config_amp_d2000_aarch32_core1 config_amp_ft2004_aarch64: config_amp_ft2004_aarch64_core0 config_amp_ft2004_aarch64_core1 config_amp_ft2004_aarch32: config_amp_ft2004_aarch32_core0 config_amp_ft2004_aarch32_core1 +config_amp_e2000d_aarch64: config_amp_e2000d_aarch64_core0 config_amp_e2000d_aarch64_core1 +config_amp_e2000d_aarch32: config_amp_e2000d_aarch32_core0 config_amp_e2000d_aarch32_core1 +config_amp_e2000q_aarch64: config_amp_e2000q_aarch64_core0 config_amp_e2000q_aarch64_core1 +config_amp_e2000q_aarch32: config_amp_e2000q_aarch32_core0 config_amp_e2000q_aarch32_core1 +backconfig: + $(MAKE) -C ./core0 backup_kconfig + $(MAKE) -C ./core1 backup_kconfig diff --git a/example/system/exception_debug/Kconfig b/example/system/exception_debug/Kconfig new file mode 100644 index 0000000000000000000000000000000000000000..74242a872af75de1feec32e91d41de3bcdfe2c6e --- /dev/null +++ b/example/system/exception_debug/Kconfig @@ -0,0 +1,30 @@ +mainmenu "Phytium Baremetal Configuration" + +menu "Project Configuration" + + config TARGET_NAME + string "Build Target Name" + default "template" + help + Build Target name for the demo + + choice EXCEPTION_TEST_TYPE + prompt "exception type" + default EXCEPTION_INVALID_INSTRUCTION + help + Select Transfer Mode as Poll or Intrrupt + + config EXCEPTION_INVALID_INSTRUCTION + bool "Invalid instruction" + + config EXCEPTION_ACCESS_PERMISSION_ERROR + bool "Memory access permission error" + + config EXCEPTION_ACCESS_VIOLATION + bool "Memory access violation" + + endchoice #EXCEPTION_TEST_TYPE + +endmenu + +source "$(FREERTOS_SDK_ROOT)/Kconfig" \ No newline at end of file diff --git a/example/system/exception_debug/README.md b/example/system/exception_debug/README.md new file mode 100644 index 0000000000000000000000000000000000000000..33eb5d9f97a70e010ecd1e3ede42825c3627b412 --- /dev/null +++ b/example/system/exception_debug/README.md @@ -0,0 +1,147 @@ + + +# exception debug + +## 1. 例程介绍 + +本例程示范了freertos环境下测试Synchronous exception和Asynchronous exception + +menuconfig选项中有如下配置选择: + +EXCEPTION_INVALID_INSTRUCTION:Invalid instruction,未定义指令 + +EXCEPTION_ACCESS_PERMISSION_ERROR:Memory access permission error,写只读内存区域 + +EXCEPTION_ACCESS_VIOLATION:Memory access violation,越界访问地址空间 + +其中Synchronous exception包含Invalid instruction和Memory access permission error两种测试,Asynchronous exception包含Memory access violation一种测试 + +注意aarch32和aarch64下,其异常分类有所差异,具体查看手册 + +## 2. 如何使用例程 + +本例程需要用到 + +- Phytium开发板(FT2000-4/D2000/E2000D) +- [Phytium freeRTOS SDK](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk) +- [Phytium standalone SDK](https://gitee.com/phytium_embedded/phytium-standalone-sdk) + +### 2.1 硬件配置方法 + +本例程支持的硬件平台包括 + +- FT2000-4 +- D2000 +- E2000D + +对应的配置项是, + +- CONFIG_TARGET_F2000_4 +- CONFIG_TARGET_D2000 +- CONFIG_TARGET_E2000D + +### 2.2 SDK配置方法 + +本例程需要, + +- 使能Shell + +对应的配置项是, + +- CONFIG_USE_LETTER_SHELL + +本例子已经提供好具体的编译指令,以下进行介绍: + +- make 将目录下的工程进行编译 +- make clean 将目录下的工程进行清理 +- make boot 将目录下的工程进行编译,并将生成的elf 复制到目标地址 +- make load_d2000_aarch64 将预设64bit d2000 下的配置加载至工程中 +- make load_d2000_aarch32 将预设32bit d2000 下的配置加载至工程中 +- make load_ft2004_aarch64 将预设64bit ft2004 下的配置加载至工程中 +- make load_ft2004_aarch32 将预设32bit ft2004 下的配置加载至工程中 +- make load_e2000d_aarch64 将预设64bit e2000d 下的配置加载至工程中 +- make load_e2000d_aarch32 将预设32bit e2000d 下的配置加载至工程中 +- make load_e2000q_aarch64 将预设64bit e2000q 下的配置加载至工程中 +- make load_e2000q_aarch32 将预设32bit e2000q 下的配置加载至工程中 +- make menuconfig 配置目录下的参数变量 +- make backup_kconfig 将目录下的sdkconfig 备份到./configs下 + +具体使用方法为: + +- 在当前目录下 +- 执行以上指令 + +### 2.3 构建和下载 + +#### 2.3.1 构建过程 + +- 在host侧完成配置 + +> 配置成ft2004,对于其它平台,使用对于的默认配置,如D2000 `make load_d2000_aarch32` + +- 选择目标平台 + +``` +make load_ft2004_aarch32 +``` + +- 选择例程需要的配置 + +``` +make menuconfig +``` + +- 进行编译 + +``` +make +``` + +- 将编译出的镜像放置到tftp目录下 + +``` +make boot +``` + +#### 2.3.2 下载过程 + +- host侧设置重启host侧tftp服务器 + +``` +sudo service tftpd-hpa restart +``` + +- 开发板侧使用bootelf命令跳转 + +``` +setenv ipaddr 192.168.4.20 +setenv serverip 192.168.4.50 +setenv gatewayip 192.168.4.1 +tftpboot 0x90100000 freertos.elf +bootelf -p 0x90100000 +``` + +### 2.4 输出与实验现象 + +## 3. 如何解决问题 diff --git a/example/system/exception_debug/configs/d2000_aarch32_eg_configs b/example/system/exception_debug/configs/d2000_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..db43ff18c5d70451dfd40a6e332bccf9798ff3df --- /dev/null +++ b/example/system/exception_debug/configs/d2000_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="d2000_freertos_a32" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +CONFIG_TARGET_D2000=y +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/d2000_aarch64_eg_configs b/example/system/exception_debug/configs/d2000_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..0476ac572c1fa01d5dd08eb3d06a27cc25081b9d --- /dev/null +++ b/example/system/exception_debug/configs/d2000_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="d2000_freertos_a64" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +CONFIG_TARGET_D2000=y +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/e2000d_aarch32_eg_configs b/example/system/exception_debug/configs/e2000d_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..93bbaf5775f6dfca8cf3eaa54157a624c9942970 --- /dev/null +++ b/example/system/exception_debug/configs/e2000d_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a32" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +CONFIG_LOG_ERROR=y +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/e2000d_aarch64_eg_configs b/example/system/exception_debug/configs/e2000d_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..53b09ef86d5430750e865a6688662ff742f3a3d2 --- /dev/null +++ b/example/system/exception_debug/configs/e2000d_aarch64_eg_configs @@ -0,0 +1,261 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a64" +CONFIG_EXCEPTION_INVALID_INSTRUCTION=y +# CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR is not set +# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +CONFIG_LOG_ERROR=y +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/e2000q_aarch32_eg_configs b/example/system/exception_debug/configs/e2000q_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..504364d5e9ecd72a8452531d947bdb2e44ac675b --- /dev/null +++ b/example/system/exception_debug/configs/e2000q_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a32" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +CONFIG_LOG_ERROR=y +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/e2000q_aarch64_eg_configs b/example/system/exception_debug/configs/e2000q_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..dcf9e9eb5fc9f6e4613357a995e8c3c95b8659b5 --- /dev/null +++ b/example/system/exception_debug/configs/e2000q_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a64" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +CONFIG_LOG_ERROR=y +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/ft2004_aarch32_eg_configs b/example/system/exception_debug/configs/ft2004_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..57be672bba529983973c95665d7b62db2ae73854 --- /dev/null +++ b/example/system/exception_debug/configs/ft2004_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="ft2004_freertos_a32" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +CONFIG_TARGET_F2000_4=y +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/configs/ft2004_aarch64_eg_configs b/example/system/exception_debug/configs/ft2004_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..bcb9a56d97735ad3e7a6496f914985873173c9eb --- /dev/null +++ b/example/system/exception_debug/configs/ft2004_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="ft2004_freertos_a64" +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +CONFIG_TARGET_F2000_4=y +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +# CONFIG_OUTPUT_BINARY is not set +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/main.c b/example/system/exception_debug/main.c new file mode 100644 index 0000000000000000000000000000000000000000..d7c99892399d9e1b112b9a3e94bb868ab19f0ff9 --- /dev/null +++ b/example/system/exception_debug/main.c @@ -0,0 +1,120 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: main.c + * Date: 2022-02-24 13:42:19 + * LastEditTime: 2022-03-21 17:02:53 + * Description:  This file is for providing a template main.c file when creating new freertos examples. + * + * Modify History: + * Ver   Who         Date         Changes + * ----- ------      --------    -------------------------------------- + * 1.0 wangxiaodong 2022/11/1 init commit + */ +#include +#include +#include "FreeRTOS.h" +#include "task.h" +#include "ftypes.h" +#include "shell.h" +#include "shell_port.h" +#include "fmmu.h" +#include "fio.h" +#include "fkernel.h" +#include "sdkconfig.h" + +#ifdef __aarch64__ +#include "faarch64.h" +#else +#include "faarch32.h" +#endif + + +static int FExcOpsInvalidMemAccess(void) +{ + static char buf[64] = {0}; + + buf[0] = 'A'; + buf[32] = 'B'; + printf("Buf @%p buf[0] = %c, buf[32] = %c\r\n", + buf, buf[0], buf[32]); + +#ifdef __aarch64__ + FSetTlbAttributes((uintptr)buf, sizeof(buf), MT_NORMAL | MT_RO | MT_NS); +#else + FSetTlbAttributes((uintptr)buf, sizeof(buf), MT_NORMAL | MT_P_RO_U_RO | MT_NS); +#endif + + buf[0] = 'a'; /* cause sync error */ + + return 0; +} + +static int FExcOpsUndefInstr(void) +{ + printf("Exception debug FExcOpsUndefInstr func\n"); + +#ifdef __aarch64__ + AARCH64_READ_SYSREG(SCTLR_EL3); +#else + __MRC(15, 0, 3, 2, 1); +#endif + + return 0; +} + +static int FExcOpsDataAbort(void) +{ + printf("Exception debug FExcOpsDataAbort func\n"); + uintptr data_addr = 0x02000000; + FtOut32(data_addr, 12); /* invalid data access to trap Data abort */ + // FtIn32(data_addr); /* invalid data access to trap Data abort */ + + return 0; +} + + + +int main() +{ + printf("Exception debug func, FT Date: %s, Time: %s\n", __DATE__, __TIME__); + BaseType_t xReturn = pdPASS; + +#if defined(CONFIG_EXCEPTION_INVALID_INSTRUCTION) + /* Synchronous exception test */ + FExcOpsUndefInstr(); /* a64--Synchronous-Invalid instructions, a32--UNDEFINED instruction*/ + +#elif defined(CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR) + /* Synchronous exception test */ + FExcOpsInvalidMemAccess();/* a64--Synchronous-Memory access, a32--Data Abort */ + +#else + /* Asynchronous exception test */ + FExcOpsDataAbort(); /* a64--SError, a32--Data Abort */ + +#endif + + xReturn = LSUserShellTask(); + if (xReturn != pdPASS) + { + goto FAIL_EXIT; + } + + vTaskStartScheduler(); /* 启动任务,开启调度 */ + + while (1); /* 正常不会执行到这里 */ + +FAIL_EXIT: + printf("Failed,the xReturn value is 0x%x. \r\n", xReturn); + return 0; +} \ No newline at end of file diff --git a/example/system/exception_debug/makefile b/example/system/exception_debug/makefile new file mode 100644 index 0000000000000000000000000000000000000000..baf1a3fe8785c93b1907e67b6d8dc31f0712b4e7 --- /dev/null +++ b/example/system/exception_debug/makefile @@ -0,0 +1,30 @@ +# 指定工程项目根目录为当前(只能指定一个目录) +export PROJECT_DIR ?= $(shell pwd) +export KCONFIG_DIR ?= $(PROJECT_DIR) +# 用户添加的源文件夹和头文件夹(可以指定多个) +export USR_SRC_DIR ?= $(PROJECT_DIR) \ + $(PROJECT_DIR)/src +export USR_INC_DIR ?= $(PROJECT_DIR) \ + $(PROJECT_DIR)/inc + +# 用户定义的编译目标文件上传路径 +ifeq ($(OS),Windows_NT) +USR_BOOT_DIR ?= /d/tftboot +else +USR_BOOT_DIR ?= /mnt/d/tftboot +endif + +# 设置启动镜像名 +BOOT_IMG_NAME ?= freertos + +# 指定编译freertos项目使用的makefile +include $(FREERTOS_SDK_ROOT)/make/build_freertos.mk + +# 完成编译 +boot: + make -j + @cp ./$(CONFIG_TARGET_NAME).elf $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).elf +ifdef CONFIG_OUTPUT_BINARY + @cp ./$(CONFIG_TARGET_NAME).bin $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).bin +endif + @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l \ No newline at end of file diff --git a/example/system/exception_debug/sdkconfig b/example/system/exception_debug/sdkconfig new file mode 100644 index 0000000000000000000000000000000000000000..b5677782a744aad0df2441769790b59adfa7f3f7 --- /dev/null +++ b/example/system/exception_debug/sdkconfig @@ -0,0 +1,261 @@ + +# +# Project Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a64" +# CONFIG_EXCEPTION_INVALID_INSTRUCTION is not set +CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR=y +# CONFIG_EXCEPTION_ACCESS_VIOLATION is not set +# end of Project Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +# CONFIG_USE_SYS_TICK is not set +# CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +# CONFIG_LOG_INFO is not set +# CONFIG_LOG_WARN is not set +CONFIG_LOG_ERROR=y +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=2 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/exception_debug/sdkconfig.h b/example/system/exception_debug/sdkconfig.h new file mode 100644 index 0000000000000000000000000000000000000000..2bc5c7ff4b6b06fd032bdc2bd31e6a6f027523d6 --- /dev/null +++ b/example/system/exception_debug/sdkconfig.h @@ -0,0 +1,232 @@ +#ifndef SDK_CONFIG_H__ +#define SDK_CONFIG_H__ + +/* Project Configuration */ + +#define CONFIG_TARGET_NAME "e2000d_freertos_a64" +/* CONFIG_EXCEPTION_INVALID_INSTRUCTION is not set */ +#define CONFIG_EXCEPTION_ACCESS_PERMISSION_ERROR +/* CONFIG_EXCEPTION_ACCESS_VIOLATION is not set */ +/* end of Project Configuration */ + +/* Standalone Setting */ + +#define CONFIG_USE_FREERTOS + +/* Arch Configuration */ + +/* CONFIG_TARGET_ARMV8_AARCH32 is not set */ +#define CONFIG_TARGET_ARMV8_AARCH64 +#define CONFIG_USE_CACHE +#define CONFIG_USE_MMU +/* CONFIG_USE_SYS_TICK is not set */ +/* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ +/* end of Arch Configuration */ + +/* Board Configuration */ + +/* CONFIG_TARGET_F2000_4 is not set */ +/* CONFIG_TARGET_D2000 is not set */ +/* CONFIG_TARGET_E2000Q is not set */ +#define CONFIG_TARGET_E2000D +/* CONFIG_TARGET_E2000S is not set */ +#define CONFIG_TARGET_E2000 +#define CONFIG_DEFAULT_DEBUG_PRINT_UART1 +/* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ +/* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ +/* end of Board Configuration */ + +/* Components Configuration */ + +/* CONFIG_USE_SPI is not set */ +/* CONFIG_USE_QSPI is not set */ +#define CONFIG_USE_GIC +#define CONFIG_ENABLE_GICV3 +#define CONFIG_USE_SERIAL + +/* Usart Configuration */ + +#define CONFIG_ENABLE_Pl011_UART +/* end of Usart Configuration */ +/* CONFIG_USE_GPIO is not set */ +/* CONFIG_USE_ETH is not set */ +/* CONFIG_USE_CAN is not set */ +/* CONFIG_USE_I2C is not set */ +/* CONFIG_USE_TIMER is not set */ +/* CONFIG_USE_MIO is not set */ +/* CONFIG_USE_SDMMC is not set */ +/* CONFIG_USE_PCIE is not set */ +/* CONFIG_USE_WDT is not set */ +/* CONFIG_USE_DMA is not set */ +/* CONFIG_USE_NAND is not set */ +/* CONFIG_USE_RTC is not set */ +/* CONFIG_USE_SATA is not set */ +/* CONFIG_USE_USB is not set */ +/* CONFIG_USE_ADC is not set */ +/* CONFIG_USE_PWM is not set */ +/* CONFIG_USE_IPC is not set */ +/* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ +/* end of Components Configuration */ +#define CONFIG_USE_NEW_LIBC +/* end of Standalone Setting */ + +/* Building Option */ + +/* CONFIG_LOG_VERBOS is not set */ +/* CONFIG_LOG_DEBUG is not set */ +/* CONFIG_LOG_INFO is not set */ +/* CONFIG_LOG_WARN is not set */ +#define CONFIG_LOG_ERROR +/* CONFIG_LOG_NONE is not set */ +#define CONFIG_USE_DEFAULT_INTERRUPT_CONFIG +#define CONFIG_INTERRUPT_ROLE_MASTER +/* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ +/* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ +/* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ + +/* Linker Options */ + +/* CONFIG_AARCH32_RAM_LD is not set */ +#define CONFIG_AARCH64_RAM_LD +/* CONFIG_USER_DEFINED_LD is not set */ +#define CONFIG_LINK_SCRIPT_ROM +#define CONFIG_ROM_START_UP_ADDR 0x80100000 +#define CONFIG_ROM_SIZE_MB 2 +#define CONFIG_LINK_SCRIPT_RAM +#define CONFIG_RAM_START_UP_ADDR 0x81000000 +#define CONFIG_RAM_SIZE_MB 64 +#define CONFIG_HEAP_SIZE 1 +#define CONFIG_STACK_SIZE 0x100000 +#define CONFIG_FPU_STACK_SIZE 0x1000 +/* end of Linker Options */ + +/* Compiler Options */ + +/* Cross-Compiler Setting */ + +#define CONFIG_GCC_OPTIMIZE_LEVEL 0 +/* CONFIG_USE_EXT_COMPILER is not set */ +/* CONFIG_USE_KLIN_SYS is not set */ +/* end of Cross-Compiler Setting */ +#define CONFIG_OUTPUT_BINARY +/* end of Compiler Options */ +/* end of Building Option */ + +/* Component Configuration */ + +/* Freertos Uart Drivers */ + +#define CONFIG_FREERTOS_USE_UART +/* end of Freertos Uart Drivers */ + +/* Freertos Pwm Drivers */ + +/* CONFIG_FREERTOS_USE_PWM is not set */ +/* end of Freertos Pwm Drivers */ + +/* Freertos Qspi Drivers */ + +/* CONFIG_FREERTOS_USE_QSPI is not set */ +/* end of Freertos Qspi Drivers */ + +/* Freertos Wdt Drivers */ + +/* CONFIG_FREERTOS_USE_WDT is not set */ +/* end of Freertos Wdt Drivers */ + +/* Freertos Eth Drivers */ + +/* CONFIG_FREERTOS_USE_XMAC is not set */ +/* CONFIG_FREERTOS_USE_GMAC is not set */ +/* end of Freertos Eth Drivers */ + +/* Freertos Gpio Drivers */ + +/* CONFIG_FREERTOS_USE_GPIO is not set */ +/* end of Freertos Gpio Drivers */ + +/* Freertos Spim Drivers */ + +/* CONFIG_FREERTOS_USE_FSPIM is not set */ +/* end of Freertos Spim Drivers */ + +/* Freertos DMA Drivers */ + +/* CONFIG_FREERTOS_USE_FDDMA is not set */ +/* CONFIG_FREERTOS_USE_FGDMA is not set */ +/* end of Freertos DMA Drivers */ + +/* Freertos Adc Drivers */ + +/* CONFIG_FREERTOS_USE_ADC is not set */ +/* end of Freertos Adc Drivers */ + +/* Freertos Can Drivers */ + +/* CONFIG_FREERTOS_USE_CAN is not set */ +/* end of Freertos Can Drivers */ + +/* Freertos I2c Drivers */ + +/* CONFIG_FREERTOS_USE_I2C is not set */ +/* end of Freertos I2c Drivers */ + +/* Freertos Mio Drivers */ + +/* CONFIG_FREERTOS_USE_MIO is not set */ +/* end of Freertos Mio Drivers */ + +/* Freertos Timer Drivers */ + +/* CONFIG_FREERTOS_USE_TIMER is not set */ +/* end of Freertos Timer Drivers */ +/* end of Component Configuration */ + +/* Third-Party Configuration */ + +/* CONFIG_USE_LWIP is not set */ +#define CONFIG_USE_BACKTRACE +/* CONFIG_USE_FATFS_0_1_4 is not set */ +/* CONFIG_USE_SFUD is not set */ +/* CONFIG_USE_SPIFFS is not set */ +/* CONFIG_USE_AMP is not set */ +#define CONFIG_USE_LETTER_SHELL + +/* Letter Shell Configuration */ + +#define CONFIG_LS_PL011_UART +#define CONFIG_DEFAULT_LETTER_SHELL_USE_UART1 +/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ +/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ +/* end of Letter Shell Configuration */ +#define CONFIG_USE_TLSF +/* CONFIG_USE_SDMMC_CMD is not set */ +/* CONFIG_USE_CHERRY_USB is not set */ +/* end of Third-Party Configuration */ + +/* Kernel Configuration */ + +#define CONFIG_FREERTOS_OPTIMIZED_SCHEDULER +#define CONFIG_FREERTOS_HZ 1000 +#define CONFIG_FREERTOS_MAX_PRIORITIES 32 +#define CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES 13 +#define CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES 11 +#define CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS 1 +#define CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE 1024 +#define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 32 +#define CONFIG_FREERTOS_TIMER_TASK_PRIORITY 1 +#define CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH 2048 +#define CONFIG_FREERTOS_TIMER_QUEUE_LENGTH 10 +#define CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE 0 +#define CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS +#define CONFIG_FREERTOS_USE_TRACE_FACILITY +#define CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS +/* CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set */ +#define CONFIG_FREERTOS_TOTAL_HEAP_SIZE 10240 +#define CONFIG_FREERTOS_TASK_FPU_SUPPORT 1 +/* end of Kernel Configuration */ + +#endif diff --git a/example/system/nested_interrupt/Kconfig b/example/system/nested_interrupt/Kconfig new file mode 100644 index 0000000000000000000000000000000000000000..0277fb8553f2132f097012a78633194f6173c156 --- /dev/null +++ b/example/system/nested_interrupt/Kconfig @@ -0,0 +1,19 @@ +# +# For a description of the syntax of this configuration file, +# see tools/kconfiglib/kconfig-language.txt. +# + + +mainmenu "Phytium Freertos Configuration" + + menu "Freertos Configuration" + config TARGET_NAME + string "Build Target Name" + default "freertos" + help + Build Target name for the demo + +endmenu + +source "$(FREERTOS_SDK_ROOT)/Kconfig" + diff --git a/example/system/nested_interrupt/README.md b/example/system/nested_interrupt/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6e290ab8c4503d25d9562c12279ffaf9a9054d8b --- /dev/null +++ b/example/system/nested_interrupt/README.md @@ -0,0 +1,152 @@ + + +# interrupt feature base on freertos + +## 1. 例程介绍 + +本例程示范了freertos环境下中断嵌套的使用方法 + +## 2. 如何使用例程 + +本例程需要用到 + +- Phytium开发板(FT2000-4/D2000/E2000D/E2000Q) +- [Phytium freeRTOS SDK](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk) +- [Phytium standalone SDK](https://gitee.com/phytium_embedded/phytium-standalone-sdk) + +### 2.1 硬件配置方法 + +本例程支持的硬件平台包括 + +- FT2000-4 +- D2000 +- E2000D +- E2000Q + +对应的配置项是, + +- CONFIG_TARGET_F2000_4 +- CONFIG_TARGET_D2000 +- CONFIG_TARGET_E2000D +- CONFIG_TARGET_E2000Q + +### 2.2 SDK配置方法 + +本例程需要, + +- 使能Shell + +对应的配置项是, + +- CONFIG_USE_LETTER_SHELL + +本例子已经提供好具体的编译指令,以下进行介绍: + +- make 将目录下的工程进行编译 +- make clean 将目录下的工程进行清理 +- make boot 将目录下的工程进行编译,并将生成的elf 复制到目标地址 +- make load_d2000_aarch64 将预设64bit d2000 下的配置加载至工程中 +- make load_d2000_aarch32 将预设32bit d2000 下的配置加载至工程中 +- make load_ft2004_aarch64 将预设64bit ft2004 下的配置加载至工程中 +- make load_ft2004_aarch32 将预设32bit ft2004 下的配置加载至工程中 +- make load_e2000d_aarch64 将预设64bit e2000d 下的配置加载至工程中 +- make load_e2000d_aarch32 将预设32bit e2000d 下的配置加载至工程中 +- make load_e2000q_aarch64 将预设64bit e2000q 下的配置加载至工程中 +- make load_e2000q_aarch32 将预设32bit e2000q 下的配置加载至工程中 +- make menuconfig 配置目录下的参数变量 +- make backup_kconfig 将目录下的sdkconfig 备份到./configs下 + +具体使用方法为: + +- 在当前目录下 +- 执行以上指令 + +### 2.3 构建和下载 + +#### 2.3.1 构建过程 + +- 在host侧完成配置 + +> 配置成ft2004,对于其它平台,使用对于的默认配置,如D2000 `make load_d2000_aarch32` + +- 选择目标平台 + +``` +make load_ft2004_aarch32 +``` + +- 选择例程需要的配置 + +``` +make menuconfig +``` + +- 进行编译 + +``` +make +``` + +- 将编译出的镜像放置到tftp目录下 + +``` +make boot +``` + +#### 2.3.2 下载过程 + +- host侧设置重启host侧tftp服务器 + +``` +sudo service tftpd-hpa restart +``` + +- 开发板侧使用bootelf命令跳转 + +``` +setenv ipaddr 192.168.4.20 +setenv serverip 192.168.4.50 +setenv gatewayip 192.168.4.1 +tftpboot 0x90100000 freertos.elf +bootelf -p 0x90100000 +``` + +### 2.4 输出与实验现象 + +- 系统进入后,输入 ``nest``查看指令说明 + +- 输入 ``nest cre``,启动中断嵌套测试 +- 输入 ``nest del``,删除中断嵌套测试 + +![nested](./figs/nest_intr.png) + +- 测试任务能够能正常创建和删除,输入 ``ps``查看任务状态正常,即测试正常 + +## 3. 如何解决问题 + + + +## 4. 修改历史记录 + +2023-03-8 :v0.4.0 初始化项目 \ No newline at end of file diff --git a/example/system/nested_interrupt/configs/d2000_aarch32_eg_configs b/example/system/nested_interrupt/configs/d2000_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..a16785ad54af36153e37c6b401b31d847493f42d --- /dev/null +++ b/example/system/nested_interrupt/configs/d2000_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="d2000_freertos_a32" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +CONFIG_TARGET_D2000=y +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/d2000_aarch64_eg_configs b/example/system/nested_interrupt/configs/d2000_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..4731ef2f28f88014b15fe54b9662689cee32274f --- /dev/null +++ b/example/system/nested_interrupt/configs/d2000_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="d2000_freertos_a64" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +CONFIG_TARGET_D2000=y +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/e2000d_aarch32_eg_configs b/example/system/nested_interrupt/configs/e2000d_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..4c1569574661823c508bdb209e99667aca7d13e7 --- /dev/null +++ b/example/system/nested_interrupt/configs/e2000d_aarch32_eg_configs @@ -0,0 +1,260 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a32" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/e2000d_aarch64_eg_configs b/example/system/nested_interrupt/configs/e2000d_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..a4715cf0c4cf0610dc98790055909e853688b010 --- /dev/null +++ b/example/system/nested_interrupt/configs/e2000d_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a64" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=12 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/e2000q_aarch32_eg_configs b/example/system/nested_interrupt/configs/e2000q_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..a786509e156f1440be7e9837485af11a833f9e5d --- /dev/null +++ b/example/system/nested_interrupt/configs/e2000q_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="e2000q_freertos_a32" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/e2000q_aarch64_eg_configs b/example/system/nested_interrupt/configs/e2000q_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..9183d77b6ebf704e132f641e17c7fdfd254ec12d --- /dev/null +++ b/example/system/nested_interrupt/configs/e2000q_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="e2000q_freertos_a64" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +CONFIG_TARGET_E2000Q=y +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/ft2004_aarch32_eg_configs b/example/system/nested_interrupt/configs/ft2004_aarch32_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..f0510b59527c3bb025d72f8ccca16b539ea7c56c --- /dev/null +++ b/example/system/nested_interrupt/configs/ft2004_aarch32_eg_configs @@ -0,0 +1,259 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="ft2004_freertos_a32" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +CONFIG_TARGET_ARMV8_AARCH32=y +# CONFIG_TARGET_ARMV8_AARCH64 is not set +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# end of Arch Configuration + +# +# Board Configuration +# +CONFIG_TARGET_F2000_4=y +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +CONFIG_AARCH32_RAM_LD=y +# CONFIG_AARCH64_RAM_LD is not set +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_SVC_STACK_SIZE=0x1000 +CONFIG_SYS_STACK_SIZE=0x1000 +CONFIG_IRQ_STACK_SIZE=0x1000 +CONFIG_ABORT_STACK_SIZE=0x1000 +CONFIG_FIQ_STACK_SIZE=0x1000 +CONFIG_UNDEF_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/configs/ft2004_aarch64_eg_configs b/example/system/nested_interrupt/configs/ft2004_aarch64_eg_configs new file mode 100644 index 0000000000000000000000000000000000000000..d99e8ace055af1b9260a237f1ce8ba6374d9f8e3 --- /dev/null +++ b/example/system/nested_interrupt/configs/ft2004_aarch64_eg_configs @@ -0,0 +1,255 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="ft2004_freertos_a64" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_L3CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +CONFIG_TARGET_F2000_4=y +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +# CONFIG_TARGET_E2000D is not set +# CONFIG_TARGET_E2000S 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 +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +CONFIG_USE_TLSF=y +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=11 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/figs/nest_intr.png b/example/system/nested_interrupt/figs/nest_intr.png new file mode 100644 index 0000000000000000000000000000000000000000..9070c31bd1dced6c323fd590e4026ff700595e17 Binary files /dev/null and b/example/system/nested_interrupt/figs/nest_intr.png differ diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/portAsm_debug.c b/example/system/nested_interrupt/inc/nested_interrupt.h similarity index 47% rename from third-party/freertos/portable/GCC/ft_platform/aarch64/portAsm_debug.c rename to example/system/nested_interrupt/inc/nested_interrupt.h index ee0f4d89a340af1189baa52a7389ed2d91250e2f..5cff44acce93fa6f097a54edd64bc6f0262cc414 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/portAsm_debug.c +++ b/example/system/nested_interrupt/inc/nested_interrupt.h @@ -1,5 +1,5 @@ /* - * Copyright : (C) 2022 Phytium Information Technology, Inc. + * Copyright : (C) 2022 Phytium Information Technology, Inc. * All Rights Reserved. * * This program is OPEN SOURCE software: you can redistribute it and/or modify it @@ -11,24 +11,32 @@ * See the Phytium Public License for more details. * * - * FilePath: portAsm_debug.c - * Date: 2022-02-24 13:42:19 - * LastEditTime: 2022-03-21 17:03:36 - * Description:  This file is for the port asm debug functions + * FilePath: nested_interrupt.h + * Date: 2022-06-17 10:42:40 + * LastEditTime: 2022-06-17 10:42:40 + * Description: This file is for task function define * - * Modify History: - * Ver   Who         Date         Changes - * ----- ------      --------    -------------------------------------- - * 1.0 wangxiaodong 2021/12/14 first release - * 1.1 wangxiaodong 2022/8/9 adapt E2000D + * Modify History: + * Ver Who Date Changes + * ----- ------ -------- -------------------------------------- + * 1.0 wangxiaodong 2023/02/25 first commit */ +#ifndef NESTED_INTERRUPT_H +#define NESTED_INTERRUPT_H -#include - -void test_value(void *x0, void *x1, void *x2, void *x3) +#ifdef __cplusplus +extern "C" { - printf("x2 %p \r\n", x2) ; - while (1) ; -} \ No newline at end of file +#endif + +/* interrupt task */ +void CreateNestedTasks(void); +void DeleteNestedTasks(void); + +#ifdef __cplusplus +} +#endif + +#endif // ! \ No newline at end of file diff --git a/example/system/nested_interrupt/main.c b/example/system/nested_interrupt/main.c new file mode 100644 index 0000000000000000000000000000000000000000..7b0ddfc5cd1b2a0ddb64a34ffb255e4e6513c90c --- /dev/null +++ b/example/system/nested_interrupt/main.c @@ -0,0 +1,45 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: main.c + * Date: 2023-02-22 08:17:59 + * LastEditTime: 2023-3-1 08:17:59 + * Description: This file is for nested interrupt test main entry. + * + * Modify History: + * Ver   Who        Date         Changes + * ----- ------ -------- -------------------------------------- + * 1.0 wangxiaodong 2023/2/23 first release + */ + +#include "shell.h" +#include "shell_port.h" +#include + +int main(void) +{ + BaseType_t ret; + + ret = LSUserShellTask() ; + if (ret != pdPASS) + { + goto FAIL_EXIT; + } + + vTaskStartScheduler(); /* 启动任务,开启调度 */ + while (1); /* 正常不会执行到这里 */ + +FAIL_EXIT: + printf("Failed 0x%x. \r\n", ret); + return 0; +} diff --git a/example/system/nested_interrupt/makefile b/example/system/nested_interrupt/makefile new file mode 100644 index 0000000000000000000000000000000000000000..172f011280f69617dba3aa1795e338bad0e93361 --- /dev/null +++ b/example/system/nested_interrupt/makefile @@ -0,0 +1,33 @@ +export PROJECT_DIR ?= $(shell pwd) + +export USR_SRC_DIR = $(PROJECT_DIR) \ + ./src +export USR_INC_DIR = $(PROJECT_DIR) \ + ./inc + +# 用户定义的编译目标文件上传路径 +ifeq ($(OS),Windows_NT) + USR_BOOT_DIR ?= $(subst \,/, $(PHYTIUM_DEV_PATH))/tftp +else + USR_BOOT_DIR ?= /mnt/d/tftboot +endif + + +# 设置启动镜像名 +BOOT_IMG_NAME ?= freertos + +# 指定编译freertos项目使用的makefile +include $(FREERTOS_SDK_ROOT)/make/build_freertos.mk + +# 完成编译 +boot: + make -j + @cp ./$(CONFIG_TARGET_NAME).elf $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).elf +ifdef CONFIG_OUTPUT_BINARY + @cp ./$(CONFIG_TARGET_NAME).bin $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).bin +endif + @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l + + + + diff --git a/example/system/nested_interrupt/sdkconfig b/example/system/nested_interrupt/sdkconfig new file mode 100644 index 0000000000000000000000000000000000000000..a4715cf0c4cf0610dc98790055909e853688b010 --- /dev/null +++ b/example/system/nested_interrupt/sdkconfig @@ -0,0 +1,255 @@ + +# +# Freertos Configuration +# +CONFIG_TARGET_NAME="e2000d_freertos_a64" +# end of Freertos Configuration + +# +# Standalone Setting +# +CONFIG_USE_FREERTOS=y + +# +# Arch Configuration +# +# CONFIG_TARGET_ARMV8_AARCH32 is not set +CONFIG_TARGET_ARMV8_AARCH64=y +CONFIG_USE_CACHE=y +CONFIG_USE_MMU=y +CONFIG_USE_SYS_TICK=y +# CONFIG_MMU_DEBUG_PRINTS is not set +# end of Arch Configuration + +# +# Board Configuration +# +# CONFIG_TARGET_F2000_4 is not set +# CONFIG_TARGET_D2000 is not set +# CONFIG_TARGET_E2000Q is not set +CONFIG_TARGET_E2000D=y +# CONFIG_TARGET_E2000S is not set +CONFIG_TARGET_E2000=y +CONFIG_DEFAULT_DEBUG_PRINT_UART1=y +# CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set +# CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set +# end of Board Configuration + +# +# Components Configuration +# +# CONFIG_USE_SPI is not set +# CONFIG_USE_QSPI is not set +CONFIG_USE_GIC=y +CONFIG_ENABLE_GICV3=y +CONFIG_USE_SERIAL=y + +# +# Usart Configuration +# +CONFIG_ENABLE_Pl011_UART=y +# end of Usart Configuration + +# CONFIG_USE_GPIO is not set +# CONFIG_USE_ETH is not set +# CONFIG_USE_CAN is not set +# CONFIG_USE_I2C is not set +# CONFIG_USE_TIMER is not set +# CONFIG_USE_MIO is not set +# CONFIG_USE_SDMMC is not set +# CONFIG_USE_PCIE is not set +# CONFIG_USE_WDT is not set +# CONFIG_USE_DMA is not set +# CONFIG_USE_NAND is not set +# CONFIG_USE_RTC is not set +# CONFIG_USE_SATA is not set +# CONFIG_USE_USB is not set +# CONFIG_USE_ADC is not set +# CONFIG_USE_PWM is not set +# CONFIG_USE_IPC is not set +# CONFIG_USE_MEDIA is not set +# end of Components Configuration + +CONFIG_USE_NEW_LIBC=y +# end of Standalone Setting + +# +# Building Option +# +# CONFIG_LOG_VERBOS is not set +# CONFIG_LOG_DEBUG is not set +CONFIG_LOG_INFO=y +# CONFIG_LOG_WARN is not set +# CONFIG_LOG_ERROR is not set +# CONFIG_LOG_NONE is not set +CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y +CONFIG_INTERRUPT_ROLE_MASTER=y +# CONFIG_INTERRUPT_ROLE_SLAVE is not set +# CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_BOOTUP_DEBUG_PRINTS is not set + +# +# Linker Options +# +# CONFIG_AARCH32_RAM_LD is not set +CONFIG_AARCH64_RAM_LD=y +# CONFIG_USER_DEFINED_LD is not set +CONFIG_LINK_SCRIPT_ROM=y +CONFIG_ROM_START_UP_ADDR=0x80100000 +CONFIG_ROM_SIZE_MB=1 +CONFIG_LINK_SCRIPT_RAM=y +CONFIG_RAM_START_UP_ADDR=0x81000000 +CONFIG_RAM_SIZE_MB=64 +CONFIG_HEAP_SIZE=1 +CONFIG_STACK_SIZE=0x100000 +CONFIG_FPU_STACK_SIZE=0x1000 +# end of Linker Options + +# +# Compiler Options +# + +# +# Cross-Compiler Setting +# +CONFIG_GCC_OPTIMIZE_LEVEL=0 +# CONFIG_USE_EXT_COMPILER is not set +# CONFIG_USE_KLIN_SYS is not set +# end of Cross-Compiler Setting + +CONFIG_OUTPUT_BINARY=y +# end of Compiler Options +# end of Building Option + +# +# Component Configuration +# + +# +# Freertos Uart Drivers +# +CONFIG_FREERTOS_USE_UART=y +# end of Freertos Uart Drivers + +# +# Freertos Pwm Drivers +# +# CONFIG_FREERTOS_USE_PWM is not set +# end of Freertos Pwm Drivers + +# +# Freertos Qspi Drivers +# +# CONFIG_FREERTOS_USE_QSPI is not set +# end of Freertos Qspi Drivers + +# +# Freertos Wdt Drivers +# +# CONFIG_FREERTOS_USE_WDT is not set +# end of Freertos Wdt Drivers + +# +# Freertos Eth Drivers +# +# CONFIG_FREERTOS_USE_XMAC is not set +# CONFIG_FREERTOS_USE_GMAC is not set +# end of Freertos Eth Drivers + +# +# Freertos Gpio Drivers +# +# CONFIG_FREERTOS_USE_GPIO is not set +# end of Freertos Gpio Drivers + +# +# Freertos Spim Drivers +# +# CONFIG_FREERTOS_USE_FSPIM is not set +# end of Freertos Spim Drivers + +# +# Freertos DMA Drivers +# +# CONFIG_FREERTOS_USE_FDDMA is not set +# CONFIG_FREERTOS_USE_FGDMA is not set +# end of Freertos DMA Drivers + +# +# Freertos Adc Drivers +# +# CONFIG_FREERTOS_USE_ADC is not set +# end of Freertos Adc Drivers + +# +# Freertos Can Drivers +# +# CONFIG_FREERTOS_USE_CAN is not set +# end of Freertos Can Drivers + +# +# Freertos I2c Drivers +# +# CONFIG_FREERTOS_USE_I2C is not set +# end of Freertos I2c Drivers + +# +# Freertos Mio Drivers +# +# CONFIG_FREERTOS_USE_MIO is not set +# end of Freertos Mio Drivers + +# +# Freertos Timer Drivers +# +# CONFIG_FREERTOS_USE_TIMER is not set +# end of Freertos Timer Drivers +# end of Component Configuration + +# +# Third-Party Configuration +# +# CONFIG_USE_LWIP is not set +CONFIG_USE_BACKTRACE=y +# CONFIG_USE_FATFS_0_1_4 is not set +# CONFIG_USE_SFUD is not set +# CONFIG_USE_SPIFFS is not set +# CONFIG_USE_AMP is not set +CONFIG_USE_LETTER_SHELL=y + +# +# Letter Shell Configuration +# +CONFIG_LS_PL011_UART=y +CONFIG_DEFAULT_LETTER_SHELL_USE_UART1=y +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set +# CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set +# end of Letter Shell Configuration + +# CONFIG_USE_TLSF is not set +# CONFIG_USE_SDMMC_CMD is not set +# CONFIG_USE_CHERRY_USB is not set +# end of Third-Party Configuration + +# +# Kernel Configuration +# +CONFIG_FREERTOS_OPTIMIZED_SCHEDULER=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_MAX_PRIORITIES=32 +CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES=13 +CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES=12 +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE=1024 +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=32 +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y +CONFIG_FREERTOS_USE_TRACE_FACILITY=y +CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y +# CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set +CONFIG_FREERTOS_TOTAL_HEAP_SIZE=10240 +CONFIG_FREERTOS_TASK_FPU_SUPPORT=1 +# end of Kernel Configuration diff --git a/example/system/nested_interrupt/sdkconfig.h b/example/system/nested_interrupt/sdkconfig.h new file mode 100644 index 0000000000000000000000000000000000000000..188475802d918fd71515a5e3f952d5ef63f4288e --- /dev/null +++ b/example/system/nested_interrupt/sdkconfig.h @@ -0,0 +1,226 @@ +#ifndef SDK_CONFIG_H__ +#define SDK_CONFIG_H__ + +/* Freertos Configuration */ + +#define CONFIG_TARGET_NAME "e2000d_freertos_a64" +/* end of Freertos Configuration */ + +/* Standalone Setting */ + +#define CONFIG_USE_FREERTOS + +/* Arch Configuration */ + +/* CONFIG_TARGET_ARMV8_AARCH32 is not set */ +#define CONFIG_TARGET_ARMV8_AARCH64 +#define CONFIG_USE_CACHE +#define CONFIG_USE_MMU +#define CONFIG_USE_SYS_TICK +/* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* end of Arch Configuration */ + +/* Board Configuration */ + +/* CONFIG_TARGET_F2000_4 is not set */ +/* CONFIG_TARGET_D2000 is not set */ +/* CONFIG_TARGET_E2000Q is not set */ +#define CONFIG_TARGET_E2000D +/* CONFIG_TARGET_E2000S is not set */ +#define CONFIG_TARGET_E2000 +#define CONFIG_DEFAULT_DEBUG_PRINT_UART1 +/* CONFIG_DEFAULT_DEBUG_PRINT_UART0 is not set */ +/* CONFIG_DEFAULT_DEBUG_PRINT_UART2 is not set */ +/* end of Board Configuration */ + +/* Components Configuration */ + +/* CONFIG_USE_SPI is not set */ +/* CONFIG_USE_QSPI is not set */ +#define CONFIG_USE_GIC +#define CONFIG_ENABLE_GICV3 +#define CONFIG_USE_SERIAL + +/* Usart Configuration */ + +#define CONFIG_ENABLE_Pl011_UART +/* end of Usart Configuration */ +/* CONFIG_USE_GPIO is not set */ +/* CONFIG_USE_ETH is not set */ +/* CONFIG_USE_CAN is not set */ +/* CONFIG_USE_I2C is not set */ +/* CONFIG_USE_TIMER is not set */ +/* CONFIG_USE_MIO is not set */ +/* CONFIG_USE_SDMMC is not set */ +/* CONFIG_USE_PCIE is not set */ +/* CONFIG_USE_WDT is not set */ +/* CONFIG_USE_DMA is not set */ +/* CONFIG_USE_NAND is not set */ +/* CONFIG_USE_RTC is not set */ +/* CONFIG_USE_SATA is not set */ +/* CONFIG_USE_USB is not set */ +/* CONFIG_USE_ADC is not set */ +/* CONFIG_USE_PWM is not set */ +/* CONFIG_USE_IPC is not set */ +/* CONFIG_USE_MEDIA is not set */ +/* end of Components Configuration */ +#define CONFIG_USE_NEW_LIBC +/* end of Standalone Setting */ + +/* Building Option */ + +/* CONFIG_LOG_VERBOS is not set */ +/* CONFIG_LOG_DEBUG is not set */ +#define CONFIG_LOG_INFO +/* CONFIG_LOG_WARN is not set */ +/* CONFIG_LOG_ERROR is not set */ +/* CONFIG_LOG_NONE is not set */ +#define CONFIG_USE_DEFAULT_INTERRUPT_CONFIG +#define CONFIG_INTERRUPT_ROLE_MASTER +/* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ +/* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ + +/* Linker Options */ + +/* CONFIG_AARCH32_RAM_LD is not set */ +#define CONFIG_AARCH64_RAM_LD +/* CONFIG_USER_DEFINED_LD is not set */ +#define CONFIG_LINK_SCRIPT_ROM +#define CONFIG_ROM_START_UP_ADDR 0x80100000 +#define CONFIG_ROM_SIZE_MB 1 +#define CONFIG_LINK_SCRIPT_RAM +#define CONFIG_RAM_START_UP_ADDR 0x81000000 +#define CONFIG_RAM_SIZE_MB 64 +#define CONFIG_HEAP_SIZE 1 +#define CONFIG_STACK_SIZE 0x100000 +#define CONFIG_FPU_STACK_SIZE 0x1000 +/* end of Linker Options */ + +/* Compiler Options */ + +/* Cross-Compiler Setting */ + +#define CONFIG_GCC_OPTIMIZE_LEVEL 0 +/* CONFIG_USE_EXT_COMPILER is not set */ +/* CONFIG_USE_KLIN_SYS is not set */ +/* end of Cross-Compiler Setting */ +#define CONFIG_OUTPUT_BINARY +/* end of Compiler Options */ +/* end of Building Option */ + +/* Component Configuration */ + +/* Freertos Uart Drivers */ + +#define CONFIG_FREERTOS_USE_UART +/* end of Freertos Uart Drivers */ + +/* Freertos Pwm Drivers */ + +/* CONFIG_FREERTOS_USE_PWM is not set */ +/* end of Freertos Pwm Drivers */ + +/* Freertos Qspi Drivers */ + +/* CONFIG_FREERTOS_USE_QSPI is not set */ +/* end of Freertos Qspi Drivers */ + +/* Freertos Wdt Drivers */ + +/* CONFIG_FREERTOS_USE_WDT is not set */ +/* end of Freertos Wdt Drivers */ + +/* Freertos Eth Drivers */ + +/* CONFIG_FREERTOS_USE_XMAC is not set */ +/* CONFIG_FREERTOS_USE_GMAC is not set */ +/* end of Freertos Eth Drivers */ + +/* Freertos Gpio Drivers */ + +/* CONFIG_FREERTOS_USE_GPIO is not set */ +/* end of Freertos Gpio Drivers */ + +/* Freertos Spim Drivers */ + +/* CONFIG_FREERTOS_USE_FSPIM is not set */ +/* end of Freertos Spim Drivers */ + +/* Freertos DMA Drivers */ + +/* CONFIG_FREERTOS_USE_FDDMA is not set */ +/* CONFIG_FREERTOS_USE_FGDMA is not set */ +/* end of Freertos DMA Drivers */ + +/* Freertos Adc Drivers */ + +/* CONFIG_FREERTOS_USE_ADC is not set */ +/* end of Freertos Adc Drivers */ + +/* Freertos Can Drivers */ + +/* CONFIG_FREERTOS_USE_CAN is not set */ +/* end of Freertos Can Drivers */ + +/* Freertos I2c Drivers */ + +/* CONFIG_FREERTOS_USE_I2C is not set */ +/* end of Freertos I2c Drivers */ + +/* Freertos Mio Drivers */ + +/* CONFIG_FREERTOS_USE_MIO is not set */ +/* end of Freertos Mio Drivers */ + +/* Freertos Timer Drivers */ + +/* CONFIG_FREERTOS_USE_TIMER is not set */ +/* end of Freertos Timer Drivers */ +/* end of Component Configuration */ + +/* Third-Party Configuration */ + +/* CONFIG_USE_LWIP is not set */ +#define CONFIG_USE_BACKTRACE +/* CONFIG_USE_FATFS_0_1_4 is not set */ +/* CONFIG_USE_SFUD is not set */ +/* CONFIG_USE_SPIFFS is not set */ +/* CONFIG_USE_AMP is not set */ +#define CONFIG_USE_LETTER_SHELL + +/* Letter Shell Configuration */ + +#define CONFIG_LS_PL011_UART +#define CONFIG_DEFAULT_LETTER_SHELL_USE_UART1 +/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART0 is not set */ +/* CONFIG_DEFAULT_LETTER_SHELL_USE_UART2 is not set */ +/* end of Letter Shell Configuration */ +/* CONFIG_USE_TLSF is not set */ +/* CONFIG_USE_SDMMC_CMD is not set */ +/* CONFIG_USE_CHERRY_USB is not set */ +/* end of Third-Party Configuration */ + +/* Kernel Configuration */ + +#define CONFIG_FREERTOS_OPTIMIZED_SCHEDULER +#define CONFIG_FREERTOS_HZ 1000 +#define CONFIG_FREERTOS_MAX_PRIORITIES 32 +#define CONFIG_FREERTOS_KERNEL_INTERRUPT_PRIORITIES 13 +#define CONFIG_FREERTOS_MAX_API_CALL_INTERRUPT_PRIORITIES 12 +#define CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS 1 +#define CONFIG_FREERTOS_MINIMAL_TASK_STACKSIZE 1024 +#define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 32 +#define CONFIG_FREERTOS_TIMER_TASK_PRIORITY 1 +#define CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH 2048 +#define CONFIG_FREERTOS_TIMER_QUEUE_LENGTH 10 +#define CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE 0 +#define CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS +#define CONFIG_FREERTOS_USE_TRACE_FACILITY +#define CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS +/* CONFIG_FREERTOS_USE_TICKLESS_IDLE is not set */ +#define CONFIG_FREERTOS_TOTAL_HEAP_SIZE 10240 +#define CONFIG_FREERTOS_TASK_FPU_SUPPORT 1 +/* end of Kernel Configuration */ + +#endif diff --git a/example/system/nested_interrupt/src/nested_cmd.c b/example/system/nested_interrupt/src/nested_cmd.c new file mode 100644 index 0000000000000000000000000000000000000000..eb4d343b4509a0bdd31cfc11d1f1f38142058442 --- /dev/null +++ b/example/system/nested_interrupt/src/nested_cmd.c @@ -0,0 +1,89 @@ +/* + * Copyright : (C) 2022 Phytium Information Technology, Inc. + * All Rights Reserved. + * + * This program is OPEN SOURCE software: you can redistribute it and/or modify it + * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd, + * either version 1.0 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Phytium Public License for more details. + * + * + * FilePath: nested_cmd.c + * Date: 2022-06-17 10:41:45 + * LastEditTime: 2022-06-17 10:41:45 + * Description: This file is for nested interrupt command interface + * + * Modify History: + * Ver Who Date Changes + * ----- ------ -------- -------------------------------------- + * 1.0 wangxiaodong 2023/02/25 first commit + */ +#include "shell.h" +#include +#include +#include "nested_interrupt.h" + +typedef enum +{ + NEST_TASK_INDEX = 0, + + INTR_TASK_LENGTH +} FreeRtosNestIntrSelect; + +static void CreateNestIntrCmdUsage(void) +{ + printf("Usage:\r\n"); + printf(" nest cre \r\n"); + printf(" -- Create nest tasks now.\r\n"); + printf(" nest del \r\n"); + printf(" -- Del nest tasks now.\r\n"); +} + +int CreateNestIntrCmd(int argc, char *argv[]) +{ + static int create_flg[INTR_TASK_LENGTH] = {0}; /* 1 is tasks has been created*/ + + if (argc < 2) + { + CreateNestIntrCmdUsage(); + return -1; + } + + if (!strcmp(argv[1], "cre")) + { + if (create_flg[NEST_TASK_INDEX] == 0) + { + CreateNestedTasks(); + create_flg[NEST_TASK_INDEX] = 1; + } + else + { + printf("Please use nest del cmd first. \r\n"); + } + } + else if (!strcmp(argv[1], "del")) + { + if (create_flg[NEST_TASK_INDEX] == 1) + { + DeleteNestedTasks(); + create_flg[NEST_TASK_INDEX] = 0; + } + else + { + printf("Please use nest cre cmd first. \r\n"); + } + } + else + { + printf("Error: Invalid arguments. \r\n"); + CreateNestIntrCmdUsage(); + } + return 0; +} + +SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), nest, CreateNestIntrCmd, nest interrupt task test); + + diff --git a/example/freertos_feature/interrupt/src/nested_interrupt.c b/example/system/nested_interrupt/src/nested_interrupt.c similarity index 99% rename from example/freertos_feature/interrupt/src/nested_interrupt.c rename to example/system/nested_interrupt/src/nested_interrupt.c index 6f5aaeae150ea7a4846b2588246bb4361ded733c..2dfc01909cc18549adb42d41b6b33017b5fa91ec 100644 --- a/example/freertos_feature/interrupt/src/nested_interrupt.c +++ b/example/system/nested_interrupt/src/nested_interrupt.c @@ -11,7 +11,7 @@ * See the Phytium Public License for more details. * * - * FilePath: main.c + * FilePath: nested_interrupt.c * Date: 2023-02-23 14:53:42 * LastEditTime: 2023-03-01 17:57:36 * Description:  This file is for nested interrupt test function. diff --git a/example/template/configs/d2000_aarch32_eg_configs b/example/template/configs/d2000_aarch32_eg_configs index db43ff18c5d70451dfd40a6e332bccf9798ff3df..c4b10012b8f21e091e438f9a2e876a34138287b4 100644 --- a/example/template/configs/d2000_aarch32_eg_configs +++ b/example/template/configs/d2000_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/d2000_aarch64_eg_configs b/example/template/configs/d2000_aarch64_eg_configs index 0476ac572c1fa01d5dd08eb3d06a27cc25081b9d..a418e0c7bcef63c362c332e9b71c68397a6e6a9c 100644 --- a/example/template/configs/d2000_aarch64_eg_configs +++ b/example/template/configs/d2000_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/e2000d_aarch32_eg_configs b/example/template/configs/e2000d_aarch32_eg_configs index 93bbaf5775f6dfca8cf3eaa54157a624c9942970..aaca9cb8c32b0134bc622769384095a3f2780355 100644 --- a/example/template/configs/e2000d_aarch32_eg_configs +++ b/example/template/configs/e2000d_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/e2000d_aarch64_eg_configs b/example/template/configs/e2000d_aarch64_eg_configs index 2038c875d3d1cb49432ebcbc848f6b6071e1e8bb..b25e766f02e945c7c3deceeb39ae82e38989efc6 100644 --- a/example/template/configs/e2000d_aarch64_eg_configs +++ b/example/template/configs/e2000d_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/e2000q_aarch32_eg_configs b/example/template/configs/e2000q_aarch32_eg_configs index 504364d5e9ecd72a8452531d947bdb2e44ac675b..66ad916b9a781fc6c55700b54992a70e096052f1 100644 --- a/example/template/configs/e2000q_aarch32_eg_configs +++ b/example/template/configs/e2000q_aarch32_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/e2000q_aarch64_eg_configs b/example/template/configs/e2000q_aarch64_eg_configs index dcf9e9eb5fc9f6e4613357a995e8c3c95b8659b5..97ae1ab96141ace057a40aa5b3132840ae40373f 100644 --- a/example/template/configs/e2000q_aarch64_eg_configs +++ b/example/template/configs/e2000q_aarch64_eg_configs @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/ft2004_aarch32_eg_configs b/example/template/configs/ft2004_aarch32_eg_configs index 57be672bba529983973c95665d7b62db2ae73854..1aab6f0c5b1fd3d28d0c6336eb83bb8fefd08d8c 100644 --- a/example/template/configs/ft2004_aarch32_eg_configs +++ b/example/template/configs/ft2004_aarch32_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y CONFIG_USE_AARCH64_L1_TO_AARCH32=y +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/configs/ft2004_aarch64_eg_configs b/example/template/configs/ft2004_aarch64_eg_configs index bcb9a56d97735ad3e7a6496f914985873173c9eb..d3af652531c78fd206a88c71ae66096a068cb295 100644 --- a/example/template/configs/ft2004_aarch64_eg_configs +++ b/example/template/configs/ft2004_aarch64_eg_configs @@ -20,6 +20,7 @@ CONFIG_USE_L3CACHE=y CONFIG_USE_MMU=y CONFIG_USE_SYS_TICK=y # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/sdkconfig b/example/template/sdkconfig index dcf9e9eb5fc9f6e4613357a995e8c3c95b8659b5..97ae1ab96141ace057a40aa5b3132840ae40373f 100644 --- a/example/template/sdkconfig +++ b/example/template/sdkconfig @@ -19,6 +19,7 @@ CONFIG_USE_CACHE=y CONFIG_USE_MMU=y # CONFIG_USE_SYS_TICK is not set # CONFIG_MMU_DEBUG_PRINTS is not set +# CONFIG_BOOT_WITH_FLUSH_CACHE is not set # end of Arch Configuration # @@ -68,6 +69,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_PWM is not set # CONFIG_USE_IPC is not set # CONFIG_USE_MEDIA is not set +# CONFIG_USE_SCMI_MHU is not set # end of Components Configuration CONFIG_USE_NEW_LIBC=y @@ -86,6 +88,7 @@ CONFIG_USE_DEFAULT_INTERRUPT_CONFIG=y CONFIG_INTERRUPT_ROLE_MASTER=y # CONFIG_INTERRUPT_ROLE_SLAVE is not set # CONFIG_LOG_EXTRA_INFO is not set +# CONFIG_LOG_DISPALY_CORE_NUM is not set # CONFIG_BOOTUP_DEBUG_PRINTS is not set # diff --git a/example/template/sdkconfig.h b/example/template/sdkconfig.h index bf6c6b6564af55188f7b46bbcc2b84bb98e7ffa7..50800cea78537fc29cf0b375c6a48fd273100605 100644 --- a/example/template/sdkconfig.h +++ b/example/template/sdkconfig.h @@ -18,6 +18,7 @@ #define CONFIG_USE_MMU /* CONFIG_USE_SYS_TICK is not set */ /* CONFIG_MMU_DEBUG_PRINTS is not set */ +/* CONFIG_BOOT_WITH_FLUSH_CACHE is not set */ /* end of Arch Configuration */ /* Board Configuration */ @@ -63,6 +64,7 @@ /* CONFIG_USE_PWM is not set */ /* CONFIG_USE_IPC is not set */ /* CONFIG_USE_MEDIA is not set */ +/* CONFIG_USE_SCMI_MHU is not set */ /* end of Components Configuration */ #define CONFIG_USE_NEW_LIBC /* end of Standalone Setting */ @@ -79,6 +81,7 @@ #define CONFIG_INTERRUPT_ROLE_MASTER /* CONFIG_INTERRUPT_ROLE_SLAVE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ +/* CONFIG_LOG_DISPALY_CORE_NUM is not set */ /* CONFIG_BOOTUP_DEBUG_PRINTS is not set */ /* Linker Options */ diff --git a/install.py b/install.py index 3174a1c9aae075502f8d532a12ba3edd53a8692f..d892b33072e6d1aa15af9a2ac146cee81a1176ea 100644 --- a/install.py +++ b/install.py @@ -86,7 +86,7 @@ os.system("chmod +x ./make/*.mk --silent ") os.system("chmod +x ./lib/Kconfiglib/*.py --silent ") # Add standalone sdk -standalone_sdk_v="6eca557170a2bf50db0cb9ff2403ed6edce937c3" +standalone_sdk_v="a2dc5e2a6e8dd705f6667a9d58d3d78f25ca528e" standalone_path=freertos_sdk_path + '/standalone' standalone_branche="master" standalone_remote="https://gitee.com/phytium_embedded/phytium-standalone-sdk.git" diff --git a/make/complier.mk b/make/complier.mk index 4da6e0603cba55a1ea57789384166a2910ef05e7..1198e7a9824059b00bc59b097ec167ad40ba0af3 100755 --- a/make/complier.mk +++ b/make/complier.mk @@ -1,15 +1,3 @@ -# Copyright (C) ARM Limited, 2014-2016. All rights reserved. -# -# This example is intended to be built with Linaro bare-metal GCC -# -# Environment variables for build options that the user might wish to change -# -# Variable Example Value -# ---------- ------------- -# APP myapp.axf -# QUIET @ for terse output, or leave blank for detailed output -# OPT_LEVEL 0, 1, 2 or 3 -# DEFINES -D MYDEFINE APP ?= $(CONFIG_TARGET_NAME) diff --git a/third-party/freertos/portable/GCC/ft_platform/FreeRTOSConfig.h b/third-party/freertos/portable/GCC/ft_platform/FreeRTOSConfig.h index dce41b973e9a874dacd58be91a9255e1e8c31077..51031f89130eb6dd1ceba3398c903efdd8753d00 100644 --- a/third-party/freertos/portable/GCC/ft_platform/FreeRTOSConfig.h +++ b/third-party/freertos/portable/GCC/ft_platform/FreeRTOSConfig.h @@ -211,17 +211,6 @@ header file. */ vClearTickInterrupt(); \ }while (0) - -#ifdef CONFIG_TARGET_ARMV8_AARCH32 - #define FreeRTOS_IRQ_Handler IRQHandler - #define FreeRTOS_SWI_Handler SWIHandler -#endif - -#ifdef CONFIG_TARGET_ARMV8_AARCH64 - #define FreeRTOS_IRQ_Handler IRQInterruptHandler - #define FreeRTOS_SWI_Handler SynchronousInterruptHandler -#endif - /* The following constant describe the hardware, and are correct for the QEMU-Virt. */ #define configINTERRUPT_CONTROLLER_BASE_ADDRESS (GICV3_DISTRIBUTOR_BASE_ADDR) diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S b/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S index d7615cf248c25f37cd740cc992997c01e632dab4..137af946ac8a392372de8c82df3b41f780ee2d5c 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch32/vector.S @@ -5,6 +5,7 @@ .globl DataAbortInterruptHandler .globl PrefetchAbortInterruptHandler .globl UndefineInterruptHandler +.globl FIQHandler .set EXCEPTION_FRAME_SIZE, (17*4) @@ -15,14 +16,12 @@ _vector_table: B _boot B Undefined - B SWIHandler + B FreeRTOS_SWI_Handler B PrefetchAbortHandler B DataAbortHandler NOP /* Placeholder for address exception vector*/ - B IRQHandler - B FiqHandler - - + B FreeRTOS_IRQ_Handler + B FIQHandler .macro PushExceptionReg @@ -38,26 +37,6 @@ _vector_table: .endm - -.align 4 -.arm -.weak IRQHandler -.type IRQHandler, %function -@.global IRQHandler -IRQHandler: /* 0x18 IRQ */ - bl IRQHandler - bl . - - -.align 4 -.arm -.weak SWIHandler -.type SWIHandler, %function -@.global SWIHandler -SWIHandler: /* 0x18 IRQ */ - bl SWIHandler - bl . - Undefined: /* Undefined handler */ PushExceptionReg cps #0x1B @@ -74,7 +53,7 @@ DataAbortHandler: bl DataAbortInterruptHandler bl . -FiqHandler: /* FIQ vector handler */ +FIQHandler: /* FIQ vector handler */ PushExceptionReg bl FiqInterruptHandler bl . \ No newline at end of file diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S b/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S index 19b424a644982a70c2d3e3b025f9af3b1d783e83..5ca6849d23cdf799eec154ef74202db246935e63 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch64/freertos_vectors.S @@ -1,5 +1,8 @@ -.globl _freertos_vector_table -.globl SErrorInterruptHandler +.global _freertos_vector_table +.global vSynchronousInterruptHandler +.global vSynchronousInterruptHandlerSPx +.global vSErrorInterruptHandler +.global FreeRTOS_IRQ_Handler .section .freertos_vectors, "a" @@ -10,7 +13,7 @@ _freertos_vector_table: .align 11 /* VBAR_EL1 Vector Base Address is [55:48] */ .org(FREERTOS_VBAR) - b FreeRTOS_SWI_Handler + b vSynchronousInterruptHandler .org (FREERTOS_VBAR + 0x80) b FreeRTOS_IRQ_Handler @@ -19,10 +22,10 @@ _freertos_vector_table: b . .org (FREERTOS_VBAR + 0x180) - b . + b vSErrorInterruptHandler .org (FREERTOS_VBAR + 0x200) - b FreeRTOS_SWI_Handler + b vSynchronousInterruptHandlerSPx .org (FREERTOS_VBAR + 0x280) b FreeRTOS_IRQ_Handler @@ -31,7 +34,7 @@ _freertos_vector_table: b . .org (FREERTOS_VBAR + 0x380) - b SErrorInterruptHandler /* SError/vSError */ + b vSErrorInterruptHandler /* SError/vSError */ .org (FREERTOS_VBAR + 0x400) b . @@ -58,8 +61,3 @@ _freertos_vector_table: b . .org (FREERTOS_VBAR + 0x800) - - - - -.end \ No newline at end of file diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/port.c b/third-party/freertos/portable/GCC/ft_platform/aarch64/port.c index 8bd92c7172ec1e2c3261e9c83061e01cac7658df..c541989b72131b686b2396740880a91fedd5c749 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/port.c +++ b/third-party/freertos/portable/GCC/ft_platform/aarch64/port.c @@ -342,10 +342,8 @@ BaseType_t xPortStartScheduler(void) /* Only continue if the binary point value is set to its lowest possible setting. See the comments in vPortValidateInterruptPriority() below for more information. */ - // configASSERT((portICCBPR_BINARY_POINT_REGISTER & portBINARY_POINT_BITS) <= portMAX_BINARY_POINT_VALUE); configASSERT((FGicGetICC_BPR1() & portBINARY_POINT_BITS) <= portMAX_BINARY_POINT_VALUE); - // if ((portICCBPR_BINARY_POINT_REGISTER & portBINARY_POINT_BITS) <= portMAX_BINARY_POINT_VALUE) if ((FGicGetICC_BPR1() & portBINARY_POINT_BITS) <= portMAX_BINARY_POINT_VALUE) { /* Interrupts are turned off in the CPU itself to ensure a tick does @@ -417,6 +415,7 @@ void vPortExitCritical(void) void FreeRTOS_Tick_Handler(void) { + /* Interrupts should not be enabled before this point. */ #if (configASSERT_DEFINED == 1) { @@ -564,3 +563,10 @@ _WEAK void vApplicationTickHook(void) _WEAK void vApplicationIdleHook(void) { } + +void vTaskSwitchSPx(void) +{ + printf("Switch task in interrupt is error."); + configASSERT(0); +} + diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S b/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S index 878a1c1d3dbb44b8027d9ea67828be1a229f5724..da1b232e266b89b80ec87b9b406eec4a8e1f0a61 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch64/portASM.S @@ -42,13 +42,42 @@ .extern ullPortYieldRequired .extern ullICCEOIR .extern ullICCIAR - .extern _vector_table .global FreeRTOS_IRQ_Handler - .global FreeRTOS_SWI_Handler + .global vSynchronousInterruptHandler + .global vSynchronousInterruptHandlerSPx + .global vSErrorInterruptHandler .global vPortRestoreTaskContext +.macro SaveRegister + stp X0,X1, [sp,#-0x10]! + stp X2,X3, [sp,#-0x10]! + stp X4,X5, [sp,#-0x10]! + stp X6,X7, [sp,#-0x10]! + stp X8,X9, [sp,#-0x10]! + stp X10,X11, [sp,#-0x10]! + stp X12,X13, [sp,#-0x10]! + stp X14,X15, [sp,#-0x10]! + stp X16,X17, [sp,#-0x10]! + stp X18,X19, [sp,#-0x10]! + stp X29,X30, [sp,#-0x10]! +.endm + + +.macro RestoreRegister + ldp X29,X30, [sp], #0x10 + ldp X18,X19, [sp], #0x10 + ldp X16,X17, [sp], #0x10 + ldp X14,X15, [sp], #0x10 + ldp X12,X13, [sp], #0x10 + ldp X10,X11, [sp], #0x10 + ldp X8,X9, [sp], #0x10 + ldp X6,X7, [sp], #0x10 + ldp X4,X5, [sp], #0x10 + ldp X2,X3, [sp], #0x10 + ldp X0,X1, [sp], #0x10 +.endm .macro portSAVE_CONTEXT @@ -130,8 +159,6 @@ ; /**********************************************************************/ - - .macro portRESTORE_CONTEXT /* Switch to use the EL0 stack pointer. */ @@ -225,13 +252,18 @@ /****************************************************************************** - * FreeRTOS_SWI_Handler handler is used to perform a context switch. + * vSynchronousInterruptHandler is used to perform a context switch or synchronous exception handler. *****************************************************************************/ .align 8 -.type FreeRTOS_SWI_Handler, %function -FreeRTOS_SWI_Handler: +.type vSynchronousInterruptHandler, %function +vSynchronousInterruptHandler: + + /* store value */ + STP X0, X1, [SP, #-0x10]! + /* Save the context of the current task and select a new task to run. */ portSAVE_CONTEXT + #if defined( GUEST ) MRS X0, ESR_EL1 #else @@ -245,14 +277,95 @@ FreeRTOS_SWI_Handler: #else CMP X1, #0x17 /* 0x17 = SMC instruction. */ #endif - B.NE FreeRTOS_Abort + + B.NE vSynchronousHandler + + LDP X0, X1, [SP], #0x10 + BL vTaskSwitchContext portRESTORE_CONTEXT -FreeRTOS_Abort: +vSynchronousHandler: + + /* Restore the value. */ + LDP X0, X1, [SP], #0x10 + + SaveRegister + + mrs x0, CPACR_EL1 + mrs x1, ELR_EL1 + mrs x2, SPSR_EL1 + stp x0, x1, [sp,#-0x10]! + mov x21, sp + add x21, x21, #208 + stp x2,x21, [sp,#-0x10]! + mov x0, sp + /* Full ESR is in X0, exception class code is in X1. */ - B . + BL SynchronousInterrupt + +.align 8 +.type vSynchronousInterruptHandlerSPx, %function +vSynchronousInterruptHandlerSPx: + /* Save register. */ + SaveRegister +#if defined( GUEST ) + MRS X0, ESR_EL1 +#else + MRS X0, ESR_EL3 +#endif + + LSR X1, X0, #26 + +#if defined( GUEST ) + CMP X1, #0x15 /* 0x15 = SVC instruction. */ +#else + CMP X1, #0x17 /* 0x17 = SMC instruction. */ +#endif + B.NE vSynchronousHandlerSPx + BL vTaskSwitchSPx + + RestoreRegister + +vSynchronousHandlerSPx: + + mrs x0, CPACR_EL1 + mrs x1, ELR_EL1 + mrs x2, SPSR_EL1 + stp x0, x1, [sp,#-0x10]! + mov x21, sp + add x21, x21, #208 + stp x2,x21, [sp,#-0x10]! + mov x0, sp + + /* Full ESR is in X0, exception class code is in X1. */ + BL SynchronousInterrupt + + +vSErrorInterruptHandler: + + SaveRegister + + /* Save the status of SPSR, ELR and CPTR to stack */ + mrs x0, CPACR_EL1 + mrs x1, ELR_EL1 + mrs x2, SPSR_EL1 + stp x0, x1, [sp,#-0x10]! + mov x21, sp + add x21, x21, #208 + stp x21,x21, [sp,#-0x10]! + mov x0, sp + + mov x0, sp + + bl SErrorInterrupt + + RestoreRegister + + ERET + + /****************************************************************************** * vPortRestoreTaskContext is used to start the scheduler. @@ -275,7 +388,6 @@ vPortRestoreTaskContext: /* Start the first task. */ portRESTORE_CONTEXT - /****************************************************************************** * FreeRTOS_IRQ_Handler handles IRQ entry and exit. *****************************************************************************/ diff --git a/third-party/lwip-2.1.2/Kconfig b/third-party/lwip-2.1.2/Kconfig index 698ce5d5ed41849209944c9bb3eb060957951468..80b374fe5fb9392544a1b5e34349c76a70dd7ec7 100644 --- a/third-party/lwip-2.1.2/Kconfig +++ b/third-party/lwip-2.1.2/Kconfig @@ -1,21 +1,5 @@ menu "LWIP Freertos Port Configuration" - choice LWIP_GMAC_CTRL_TYPE - prompt "Gmac Drivers" - default LWIP_FGMAC - help - Select Gmac Driver for Lwip - - config LWIP_FXMAC - select FREERTOS_USE_XMAC - bool "FXMAC" - - config LWIP_FGMAC - select FREERTOS_USE_GMAC - bool "FGMAC" - - - endchoice # LWIP_GMAC_CTRL_TYPE source "$(STANDALONE_DIR)/third-party/lwip-2.1.2/Kconfig" menu "Tcp/ip task resource configuration" diff --git a/third-party/openamp/ports/phytium_os_rproc.c b/third-party/openamp/ports/phytium_os_rproc.c index 3b7e57f13f0491eb76aa4faa9c025da224febc00..fbd9c68cf6b76e7723f6c4186c284786653ada0f 100644 --- a/third-party/openamp/ports/phytium_os_rproc.c +++ b/third-party/openamp/ports/phytium_os_rproc.c @@ -161,7 +161,7 @@ static void PhytiumProcRemove(struct remoteproc *rproc) dev = prproc->kick_dev; if (dev) { - PHYTIUM_RPROC_MAIN_DEBUG_E("Start to remove \r\n") ; + PHYTIUM_RPROC_MAIN_DEBUG_I("Start to remove \r\n") ; InterruptMask((uintptr_t)dev->irq_info); } #else /* RPMSG_NO_IPI */