diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index a4accd6728f28ea7509e17743683c5f96f6fb24b..8ce5e5d9244c89c3ff7bcec0c4e9f8ebf71dd8ad 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,3 +1,57 @@ +# Phytium Standalone SDK 2024-01-11 ChangeLog + +Change Log since 2024-01-09 + +## third-party + +- Adapt to the work mode of standalone sdk in aarch32 + +# Phytium Standalone SDK 2024-01-11 ChangeLog + +Change Log since 2023-01-10 + +## driver + +- add feature variable in struct FXmacOs and FGmacOs,which can receive the value from user_config. +- modified to accommodate the porting of later examples: jumbo and multicast. +- Moving phy operations(FGmacPhyCfgInitialize) from interrupts to threads in fgmac_os.c. + +## third-party + +- modified to accommodate the porting of later examples: jumbo and multicast. + +# Phytium Standalone SDK 2024-01-09 ChangeLog + +Change Log since 2023-12-25 + +## driver + +- new standalone version adaptation of xmac and gmac. + +## example + +- reconstruting network example:lwip-startup. + +# Phytium Standalone SDK 2023-12-15 ChangeLog + +Change Log since 2023-11-21 + +## example + +- DDMA sync update with DDMA driver + +## driver + +- DDMA synchronous update with standalone SDK + +# Phytium Standalone SDK 2023-11-21 ChangeLog + +Change Log since 2023-11-20 + +## example + +- add qspi examples and readme + # Phytium Standalone SDK 2023-11-20 ChangeLog Change Log since 2023-11-15 diff --git a/docs/reference/driver/fqspi_os.md b/docs/reference/driver/fqspi_os.md new file mode 100644 index 0000000000000000000000000000000000000000..01f3a2680c7392482c4ffc86fe85c53a2df15cfb --- /dev/null +++ b/docs/reference/driver/fqspi_os.md @@ -0,0 +1,488 @@ +# FQSPI_OS 驱动程序 + +## 1. 概述 + +- QSPI是Motorola公司推出的SPI接口的扩展,比SPI应用更加广泛。在SPI协议的基础上,Motorola公司对其功能进行了增强,大幅提升了数据交换能力。QSPI 是一种专用的通信接口,连接单、双或四(条数据线) SPI Flash 存储介质。 + +- 本驱动程序提供了FT2000/4、D2000、E2000平台的QSPI功能 + +- FT2000/4、D2000上包含 1 个通用 QSPI 接口控制器,作为QSPI Flash接口使用,片最大支持 2Gb(256MB)的容量,最大支持连接四个相同容量的Flash + + +## 2. 功能 + + +- 驱动相关的源文件如下, +- drivers/qspi/fqspi + +``` +. +├── fqspi_os.c +└── fqspi_os.h +``` + + +## 3. 配置方法 + + +以下部分将指导您完成 FQSPI_OS 驱动的软件配置: + +### 3.1 使用 SFUD 通用SPI协议框架 + +- 使能 CONFIG_USE_QSPI 和 CONFIG_USE_SFUD 配置 +- 初始化 SFUD 框架 +- 调用 SFUD 提供的 API 读写 QSPI 设备 + +关于 SFUD 框架的使用,可以参考[sfud.md](./sfud.md) + +### 3.2 不使用 SFUD 通用SPI协议框架 + +- 使能 CONFIG_USE_QSPI 配置 +- 初始 QSPI 驱动 +- 调用 QSPI 提供的 API 读写 QSPI 设备,需要按照 QSPI 设备的手册实现相关的命令和协议 + +## 4 应用示例 + +### [fqspi_nor_flash](../../../example/peripherals/qspi/README.md) + +## 4. API参考 + +### 4.1 用户数据结构 + +- QSPI 消息数据结构 +```c +typedef struct +{ + const void *write_buf; /* qspi write buffer */ + void *read_buf; /* qspi read buffer */ + size_t length; /* qspi read or write buffer length */ + u32 addr; /* qspi flash address to read or write */ + u8 cmd; /* qspi operate command */ + u8 cs; /* qspi cs channel */ +} FFreeRTOSQspiMessage; +``` + +- FreeRTOS QSPI 驱动数据结构 +```c +typedef struct +{ + FQspiCtrl qspi_ctrl; /* qspi object */ + xSemaphoreHandle wr_semaphore; /* qspi read and write semaphore for resource sharing */ +} FFreeRTOSQspi; +``` + +- QSPI 驱动控制数据 +```c +typedef struct +{ + FQspiConfig config; + FQspiRdCfgDef rd_cfg; + FQspiWrCfgDef wr_cfg; + FQspiCommandPortDef cmd_def; + FQspiCsTimingCfgDef cs_timing_cfg; + u32 is_ready; /* device is initialized and ready */ + u32 flash_size; /* size of QSPI flash */ +} FQspiCtrl; +``` + +- QSPI 驱动配置数据 +```c +typedef struct +{ + u32 instance_id; /* Id of device */ + uintptr base_addr; /* Base address of qspi */ + uintptr mem_start; /* Start address of qspi memory */ + u32 capacity; /* Flash capacity */ + u32 dev_num; /* Qspi device number */ + u32 channel; /* channel number */ +} FQspiConfig; +``` + +- QSPI 传输命令协议,指定传输的指令、地址和修饰符、数据三者的宽度 +```c +typedef enum +{ + FQSPI_TRANSFER_1_1_1 = 0x0, + FQSPI_TRANSFER_1_1_2 = 0x1, + FQSPI_TRANSFER_1_1_4 = 0x2, + FQSPI_TRANSFER_1_2_2 = 0x3, + FQSPI_TRANSFER_1_4_4 = 0x4, + FQSPI_TRANSFER_2_2_2 = 0x5, + FQSPI_TRANSFER_4_4_4 = 0x6 +}FQspiTransferMode; +``` + +- QSPI Flash的容量大小 +```c +typedef enum +{ + FQSPI_FLASH_CAP_4MB = 0b000, + FQSPI_FLASH_CAP_8MB = 0b001, + FQSPI_FLASH_CAP_16MB = 0b010, + FQSPI_FLASH_CAP_32MB = 0b011, + FQSPI_FLASH_CAP_64MB = 0b100, + FQSPI_FLASH_CAP_128MB = 0b101, + FQSPI_FLASH_CAP_256MB = 0b110, +} FQspiFlashCapcityType; +``` + +- QSPI的SCK分频系数 +```c +typedef enum +{ + FQSPI_SCK_DIV_128 = 0x0, + FQSPI_SCK_DIV_2 = 0x1, + FQSPI_SCK_DIV_4 = 0x2, + FQSPI_SCK_DIV_8 = 0x3, + FQSPI_SCK_DIV_16 = 0x4, + FQSPI_SCK_DIV_32 = 0x5, + FQSPI_SCK_DIV_64 = 0x6 +}FQspiSckDivType; +``` + +- QSPI的地址长度格式 +```c +typedef enum +{ + FQSPI_ADDR_SEL_3 = 0x0, + FQSPI_ADDR_SEL_4 = 0x1, +}FQspiAddrType; +``` + +### 4.2 错误码定义 + +- FQSPI_SUCCESS : fqspi success +- FQSPI_INVAL_PARAM : fqspi invalid input parameters +- FQSPI_NOT_READY : fqspi driver not ready +- FQSPI_NOT_ALLIGN : fqspi address not alligned +- FQSPI_NOT_SUPPORT : fqspi not support operation +- FQSPI_TIMEOUT : fqspi wait timeout + +### 4.3 用户API接口 + +#### FFreeRTOSQspiInit + +- 初始化Freertos qspi实例,包括初始化qspi和创建互斥锁 + +```c +FFreeRTOSQspi *FFreeRTOSQspiInit(u32 instance_id) +``` + +Note: + +- 用户可以通过此接口初始化Freertos qspi实例,创建互斥锁,并获取指向该实例的指针 + +Input: + +- u32 instance_id, 选择的FQSPI控制器实例号 + +Return: + +- FFreeRTOSQspi *, 返回指向Freertos qspi实例的指针 + + +#### FFreeRTOSQspiDeinit + +- 去初始化freertos qspi实例,删除互斥锁 + +```c +void FFreeRTOSQspiDeinit(FFreeRTOSQspi *os_qspi_p) +``` + +Note: + +- 用户可以通过此接口去初始化Freertos qspi实例,删除互斥锁 + +Input: + +- FFreeRTOSQspi *os_qspi_p, 选择去初始化的Freertos qspi实例号 + +Return: + +- void, 无返回值 + + +#### FFreeRTOSQspiTransfer + +- 传输qspi消息,包括读写数据,读取flash id操作 + +```c +FError FFreeRTOSQspiTransfer(FFreeRTOSQspi *os_qspi_p, FFreeRTOSQspiMessage *message) +``` + +Note: + +- 用户可以通过此接口操作flash,包括读写、擦除、编程、读id + +Input: + +- FFreeRTOSQspi *os_qspi_p, 选择操作的Freertos qspi实例号 + +- FFreeRTOSQspiMessage *message,qspi传输消息结构体 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示初始化成功,其它返回值表示初始化失败 + + +#### FQspiLookupConfig + +- 获取FQSPI驱动的默认配置参数 + +```c +const FQspiConfig *FQspiLookupConfig(u32 instance_id) +``` + +Note: + +- 用户可以通过此接口获取驱动默认配置的副本,进行修改后,作为`FQspiCfgInitialize`函数的入参使用 + +Input: + +- u32 instance_id, 选择的FQSPI控制器实例号 + +Return: + +- const FQspiConfig *, 返回的默认驱动配置,返回NULL表示失败 + + +#### FQspiCfgInitialize + +- 完成FQSPI驱动实例的初始化,使之可以使用 + +```c +FError FQspiCfgInitialize(FQspiCtrl *instance_p, const FQspiConfig *input_config_p); +``` + +Note: + +- 此函数会重置FQSPI控制器和FQSPI控制数据 + +Input: + +- FQspiCtrl *instance_p, FQSPI驱动控制数据 + +- const FQspiConfig *input_config_p, FQSPI驱动配置数据 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示初始化成功,其它返回值表示初始化失败 + + +#### FQspiDeInitialize + +- 完成FQSPI驱动实例去初始化,之后不能使用 + +```c +void FQspiDeInitialize(FQspiCtrl *instance_p) +``` + +Note: + +- 此函数会重置FQSPI控制数据 + +Input: + +- FQspiCtrl *instance_p, FQSPI驱动控制数据 + +Return: + +无 + + +#### FQspiCommandPortConfig +- 配置FQSPI命令端口寄存器的值 + +```c +FError FQspiCommandPortConfig(FQspiCtrl *pctrl) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 配置FQSPI命令端口寄存器 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据读取成功,其它返回值表示读取失败 + + +#### FQspiRdCfgConfig + +- 配置FQSPI地址访问读配置寄存器的值 + +```c +FError FQspiRdCfgConfig(FQspiCtrl *pctrl) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 配置QSPI地址访问读配置寄存器 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据读取成功,其它返回值表示读取失败 + + +#### FQspiSetLdPortData + +- 写FQSPI低位数据端口寄存器的值 + +```c +FError FQspiSetLdPortData(FQspiCtrl *pctrl, const u8 *buf, size_t len) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 设置寄存器的值,可用于向flash传送数据 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- const u8 *buf, 写缓存,存储要写入的数据 + +- size_t len, 要读取的buf长度 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据写入成功,其它返回值表示写入失败 + +#### FQspiFlashSpecialInstruction +- 读flash某些状态寄存器的值,此函数适配的flash型号为S25FS256S NorFlash芯片 + +```c +FError FQspiFlashSpecialInstruction(FQspiCtrl *pctrl, u8 cmd, u8 *buf, size_t len); +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 读取flash寄存器的值,主要支持RDID, RDSR1, RDSR2, RDCR指令 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- u8 cmd, 读寄存器状态的指令,具体参见flash芯片手册 + +- u8 *buf, 读缓存,存储读到的寄存器值 + +- size_t len, 要读取的buf长度 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据读取成功,其它返回值表示读取失败 + +#### FQspiFlashWriteReg +- 写flash寄存器的值 + +```c +FError FQspiFlashWriteReg(FQspiCtrl *pctrl, u8 command, const u8 *buf, size_t len) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- u8 command, 写寄存器的指令 + +- const u8 *buf, 写缓存,存储写入的寄存器值 + +- size_t len, 要写入的buf长度 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据写入成功,其它返回值表示写入失败 + +#### FQspiFlashReadDataConfig + +- 读flash配置 + +```c +FError FQspiFlashReadDataConfig(FQspiCtrl *pctrl, u8 command) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 配置采用何种方式读flash中的数据,read、fast read、quad read + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- u8 command 读flash数据的指令,具体参见flash芯片手册 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示读配置成功,其它返回值表示读配置失败 + +#### FQspiFlashReadData + +- 读取norflash的数据 + +```c +size_t FQspiFlashReadData(FQspiCtrl *pctrl, u32 chip_addr, u8 *buf, size_t len) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 +- 使用此函数前需要使用FQspiFlashReadDataConfig函数配置读方式 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- u32 chip_addr, 读数据的起始地址 + +- u8 *buf 读缓存, 存储读到的数据 + +- size_t len, 要读取的buf长度 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据读取成功,其它返回值表示读取失败 + +#### FQspiNorFlashWrite + +- 写norflash数据函数 + +```c +FError FQspiFlashWriteData(FQspiCtrl *pctrl, u8 command, u32 chip_addr, const u8 *buf, size_t len) +``` + +Note: + +- 使用此函数前需要确保FQSPI驱动初始化成功 + +Input: + +- FQspiCtrl *pctrl, FQSPI驱动控制数据 + +- u8 command 写flash数据的指令,具体参见flash手册 + +- u32 chip_addr, 写数据的起始地址 + +- u8 *buf 写缓存, 存储要写入的数据 + +- size_t len, 要写入的buf长度 + +Return: + +- FError, 错误码信息,FQSPI_SUCCESS 表示数据写入成功,其它返回值表示写入失败 diff --git a/drivers/dma/fddma/fddma_os.c b/drivers/dma/fddma/fddma_os.c index 2f1ef000fc8df7084447499c2dde0ac1686662db..f6c6d25eb01c6f9117922e31a27da07a22753ad6 100644 --- a/drivers/dma/fddma/fddma_os.c +++ b/drivers/dma/fddma/fddma_os.c @@ -14,12 +14,13 @@ * FilePath: fddma_os.c * Date: 2022-07-18 08:51:25 * LastEditTime: 2022-07-18 08:51:25 - * Description:  This file is for required function implementations of ddma driver used in FreeRTOS. + * Description:  This file is for required function implementations of DDMA driver used in FreeRTOS. * * Modify History: - * Ver   Who        Date         Changes - * ----- ------     --------    -------------------------------------- - * 1.0 zhugengyu 2022/7/27 init commit + * Ver    Who         Date         Changes + * -----  ------      --------     -------------------------------------- + * 1.0 zhugengyu 2022/7/27 init commit + * 1.1 liqiaozhong 2023/11/10 synchronous update with standalone sdk */ /***************************** Include Files *********************************/ @@ -32,28 +33,25 @@ #include "fsleep.h" #include "fddma_os.h" - /************************** Constant Definitions *****************************/ /**************************** Type Definitions *******************************/ /************************** Variable Definitions *****************************/ static FFreeRTOSDdma ddma[FDDMA_INSTANCE_NUM]; - /***************** Macros (Inline Functions) Definitions *********************/ #define FDDMA_DEBUG_TAG "DDMA-OS" #define FDDMA_ERROR(format, ...) FT_DEBUG_PRINT_E(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_WARN(format, ...) FT_DEBUG_PRINT_W(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_INFO(format, ...) FT_DEBUG_PRINT_I(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_DEBUG(format, ...) FT_DEBUG_PRINT_D(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) - /************************** Function Prototypes ******************************/ static inline FError FDdmaOsTakeSema(SemaphoreHandle_t locker) { FASSERT_MSG((NULL != locker), "Locker not exists."); if (pdFALSE == xSemaphoreTake(locker, portMAX_DELAY)) { - FDDMA_ERROR("Failed to give locker!!!"); + FDDMA_ERROR("Failed to give locker."); return FFREERTOS_DDMA_SEMA_ERR; } @@ -65,12 +63,11 @@ static inline void FDdmaOsGiveSema(SemaphoreHandle_t locker) FASSERT_MSG((NULL != locker), "Locker not exists."); if (pdFALSE == xSemaphoreGive(locker)) { - FDDMA_ERROR("Failed to give locker!!!"); + FDDMA_ERROR("Failed to give locker."); } return; } - /*****************************************************************************/ static void FDdmaOsSetupInterrupt(FDdma *const instance) { @@ -80,7 +77,7 @@ static void FDdmaOsSetupInterrupt(FDdma *const instance) u32 cpu_id = 0; GetCpuId(&cpu_id); - FDDMA_INFO("cpu_id is cpu_id %d", cpu_id); + FDDMA_INFO("cpu_id is %d", cpu_id); InterruptSetTargetCpus(config->irq_num, cpu_id); InterruptSetPriority(config->irq_num, config->irq_prority); @@ -93,46 +90,41 @@ static void FDdmaOsSetupInterrupt(FDdma *const instance) /* enable ddma0 irq */ InterruptUmask(config->irq_num); - FDDMA_INFO("ddma interrupt setup done!!!"); + FDDMA_INFO("DDMA interrupt setup done."); return; } /** * @name: FFreeRTOSDdmaInit - * @msg: init and get ddma instance + * @msg: init and get DDMA instance * @return {FFreeRTOSDdma *} return NULL if failed, otherwise success and return instance - * @param {u32} id, ddma instance id - * @param {FFreeRTOSDdmaConfig} *input_config, freertos ddma config + * @param {u32} id, DDMA instance id + * @param {FFreeRTOSDdmaConfig} *input_config, freertos DDMA config */ FFreeRTOSDdma *FFreeRTOSDdmaInit(u32 id, const FFreeRTOSDdmaConfig *input_config) { FASSERT(id < FDDMA_INSTANCE_NUM); + FFreeRTOSDdma *instance = &ddma[id]; FDdma *ctrl = &instance->ctrl; FDdmaConfig config; FError err = FT_SUCCESS; - if (FT_COMPONENT_IS_READY == ctrl->is_ready) - { - FDDMA_WARN("ddma-%d already init", config.id); - return instance; - } - /* no scheduler during init */ taskENTER_CRITICAL(); instance->config = *input_config; config = *FDdmaLookupConfig(id); config.irq_prority = FFREERTOS_DDMA_IRQ_PRIORITY; - err = FDdmaCfgInitialization(ctrl, &config); + err = FDdmaCfgInitialize(ctrl, &config); if (FDDMA_SUCCESS != err) { - FDDMA_ERROR("Init ddma-%d failed, err: 0x%x!!!", id, err); + FDDMA_ERROR("Init DDMA-%d failed, err: 0x%x", id, err); goto err_exit; } - FASSERT_MSG(NULL == instance->locker, "Locker exists!!!"); - FASSERT_MSG((instance->locker = xSemaphoreCreateMutex()) != NULL, "Create mutex failed!!!"); + FASSERT_MSG(NULL == instance->locker, "Locker exists."); + FASSERT_MSG((instance->locker = xSemaphoreCreateMutex()) != NULL, "Create mutex failed."); FDdmaOsSetupInterrupt(ctrl); @@ -143,32 +135,26 @@ err_exit: /** * @name: FFreeRTOSDdmaDeinit - * @msg: deinit ddma instance + * @msg: deinit DDMA instance * @return {FError} FT_SUCCESS if deinit success - * @param {FFreeRTOSDdma} *instance, freertos ddma instance + * @param {FFreeRTOSDdma} *instance, freertos DDMA instance */ FError FFreeRTOSDdmaDeinit(FFreeRTOSDdma *const instance) { FASSERT(instance); + FDdma *ctrl = &instance->ctrl; - FDdmaConfig *config = &ctrl->config; FError err = FT_SUCCESS; - if (FT_COMPONENT_IS_READY != ctrl->is_ready) - { - FDDMA_ERROR("ddma-%d not yet init!!!", ctrl->config.id); - return FFREERTOS_DDMA_NOT_INIT; - } - /* no scheduler during deinit */ taskENTER_CRITICAL(); - FASSERT_MSG(NULL != instance->locker, "Locker not exists!!!"); + FASSERT_MSG(NULL != instance->locker, "Locker not exists."); - /* disable ddma irq */ + /* disable DDMA irq */ FDdmaStop(ctrl); - FDdmaDeInitialization(ctrl); + FDdmaDeInitialize(ctrl); vSemaphoreDelete(instance->locker); instance->locker = NULL; @@ -182,19 +168,19 @@ FError FFreeRTOSDdmaDeinit(FFreeRTOSDdma *const instance) /** * @name: FFreeRTOSDdmaSetupChannel - * @msg: setup ddma channel before transfer + * @msg: setup DDMA channel before transfer * @return {FError} FT_SUCCESS if setup success - * @param {FFreeRTOSDdma} *instance, freertos ddma instance - * @param {FFreeRTOSRequest} *request, ddma request + * @param {FFreeRTOSDdma} *instance, freertos DDMA instance + * @param {FFreeRTOSRequest} *request, DDMA request */ FError FFreeRTOSDdmaSetupChannel(FFreeRTOSDdma *const instance, u32 chan_id, const FFreeRTOSRequest *request) { - FASSERT(instance && request); + FASSERT(instance); + FASSERT(request); FASSERT(chan_id < FDDMA_NUM_OF_CHAN); + FDdma *ctrl = &instance->ctrl; - FDdmaConfig *config = &ctrl->config; - FDdmaChan *chan = &(instance->chan[chan_id]); - FDdmaChanConfig *chan_config = &(chan->config); + FDdmaChanConfig chan_config; FError err = FT_SUCCESS; err = FDdmaOsTakeSema(instance->locker); @@ -204,33 +190,31 @@ FError FFreeRTOSDdmaSetupChannel(FFreeRTOSDdma *const instance, u32 chan_id, con } /* parpare channel configs */ - chan_config->id = chan_id; - chan_config->slave_id = request->slave_id; + chan_config.slave_id = request->slave_id; FASSERT_MSG((0 != request->mem_addr), "Invaild memory address."); - chan_config->ddr_addr = request->mem_addr; - chan_config->dev_addr = request->dev_addr; - chan_config->req_mode = request->is_rx ? FDDMA_CHAN_REQ_RX : FDDMA_CHAN_REQ_TX; - chan_config->timeout = 0xffff; - chan_config->trans_len = request->trans_len; - - FDDMA_INFO("channel: %d, slave id: %d, ddr: 0x%x, dev: 0x%x, req mode: %s, trans len: %d", - chan_config->id, - chan_config->slave_id, - chan_config->ddr_addr, - chan_config->dev_addr, - (FDDMA_CHAN_REQ_TX == chan_config->req_mode) ? "mem=>dev" : "dev=>mem", - chan_config->trans_len); - - /* allocate channel */ - err = FDdmaAllocateChan(ctrl, chan, chan_config); + chan_config.ddr_addr = request->mem_addr; + chan_config.dev_addr = request->dev_addr; + chan_config.req_mode = request->is_rx ? FDDMA_CHAN_REQ_RX : FDDMA_CHAN_REQ_TX; + chan_config.timeout = 0xffff; + chan_config.trans_len = request->trans_len; + + FDDMA_INFO("Channel: %d, slave id: %d, ddr: 0x%x, dev: 0x%x, req mode: %s, trans len: %d", + chan_id, + chan_config.slave_id, + chan_config.ddr_addr, + chan_config.dev_addr, + (FDDMA_CHAN_REQ_TX == chan_config.req_mode) ? "mem=>dev" : "dev=>mem", + chan_config.trans_len); + + /* configure channel */ + err = FDdmaChanConfigure(ctrl, chan_id, &chan_config); if (FDDMA_SUCCESS != err) { FDDMA_ERROR("Channel bind failed: 0x%x", err); goto err_exit; } - FDdmaRegisterChanEvtHandler(chan, FDDMA_CHAN_EVT_REQ_DONE, - request->req_done_handler, request->req_done_args); + FDdmaRegisterChanEvtHandler(ctrl, chan_id, FDDMA_CHAN_EVT_REQ_DONE, request->req_done_handler, request->req_done_args); err_exit: FDdmaOsGiveSema(instance->locker); @@ -241,15 +225,15 @@ err_exit: * @name: FFreeRTOSDdmaRevokeChannel * @msg: revoke channel setup * @return {FError} FT_SUCCESS if revoke channel setting success - * @param {FFreeRTOSDdma} *instance, freertos ddma instance - * @param {u32} chan_id, id of ddma channel + * @param {FFreeRTOSDdma} *instance, freertos DDMA instance + * @param {u32} chan_id, id of DDMA channel */ FError FFreeRTOSDdmaRevokeChannel(FFreeRTOSDdma *const instance, u32 chan_id) { FASSERT(instance); FASSERT(chan_id < FDDMA_NUM_OF_CHAN); + FDdma *ctrl = &instance->ctrl; - FDdmaChan *chan = &(instance->chan[chan_id]); FError err = FT_SUCCESS; err = FDdmaOsTakeSema(instance->locker); @@ -258,17 +242,17 @@ FError FFreeRTOSDdmaRevokeChannel(FFreeRTOSDdma *const instance, u32 chan_id) return err; } - err = FDdmaDeactiveChan(chan); /* deactive channel in use */ + err = FDdmaChanDeactive(ctrl, chan_id); /* deactive channel in use */ if (FDDMA_SUCCESS != err) { FDDMA_ERROR("Channel deactive failed: 0x%x", err); goto err_exit; } - err = FDdmaDellocateChan(chan); /* free channel resource */ + err = FDdmaChanDeconfigure(ctrl, chan_id); /* free channel resource */ if (FDDMA_SUCCESS != err) { - FDDMA_ERROR("Channel deallocate failed: 0x%x", err); + FDDMA_ERROR("Channel deconfigure failed: 0x%x", err); goto err_exit; } @@ -281,15 +265,15 @@ err_exit: * @name: FFreeRTOSDdmaStartChannel * @msg: start dma transfer * @return {FError} FT_SUCCESS if start success - * @param {FFreeRTOSDdma} *instance, freertos ddma instance + * @param {FFreeRTOSDdma} *instance, freertos DDMA instance + * @param {u32} chan_id, id of DDMA channel */ FError FFreeRTOSDdmaStartChannel(FFreeRTOSDdma *const instance, u32 chan_id) { FASSERT(instance); + FDdma *ctrl = &instance->ctrl; - FDdmaConfig *config = &ctrl->config; FError err = FT_SUCCESS; - FDdmaChan *chan; err = FDdmaOsTakeSema(instance->locker); if (FFREERTOS_DDMA_OK != err) @@ -297,25 +281,18 @@ FError FFreeRTOSDdmaStartChannel(FFreeRTOSDdma *const instance, u32 chan_id) return err; } - /* active all channel allocated */ - chan = ctrl->chan[chan_id]; - if (NULL != chan) /* skip if channel not in use */ - { - err = FDdmaActiveChan(chan); /* active channel if in use */ - if (FDDMA_SUCCESS != err) - { - FDDMA_ERROR("Channel start failed: 0x%x", err); - goto err_exit; - } - } - - err = FDdmaStart(ctrl); /* start ddma controller */ - if (FDDMA_SUCCESS != err) + if (FDdmaIsChanRunning(ctrl->config.base_addr, chan_id)) { - FDDMA_ERROR("Start ddma failed: 0x%x", err); + FDDMA_ERROR("RX or TX chan is already running."); goto err_exit; } + /* active channel */ + FDdmaChanActive(ctrl, chan_id); + + /* start DDMA controller */ + FDdmaStart(ctrl); + err_exit: FDdmaOsGiveSema(instance->locker); return err; @@ -327,7 +304,6 @@ FError FFreeRTOSDdmaStopChannel(FFreeRTOSDdma *const instance, u32 chan_id) FDdma *ctrl = &instance->ctrl; FDdmaConfig *config = &ctrl->config; FError err = FT_SUCCESS; - FDdmaChan *chan; err = FDdmaOsTakeSema(instance->locker); if (FFREERTOS_DDMA_OK != err) @@ -335,17 +311,14 @@ FError FFreeRTOSDdmaStopChannel(FFreeRTOSDdma *const instance, u32 chan_id) return err; } - /* deactive all channel allocated */ - chan = ctrl->chan[chan_id]; - if (NULL != chan) /* skip if channel not in use */ + /* deactive channel */ + err = FDdmaChanDeactive(ctrl, chan_id); + if (FDDMA_SUCCESS != err) { - err = FDdmaDeactiveChan(chan); /* deactive channel if in use */ - if (FDDMA_SUCCESS != err) - { - FDDMA_ERROR("Channel start failed: 0x%x", err); - goto err_exit; - } + FDDMA_ERROR("Channel start failed: 0x%x", err); + goto err_exit; } + err_exit: FDdmaOsGiveSema(instance->locker); @@ -354,18 +327,15 @@ err_exit: /** * @name: FFreeRTOSDdmaStop - * @msg: stop current dma transfer + * @msg: stop current DDMA transfer * @return {FError} FT_SUCCESS if stop success - * @param {FFreeRTOSDdma} *instance, freertos ddma instance + * @param {FFreeRTOSDdma} *instance, freertos DDMA instance */ FError FFreeRTOSDdmaStop(FFreeRTOSDdma *const instance) { FASSERT(instance); FDdma *ctrl = &instance->ctrl; - FDdmaConfig *config = &ctrl->config; FError err = FT_SUCCESS; - FDdmaChan *chan; - u32 chan_id; err = FDdmaOsTakeSema(instance->locker); if (FFREERTOS_DDMA_OK != err) @@ -373,12 +343,7 @@ FError FFreeRTOSDdmaStop(FFreeRTOSDdma *const instance) return err; } - err = FDdmaStop(ctrl); /* stop ddma controller */ - if (FDDMA_SUCCESS != err) - { - FDDMA_ERROR("Stop ddma failed: 0x%x", err); - goto err_exit; - } + FDdmaStop(ctrl); /* stop DDMA controller */ err_exit: FDdmaOsGiveSema(instance->locker); diff --git a/drivers/dma/fddma/fddma_os.h b/drivers/dma/fddma/fddma_os.h index 5334e86f95cc9bda4f35e95a58ab0c9bf22f1e2b..6d8d2ba634845042f0a7cd7cf438cb143194b2e4 100644 --- a/drivers/dma/fddma/fddma_os.h +++ b/drivers/dma/fddma/fddma_os.h @@ -14,12 +14,13 @@ * FilePath: fddma_os.h * Date: 2022-07-20 09:15:37 * LastEditTime: 2022-07-20 09:15:38 - * Description:  This files is for providing function related definitions of ddma driver used in FreeRTOS. + * Description:  This files is for providing function related definitions of DDMA driver used in FreeRTOS. * * Modify History: - * Ver   Who        Date         Changes - * ----- ------     --------    -------------------------------------- - * 1.0 zhugengyu 2022/7/27 init commit + * Ver    Who         Date         Changes + * -----  ------      --------     -------------------------------------- + * 1.0 zhugengyu 2022/7/27 init commit + * 1.1 liqiaozhong 2023/11/10 synchronous update with standalone sdk */ #ifndef FDDMA_OS_H @@ -31,6 +32,7 @@ #include "fparameters.h" #include "fddma.h" +#include "fddma_hw.h" /************************** Constant Definitions *****************************/ #ifdef __cplusplus extern "C" @@ -46,19 +48,17 @@ extern "C" #define FFREERTOS_DDMA_IRQ_PRIORITY IRQ_PRIORITY_VALUE_12 /**************************** Type Definitions *******************************/ - typedef struct { -} FFreeRTOSDdmaConfig; /* freertos ddma config, reserved for future use */ +} FFreeRTOSDdmaConfig; /* freertos DDMA config, reserved for future use */ typedef struct { FDdma ctrl; FFreeRTOSDdmaConfig config; SemaphoreHandle_t locker; - FDdmaChan chan[FDDMA_NUM_OF_CHAN]; /* ddma channel of instance */ -} FFreeRTOSDdma; /* freertos ddma instance */ +} FFreeRTOSDdma; /* freertos DDMA instance */ typedef struct { @@ -69,33 +69,31 @@ typedef struct boolean is_rx; /* TRUE: dev ==> mem, FALSE: mem ==> dev */ FDdmaChanEvtHandler req_done_handler; /* callback when request done */ void *req_done_args; -} FFreeRTOSRequest; /* freertos ddma transfer request */ - +} FFreeRTOSRequest; /* freertos DDMA transfer request */ /************************** Variable Definitions *****************************/ /***************** Macros (Inline Functions) Definitions *********************/ /************************** Function Prototypes ******************************/ - -/* init and get ddma instance */ +/* init and get DDMA instance */ FFreeRTOSDdma *FFreeRTOSDdmaInit(u32 instance_id, const FFreeRTOSDdmaConfig *config); -/* deinit ddma instance */ +/* deinit DDMA instance */ FError FFreeRTOSDdmaDeinit(FFreeRTOSDdma *const instance); -/* setup ddma channel before transfer */ +/* setup DDMA channel before transfer */ FError FFreeRTOSDdmaSetupChannel(FFreeRTOSDdma *const instance, u32 chan_id, const FFreeRTOSRequest *request); /* revoke channel setup */ FError FFreeRTOSDdmaRevokeChannel(FFreeRTOSDdma *const instance, u32 chan_id); -/* start dma transfer of channel */ +/* start DDMA transfer of channel */ FError FFreeRTOSDdmaStartChannel(FFreeRTOSDdma *const instance, u32 chan_id); -/* stop dma transfer of channel */ +/* stop DDMA transfer of channel */ FError FFreeRTOSDdmaStopChannel(FFreeRTOSDdma *const instance, u32 chan_id); -/* stop all dma channel */ +/* stop all DDMA channel */ FError FFreeRTOSDdmaStop(FFreeRTOSDdma *const instance); #ifdef __cplusplus diff --git a/drivers/eth/gmac/fgmac_os.c b/drivers/eth/gmac/fgmac_os.c index 9a512e07df468d5b8da20232a0e8fe8143041bda..7eb95597f74eb66fe08b1f1fec8d14a57b1fbfe0 100644 --- a/drivers/eth/gmac/fgmac_os.c +++ b/drivers/eth/gmac/fgmac_os.c @@ -41,7 +41,7 @@ #include "lwip_port.h" #include "fparameters.h" -#define OS_MAC_DEBUG_TAG "OS_MAC" +#define OS_MAC_DEBUG_TAG "OS_GMAC" #define OS_MAC_DEBUG_D(format, ...) FT_DEBUG_PRINT_D(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) #define OS_MAC_DEBUG_I(format, ...) FT_DEBUG_PRINT_I(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) #define OS_MAC_DEBUG_E(format, ...) FT_DEBUG_PRINT_E(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) @@ -60,12 +60,19 @@ static void EthLinkPhyStatusChecker(void *param) if (FGMAC_RGSMIIIS_LNKSTS_UP == (FGMAC_RGSMIIIS_LNKSTS & status)) { - FGmacPhyCfgInitialize(instance_p); OS_MAC_DEBUG_I("Link is up."); + + if(instance_p->phy_link_status != FGMAC_LINKUP) + { + OS_MAC_DEBUG_I("Link needs negotiation."); + instance_p->phy_link_status = FGMAC_NEGOTIATION; + } + } else { OS_MAC_DEBUG_I("Link is down."); + instance_p->phy_link_status = FGMAC_LINKDOWN; } return; @@ -312,10 +319,20 @@ FError FGmacOsInit(FGmacOs *instance_p) OS_MAC_DEBUG_W("In %s:EmacPs Configuration Failed....", __func__); } + if(instance_p->feature & FGMAC_OS_CONFIG_MULTICAST_ADDRESS_FILITER) + { + FGmacMulticastHashEnable(gmac_p); + } + + if(instance_p->feature & FGMAC_OS_CONFIG_JUMBO) + { + FGmacJumboEnable(gmac_p); + } + FGmacSetMacAddr(instance_p->instance.config.base_addr, (void *)(instance_p->hwaddr)); /* initialize phy */ - status = FGmacPhyCfgInitialize(gmac_p); + status = FGmacPhyCfgInitialize(gmac_p,GMAC_PHY_RESET_ENABLE); if (status != FGMAC_SUCCESS) { OS_MAC_DEBUG_W("FGmacPhyCfgInitialize: init phy failed."); @@ -340,13 +357,11 @@ FError FGmacOsInit(FGmacOs *instance_p) /* initialize interrupt */ FGmacSetupIsr(gmac_p); - - return FT_SUCCESS ; } -FGmacOs *FGmacOsGetInstancePointer(FtOsGmacPhyControl *config_p) +FGmacOs *FGmacOsGetInstancePointer(FGmacPhyControl *config_p) { FGmacOs *instance_p; FASSERT(config_p != NULL); @@ -356,7 +371,7 @@ FGmacOs *FGmacOsGetInstancePointer(FtOsGmacPhyControl *config_p) FASSERT_MSG(config_p->phy_duplex <= FGMAC_PHY_FULL_DUPLEX, "config_p->phy_duplex %d is over FGMAC_PHY_FULL_DUPLEX", config_p->phy_duplex); instance_p = &fgmac_os_instace[config_p->instance_id]; - memcpy(&instance_p->mac_config, config_p, sizeof(FtOsGmacPhyControl)); + memcpy(&instance_p->mac_config, config_p, sizeof(FGmacPhyControl)); return instance_p; } @@ -596,7 +611,7 @@ enum lwip_port_link_status FGmacPhyStatus(struct LwipPort *gmac_netif_p) { FGmac *gmac_p; FGmacOs *instance_p; - u32 phy_link_status; + err_t phy_ret; FASSERT(gmac_netif_p != NULL); FASSERT(gmac_netif_p->state != NULL); @@ -610,11 +625,22 @@ enum lwip_port_link_status FGmacPhyStatus(struct LwipPort *gmac_netif_p) return ETH_LINK_DOWN; } - /* read gmac phy link status */ - phy_link_status = FGmacPhyLinkDetect(gmac_p, gmac_p->phy_addr); - - if (phy_link_status) + if(gmac_p->phy_link_status == FGMAC_NEGOTIATION) { + + phy_ret = FGmacPhyCfgInitialize(gmac_p,GMAC_PHY_RESET_DISABLE); + if (phy_ret != FT_SUCCESS) + { + OS_MAC_DEBUG_E("FGmacPhyCfgInitialize is error \r\n"); + return ETH_LINK_DOWN; + } + gmac_p->phy_link_status = FGMAC_LINKUP; + } + + + /* read gmac phy link status */ + if(gmac_p->phy_link_status == FGMAC_LINKUP) + { return ETH_LINK_UP; } else diff --git a/drivers/eth/gmac/fgmac_os.h b/drivers/eth/gmac/fgmac_os.h index 173a76ef624fcd0d7b6f60c40b0a3e4366bf7ccd..793684165d86273b681d210dfd2c1c6407274e0f 100644 --- a/drivers/eth/gmac/fgmac_os.h +++ b/drivers/eth/gmac/fgmac_os.h @@ -48,19 +48,15 @@ extern "C" #define FGMAX_MAX_HARDWARE_ADDRESS_LENGTH 6 -#define FT_OS_GMAC0_ID FGMAC0_ID -#define FT_OS_GMAC1_ID FGMAC1_ID - -#define FT_NETIF_LINKUP 0x1U -#define FT_NETIF_DOWN 0x2U +#define GMAC_PHY_RESET_ENABLE 1 +#define GMAC_PHY_RESET_DISABLE 0 /** @defgroup ENET_Buffers_setting * @{ */ - - #define GMAC_MTU 1500U +#define GMAC_MTU_JUMBO 10240U /* Common PHY Registers (AR8035) */ #define PHY_INTERRUPT_ENABLE_OFFSET ((u16)0x12) @@ -85,34 +81,35 @@ extern "C" #define GMAC_OS_IRQ_PRIORITY_VALUE (configMAX_API_CALL_INTERRUPT_PRIORITY+1) FASSERT_STATIC((GMAC_OS_IRQ_PRIORITY_VALUE <= IRQ_PRIORITY_VALUE_15) && (GMAC_OS_IRQ_PRIORITY_VALUE >= configMAX_API_CALL_INTERRUPT_PRIORITY)); +#define FGMAC_OS_CONFIG_JUMBO BIT(0) +#define FGMAC_OS_CONFIG_MULTICAST_ADDRESS_FILITER BIT(1) /* Allow multicast address hash filtering */ + typedef struct { u32 instance_id; u32 autonegotiation; /* 1 is autonegotiation ,0 is manually set */ u32 phy_speed; /* FXMAC_PHY_SPEED_XXX */ u32 phy_duplex; /* FXMAC_PHY_XXX_DUPLEX */ -} FtOsGmacPhyControl; +} FGmacPhyControl; typedef struct { FGmac instance; - FtOsGmacPhyControl mac_config; + FGmacPhyControl mac_config; u8 tx_buf[GMAC_TX_DESCNUM * FGMAC_MAX_PACKET_SIZE] __aligned(FGMAC_DMA_MIN_ALIGN); u8 rx_buf[GMAC_RX_DESCNUM * FGMAC_MAX_PACKET_SIZE] __aligned(FGMAC_DMA_MIN_ALIGN); u8 tx_desc[GMAC_TX_DESCNUM * sizeof(FGmacDmaDesc)] __aligned(FGMAC_DMA_MIN_ALIGN); u8 rx_desc[GMAC_RX_DESCNUM * sizeof(FGmacDmaDesc)] __aligned(FGMAC_DMA_MIN_ALIGN); - - u8 is_ready; /* Ft_Os_Gmac Object first need Init use Ft_Os_GmacObjec_Init */ - SemaphoreHandle_t s_semaphore; /* Semaphore to signal incoming packets */ - EventGroupHandle_t s_status_event; /* Event Group to show netif's status ,follow FT_NETIF_XX*/ + /* indicates whether to enbale gmac run in special mode,such as jumbo */ + u32 feature; struct LwipPort *stack_pointer; /* Docking data stack data structure */ u8 hwaddr[FGMAX_MAX_HARDWARE_ADDRESS_LENGTH]; } FGmacOs; FError FGmacOsInit(FGmacOs *instance_p); -FGmacOs *FGmacOsGetInstancePointer(FtOsGmacPhyControl *config_p); +FGmacOs *FGmacOsGetInstancePointer(FGmacPhyControl *config_p); FError FGmacOsConfig(FGmacOs *instance_p, int cmd, void *arg); void *FGmacOsRx(FGmacOs *instance_p); FError FGmacOsTx(FGmacOs *instance_p, void *tx_buf); diff --git a/drivers/eth/xmac/fxmac_os.c b/drivers/eth/xmac/fxmac_os.c index 5b91252b01b41ddb43d82788c5908e6425385060..2be61b76d9731f23673e98c0061c0da6a746f655 100644 --- a/drivers/eth/xmac/fxmac_os.c +++ b/drivers/eth/xmac/fxmac_os.c @@ -43,11 +43,11 @@ #include "fdebug.h" -#define FXMAC_OS_XMAC_DEBUG_TAG "FXMAC_OS_XMAC" -#define FXMAC_OS_XMAC_PRINT_E(format, ...) FT_DEBUG_PRINT_E(FXMAC_OS_XMAC_DEBUG_TAG, format, ##__VA_ARGS__) -#define FXMAC_OS_XMAC_PRINT_I(format, ...) FT_DEBUG_PRINT_I(FXMAC_OS_XMAC_DEBUG_TAG, format, ##__VA_ARGS__) -#define FXMAC_OS_XMAC_PRINT_D(format, ...) FT_DEBUG_PRINT_D(FXMAC_OS_XMAC_DEBUG_TAG, format, ##__VA_ARGS__) -#define FXMAC_OS_XMAC_PRINT_W(format, ...) FT_DEBUG_PRINT_W(FXMAC_OS_XMAC_DEBUG_TAG, format, ##__VA_ARGS__) +#define OS_MAC_DEBUG_TAG "OS_XMAC" +#define FXMAC_OS_XMAC_PRINT_E(format, ...) FT_DEBUG_PRINT_E(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) +#define FXMAC_OS_XMAC_PRINT_I(format, ...) FT_DEBUG_PRINT_I(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) +#define FXMAC_OS_XMAC_PRINT_D(format, ...) FT_DEBUG_PRINT_D(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) +#define FXMAC_OS_XMAC_PRINT_W(format, ...) FT_DEBUG_PRINT_W(OS_MAC_DEBUG_TAG, format, ##__VA_ARGS__) #define FXMAC_BD_TO_INDEX(ringptr, bdptr) \ (((uintptr)bdptr - (uintptr)(ringptr)->base_bd_addr) / (ringptr)->separation) @@ -57,10 +57,14 @@ static void FXmacSetupIsr(FXmacOs *instance_p); extern void sys_sem_signal(sys_sem_t *sem); static FXmacOs fxmac_os_instace[FXMAC_NUM] = { - [FXMAC0_ID] = {.config = (0)}, - [FXMAC1_ID] = {.config = (0)}, - [FXMAC2_ID] = {.config = (0)}, - [FXMAC3_ID] = {.config = (0)}, + [FXMAC0_ID] = {0}, + [FXMAC1_ID] = {0}, +#if defined(FXMAC2_ID) + [FXMAC2_ID] = {0}, +#endif +#if defined(FXMAC3_ID) + [FXMAC3_ID] = {0}, +#endif }; int isr_calling_flg = 0; @@ -261,7 +265,7 @@ FError FXmacSgsend(FXmacOs *instance_p, struct pbuf *p) FCacheDCacheFlushRange((uintptr)q->payload, (uintptr)q->len); FXMAC_BD_SET_ADDRESS_TX(txbd, (uintptr)q->payload); - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { max_fr_size = FXMAC_MAX_FRAME_SIZE_JUMBO; } @@ -336,9 +340,9 @@ void SetupRxBds(FXmacOs *instance_p, FXmacBdRing *rxring) { freebds--; - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { - p = pbuf_alloc(PBUF_RAW, FXMAC_MAX_FRAME_SIZE_JUMBO, PBUF_POOL); + p = pbuf_alloc(PBUF_RAW, FXMAC_MAX_FRAME_SIZE_JUMBO, PBUF_RAM); } else { @@ -379,7 +383,7 @@ void SetupRxBds(FXmacOs *instance_p, FXmacBdRing *rxring) return; } - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { FCacheDCacheInvalidateRange((uintptr)p->payload, (uintptr)MAX_FRAME_SIZE_JUMBO); } @@ -456,7 +460,7 @@ void FXmacRecvHandler(void *arg) /* * Adjust the buffer size to the actual number of bytes received. */ - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { rx_bytes = FXMAC_GET_RX_FRAME_SIZE(curbdptr); } @@ -593,9 +597,9 @@ FError FXmacInitDma(FXmacOs *instance_p) */ for (i = 0; i < FXMAX_RX_PBUFS_LENGTH; i++) { - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { - p = pbuf_alloc(PBUF_RAW, FXMAC_MAX_FRAME_SIZE_JUMBO, PBUF_POOL); + p = pbuf_alloc(PBUF_RAW, FXMAC_MAX_FRAME_SIZE_JUMBO, PBUF_RAM); } else { @@ -639,7 +643,7 @@ FError FXmacInitDma(FXmacOs *instance_p) *temp = 0; DSB(); - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { FCacheDCacheInvalidateRange((uintptr)p->payload, (uintptr)MAX_FRAME_SIZE_JUMBO); } @@ -856,14 +860,14 @@ void FXmacLinkChange(void *args) FXMAC_OS_XMAC_PRINT_I("xmac_p->config.base_address is %p", xmac_p->config.base_address); ctrl = FXMAC_READREG32(xmac_p->config.base_address, FXMAC_PCS_AN_LP_OFFSET); link = (ctrl & FXMAC_PCS_LINK_PARTNER_NEXT_PAGE_STATUS) >> 15; - FXMAC_OS_XMAC_PRINT_I("Link status is 0x%x", link); - switch (link) { case 0: + FXMAC_OS_XMAC_PRINT_I("Link status is down"); link_status = FXMAC_LINKDOWN; break; case 1: + FXMAC_OS_XMAC_PRINT_I("Link status is up"); link_status = FXMAC_LINKUP; break; default: @@ -871,50 +875,6 @@ void FXmacLinkChange(void *args) return; } - if (xmac_p->config.auto_neg == 0) - { - if (link_status == FXMAC_LINKUP) - { - FXMAC_OS_XMAC_PRINT_I("No neg link up (%d/%s)", xmac_p->config.speed, xmac_p->config.duplex == 1 ? "FULL" : "Half"); - xmac_p->link_status = FXMAC_NEGOTIATING; - } - else - { - FXMAC_OS_XMAC_PRINT_I("No neg link down."); - xmac_p->link_status = FXMAC_LINKDOWN; - } - } - - /* read sgmii reg to get status */ - ctrl = FXMAC_READREG32(xmac_p->config.base_address, FXMAC_PCS_AN_LP_OFFSET); - speed_bit = (ctrl & FXMAC_PCS_AN_LP_SPEED) >> FXMAC_PCS_AN_LP_SPEED_OFFSET; - duplex = (ctrl & FXMAC_PCS_AN_LP_DUPLEX) >> FXMAC_PCS_AN_LP_DUPLEX_OFFSET; - - if (speed_bit == 2) - { - speed = FXMAC_SPEED_1000; - } - else if (speed_bit == 1) - { - speed = FXMAC_SPEED_100; - } - else - { - speed = FXMAC_SPEED_10; - } - - if (link_status != xmac_p->link_status) - { - FXMAC_OS_XMAC_PRINT_I("Sgmii link_status has changed."); - } - - /* add erase NCFGR config */ - if ((speed != xmac_p->config.speed) || (duplex != xmac_p->config.duplex)) - { - FXMAC_OS_XMAC_PRINT_I("Sgmii link_status has changed."); - FXMAC_OS_XMAC_PRINT_I("New speed is %d, duplex is %d", speed, duplex); - } - if (link_status == FXMAC_LINKUP) { if (link_status != xmac_p->link_status) @@ -925,8 +885,7 @@ void FXmacLinkChange(void *args) } else { - xmac_p->link_status = link_status; - FXMAC_OS_XMAC_PRINT_I("Change status is 0x%x", link_status); + xmac_p->link_status = FXMAC_LINKDOWN; } } } @@ -1003,7 +962,7 @@ enum lwip_port_link_status FXmacLwipPortLinkDetect(FXmacOs *instance_p) if ((phy_link_status == FXMAC_LINKUP) && FXmacPhyAutonegStatus(xmac_p, xmac_p->phy_address)) { err_t phy_ret; - phy_ret = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg); + phy_ret = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg,XMAC_PHY_RESET_DISABLE); if (phy_ret != FT_SUCCESS) { @@ -1043,7 +1002,7 @@ enum lwip_port_link_status FXmacPhyReconnect(struct LwipPort *xmac_netif_p) { /* 重新自协商 */ err_t phy_ret; - phy_ret = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg); + phy_ret = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg,XMAC_PHY_RESET_DISABLE); if (phy_ret != FT_SUCCESS) { FXMAC_OS_XMAC_PRINT_I("FXmacPhyInit is error."); @@ -1218,23 +1177,23 @@ FError FXmacOsInit(FXmacOs *instance_p) FXMAC_OS_XMAC_PRINT_E("In %s:EmacPs Configuration Failed....", __func__); } - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { FXmacSetOptions(xmac_p, FXMAC_JUMBO_ENABLE_OPTION, 0); } - if (instance_p->config & FXMAC_OS_CONFIG_RX_POLL_RECV) + if (instance_p->feature & FXMAC_OS_CONFIG_RX_POLL_RECV) { xmac_p->mask &= (~FXMAC_IXR_RXCOMPL_MASK); } - if (instance_p->config & FXMAC_OS_CONFIG_MULTICAST_ADDRESS_FILITER) + if (instance_p->feature & FXMAC_OS_CONFIG_MULTICAST_ADDRESS_FILITER) { FXmacSetOptions(xmac_p, FXMAC_MULTICAST_OPTION, 0); } /* enable copy all frames */ - if (instance_p->config & FXMAC_OS_CONFIG_COPY_ALL_FRAMES) + if (instance_p->feature & FXMAC_OS_CONFIG_COPY_ALL_FRAMES) { FXmacSetOptions(xmac_p, FXMAC_PROMISC_OPTION, 0); } @@ -1246,13 +1205,13 @@ FError FXmacOsInit(FXmacOs *instance_p) } /* close fcs check */ - if (instance_p->config & FXMAC_OS_CONFIG_CLOSE_FCS_CHECK) + if (instance_p->feature & FXMAC_OS_CONFIG_CLOSE_FCS_CHECK) { FXmacSetOptions(xmac_p, FXMAC_FCS_STRIP_OPTION, 0); } /* initialize phy */ - status = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg); + status = FXmacPhyInit(xmac_p, xmac_p->config.speed, xmac_p->config.duplex, xmac_p->config.auto_neg,XMAC_PHY_RESET_ENABLE); if (status != FT_SUCCESS) { FXMAC_OS_XMAC_PRINT_W("FXmacPhyInit is error."); @@ -1275,10 +1234,6 @@ FError FXmacOsInit(FXmacOs *instance_p) return FT_SUCCESS; } -FError FXmacOsConfig(FXmacOs *instance_p, int cmd, void *arg) -{ - return FT_SUCCESS; -} /** * @name: FXmacOsRx @@ -1362,7 +1317,7 @@ FError FXmacOsTx(FXmacOs *instance_p, void *tx_buf) return ret; } -FXmacOs *FXmacOsGetInstancePointer(FXmacOsControl *config_p) +FXmacOs *FXmacOsGetInstancePointer(FXmacPhyControl *config_p) { FXmacOs *instance_p; FASSERT(config_p != NULL); @@ -1373,7 +1328,7 @@ FXmacOs *FXmacOsGetInstancePointer(FXmacOsControl *config_p) FASSERT_MSG(config_p->phy_duplex <= FXMAC_PHY_FULL_DUPLEX, "config_p->phy_duplex %d is over FXMAC_PHY_FULL_DUPLEX", config_p->phy_duplex); instance_p = &fxmac_os_instace[config_p->instance_id]; - memcpy(&instance_p->mac_config, config_p, sizeof(FXmacOsControl)); + memcpy(&instance_p->mac_config, config_p, sizeof(FXmacPhyControl)); return instance_p; } @@ -1392,7 +1347,6 @@ void FXmacOsStop(FXmacOs *instance_p) void FXmacOsStart(FXmacOs *instance_p) { FASSERT(instance_p != NULL); - /* start mac */ FXmacStart(&instance_p->instance); } \ No newline at end of file diff --git a/drivers/eth/xmac/fxmac_os.h b/drivers/eth/xmac/fxmac_os.h index 785671257909e15ba692ba5b2a047aded43e6b2a..0c685a740d4219fb90afa5921d69a476a48d01eb 100644 --- a/drivers/eth/xmac/fxmac_os.h +++ b/drivers/eth/xmac/fxmac_os.h @@ -43,11 +43,14 @@ extern "C" { #define FXMAX_RX_BDSPACE_LENGTH 0x20000 /* default set 128KB*/ #define FXMAX_TX_BDSPACE_LENGTH 0x20000 /* default set 128KB*/ -#define FXMAX_RX_PBUFS_LENGTH 128 #define FXMAX_TX_PBUFS_LENGTH 128 +#define FXMAX_RX_PBUFS_LENGTH 128 #define FXMAX_MAX_HARDWARE_ADDRESS_LENGTH 6 +#define XMAC_PHY_RESET_ENABLE 1 +#define XMAC_PHY_RESET_DISABLE 0 + /* configuration */ #define FXMAC_OS_CONFIG_JUMBO BIT(0) #define FXMAC_OS_CONFIG_MULTICAST_ADDRESS_FILITER BIT(1) /* Allow multicast address filtering */ @@ -106,12 +109,12 @@ typedef struct u32 autonegotiation; /* 1 is autonegotiation ,0 is manually set */ u32 phy_speed; /* FXMAC_PHY_SPEED_XXX */ u32 phy_duplex; /* FXMAC_PHY_XXX_DUPLEX */ -} FXmacOsControl; +} FXmacPhyControl; typedef struct { FXmac instance; - FXmacOsControl mac_config; + FXmacPhyControl mac_config; FXmacNetifBuffer buffer; @@ -119,14 +122,14 @@ typedef struct PqQueue recv_q; PqQueue send_q; - /* configuration */ - u32 config; + /* indicates whether to enbale xmac run in special mode,such as jumbo */ + u32 feature; struct LwipPort *stack_pointer; /* Docking data stack data structure */ u8 hwaddr[FXMAX_MAX_HARDWARE_ADDRESS_LENGTH]; } FXmacOs; -FXmacOs *FXmacOsGetInstancePointer(FXmacOsControl *config_p); +FXmacOs *FXmacOsGetInstancePointer(FXmacPhyControl *config_p); FError FXmacOsInit(FXmacOs *instance_p); FError FXmacOsConfig(FXmacOs *instance_p, int cmd, void *arg); void *FXmacOsRx(FXmacOs *instance_p); diff --git a/drivers/qspi/fqspi/fqspi_os.c b/drivers/qspi/fqspi/fqspi_os.c index a05198a632fd9f586f15fe9363466dcd3c27afd3..fcaaf64b1994c2329070aed080c918d4da7ed790 100644 --- a/drivers/qspi/fqspi/fqspi_os.c +++ b/drivers/qspi/fqspi/fqspi_os.c @@ -105,7 +105,6 @@ FError FFreeRTOSQspiTransfer(FFreeRTOSQspi *os_qspi_p, FFreeRTOSQspiMessage *mes FASSERT(cs < FQSPI_CS_NUM); static u8 cs_bak = 0; - static u8 read_cmd_bak = 0; size_t read_len = 0; /* New transfer can be performed only after current one is finished */ @@ -152,10 +151,9 @@ FError FFreeRTOSQspiTransfer(FFreeRTOSQspi *os_qspi_p, FFreeRTOSQspiMessage *mes if (NULL != read_buf) { /* read norflash data */ - if (cmd != read_cmd_bak) + if (pctrl->rd_cfg.rd_cmd != cmd) { ret |= FQspiFlashReadDataConfig(pctrl, cmd); - read_cmd_bak = cmd; if (FQSPI_SUCCESS != ret) { FQSPI_ERROR("Qspi read config failed."); diff --git a/drivers/spi/fspim/fspim_os.c b/drivers/spi/fspim/fspim_os.c index 8560eac12c204c6ed2ac2d44c9198a3b03708bd4..6a9e81bcc69d7e199b47b6c6ed8bdd0b7c78ec37 100644 --- a/drivers/spi/fspim/fspim_os.c +++ b/drivers/spi/fspim/fspim_os.c @@ -164,6 +164,7 @@ FFreeRTOSSpim *FFreeRTOSSpimInit(u32 id, const FFreeRTOSSpimConifg *input_config config.irq_prority = FFREERTOS_SPIM_IRQ_PRIORITY; config.max_freq_hz = FSPIM_OS_MAX_SPEED; + FIOMuxInit(); FIOPadSetSpimMux(id); FSPIM_INFO("init spi-%d @ 0x%x", config.instance_id, config.base_addr); diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config b/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config index 808e8250a7291d007624ca74d96d5d905130b446..a1d0e62e86e0f0ddda3b8ab3f8bc3f9263f45cfa 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch32_test_eventgroup.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config b/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config index 769875586a074de3c1681284f3fce502d2d72a2b..47498996aad06b9d21d0843086fd11217445f9f2 100644 --- a/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/d2000_aarch64_test_eventgroup.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config index ca046abca587e6eb478d40f68d46aa73e86021ff..45523929ac37624cbf808bbad4eafc3d8519ccb2 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch32_demo_eventgroup.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config index d066e72f5827f1f14c88a588bcd7ff0e45efb88e..472a04611e17b2fd21bf1363b879fdfe29ff9752 100644 --- a/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000d_aarch64_demo_eventgroup.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config index e2f31e1019ff064ddad957a994aceaf6a0d90cc4..e91f1c751c3f5f2191d92c3a71810b4758f5ddb5 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch32_demo_eventgroup.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config index a10ca2e001e5ca3d16fbfc152dec84390e9d0ec4..babe89918e4d3961e68ef0949a623ee20c05423a 100644 --- a/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/e2000q_aarch64_demo_eventgroup.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config index d373649c31c4359603b322b5519d890850bfd196..ad8d379ce624786999fca8696312f714b7704fcb 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch32_dsk_eventgroup.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config index 79e9577c5b3084956ba95b2c3fac53b6313e7828..bcc215f5dc7731c9bfb6051a97500c4096a4eb6a 100644 --- a/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/ft2004_aarch64_dsk_eventgroup.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config index a7fb4d82ee6faf28df983aa47b4a74ff67d5e3d5..5c23ad10d857066070941a77fff5b5af14314200 100644 --- a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch32_firefly_eventgroup.config @@ -151,7 +151,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -162,6 +161,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config index 271ac4d3ac40c39f1061c0a576a5364d5278e0f3..e47e93d2abda010d2da9ddc1454462ef391c8860 100644 --- a/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config +++ b/example/freertos_feature/eventgroup/configs/phytiumpi_aarch64_firefly_eventgroup.config @@ -145,7 +145,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -156,6 +155,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/sdkconfig b/example/freertos_feature/eventgroup/sdkconfig index 271ac4d3ac40c39f1061c0a576a5364d5278e0f3..e47e93d2abda010d2da9ddc1454462ef391c8860 100644 --- a/example/freertos_feature/eventgroup/sdkconfig +++ b/example/freertos_feature/eventgroup/sdkconfig @@ -145,7 +145,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -156,6 +155,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/eventgroup/sdkconfig.h b/example/freertos_feature/eventgroup/sdkconfig.h index b5f5689c2ff406145bad03db1b435cf33765ab9f..604c022a77b4e926bbb481eb75d8fd7244f59eff 100644 --- a/example/freertos_feature/eventgroup/sdkconfig.h +++ b/example/freertos_feature/eventgroup/sdkconfig.h @@ -134,7 +134,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -144,6 +143,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config b/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config index dc71cc8a6a2b2c068223d821f2762e90a4ceb066..3c1ac5768a5351dcf3689f618956037af43a5182 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config +++ b/example/freertos_feature/interrupt/configs/d2000_aarch32_test_interrupt.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config b/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config index c1919884113ea8b7e6b82ab633dd8073eecebdef..c77b13a8e4193d0205cc78a755e805d488233242 100644 --- a/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config +++ b/example/freertos_feature/interrupt/configs/d2000_aarch64_test_interrupt.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config index 46b48805b0e13eacfac0043e57564509b985b106..feeb916f5c6c82d4d3ae7af802bfd35de2e0fa01 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch32_demo_interrupt.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config index ca6ffc737b843fa67de343546ca5d7f9a9ee9564..a8ecc228b6ec4409114cfaf6c3e6857022bd8f05 100644 --- a/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000d_aarch64_demo_interrupt.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config index 2e6a9d7839a53e51ef2a49f9195ca18db2ac9be5..8a70b4185642d1a188e24d0869f85f13ade69d93 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch32_demo_interrupt.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config b/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config index b236a68579e1497298f6e356bb24b1a801a5abfa..21803179ba7a77b9e8be83e4b4c4dc236ad451e8 100644 --- a/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config +++ b/example/freertos_feature/interrupt/configs/e2000q_aarch64_demo_interrupt.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config b/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config index 6cdf95b56024f3450bf9be9261f86dbbcaf91b30..146e5254690dfec67de8cb3fecbb9af03a9ff103 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch32_dsk_interrupt.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config b/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config index f5eb28dbb7bb71c0a9bdea07048af534be3a223f..341eecad1633d792b442a0d882e265824061f986 100644 --- a/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config +++ b/example/freertos_feature/interrupt/configs/ft2004_aarch64_dsk_interrupt.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config b/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config index d891f815116cb7d4b0248b95388f9613529c15cc..f78f901d5dee6e4b5c45c28bb26bb98fd41ecdde 100644 --- a/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config +++ b/example/freertos_feature/interrupt/configs/phytiumpi_aarch32_firefly_interrupt.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config b/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config index 6e99430c43997157db2a4cc737947f86f180dac5..65ec9d5678f8901c413c43e05f927b946e123798 100644 --- a/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config +++ b/example/freertos_feature/interrupt/configs/phytiumpi_aarch64_firefly_interrupt.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/sdkconfig b/example/freertos_feature/interrupt/sdkconfig index 6e99430c43997157db2a4cc737947f86f180dac5..65ec9d5678f8901c413c43e05f927b946e123798 100644 --- a/example/freertos_feature/interrupt/sdkconfig +++ b/example/freertos_feature/interrupt/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/interrupt/sdkconfig.h b/example/freertos_feature/interrupt/sdkconfig.h index e6f98ebfdf1832550cb512e2e94b2441480788ea..307b92704872621be26491837f15fb48aad8a102 100644 --- a/example/freertos_feature/interrupt/sdkconfig.h +++ b/example/freertos_feature/interrupt/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config b/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config index 823cc5d1c44acc8cc23bde1e21a73ae7a4f31d8f..3c3cb9dd0ea390ef6a22b046e9daad9be3cbb17a 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config +++ b/example/freertos_feature/queue/configs/d2000_aarch32_test_queue.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config b/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config index 42a91f5836c4903c20ae0d5fe0eb43699d5fe477..9441cf0336a59760119df3dd1f4cf69c7312600b 100644 --- a/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config +++ b/example/freertos_feature/queue/configs/d2000_aarch64_test_queue.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config b/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config index 5d43a1c3401cb99597427268ef16f11338ae81a8..e052d2b0d62a3ebaf7824435b6ba0105f4cba47b 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000d_aarch32_demo_queue.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config b/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config index 679402501b5b4bb7921153ac52284ecf5f5a42b1..2351d466198eacd740a31cbcbc2db6dcedba8ec8 100644 --- a/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000d_aarch64_demo_queue.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config b/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config index 8fc88bda9a50aa7fafe8438e573e8ed51e8e5dbf..337db40cfc3b15a6f0a64ef9a1d1809108e85196 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000q_aarch32_demo_queue.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config b/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config index d50d5a8a73ea20fbd29e12e8dec400e628d1180f..ac3fd2936cb1cb40a4aa3825bef5c60cd9005755 100644 --- a/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config +++ b/example/freertos_feature/queue/configs/e2000q_aarch64_demo_queue.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config b/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config index 7e62054f651192827d0b6fbb6ffd5ca52966ee24..0529a35d421d1f9aa3e4d2bbd17148e633d11056 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config +++ b/example/freertos_feature/queue/configs/ft2004_aarch32_dsk_queue.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config b/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config index 13b8a4f4e3124bda81868992c5ad476f6438909d..15d3ffa2cdf5a83ca94f6cbcf5262d2e45532527 100644 --- a/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config +++ b/example/freertos_feature/queue/configs/ft2004_aarch64_dsk_queue.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config b/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config index dc984f84f49ffbcb4cc16a1c692a9ada32029b6a..0fb20b40df734a77d3f299927f9422576560c28b 100644 --- a/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config +++ b/example/freertos_feature/queue/configs/phytiumpi_aarch32_firefly_queue.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config b/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config index 6eb7b54b726334d9a47bb4e6f5278f2d9a728c20..596f6d1211709c10e167d1f8ac19edcb86db7176 100644 --- a/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config +++ b/example/freertos_feature/queue/configs/phytiumpi_aarch64_firefly_queue.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/sdkconfig b/example/freertos_feature/queue/sdkconfig index 6eb7b54b726334d9a47bb4e6f5278f2d9a728c20..596f6d1211709c10e167d1f8ac19edcb86db7176 100644 --- a/example/freertos_feature/queue/sdkconfig +++ b/example/freertos_feature/queue/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/queue/sdkconfig.h b/example/freertos_feature/queue/sdkconfig.h index 6a95406243b59f7123c06073f32c7299f70f5b99..20ccecd66fb6a823519255871a32460096a54429 100644 --- a/example/freertos_feature/queue/sdkconfig.h +++ b/example/freertos_feature/queue/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config b/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config index 0fdb0693665cdef7426f4487aab1a42015392be8..a90c62ac3b37d604001e291e5ca99ca668ce9713 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config +++ b/example/freertos_feature/resource/configs/d2000_aarch32_test_resoure.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config b/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config index 07a64a1338aed60ba7539e1d11b1ee240030088e..31c2472170c7aa8e78d98f3b8120cb5a3375374b 100644 --- a/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config +++ b/example/freertos_feature/resource/configs/d2000_aarch64_test_resoure.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config b/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config index d5134c4185a120d7a44ed375c2506dbcdb0180b6..75f60fbaef3e73bc7902ac01c8aedf6a707605a3 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000d_aarch32_demo_resoure.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config b/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config index 50f52a8169f2ccac9be9750b15801c2e226fe4e7..64ee308ae2514878f7d682ee3e01b39f29f74c52 100644 --- a/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000d_aarch64_demo_resoure.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config b/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config index 235a67181ed14aae61b9c4acb124ec7fc118768a..3a9f86b25e9740c95e8315447778fa2c07543768 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000q_aarch32_demo_resoure.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config b/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config index 33638a6c4ccfaee6cbed828740056f41660b2596..11af4b7f871feb5405e34cc13ab60f24d39565e2 100644 --- a/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config +++ b/example/freertos_feature/resource/configs/e2000q_aarch64_demo_resoure.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config b/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config index 52c559a6a482df8c3ad9342a3f45c89b5f3a98fe..33c41a2af3aa6caa2c07f786587e92f061d3ae4b 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config +++ b/example/freertos_feature/resource/configs/ft2004_aarch32_dsk_resoure.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config b/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config index e95045d280999fd401d6fceccff84c4479970d3f..ac32f118dbc5ab83447fd0dfbd5161c250ebebae 100644 --- a/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config +++ b/example/freertos_feature/resource/configs/ft2004_aarch64_dsk_resoure.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config b/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config index f61fc67b46259c1c495c5131ec5c6263f5afe9d5..fdb624fc81fdeaf88c5c93a9a32cb6a22a029379 100644 --- a/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config +++ b/example/freertos_feature/resource/configs/phytiumpi_aarch32_firefly_resoure.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config b/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config index ab5d46de7786006fb5624eada00f4e55e754b5cf..3740502c8a387c43c37f7f6fd7af3cb26b2ef47c 100644 --- a/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config +++ b/example/freertos_feature/resource/configs/phytiumpi_aarch64_firefly_resoure.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/sdkconfig b/example/freertos_feature/resource/sdkconfig index ab5d46de7786006fb5624eada00f4e55e754b5cf..3740502c8a387c43c37f7f6fd7af3cb26b2ef47c 100644 --- a/example/freertos_feature/resource/sdkconfig +++ b/example/freertos_feature/resource/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/resource/sdkconfig.h b/example/freertos_feature/resource/sdkconfig.h index 4f5e077c787cccde4fa2ff9724ba7a68ce542f3a..956efb551e1000e633d615867a0087fefba460ee 100644 --- a/example/freertos_feature/resource/sdkconfig.h +++ b/example/freertos_feature/resource/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config b/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config index f3d8db4c68050a6bc1a0fc923dba9d621d2fe460..3a892934f5df69b24bd059645e9e3579ef3b590b 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config +++ b/example/freertos_feature/software_timer/configs/d2000_aarch32_test_software_timer.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config b/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config index a90c3280c98ba747873eb972ec294b7be94d46c2..432ab4418742ee6449c5e40cf6b5b039001ba9ab 100644 --- a/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config +++ b/example/freertos_feature/software_timer/configs/d2000_aarch64_test_software_timer.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config index f7034ad56e5224353945e9d54f79a972a5f3835b..f26aed1dd57473e84e8917c00e96a5fb4ad84ed5 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch32_demo_software_timer.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config index 639e51aef2fb5995dcdd32a5f9ed543d446d1ca5..00ee23a0709b29e10847c6d618fc9af1a6261bac 100644 --- a/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000d_aarch64_demo_software_timer.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config index e34d58784e51055ec75cb36fa80babb399fd37e8..961955bcaf8fb89e568016295016cd6ec737d684 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch32_demo_software_timer.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config b/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config index 8f99435fd98be08d4977ac6e665465e2c48e6777..667e7a06327e07e7b391c03d9dea631642267c7d 100644 --- a/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config +++ b/example/freertos_feature/software_timer/configs/e2000q_aarch64_demo_software_timer.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config b/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config index a3e44ac7957fbb9274127d0d0fadd251c2ff06cc..3e112c755a9beee3420df00bff8c2a943a6b8f7e 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch32_dsk_software_timer.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config b/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config index 9acc8474f48faf04333f2df0cad6157cd4609fb7..3398d307a78d37e996fc88668deaa43c2e508266 100644 --- a/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config +++ b/example/freertos_feature/software_timer/configs/ft2004_aarch64_dsk_software_timer.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config b/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config index 1de1b88b1065179d77b6763e7272abd330dc2f97..9d7368cc116592051c00981d1361933dc9ed6646 100644 --- a/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config +++ b/example/freertos_feature/software_timer/configs/phytiumpi_aarch32_firefly_software_timer.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config b/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config index 8007f08f7a26eb1a3fb8bbe695761fd9e0d2a317..c9c5958f7e1f8f79efeca1abc84ce377b553ff52 100644 --- a/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config +++ b/example/freertos_feature/software_timer/configs/phytiumpi_aarch64_firefly_software_timer.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/sdkconfig b/example/freertos_feature/software_timer/sdkconfig index 8007f08f7a26eb1a3fb8bbe695761fd9e0d2a317..c9c5958f7e1f8f79efeca1abc84ce377b553ff52 100644 --- a/example/freertos_feature/software_timer/sdkconfig +++ b/example/freertos_feature/software_timer/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/software_timer/sdkconfig.h b/example/freertos_feature/software_timer/sdkconfig.h index cb7605bbf6336acc3d464d12858ec90daaac9ae4..e68ac0d41af2fa18b47e1a9e76c35ef56628e9b5 100644 --- a/example/freertos_feature/software_timer/sdkconfig.h +++ b/example/freertos_feature/software_timer/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/task/configs/d2000_aarch32_test_task.config b/example/freertos_feature/task/configs/d2000_aarch32_test_task.config index b51a77b6ad8f60b16c090dbaaca2f63f74614e86..996675315cd037003a315fcccadc5e70182bdb72 100644 --- a/example/freertos_feature/task/configs/d2000_aarch32_test_task.config +++ b/example/freertos_feature/task/configs/d2000_aarch32_test_task.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/d2000_aarch64_test_task.config b/example/freertos_feature/task/configs/d2000_aarch64_test_task.config index fced0f6d0c412502fe917a51b1ec3b664f62ba55..c62a83f42fb853e189f3cafe111552ce3c725dbf 100644 --- a/example/freertos_feature/task/configs/d2000_aarch64_test_task.config +++ b/example/freertos_feature/task/configs/d2000_aarch64_test_task.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config b/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config index cee76e6e019e579c91b19ce9c3f8f6a34aca302c..3f5a991f4430f6962d69dd0a20b4af53e1fb6f41 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config +++ b/example/freertos_feature/task/configs/e2000d_aarch32_demo_task.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config b/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config index 481b658c321e455d52dd3a6bf0a7081efafa4cf6..6cedbacc114a75c69d3a472f8ccf75bcb415752f 100644 --- a/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config +++ b/example/freertos_feature/task/configs/e2000d_aarch64_demo_task.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config b/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config index bff65a683f02c922c08c8753200189049765b907..5c4cb9427e5da4cbe7e54cfcb8befa325bd8c0fa 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config +++ b/example/freertos_feature/task/configs/e2000q_aarch32_demo_task.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config b/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config index 37be0078100038cde174a9735830a88d60b0668d..e160f440c23634ea7cacb67b9b572002e8e41698 100644 --- a/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config +++ b/example/freertos_feature/task/configs/e2000q_aarch64_demo_task.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config b/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config index f615d2d7b5667c2bf4eca248a83246aa2c801d36..638efd541de74b66c930408012c63a2f0bd2aa85 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config +++ b/example/freertos_feature/task/configs/ft2004_aarch32_dsk_task.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config b/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config index ca1407c95fe2f1f302b325592962ddd0c10795f6..7366d5cb04ef4c6f1e02ecb97a3d186f530070ef 100644 --- a/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config +++ b/example/freertos_feature/task/configs/ft2004_aarch64_dsk_task.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config b/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config index da2424ecc6576fdbf0dc734fc67914f9516f001c..4f37eda975bfe298e09f800f4541769baa5d25e5 100644 --- a/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config +++ b/example/freertos_feature/task/configs/phytiumpi_aarch32_firefly_task.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config b/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config index b4e861f01d394bcd9b48c0a457801942366765c8..a70a6f8d20b538f37794d25d93099b0bcbadb3bc 100644 --- a/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config +++ b/example/freertos_feature/task/configs/phytiumpi_aarch64_firefly_task.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/sdkconfig b/example/freertos_feature/task/sdkconfig index b4e861f01d394bcd9b48c0a457801942366765c8..a70a6f8d20b538f37794d25d93099b0bcbadb3bc 100644 --- a/example/freertos_feature/task/sdkconfig +++ b/example/freertos_feature/task/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task/sdkconfig.h b/example/freertos_feature/task/sdkconfig.h index 030c78e9d00949595623858cc9448eb21834b18c..697157a7ad124be1627257d266e6984f3c339b15 100644 --- a/example/freertos_feature/task/sdkconfig.h +++ b/example/freertos_feature/task/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config b/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config index 3ac4ada31abdff5d9e9ceb560ed4980b892434cd..0e36cf88b30980f1379de40de931180ac542ee3e 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config +++ b/example/freertos_feature/task_notify/configs/d2000_aarch32_test_task_notify.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config b/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config index 2be3331135d880c3a0abf16cf8cf07205cf53803..c01e416e98a3d29e1935910752623867818774ad 100644 --- a/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config +++ b/example/freertos_feature/task_notify/configs/d2000_aarch64_test_task_notify.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config index 78c3c785e67ffa1f7c6a2215331a95071bfe6791..03aec3ee1d8bf6fae2d949fe65953733f2854b0e 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch32_demo_task_notify.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config index 621d3527bd37082cba9c5ac4c01678686067705f..743cdb6e21dc951bbc1de3c1659a25f6df31f93e 100644 --- a/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000d_aarch64_demo_task_notify.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config index f807bdfb3a0407a2de06970424e039053fc65094..cf595ac7e248b22109c7f957ce3be20a84108c82 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch32_demo_task_notify.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config b/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config index 2da7ac9d2fde5dde67c2673890626bd985b3bf17..ae71ffc9b991d9ced1d5945f6f2e9bc9261f5e3e 100644 --- a/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config +++ b/example/freertos_feature/task_notify/configs/e2000q_aarch64_demo_task_notify.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config b/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config index 2ff89141ae50b294bb18e3fe6e2e2eed55320bfc..642b52b18a8a03a5ddaa4d98891f6a73bb087343 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch32_dsk_task_notify.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config b/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config index 21975873ed7cb249ff44bf9239d6b096861b022e..cb75fa6f33b9c3cb781c6e67714ebd0a1a139d8f 100644 --- a/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config +++ b/example/freertos_feature/task_notify/configs/ft2004_aarch64_dsk_task_notify.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config b/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config index eb097a3c76697b3c25127714624957f97ca7b973..cc35e09a4ddc676615243b04e45f065384c4ca9d 100644 --- a/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config +++ b/example/freertos_feature/task_notify/configs/phytiumpi_aarch32_firefly_task_notify.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config b/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config index c4e06f5f109cb539b941d9727e8ab9618bb3594e..26d34295d2ad1467f0510010e1e344ba1e323097 100644 --- a/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config +++ b/example/freertos_feature/task_notify/configs/phytiumpi_aarch64_firefly_task_notify.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/sdkconfig b/example/freertos_feature/task_notify/sdkconfig index c4e06f5f109cb539b941d9727e8ab9618bb3594e..26d34295d2ad1467f0510010e1e344ba1e323097 100644 --- a/example/freertos_feature/task_notify/sdkconfig +++ b/example/freertos_feature/task_notify/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/freertos_feature/task_notify/sdkconfig.h b/example/freertos_feature/task_notify/sdkconfig.h index 9f618cae6a936441ece93fd898ac9173ec7295ae..3f6dca605652ec4848e11368ccc9b24aad6267c7 100644 --- a/example/freertos_feature/task_notify/sdkconfig.h +++ b/example/freertos_feature/task_notify/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/network/lwip_startup/Kconfig b/example/network/lwip_startup/Kconfig index 3ca6c51a58ec22d2fd7d6323730b4c6c606812a8..1e8d2b19e22767c54a63fa9236bb6c2ba36b2417 100644 --- a/example/network/lwip_startup/Kconfig +++ b/example/network/lwip_startup/Kconfig @@ -1,6 +1,4 @@ mainmenu "Phytium FreeRTOS Configuration" - - source "./src/Kconfig" source "$(SDK_DIR)/../freertos.kconfig" diff --git a/example/network/lwip_startup/README.md b/example/network/lwip_startup/README.md index d29d222185bef45d77e84c1ca3c1a29d0cc8043a..d2bbc2772b223b0ed7c8e3bb60ee13941f862790 100644 --- a/example/network/lwip_startup/README.md +++ b/example/network/lwip_startup/README.md @@ -1,62 +1,75 @@ -# lwip base on freertos +# LWIP STARTUP 测试 ## 1. 例程介绍 -- 本例程示范了freertos环境下的lwip移植。 -- 并且介绍了开发者如何在我方sdk下如何正常初始化网络控制器 +>介绍例程的用途,使用场景,相关基本概念,描述用户可以使用例程完成哪些工作
+ +本例程示范了MAC控制器在lwip各种模式下的初始化流程,初始化成功后的网卡数据收发正常,能够ping通网络。 + +### 1.1 网卡ipv4模式初始化测试例程 (lwip_ipv4_example.c) +- ipv4模式下初始化开发板上所有网口以及对应网卡控制器 +- 为每个网卡配置静态IPv4地址 +- 可以通过主机端对相应网口进行ping通 + +### 1.2 网卡ipv6模式初始化测试例程 (lwip_ipv6_example.c) +- ipv6模式下初始化开发板上所有网口以及对应网卡控制器 +- 为每个网卡配置静态IPv6地址 +- 可以通过主机端对相应网口进行ping通 + +### 1.3 网卡dhcp模式初始化测试例程 (lwip_dhcp_example.c) +- dhcp模式下初始化开发板上所有网口以及对应网卡控制器 +- 由dhcp服务器对每个网卡自动分配IPv4地址 +- 可以通过主机端对相应网口进行ping通 ## 2. 如何使用例程 -本例程需要用到 -- Phytium开发板(E2000/D2000/FT2004) -- [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 硬件配置方法 +>描述开发平台准备,使用例程配置,构建和下载镜像的过程
-本例程支持的硬件平台包括 +本例程需要以下硬件, -- E2000D/Q -- FT2004 -- D2000 -- PhytiumPi +- E2000D/Q Demo板,FT2000/4开发板,D2000开发板,PhytiumPi +- 串口线和串口上位机 -对应的配置项是, +### 2.1 硬件配置方法 -- CONFIG_TARGET_E2000D -- CONFIG_TARGET_E2000Q -- CONFIG_TARGET_FT2004 -- CONFIG_TARGET_D2000 -- CONFIG_TARGET_PHYTIUMPI +>哪些硬件平台是支持的,需要哪些外设,例程与开发板哪些IO口相关等(建议附录开发板照片,展示哪些IO口被引出)
+- 为方便测试,一般需要自带路由器设备。 +- 利用路由器上的多个接口,我们可以更加方便的进行多网口测试。 +- 路由器一般能够提供dhcp服务,利用该服务,我们可以在运行网卡dhcp模式初始化测试例程时看到相应的dhcp服务器分配地址的现象。 +- 关于路由器配置,请参考网上相关资料自行配置。 ### 2.2 SDK配置方法 -本例程需要, +>依赖哪些驱动、库和第三方组件,如何完成配置(列出需要使能的关键配置项)
-- 使能LWIP +本例程需要: +- LWIP组件,依赖 USE_LWIP +- Letter Shell组件,依赖 USE_LETTER_SHELL 对应的配置项是, - CONFIG_USE_LWIP - CONFIG_USE_LETTER_SHELL -本例子已经提供好具体的编译指令,以下进行介绍: -- make 将目录下的工程进行编译 -- make clean 将目录下的工程进行清理 -- make image 将目录下的工程进行编译,并将生成的elf 复制到目标地址 -- make list_kconfig 当前工程支持哪些配置文件 -- make load_kconfig LOAD_CONFIG_NAME=< kconfig-nfiguration files > 将预设配置加载至工程中 -- make menuconfig 配置目录下的参数变量 -- make backup_kconfig 将目录下的sdkconfig 备份到./configs下 +- 本例子已经提供好具体的编译指令,以下进行介绍: + + 1. make 将目录下的工程进行编译 + 2. make clean 将目录下的工程进行清理 + 3. make image 将目录下的工程进行编译,并将生成的elf 复制到目标地址 + 4. make list_kconfig 当前工程支持哪些配置文件 + 5. make load_kconfig LOAD_CONFIG_NAME=`` 将预设配置加载至工程中 + 6. make menuconfig 配置目录下的参数变量 + 7. make backup_kconfig 将目录下的sdkconfig 备份到./configs下 +- 具体使用方法为: -具体使用方法为: -- 在当前目录下 -- 执行以上指令 + - 在当前目录下 + - 执行以上指令 ### 2.3 构建和下载 -#### 2.3.1 构建过程 +>描述构建、烧录下载镜像的过程,列出相关的命令
-本文档将以E2000Ddemo开发板为例,对于其它平台,使用对应的默认配置 +本文档将以E2000D demo开发板为例,对于其它平台,使用对应的默认配置 - 在host端完成配置 - 选择目标平台 @@ -83,16 +96,16 @@ make make image ``` -#### 2.3.2 下载过程 - - host侧设置重启host侧tftp服务器 + ``` -sudo service tftpd-hpa start +sudo service tftpd-hpa restart ``` - 开发板侧使用bootelf命令跳转 + ``` -setenv ipaddr 192.168.4.20 +setenv ipaddr 192.168.4.20 setenv serverip 192.168.4.50 setenv gatewayip 192.168.4.1 tftpboot 0x90100000 freertos.elf @@ -101,52 +114,34 @@ bootelf -p 0x90100000 ### 2.4 输出与实验现象 -- 启动进入后,根据连接的xmac口,输入指令完成网口初始化 - -### 2.4.1 如何配置demo 程序 - -- 本程序默认支持ipv4,开发者使用"make menuconfig"在以下配置选项中打开 - -![](./pic/network_demo_config.png) - -- 如上图所示,开发者可以通过勾选 Enable IPv6 开启IPv6 的功能,通过勾选Enable DHCP 开启 dhcp client 功能 +>描述输入输出情况,列出存在哪些输出,对应的输出是什么(建议附录相关现象图片)
- -### 2.4.2 如何进行实验 - -- 当开发者配置好程序之后,通过2.3.1/2.3.2的方式将编译好的镜像文件拷贝至开发板中。 -- 以E2000D/Q demo 板为例,开发者输入以下命令则可以初始化网卡: +#### 2.4.1 网卡ipv4模式初始化测试例程 (lwip_ipv4_example.c) ``` -lwip probe 0 0 1 0 192.168.4.10 192.168.4.1 255.255.255.0 +lwip ipv4 ``` -命令定义为: +![ipv4_example_result](./fig/ipv4_example_result.png) +![ipv4_example_ping](./fig/ipv4_ping.png) + +#### 2.4.2 网卡ipv6模式初始化测试例程 (lwip_ipv6_example.c) + ``` -lwip probe +lwip ipv6 ``` -- driver id 为驱动类型 , 0为xmac ,1为gmac -- device id 为mac控制器 -- interface id 为gmii 控制器类型,0 is rgmii ,1 is sgmii -- dhcp_en 1为使能dhcp 功能,0为关闭dhcp 功能 -- ipaddr 为ipv4 地址,示例为: 192.168.4.10 -- gateway 为网关 ,示例为: 192.168.4. -- netmask 为子网掩码,示例为255.255.255.0 - -- 效果图如下 +![ipv6_example_result](./fig/ipv6_example_result.png) +![ipv6_example_ping](./fig/ipv6_ping.png) -![](./pic/lwip_probe.png) -![](./pic/ping.png) -![](./pic/ping_ipv6.png) +#### 2.4.3 网卡dhcp模式初始化测试例程 (lwip_dhcp_example.c) -- 使能dhcp模式后,输入以下指令,开启dhcp网卡测试 ``` -lwip probe 0 0 1 1 +lwip dhcp ``` -![](./pic/dhcp_test.png) -![](./pic/dhcp_ping.png) +![dhcp_example_result](./fig/dhcp_example_result.png) +![dhcp_example_ping](./fig/dhcp_ping.png) ## 3. 如何解决问题 diff --git a/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config b/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config index c8ff6e4b6dd32e5decb62c9bcb15743350f5321f..4dde5abd395bc5cb493584c6c658f047c424f45e 100644 --- a/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config +++ b/example/network/lwip_startup/configs/d2000_aarch32_test_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -95,9 +87,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -173,7 +165,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config b/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config index ad0ae4842c3c76a62e3ef36448aae9e5e44d42fc..910071dbcbde44cba1688e5999015978a9be6fec 100644 --- a/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config +++ b/example/network/lwip_startup/configs/d2000_aarch64_test_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -89,9 +81,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -167,7 +159,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +169,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config index 9e246614866e8a3a6eeb1a6c1ebc4c1051ced9dd..3d67df121a89ab22adc7b663a258321de564d5c5 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000d_aarch32_demo_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -108,9 +100,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -186,7 +178,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -197,6 +188,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config index 3dc11995f4bde085dd4ef0ce394420e2e27e76cc..130c7afe4e3e1e73c27be175c226420b6619db35 100644 --- a/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000d_aarch64_demo_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -102,9 +94,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -180,7 +172,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -191,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config index ea4a3e005caea343631697f1db3644b5195c5802..8c12c4be2a5e3600982387aab57967751446af06 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000q_aarch32_demo_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -107,9 +99,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -185,7 +177,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -196,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config b/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config index 64485966b888c5de7695dfa2d6329b357acd5ac8..727143a681cb9869ba8f29e92176c285c313f80f 100644 --- a/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config +++ b/example/network/lwip_startup/configs/e2000q_aarch64_demo_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -101,9 +93,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -179,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -190,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config b/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config index e8ce8d1994b40e65389f90b718a965ebc87e1994..e0e5851bdd5f38d60f10a3c4212efa9a5137fd37 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config +++ b/example/network/lwip_startup/configs/ft2004_aarch32_dsk_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -95,9 +87,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -173,7 +165,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config b/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config index adae2353e520d384f80e70ec57db2131a1206e4a..5ae308f9a40fb9b2f270017ffffebf08410fb663 100644 --- a/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config +++ b/example/network/lwip_startup/configs/ft2004_aarch64_dsk_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -89,9 +81,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -167,7 +159,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +169,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config b/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config index 38493769632600e6adc7dc7f581505e9035275c7..839e0d7f4d71b3a9c8b64b3a55f50e72c29069a2 100644 --- a/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config +++ b/example/network/lwip_startup/configs/phytiumpi_aarch32_firefly_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -106,9 +98,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -184,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -195,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config b/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config index 7d9dc680d06afcedc55351599c905ef1372f46f0..42d8d9e7516dd39d765ed8fbb04c0b7eb2ea179a 100644 --- a/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config +++ b/example/network/lwip_startup/configs/phytiumpi_aarch64_firefly_lwip_startup.config @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -100,9 +92,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -178,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -189,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/fig/dhcp_example_result.png b/example/network/lwip_startup/fig/dhcp_example_result.png new file mode 100644 index 0000000000000000000000000000000000000000..773ef7d912cc2cbcaa179492150aec3ef05c025c Binary files /dev/null and b/example/network/lwip_startup/fig/dhcp_example_result.png differ diff --git a/example/network/lwip_startup/pic/dhcp_ping.png b/example/network/lwip_startup/fig/dhcp_ping.png similarity index 100% rename from example/network/lwip_startup/pic/dhcp_ping.png rename to example/network/lwip_startup/fig/dhcp_ping.png diff --git a/example/network/lwip_startup/fig/ipv4_example_result.png b/example/network/lwip_startup/fig/ipv4_example_result.png new file mode 100644 index 0000000000000000000000000000000000000000..aaef95678ae871a54ae7d1d8194544c9f4827198 Binary files /dev/null and b/example/network/lwip_startup/fig/ipv4_example_result.png differ diff --git a/example/network/lwip_startup/pic/ping.png b/example/network/lwip_startup/fig/ipv4_ping.png similarity index 100% rename from example/network/lwip_startup/pic/ping.png rename to example/network/lwip_startup/fig/ipv4_ping.png diff --git a/example/network/lwip_startup/fig/ipv6_example_result.png b/example/network/lwip_startup/fig/ipv6_example_result.png new file mode 100644 index 0000000000000000000000000000000000000000..58430df17a976e77f92836761404ce7647fcbc0a Binary files /dev/null and b/example/network/lwip_startup/fig/ipv6_example_result.png differ diff --git a/example/network/lwip_startup/pic/ping_ipv6.png b/example/network/lwip_startup/fig/ipv6_ping.png similarity index 100% rename from example/network/lwip_startup/pic/ping_ipv6.png rename to example/network/lwip_startup/fig/ipv6_ping.png diff --git a/example/network/lwip_startup/inc/lwip_dhcp_example.h b/example/network/lwip_startup/inc/lwip_dhcp_example.h new file mode 100644 index 0000000000000000000000000000000000000000..e136c731c714733608411c8fe7f70a7d00b14da0 --- /dev/null +++ b/example/network/lwip_startup/inc/lwip_dhcp_example.h @@ -0,0 +1,52 @@ +/* + * Copyright : (C) 2023 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: lwip_dhcp_example.h + * Created Date: 2023-11-21 15:59:57 + * Last Modified: 2023-11-21 16:01:05 + * Description: This file is for lwip dhcp example function definition. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ +#ifndef LWIP_DHCP_EXAMPLE_H +#define LWIP_DHCP_EXAMPLE_H + +/***************************** Include Files *********************************/ +#include "ftypes.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +/************************** Constant Definitions *****************************/ + +/**************************** Type Definitions *******************************/ + +/************************** Variable Definitions *****************************/ + +/***************** Macros (Inline Functions) Definitions *********************/ + +/************************** Function Prototypes ******************************/ +/* entry function for lwip dhcp example */ +int LwipDhcpTestCreate(void); +void LwipDhcpTestDeinit(void); + +#ifdef __cplusplus +} +#endif + +#endif \ No newline at end of file diff --git a/example/network/lwip_startup/inc/lwip_ipv4_example.h b/example/network/lwip_startup/inc/lwip_ipv4_example.h new file mode 100644 index 0000000000000000000000000000000000000000..2f5828febfd4cae65436ccf9935bd82317fe2e61 --- /dev/null +++ b/example/network/lwip_startup/inc/lwip_ipv4_example.h @@ -0,0 +1,52 @@ +/* + * Copyright : (C) 2023 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: lwip_ipv4_example.h + * Created Date: 2023-11-21 16:00:10 + * Last Modified: 2023-11-21 16:01:20 + * Description: This file is for lwip ipv4 example function definition. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ +#ifndef LWIP_IPV4_EXAMPLE_H +#define LWIP_IPV4_EXAMPLE_H + +/***************************** Include Files *********************************/ +#include "ftypes.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +/************************** Constant Definitions *****************************/ + +/**************************** Type Definitions *******************************/ + +/************************** Variable Definitions *****************************/ + +/***************** Macros (Inline Functions) Definitions *********************/ + +/************************** Function Prototypes ******************************/ +/* entry function for lwip ipv4 example */ +int LwipIpv4TestCreate(void); +void LwipIpv4TestDeinit(void); + +#ifdef __cplusplus +} +#endif + +#endif \ No newline at end of file diff --git a/example/network/lwip_startup/inc/lwip_ipv6_example.h b/example/network/lwip_startup/inc/lwip_ipv6_example.h new file mode 100644 index 0000000000000000000000000000000000000000..fc1c44568ca31df42b22bdbc4616a53310ded667 --- /dev/null +++ b/example/network/lwip_startup/inc/lwip_ipv6_example.h @@ -0,0 +1,52 @@ +/* + * Copyright : (C) 2023 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: lwip_ipv6_example.h + * Created Date: 2023-11-21 16:00:22 + * Last Modified: 2023-11-21 16:01:23 + * Description: This file is for lwip ipv6 example function definition. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ +#ifndef LWIP_IPV6_EXAMPLE_H +#define LWIP_IPV6_EXAMPLE_H + +/***************************** Include Files *********************************/ +#include "ftypes.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +/************************** Constant Definitions *****************************/ + +/**************************** Type Definitions *******************************/ + +/************************** Variable Definitions *****************************/ + +/***************** Macros (Inline Functions) Definitions *********************/ + +/************************** Function Prototypes ******************************/ +/* entry function for lwip ipv6 example */ +int LwipIpv6TestCreate(void); +void LwipIpv6TestDeinit(void); + +#ifdef __cplusplus +} +#endif + +#endif \ No newline at end of file diff --git a/example/network/lwip_startup/main.c b/example/network/lwip_startup/main.c index 663fae270a3a0a9be43339ab7a26229118110c8c..9e6e7d656fbe420bc02dfe8dc83bead0ceb7a848 100644 --- a/example/network/lwip_startup/main.c +++ b/example/network/lwip_startup/main.c @@ -1,30 +1,32 @@ /* - * Copyright : (C) 2022 Phytium Information Technology, Inc. + * Copyright : (C) 2023 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:01:57 - * Description:  This file is for running shell and open OS task schedule - * - * Modify History: - * Ver   Who        Date         Changes - * ----- ------     --------    -------------------------------------- + * Created Date: 2023-11-20 18:26:15 + * Last Modified: 2023-12-28 15:13:08 + * Description: This file is for lwip startup example main functions. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release */ + #include #include "FreeRTOS.h" #include "task.h" #include "shell_port.h" - +#include "lwip/tcpip.h" int main() { BaseType_t ret = pdPASS; @@ -35,6 +37,7 @@ int main() goto FAIL_EXIT; } + tcpip_init(NULL, NULL); vTaskStartScheduler(); /* 启动任务,开启调度 */ while (1); /* 正常不会执行到这里 */ diff --git a/example/network/lwip_startup/makefile b/example/network/lwip_startup/makefile index 26e95838486b84c6fc4f9e886a2477caad4618e3..c051a270664c8500b6fafc2a0ff513b68fdcf781 100644 --- a/example/network/lwip_startup/makefile +++ b/example/network/lwip_startup/makefile @@ -25,7 +25,4 @@ image: ifdef CONFIG_OUTPUT_BINARY @cp ./$(IMAGE_OUT_NAME).bin $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).bin endif - @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l - -jailhouse: - scp ./$(CONFIG_TARGET_NAME).bin root@192.168.4.224:/root/gitee_jailhouse/phytium-jailhouse/src/jailhouse + @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l \ No newline at end of file diff --git a/example/network/lwip_startup/pic/dhcp_test.png b/example/network/lwip_startup/pic/dhcp_test.png deleted file mode 100644 index 090eb8fef61751f7acb3637e78ce6c1cb96ed264..0000000000000000000000000000000000000000 Binary files a/example/network/lwip_startup/pic/dhcp_test.png and /dev/null differ diff --git "a/example/network/lwip_startup/pic/e2000demo\346\235\277\345\205\250\350\262\214.jpg" "b/example/network/lwip_startup/pic/e2000demo\346\235\277\345\205\250\350\262\214.jpg" deleted file mode 100644 index 8134df9b5ad3f843694953e65757db31e7b9eab9..0000000000000000000000000000000000000000 Binary files "a/example/network/lwip_startup/pic/e2000demo\346\235\277\345\205\250\350\262\214.jpg" and /dev/null differ diff --git a/example/network/lwip_startup/pic/lwip_probe.png b/example/network/lwip_startup/pic/lwip_probe.png deleted file mode 100644 index 643368ba89b10b068d8e29b61beeed2788301ec2..0000000000000000000000000000000000000000 Binary files a/example/network/lwip_startup/pic/lwip_probe.png and /dev/null differ diff --git a/example/network/lwip_startup/pic/network_demo_config.png b/example/network/lwip_startup/pic/network_demo_config.png deleted file mode 100644 index a2c546c6297e7fbff044f1eaceb5491dbb81584c..0000000000000000000000000000000000000000 Binary files a/example/network/lwip_startup/pic/network_demo_config.png and /dev/null differ diff --git a/example/network/lwip_startup/sdkconfig b/example/network/lwip_startup/sdkconfig index 7d9dc680d06afcedc55351599c905ef1372f46f0..42d8d9e7516dd39d765ed8fbb04c0b7eb2ea179a 100644 --- a/example/network/lwip_startup/sdkconfig +++ b/example/network/lwip_startup/sdkconfig @@ -1,11 +1,3 @@ - -# -# Lwip startup test configuration -# -CONFIG_LWIP_IPV6_TEST=y -CONFIG_LWIP_DHCP_TEST=y -# end of Lwip startup test configuration - CONFIG_USE_FREERTOS=y # @@ -100,9 +92,9 @@ CONFIG_TARGET_NAME="lwip_startup" # # CONFIG_LOG_VERBOS is not set # CONFIG_LOG_DEBUG is not set -CONFIG_LOG_INFO=y +# CONFIG_LOG_INFO is not set # CONFIG_LOG_WARN is not set -# CONFIG_LOG_ERROR is not set +CONFIG_LOG_ERROR=y # CONFIG_LOG_NONE is not set # CONFIG_LOG_EXTRA_INFO is not set # CONFIG_LOG_DISPALY_CORE_NUM is not set @@ -178,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -189,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/lwip_startup/sdkconfig.h b/example/network/lwip_startup/sdkconfig.h index 031925cf4ecc05a7658bd8d88d8b7da641e10bd6..5633df5f8e1a7b11aefb645e54ebc71d2f6bd9df 100644 --- a/example/network/lwip_startup/sdkconfig.h +++ b/example/network/lwip_startup/sdkconfig.h @@ -1,11 +1,6 @@ #ifndef SDK_CONFIG_H__ #define SDK_CONFIG_H__ -/* Lwip startup test configuration */ - -#define CONFIG_LWIP_IPV6_TEST -#define CONFIG_LWIP_DHCP_TEST -/* end of Lwip startup test configuration */ #define CONFIG_USE_FREERTOS /* Arch configuration */ @@ -90,9 +85,9 @@ /* CONFIG_LOG_VERBOS is not set */ /* CONFIG_LOG_DEBUG is not set */ -#define CONFIG_LOG_INFO +/* CONFIG_LOG_INFO is not set */ /* CONFIG_LOG_WARN is not set */ -/* CONFIG_LOG_ERROR is not set */ +#define CONFIG_LOG_ERROR /* CONFIG_LOG_NONE is not set */ /* CONFIG_LOG_EXTRA_INFO is not set */ /* CONFIG_LOG_DISPALY_CORE_NUM is not set */ @@ -160,7 +155,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -170,6 +164,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/network/lwip_startup/src/Kconfig b/example/network/lwip_startup/src/Kconfig deleted file mode 100644 index da7e9483baa1f12fe5c7ae7ed1e38e84a73b1ca0..0000000000000000000000000000000000000000 --- a/example/network/lwip_startup/src/Kconfig +++ /dev/null @@ -1,14 +0,0 @@ - -menu " Lwip startup test configuration" - - config LWIP_IPV6_TEST - bool "Enable IPv6" - select LWIP_IPV6 - default n - - config LWIP_DHCP_TEST - bool "Enable DHCP" - select LWIP_DHCP_ENABLE - default n - -endmenu diff --git a/example/network/lwip_startup/src/cmd_lwip_startup.c b/example/network/lwip_startup/src/cmd_lwip_startup.c new file mode 100644 index 0000000000000000000000000000000000000000..d04cac5da90167a14c5bacb9d6d33d15dab977a4 --- /dev/null +++ b/example/network/lwip_startup/src/cmd_lwip_startup.c @@ -0,0 +1,123 @@ +/* + * Copyright : (C) 2023 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: cmd_lwip_startup.c + * Created Date: 2023-11-21 11:06:40 + * Last Modified: 2023-12-28 15:11:06 + * Description: This file is for lwip startup example cmd catalogue. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ + +#include +#include + +#include "sdkconfig.h" +#ifndef SDK_CONFIG_H__ + #warning "Please include sdkconfig.h" +#endif + +#ifdef CONFIG_USE_LETTER_SHELL +#include "shell.h" +#include "strto.h" + +#include "lwip_dhcp_example.h" +#include "lwip_ipv4_example.h" +#include "lwip_ipv6_example.h" + + +#define EXAMPLE_IDLE 0 +#define IPV4_EXAMPLE_RUNNING 1 +#define IPV6_EXAMPLE_RUNNING 2 +#define DHCP_EXAMPLE_RUNNING 3 + +static u32 init_flag_mask=EXAMPLE_IDLE; + + +static void LwipStartupExampleCheckState(void) +{ + switch(init_flag_mask) + { + case IPV4_EXAMPLE_RUNNING: + printf("Lwip ipv4 example is running, we need to deinitialize it first! \r\n "); + LwipIpv4TestDeinit(); + init_flag_mask=EXAMPLE_IDLE; + break; + case IPV6_EXAMPLE_RUNNING: + printf("Lwip ipv6 example is running, we need to deinitialize it first! \r\n"); + LwipIpv6TestDeinit(); + init_flag_mask=EXAMPLE_IDLE; + break; + case DHCP_EXAMPLE_RUNNING: + printf("Lwip dhcp example is running, we need to deinitialize it first! \r\n"); + LwipDhcpTestDeinit(); + init_flag_mask=EXAMPLE_IDLE; + break; + default: + break; + } +} + +/* usage info function for lwip startup example */ +static void LwipStartupExampleUsage(void) +{ + printf("Usage:\r\n"); + printf("lwip ipv4\r\n"); + printf("-- run lwip ipv4 mode example to initialize mac controller\r\n"); + printf("lwip ipv6\r\n"); + printf("-- run lwip ipv6 mode example to initialize mac controller\r\n"); + printf("lwip dhcp\r\n"); + printf("-- run lwip dhcp mode example to initialize mac controller\r\n"); +} + +/* entry function for lwip startup example */ +static int LwipStartupExampleEntry(int argc, char *argv[]) +{ + int ret = 0; + + /* check input args of example, exit if invaild */ + if (argc < 2) + { + LwipStartupExampleUsage(); + return -1; + } + + /* parser example input args and run example */ + if (!strcmp(argv[1], "ipv4")) + { + LwipStartupExampleCheckState(); + ret = LwipIpv4TestCreate(); + init_flag_mask = IPV4_EXAMPLE_RUNNING; + } + else if (!strcmp(argv[1], "ipv6")) + { + LwipStartupExampleCheckState(); + ret = LwipIpv6TestCreate(); + init_flag_mask = IPV6_EXAMPLE_RUNNING; + } + else if (!strcmp(argv[1], "dhcp")) + { + LwipStartupExampleCheckState(); + ret = LwipDhcpTestCreate(); + init_flag_mask = DHCP_EXAMPLE_RUNNING; + } + + return ret; +} + +/* register command for lwip startup example */ +SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), lwip, LwipStartupExampleEntry, lwip startup example); +#endif \ No newline at end of file diff --git a/example/network/lwip_startup/src/lwip_dhcp_example.c b/example/network/lwip_startup/src/lwip_dhcp_example.c new file mode 100644 index 0000000000000000000000000000000000000000..d4f78e687b753c0d508787b0a60f41f3b114a001 --- /dev/null +++ b/example/network/lwip_startup/src/lwip_dhcp_example.c @@ -0,0 +1,199 @@ +/* + * Copyright : (C) 2023 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: lwip_dhcp_example.c + * Created Date: 2023-11-21 11:13:07 + * Last Modified: 2023-12-28 15:11:56 + * Description: This file is for lwip dhcp example function implementation. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ + + +#include +#include +#include "strto.h" +#include "sdkconfig.h" +#include "ftypes.h" +#include "fassert.h" +#include "fparameters.h" +#include "eth_board.h" +#ifndef SDK_CONFIG_H__ + #error "Please include sdkconfig.h first" +#endif +#include "FreeRTOS.h" + +#include "lwip_port.h" +#include "lwip/ip4_addr.h" +#include "lwip/init.h" +#include "netif/ethernet.h" +#include "lwip/netif.h" +#include "lwip/tcpip.h" +#include "lwip/inet.h" +#include "lwip/dhcp.h" + + +#define ETH_NAME_PREFIX 'e' + +#define CONFIG_DEFAULT_INIT(config,driver_config,instance_id,interface_type) \ + .config.magic_code = LWIP_PORT_CONFIG_MAGIC_CODE, \ + .config.driver_type = driver_config, \ + .config.mac_instance = instance_id, \ + .config.mii_interface = interface_type, \ + .config.autonegotiation = 1, \ + .config.phy_speed = LWIP_PORT_SPEED_1000M, \ + .config.phy_duplex = LWIP_PORT_FULL_DUPLEX, \ + .config.capability = LWIP_PORT_MODE_NAIVE, + + + +typedef struct +{ + UserConfig lwip_mac_config; + u32 dhcp_en; + char* ipaddr; + char* netmask; + char* gw; + unsigned char mac_address[6]; + struct netif netif; +} BoardMacConfig; + + + static BoardMacConfig board_mac_config[MAC_NUM] = + { + #if defined(MAC_NUM0) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM0_LWIP_PORT_TYPE,MAC_NUM0_CONTROLLER,MAC_NUM0_MII_INTERFACE) + .dhcp_en=1, + .ipaddr="192.168.4.10", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x0}, + }, + #endif + #if defined(MAC_NUM1) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM1_LWIP_PORT_TYPE,MAC_NUM1_CONTROLLER,MAC_NUM1_MII_INTERFACE) + .dhcp_en=1, + .ipaddr="192.168.4.11", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x1}, + }, + #endif +}; + + + +static void SetIP(ip_addr_t* ipaddr,ip_addr_t* gw,ip_addr_t* netmask,u32 mac_id) +{ + + if(inet_aton(board_mac_config[mac_id].ipaddr,ipaddr)==0) + printf("The addr of ipaddr is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].gw,gw)==0) + printf("The addr of gw is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].netmask,netmask)==0) + printf("The addr of netmask is wrong\r\n"); + +} + +int LwipDhcpInitTask(void) +{ + FError ret = FT_SUCCESS; + /* mac init */ + for (int i = 0; i < MAC_NUM; i++) + { + struct netif *netif_p = NULL; + ip_addr_t ipaddr,netmask, gw; + board_mac_config[i].lwip_mac_config.name[0] = ETH_NAME_PREFIX; + itoa(board_mac_config[i].lwip_mac_config.mac_instance, &(board_mac_config[i].lwip_mac_config.name[1]), 10); + + /* mac ip addr set: char* -> ip_addr_t */ + SetIP(&ipaddr,&gw,&netmask,i); + /* ******************************************************************* */ + + + netif_p= &board_mac_config[i].netif; + /* Add network interface to the netif_list, and set it as default */ + if (!LwipPortAdd(netif_p, &ipaddr, &netmask, &gw, board_mac_config[i].mac_address, (UserConfig *)&board_mac_config[i])) + { + printf("Error adding N/W interface %d.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + return ERR_GENERAL; + } + printf("LwipPortAdd mac_instance %d is over.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + + netif_set_default(netif_p); + + if (netif_is_link_up(netif_p)) + { + /* 当netif完全配置好时,必须调用该函数 */ + netif_set_up(netif_p); + if (board_mac_config[i].dhcp_en == 1) + { + LwipPortDhcpSet(netif_p, TRUE); + } + } + else + { + /* 当netif链接关闭时,必须调用该函数 */ + netif_set_down(netif_p); + } + + } + + printf("Network setup complete.\n"); + + if (ret == FT_SUCCESS) + { + printf("%s@%d: Lwip dhcp example success !!! \r\n", __func__, __LINE__); + printf("[system_example_pass]\r\n"); + } + else + { + printf("%s@%d: Lwip dhcp example failed !!!, ret = %d \r\n", __func__, __LINE__, ret); + } + + vTaskDelete(NULL); + return 0; +} + +void LwipDhcpTestCreate(void) +{ + BaseType_t ret; + ret = xTaskCreate((TaskFunction_t)LwipDhcpInitTask, /* 任务入口函数 */ + (const char *)"LwipDhcpInitTask", /* 任务名字 */ + (uint16_t)2048, /* 任务栈大小 */ + NULL, /* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + NULL); /* 任务控制块指针 */ + + FASSERT_MSG(ret == pdPASS, "LwipTestCreate Task creation is failed"); +} + +void LwipDhcpTestDeinit(void) +{ + + for (int i = 0; i < MAC_NUM; i++) + { + struct netif *netif_p = NULL; + netif_p=&board_mac_config[i].netif; + vPortEnterCritical(); + LwipPortStop(netif_p,board_mac_config[i].dhcp_en); + vPortExitCritical(); + } + +} + diff --git a/example/network/lwip_startup/src/lwip_ipv4_example.c b/example/network/lwip_startup/src/lwip_ipv4_example.c new file mode 100644 index 0000000000000000000000000000000000000000..b629d829596cfd23f54657a54f3b0c8da2ab9a41 --- /dev/null +++ b/example/network/lwip_startup/src/lwip_ipv4_example.c @@ -0,0 +1,195 @@ +/* + * Copyright : (C) 2023 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: lwip_ipv4_example.c + * Created Date: 2023-11-21 11:12:04 + * Last Modified: 2023-12-28 15:12:06 + * Description: This file is for lwip ipv4 example function implementation. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ + +#include +#include +#include "strto.h" +#include "sdkconfig.h" +#include "ftypes.h" +#include "fassert.h" +#include "fparameters.h" +#include "eth_board.h" +#ifndef SDK_CONFIG_H__ + #error "Please include sdkconfig.h first" +#endif +#include "FreeRTOS.h" + +#include "lwip_port.h" +#include "lwip/ip4_addr.h" +#include "lwip/init.h" +#include "netif/ethernet.h" +#include "lwip/netif.h" +#include "lwip/tcpip.h" +#include "lwip/inet.h" + + +#define ETH_NAME_PREFIX 'e' + +#define CONFIG_DEFAULT_INIT(config,driver_config,instance_id,interface_type) \ + .config.magic_code = LWIP_PORT_CONFIG_MAGIC_CODE, \ + .config.driver_type = driver_config, \ + .config.mac_instance = instance_id, \ + .config.mii_interface = interface_type, \ + .config.autonegotiation = 1, \ + .config.phy_speed = LWIP_PORT_SPEED_1000M, \ + .config.phy_duplex = LWIP_PORT_FULL_DUPLEX, \ + .config.capability = LWIP_PORT_MODE_NAIVE, + + + +typedef struct +{ + UserConfig lwip_mac_config; + u32 dhcp_en; + char* ipaddr; + char* netmask; + char* gw; + unsigned char mac_address[6]; + struct netif netif; +} BoardMacConfig; + + + static BoardMacConfig board_mac_config[MAC_NUM] = + { + #if defined(MAC_NUM0) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM0_LWIP_PORT_TYPE,MAC_NUM0_CONTROLLER,MAC_NUM0_MII_INTERFACE) + .dhcp_en=0, + .ipaddr="192.168.4.10", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x0}, + }, + #endif + #if defined(MAC_NUM1) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM1_LWIP_PORT_TYPE,MAC_NUM1_CONTROLLER,MAC_NUM1_MII_INTERFACE) + .dhcp_en=0, + .ipaddr="192.168.4.11", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x1}, + }, + #endif +}; + + +static void SetIP(ip_addr_t* ipaddr,ip_addr_t* gw,ip_addr_t* netmask,u32 mac_id) +{ + + if(inet_aton(board_mac_config[mac_id].ipaddr,ipaddr)==0) + printf("The addr of ipaddr is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].gw,gw)==0) + printf("The addr of gw is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].netmask,netmask)==0) + printf("The addr of netmask is wrong\r\n"); + +} + +int LwipIpv4InitTask(void) +{ + FError ret = FT_SUCCESS; + /* mac init */ + for (int i = 0; i < MAC_NUM; i++) + { + + struct netif *netif_p = NULL; + ip_addr_t ipaddr,netmask, gw; + board_mac_config[i].lwip_mac_config.name[0] = ETH_NAME_PREFIX; + itoa(board_mac_config[i].lwip_mac_config.mac_instance, &(board_mac_config[i].lwip_mac_config.name[1]), 10); + + /* mac ip addr set: char* -> ip_addr_t */ + SetIP(&ipaddr,&gw,&netmask,i); + /* ******************************************************************* */ + + netif_p= &board_mac_config[i].netif; + /* Add network interface to the netif_list, and set it as default */ + if (!LwipPortAdd(netif_p, &ipaddr, &netmask, &gw, board_mac_config[i].mac_address, (UserConfig *)&board_mac_config[i])) + { + printf("Error adding N/W interface %d.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + return ERR_GENERAL; + } + printf("LwipPortAdd mac_instance %d is over.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + + netif_set_default(netif_p); + + if (netif_is_link_up(netif_p)) + { + /* 当netif完全配置好时,必须调用该函数 */ + netif_set_up(netif_p); + if (board_mac_config[i].dhcp_en == 1) + { + LwipPortDhcpSet(netif_p, TRUE); + } + } + else + { + /* 当netif链接关闭时,必须调用该函数 */ + netif_set_down(netif_p); + } + + } + + printf("Network setup complete.\n"); + + if (ret == FT_SUCCESS) + { + printf("%s@%d: Lwip ipv4 example success !!! \r\n", __func__, __LINE__); + printf("[system_example_pass]\r\n"); + } + else + { + printf("%s@%d: Lwip ipv4 example failed !!!, ret = %d \r\n", __func__, __LINE__, ret); + } + + vTaskDelete(NULL); + return 0; +} + +void LwipIpv4TestCreate(void) +{ + BaseType_t ret; + ret = xTaskCreate((TaskFunction_t)LwipIpv4InitTask, /* 任务入口函数 */ + (const char *)"LwipIpv4InitTask", /* 任务名字 */ + (uint16_t)4096, /* 任务栈大小 */ + NULL, /* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + NULL); /* 任务控制块指针 */ + + FASSERT_MSG(ret == pdPASS, "LwipTestCreate Task creation is failed"); +} + +void LwipIpv4TestDeinit(void) +{ + + for (int i = 0; i < MAC_NUM; i++) + { + struct netif *netif_p = NULL; + netif_p=&board_mac_config[i].netif; + vPortEnterCritical(); + LwipPortStop(netif_p,board_mac_config[i].dhcp_en); + vPortExitCritical(); + } + +} \ No newline at end of file diff --git a/example/network/lwip_startup/src/lwip_ipv6_example.c b/example/network/lwip_startup/src/lwip_ipv6_example.c new file mode 100644 index 0000000000000000000000000000000000000000..42c686066525b1478e2a5c66d1747b6580ed91e1 --- /dev/null +++ b/example/network/lwip_startup/src/lwip_ipv6_example.c @@ -0,0 +1,203 @@ +/* + * Copyright : (C) 2023 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: lwip_ipv6_example.c + * Created Date: 2023-11-21 11:12:18 + * Last Modified: 2023-12-28 15:12:11 + * Description: This file is for lwip ipv6 example function implementation. + * + * Modify History: + * Ver Who Date Changes + * ----- ---------- -------- --------------------------------- + * 1.0 liuzhihong 2023/12/26 first release + */ + +#include +#include +#include "strto.h" +#include "sdkconfig.h" +#include "ftypes.h" +#include "fassert.h" +#include "fparameters.h" +#include "eth_board.h" +#ifndef SDK_CONFIG_H__ + #error "Please include sdkconfig.h first" +#endif +#include "FreeRTOS.h" + +#include "lwip_port.h" +#include "lwip/ip4_addr.h" +#include "lwip/init.h" +#include "netif/ethernet.h" +#include "lwip/netif.h" +#include "lwip/tcpip.h" +#include "lwip/inet.h" +#include "lwip/ip.h" +#include "lwip/ip6_addr.h" + +#define ETH_NAME_PREFIX 'e' + +#define CONFIG_DEFAULT_INIT(config,driver_config,instance_id,interface_type) \ + .config.magic_code = LWIP_PORT_CONFIG_MAGIC_CODE, \ + .config.driver_type = driver_config, \ + .config.mac_instance = instance_id, \ + .config.mii_interface = interface_type, \ + .config.autonegotiation = 1, \ + .config.phy_speed = LWIP_PORT_SPEED_1000M, \ + .config.phy_duplex = LWIP_PORT_FULL_DUPLEX, \ + .config.capability = LWIP_PORT_MODE_COPY_ALL_FRAMES, + + + +typedef struct +{ + UserConfig lwip_mac_config; + u32 dhcp_en; + char* ipaddr; + char* netmask; + char* gw; + unsigned char mac_address[6]; + struct netif netif; +} BoardMacConfig; + + + static BoardMacConfig board_mac_config[MAC_NUM] = + { + #if defined(MAC_NUM0) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM0_LWIP_PORT_TYPE,MAC_NUM0_CONTROLLER,MAC_NUM0_MII_INTERFACE) + .dhcp_en=0, + .ipaddr="192.168.4.10", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x0}, + }, + #endif + #if defined(MAC_NUM1) + { + CONFIG_DEFAULT_INIT(lwip_mac_config,MAC_NUM1_LWIP_PORT_TYPE,MAC_NUM1_CONTROLLER,MAC_NUM1_MII_INTERFACE) + .dhcp_en=0, + .ipaddr="192.168.4.11", + .gw="192.168.4.1", + .netmask="255.255.255.0", + .mac_address={0x98, 0x0e, 0x24, 0x00, 0x11, 0x1}, + }, + #endif +}; + + +static void SetIP(ip_addr_t* ipaddr,ip_addr_t* gw,ip_addr_t* netmask,u32 mac_id) +{ + + if(inet_aton(board_mac_config[mac_id].ipaddr,ipaddr)==0) + printf("The addr of ipaddr is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].gw,gw)==0) + printf("The addr of gw is wrong\r\n"); + if(inet_aton(board_mac_config[mac_id].netmask,netmask)==0) + printf("The addr of netmask is wrong\r\n"); + +} + +int LwipIpv6InitTask(void) +{ + FError ret = FT_SUCCESS; + /* mac init */ + for (int i = 0; i < MAC_NUM; i++) + { + struct netif *netif_p = NULL; + ip_addr_t ipaddr,netmask, gw; + board_mac_config[i].lwip_mac_config.name[0] = ETH_NAME_PREFIX; + itoa(board_mac_config[i].lwip_mac_config.mac_instance, &(board_mac_config[i].lwip_mac_config.name[1]), 10); + + + /* mac ip addr set: char* -> ip_addr_t */ + SetIP(&ipaddr,&gw,&netmask,i); + /* ******************************************************************* */ + + + netif_p= &board_mac_config[i].netif; + /* Add network interface to the netif_list, and set it as default */ + if (!LwipPortAdd(netif_p, &ipaddr, &netmask, &gw, board_mac_config[i].mac_address, (UserConfig *)&board_mac_config[i])) + { + printf("Error adding N/W interface %d.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + return ERR_GENERAL; + } + printf("LwipPortAdd mac_instance %d is over.\n\r",board_mac_config[i].lwip_mac_config.mac_instance); + + + netif_p->ip6_autoconfig_enabled = 1; + netif_create_ip6_linklocal_address(netif_p, 1); + netif_ip6_addr_set_state(netif_p, 0, IP6_ADDR_VALID); + + + netif_set_default(netif_p); + + if (netif_is_link_up(netif_p)) + { + /* 当netif完全配置好时,必须调用该函数 */ + netif_set_up(netif_p); + if (board_mac_config[i].dhcp_en == 1) + { + LwipPortDhcpSet(netif_p, TRUE); + } + } + else + { + /* 当netif链接关闭时,必须调用该函数 */ + netif_set_down(netif_p); + } + + } + + printf("Network setup complete.\n"); + + if (ret == FT_SUCCESS) + { + printf("%s@%d: Lwip ipv6 example success !!! \r\n", __func__, __LINE__); + printf("[system_example_pass]\r\n"); + } + else + { + printf("%s@%d: Lwip ipv6 example failed !!!, ret = %d \r\n", __func__, __LINE__, ret); + } + + vTaskDelete(NULL); + return 0; +} + +void LwipIpv6TestCreate(void) +{ + BaseType_t ret; + ret = xTaskCreate((TaskFunction_t)LwipIpv6InitTask, /* 任务入口函数 */ + (const char *)"LwipIpv6InitTask", /* 任务名字 */ + (uint16_t)2048, /* 任务栈大小 */ + NULL, /* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + NULL); /* 任务控制块指针 */ + + FASSERT_MSG(ret == pdPASS, "LwipTestCreate Task creation is failed"); +} + +void LwipIpv6TestDeinit(void) +{ + + for (int i = 0; i < MAC_NUM; i++) + { + struct netif *netif_p = NULL; + netif_p=&board_mac_config[i].netif; + vPortEnterCritical(); + LwipPortStop(netif_p,board_mac_config[i].dhcp_en); + vPortExitCritical(); + } + +} \ No newline at end of file diff --git a/example/network/lwip_startup/src/lwip_test.c b/example/network/lwip_startup/src/lwip_test.c deleted file mode 100644 index 4f6d1f3a20aeab6a55b5885449cd9d51e1ba77f0..0000000000000000000000000000000000000000 --- a/example/network/lwip_startup/src/lwip_test.c +++ /dev/null @@ -1,324 +0,0 @@ -/* - * 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: lwip_test.c - * Date: 2022-06-06 22:57:08 - * LastEditTime: 2022-06-06 22:57:08 - * Description: This file is for lwip test example - * - * Modify History: - * Ver Who Date Changes - * ----- ------ -------- -------------------------------------- - * 1.0 wangxiaodong 2022/08/09 first commit - * 1.1 liuzhihong 2023/01/12 driver and application restructure - */ - -#include -#include -#include "strto.h" -#include "sdkconfig.h" -#include "FreeRTOS.h" -#include "task.h" -#include "ftypes.h" -#include "fassert.h" -#include "fparameters.h" -#ifndef SDK_CONFIG_H__ - #error "Please include sdkconfig.h first" -#endif - - -#include "lwipopts.h" -#include "lwip_port.h" -#include "lwip/ip4_addr.h" -#include "lwip/init.h" -#include "netif/ethernet.h" -#include "lwip/netif.h" -#include "lwip/tcpip.h" -#include "lwip/inet.h" -#include "../src/shell.h" - - -#if LWIP_IPV6 - #include "lwip/ip.h" - #include "lwip/ip6_addr.h" -#else - #if LWIP_DHCP - #include "lwip/dhcp.h" - #endif -#endif - -typedef struct -{ - const char *ipaddr; - const char *gateway; - const char *netmask; -} InputAddress; - -typedef struct -{ - UserConfig lwip_mac_config; - InputAddress input_address; - u32 dhcp_en; -} InputConfig; - -static InputConfig input_config = {0}; - -#if !LWIP_IPV6 -#if LWIP_DHCP -static TaskHandle_t appTaskCreateHandle = NULL; -void LwipDhcpTest(struct netif *echo_netif) -{ - int mscnt = 0; - dhcp_start(echo_netif); - printf("LwipDhcpTest is start.\r\n"); - while (1) - { - vTaskDelay(DHCP_FINE_TIMER_MSECS / portTICK_RATE_MS); - dhcp_fine_tmr(); - mscnt += DHCP_FINE_TIMER_MSECS; - if (mscnt >= DHCP_COARSE_TIMER_SECS * 1000) - { - dhcp_coarse_tmr(); - mscnt = 0; - } - } -} -#endif -#endif - -void LwipTestCreate(void *args) -{ - FASSERT(args != NULL); - struct netif *netif_p = NULL; - static boolean init_flag = FALSE; - InputConfig *input_conf = (InputConfig *)args; - ip_addr_t ipaddr = {0}, netmask = {0}, gw = {0}; - BaseType_t ret = pdPASS; - /* the mac address of the board. this should be unique per board */ - unsigned char mac_address[6] = - {0x98, 0x0e, 0x24, 0x00, 0x11, 0}; - - netif_p = pvPortMalloc(sizeof(struct netif)); /* 暂未回收内存 */ - if (netif_p == NULL) - { - printf("Malloc netif is error.\r\n"); - goto exit; - } - printf("netif_p is %p.\r\n", netif_p); - mac_address[5] = input_conf->lwip_mac_config.mac_instance; - - - /* convert string to a binary address */ - if (input_conf->input_address.ipaddr) - { - if (inet_aton(input_conf->input_address.ipaddr, &ipaddr) == 0) - { - goto failed; - } - } - - if (input_conf->input_address.gateway) - { - if (inet_aton(input_conf->input_address.gateway, &gw) == 0) - { - goto failed; - } - } - - if (input_conf->input_address.netmask) - { - if (inet_aton(input_conf->input_address.netmask, &netmask) == 0) - { - goto failed; - } - } - if (LwipPortGetByName(input_conf->lwip_mac_config.name)) - { - printf("Netif already exists!\r\n"); - goto failed; - } - /* 初始化LwIP堆 */ - if (init_flag == FALSE) - { - tcpip_init(NULL, NULL); - init_flag = TRUE; - } - - /* Add network interface to the netif_list, and set it as default */ - if (!LwipPortAdd(netif_p, &ipaddr, &netmask, - &gw, mac_address, - (UserConfig *)args)) - { - printf("Error adding N/W interface.\n\r"); - goto failed; - } - printf("LwipPortAdd is over.\n\r"); - -#if (LWIP_IPV6) - netif_p->ip6_autoconfig_enabled = 1; - netif_create_ip6_linklocal_address(netif_p, 1); - netif_ip6_addr_set_state(netif_p, 0, IP6_ADDR_VALID); -#endif - - netif_set_default(netif_p); - - if (netif_is_link_up(netif_p)) - { - /* 当netif完全配置好时,必须调用该函数 */ - netif_set_up(netif_p); - if (input_conf->dhcp_en) - { - LwipPortDhcpSet(netif_p, TRUE); - } - } - else - { - /* 当netif链接关闭时,必须调用该函数 */ - netif_set_down(netif_p); - } - - printf("Network setup complete.\r\n"); - - goto exit ; -failed: - vPortFree(netif_p); -exit: - vTaskDelete(NULL); -} - -void LwipTest(void *args) -{ - BaseType_t ret; - ret = xTaskCreate((TaskFunction_t)LwipTestCreate, /* 任务入口函数 */ - (const char *)"LwipTestCreate", /* 任务名字 */ - (uint16_t)2048, /* 任务栈大小 */ - (void *)args, /* 任务入口函数参数 */ - (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ - NULL); /* 任务控制块指针 */ - - FASSERT_MSG(ret == pdPASS, "LwipTestCreate Task creation is failed"); -} - - - -static int LwipDeviceSet(int argc, char *argv[]) -{ - u32 id = 0, interface_type = 0, driver_type = 0; - memset(&input_config, 0, sizeof(input_config)); - LWIP_PORT_CONFIG_DEFAULT_INIT(input_config.lwip_mac_config); - - if (!strcmp(argv[1], "probe")) - { - if (argc < 6) - { - printf("Input error: Too few parameters!\n"); - printf("All parameters will be set to 0!\n"); - } - else - { - driver_type = (u32)simple_strtoul(argv[2], NULL, 10); - id = (u32)simple_strtoul(argv[3], NULL, 10); - interface_type = (u32)simple_strtoul(argv[4], NULL, 10); - input_config.dhcp_en = (u32)simple_strtoul(argv[5], NULL, 10); - if (input_config.dhcp_en == 0) - { - if (argc == 9) - { - input_config.input_address.ipaddr = argv[6]; - input_config.input_address.gateway = argv[7]; - input_config.input_address.netmask = argv[8]; - } - else - { - printf("Input error: Missing parameters!\n"); - printf("All Ip address will be set to 0!\n"); - } - - } - else - { - if (argc == 9) - { - input_config.input_address.ipaddr = argv[6]; - input_config.input_address.gateway = argv[7]; - input_config.input_address.netmask = argv[8]; - } - - printf("Dhcp Open: All IP addresses will be determined by the dhcp server!\n"); - } - } - - input_config.lwip_mac_config.mac_instance = id; - input_config.lwip_mac_config.name[0] = 'e'; - itoa(id, &input_config.lwip_mac_config.name[1], 10); - if (interface_type == 0) - { - input_config.lwip_mac_config.mii_interface = LWIP_PORT_INTERFACE_RGMII; - } - else - { - input_config.lwip_mac_config.mii_interface = LWIP_PORT_INTERFACE_SGMII; - } - if (driver_type == 0) - { - input_config.lwip_mac_config.driver_type = LWIP_PORT_TYPE_XMAC; - } - else - { - input_config.lwip_mac_config.driver_type = LWIP_PORT_TYPE_GMAC; - } - - LwipTest(&input_config); - } - else if (!strcmp(argv[1], "deinit")) - { - if (argc <= 1) - { - printf("Please enter lwip deinit \r\n") ; - printf(" -- use name to deinit neitf object \r\n"); - printf(" -- is netif name \r\n"); - return -1; - } - struct netif *netif_p = NULL; - netif_p = LwipPortGetByName(argv[2]); - if (netif_p == NULL) - { - printf("netif %s is not invalid.\r\n", argv[2]); - return -1; - } - - /* close rx thread */ - vPortEnterCritical(); - LwipPortStop(netif_p,input_config.dhcp_en); - vPortFree(netif_p); - vPortExitCritical(); - } - else - { - printf("Please enter lwip probe \r\n") ; - printf(" -- driver id is driver type set, 0 is xmac ,1 is gmac \r\n"); - printf(" -- device id is mac instance number \r\n"); - printf(" -- interface id is media independent interface , 0 is rgmii ,1 is sgmii \r\n"); - printf(" -- dhcp_en is dhcp function set ,1 is enable ,0 is disable .But this depends on whether the protocol stack supports it "); - printf(" -- Ip address of netif \r\n"); - printf(" -- Gateway of netif \r\n"); - printf(" -- Netmask of netif \r\n"); - printf("Please enter lwip deinit \r\n") ; - printf(" -- use name to deinit neitf object \r\n"); - printf(" -- is netif name \r\n"); - } - return 0; -} - -SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), lwip, LwipDeviceSet, Setup LWIP device test); - diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config b/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config index 41513cccd9e62ab68b14bf3b992f7ed80dfadd25..055928f50682af19252e3fae7dae6fc701ef55d2 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch32_test_udp_multicast.config @@ -182,7 +182,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -193,6 +192,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config b/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config index 1a77a32c7958f497a2953bcec0c21322736212f4..4a15634ca3148a17f6ccad7b45abe587284a4c74 100644 --- a/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/d2000_aarch64_test_udp_multicast.config @@ -176,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config index bc9a72dc8f1758d1735a05e32848c7e261d9eef4..bf18b721ad3b6f9abfcce817e44d17733186ce05 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch32_demo_udp_multicast.config @@ -195,7 +195,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -206,6 +205,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config index 446adbf36a473612b6ffb10c539f6ec18b03d0c2..a4b9a4a124a84a61db46fb1c78da691ac42f365d 100644 --- a/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000d_aarch64_demo_udp_multicast.config @@ -189,7 +189,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -200,6 +199,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config index 2ac88c78c6bc36631d14a02c366fd8679d7e7c54..5a684a34ad3488f8373da69dbd710d2b14f6a6cc 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch32_demo_udp_multicast.config @@ -194,7 +194,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -205,6 +204,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config index 44f9c854778ea2715460a06be3f6882e6dc863b9..c62a1a9bd3682a905bd543c53b02a98f980fbe1f 100644 --- a/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/e2000q_aarch64_demo_udp_multicast.config @@ -188,7 +188,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -199,6 +198,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config index 9a6268ab7b6b5bce60fa81b966677a28fdcf5f6d..e3172b8f11fcf70b9cfd03ce93a7500c03b03b0a 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch32_dsk_udp_multicast.config @@ -182,7 +182,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -193,6 +192,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config index 26c8d65e67b3e9ef5e28d3017e8afd7efbd1840e..64aeb55f3bb64b3089f843906597d02402d49549 100644 --- a/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/ft2004_aarch64_dsk_udp_multicast.config @@ -176,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config index 0fb957c5b68c471ebb7c1f7c28f1ae23cdb56818..f48ed956763c25e31c58b06a3eb27b5f118b1fb0 100644 --- a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch32_firefly_udp_multicast.config @@ -193,7 +193,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -204,6 +203,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config index 907c6e758aee0c83030ba7877a37859dc5637767..5dd9f43b5192d4928ddfecebe3781c6efe2dec6a 100644 --- a/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config +++ b/example/network/sockets/udp_multicast/configs/phytiumpi_aarch64_firefly_udp_multicast.config @@ -187,7 +187,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -198,6 +197,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/makefile b/example/network/sockets/udp_multicast/makefile index b1ecf8de12f89382dcf101a9ff2663c0729d8b86..8b097234c307a47f1446dfadd9446385a993b29d 100644 --- a/example/network/sockets/udp_multicast/makefile +++ b/example/network/sockets/udp_multicast/makefile @@ -27,8 +27,5 @@ ifdef CONFIG_OUTPUT_BINARY endif @ls $(USR_BOOT_DIR)/$(BOOT_IMG_NAME).* -l -jailhouse: - scp ./$(CONFIG_TARGET_NAME).bin root@192.168.4.224:/root/gitee_jailhouse/phytium-jailhouse/src/jailhouse - test_code: $(MAKE) -C $(PROJECT_DIR)/test/ all \ No newline at end of file diff --git a/example/network/sockets/udp_multicast/sdkconfig b/example/network/sockets/udp_multicast/sdkconfig index 907c6e758aee0c83030ba7877a37859dc5637767..5dd9f43b5192d4928ddfecebe3781c6efe2dec6a 100644 --- a/example/network/sockets/udp_multicast/sdkconfig +++ b/example/network/sockets/udp_multicast/sdkconfig @@ -187,7 +187,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -198,6 +197,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/sockets/udp_multicast/sdkconfig.h b/example/network/sockets/udp_multicast/sdkconfig.h index f74fcd8678e19c812fce3a0e1bc31eda93145c21..35e39b4889016cc3d40d3320a874f601c59b75f8 100644 --- a/example/network/sockets/udp_multicast/sdkconfig.h +++ b/example/network/sockets/udp_multicast/sdkconfig.h @@ -169,7 +169,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -179,6 +178,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config b/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config index 794590e61f6cf442a3bae6b1c1bfc0260328e0ce..264ecf762b669a00ea8ea513485f9773877c2979 100644 --- a/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config +++ b/example/network/wlan/configs/e2000d_aarch32_demo_wlan.config @@ -24,13 +24,15 @@ CONFIG_ARCH_EXECUTION_STATE="aarch32" # # Fpu configuration # -CONFIG_ARCH_FPU=y -# CONFIG_ARCH_FPU_VFP_V3 is not set -CONFIG_ARCH_FPU_VFP_V4=y -CONFIG_ARM_DPFPU32=y -# CONFIG_ARM_FPU_ABI_SOFT is not set -CONFIG_ARM_NEON=y -CONFIG_ARM_FPU_SYMBOL="crypto-neon-fp-armv8" +CONFIG_CRYPTO_NEON_FP_ARMV8=y +# CONFIG_VFPV4 is not set +# CONFIG_VFPV4_D16 is not set +# CONFIG_VFPV3 is not set +# CONFIG_VFPV3_D16 is not set +CONFIG_ARM_MFPU="crypto-neon-fp-armv8" +CONFIG_MFLOAT_ABI_HARD=y +# CONFIG_MFLOAT_ABI_SOFTFP is not set +CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration @@ -169,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config b/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config index 2259334f7ed4dd64b48046632fae4d0a780da22e..5e326bee116a6b1a9526879c024214462225a477 100644 --- a/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config +++ b/example/network/wlan/configs/e2000d_aarch64_demo_wlan.config @@ -20,13 +20,7 @@ CONFIG_ARM_GCC_SELECT=y CONFIG_TOOLCHAIN_NAME="gcc" CONFIG_TARGET_ARMV8_AARCH64=y CONFIG_ARCH_EXECUTION_STATE="aarch64" - -# -# Fpu configuration -# CONFIG_ARM_NEON=y -# end of Fpu configuration - CONFIG_ARM_CRC=y CONFIG_ARM_CRYPTO=y CONFIG_ARM_FLOAT_POINT=y @@ -171,7 +165,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config b/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config index 75d3593db9feab2d0577b41aa6fca4f54143e2e9..6682751e58f319bbc21c72f89b88108703626c2a 100644 --- a/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config +++ b/example/network/wlan/configs/e2000q_aarch32_demo_wlan.config @@ -24,13 +24,15 @@ CONFIG_ARCH_EXECUTION_STATE="aarch32" # # Fpu configuration # -CONFIG_ARCH_FPU=y -# CONFIG_ARCH_FPU_VFP_V3 is not set -CONFIG_ARCH_FPU_VFP_V4=y -CONFIG_ARM_DPFPU32=y -# CONFIG_ARM_FPU_ABI_SOFT is not set -CONFIG_ARM_NEON=y -CONFIG_ARM_FPU_SYMBOL="crypto-neon-fp-armv8" +CONFIG_CRYPTO_NEON_FP_ARMV8=y +# CONFIG_VFPV4 is not set +# CONFIG_VFPV4_D16 is not set +# CONFIG_VFPV3 is not set +# CONFIG_VFPV3_D16 is not set +CONFIG_ARM_MFPU="crypto-neon-fp-armv8" +CONFIG_MFLOAT_ABI_HARD=y +# CONFIG_MFLOAT_ABI_SOFTFP is not set +CONFIG_ARM_MFLOAT_ABI="hard" # end of Fpu configuration # end of Compiler configuration @@ -168,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config b/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config index ef99dceb47c42bd4811d0979a06587d041c54395..bd0c446bbf7b7ea16e208f1d4ac8b3aa3bcd1381 100644 --- a/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config +++ b/example/network/wlan/configs/e2000q_aarch64_demo_wlan.config @@ -20,13 +20,7 @@ CONFIG_ARM_GCC_SELECT=y CONFIG_TOOLCHAIN_NAME="gcc" CONFIG_TARGET_ARMV8_AARCH64=y CONFIG_ARCH_EXECUTION_STATE="aarch64" - -# -# Fpu configuration -# CONFIG_ARM_NEON=y -# end of Fpu configuration - CONFIG_ARM_CRC=y CONFIG_ARM_CRYPTO=y CONFIG_ARM_FLOAT_POINT=y @@ -170,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/wlan/sdkconfig b/example/network/wlan/sdkconfig index ef99dceb47c42bd4811d0979a06587d041c54395..bd0c446bbf7b7ea16e208f1d4ac8b3aa3bcd1381 100644 --- a/example/network/wlan/sdkconfig +++ b/example/network/wlan/sdkconfig @@ -20,13 +20,7 @@ CONFIG_ARM_GCC_SELECT=y CONFIG_TOOLCHAIN_NAME="gcc" CONFIG_TARGET_ARMV8_AARCH64=y CONFIG_ARCH_EXECUTION_STATE="aarch64" - -# -# Fpu configuration -# CONFIG_ARM_NEON=y -# end of Fpu configuration - CONFIG_ARM_CRC=y CONFIG_ARM_CRYPTO=y CONFIG_ARM_FLOAT_POINT=y @@ -170,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/network/wlan/sdkconfig.h b/example/network/wlan/sdkconfig.h index 4329e73141b5d044227023d26e541cebcb032a33..227e8a015df751becdcf9bc34f2173d2507a5c21 100644 --- a/example/network/wlan/sdkconfig.h +++ b/example/network/wlan/sdkconfig.h @@ -20,11 +20,7 @@ #define CONFIG_TOOLCHAIN_NAME "gcc" #define CONFIG_TARGET_ARMV8_AARCH64 #define CONFIG_ARCH_EXECUTION_STATE "aarch64" - -/* Fpu configuration */ - #define CONFIG_ARM_NEON -/* end of Fpu configuration */ #define CONFIG_ARM_CRC #define CONFIG_ARM_CRYPTO #define CONFIG_ARM_FLOAT_POINT @@ -155,7 +151,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -165,6 +160,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config b/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config index 12385dba6180bc03e5b47fba115587aa370ceb0a..55622e770ab1aa2b7df9a50ab5660e0c365d9a77 100644 --- a/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config +++ b/example/peripheral/adc/configs/e2000d_aarch32_demo_adc.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config b/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config index 43944be99c35cae405d909084f873b3bfb6b61a7..fcad5ce39d146ac8b394d58523f094d4ee4bd8d0 100644 --- a/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config +++ b/example/peripheral/adc/configs/e2000d_aarch64_demo_adc.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/adc/sdkconfig b/example/peripheral/adc/sdkconfig index 43944be99c35cae405d909084f873b3bfb6b61a7..fcad5ce39d146ac8b394d58523f094d4ee4bd8d0 100644 --- a/example/peripheral/adc/sdkconfig +++ b/example/peripheral/adc/sdkconfig @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/adc/sdkconfig.h b/example/peripheral/adc/sdkconfig.h index b52fd1345082b3706771dc8f91f99066c3ce546a..176430b65db38794677c9da28a9947fdc93a450a 100644 --- a/example/peripheral/adc/sdkconfig.h +++ b/example/peripheral/adc/sdkconfig.h @@ -154,7 +154,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -164,6 +163,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/can/can/configs/d2000_aarch32_test_can.config b/example/peripheral/can/can/configs/d2000_aarch32_test_can.config index 290ba2ab689dd31b36e824ead2dd35d4ccd89853..0f16db378da725928509cfbb97c756daaeda20cd 100644 --- a/example/peripheral/can/can/configs/d2000_aarch32_test_can.config +++ b/example/peripheral/can/can/configs/d2000_aarch32_test_can.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/d2000_aarch64_test_can.config b/example/peripheral/can/can/configs/d2000_aarch64_test_can.config index 4fd8aff9a8f88ce07833a92c57bb4c8d359e76d0..0d65e77e46fd2bde589382fdd9a38d19bcc2fdba 100644 --- a/example/peripheral/can/can/configs/d2000_aarch64_test_can.config +++ b/example/peripheral/can/can/configs/d2000_aarch64_test_can.config @@ -150,7 +150,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -161,6 +160,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config b/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config index 9f2ba2f21d25b611b0bc7892fd17f10ec8c4d19b..57de0be1ae56344f9fec7ba6a6fd034d2b46b9d1 100644 --- a/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config +++ b/example/peripheral/can/can/configs/e2000d_aarch32_demo_can.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config b/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config index 75ddcdac0cb9e34fde18c7d373d967046dae5498..1a7411a2ea7be3481a8ddece7b6d149873438871 100644 --- a/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config +++ b/example/peripheral/can/can/configs/e2000d_aarch64_demo_can.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config b/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config index a4d1de46a97e382f5d67a4fb15c3963bf152a316..4c1e0ba1880d8d2e35acc7d4189c1d52fb898ab4 100644 --- a/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config +++ b/example/peripheral/can/can/configs/e2000q_aarch32_demo_can.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config b/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config index fdada5090ee33c6722b03af9e135c2a13b4fa43e..8bab49f38707f75d883e40122f20dcb889f13aab 100644 --- a/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config +++ b/example/peripheral/can/can/configs/e2000q_aarch64_demo_can.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config b/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config index 1a18a8d34d1cc5bd79abb0e6a8260a71c919e739..2bc80de92513cf2f0087af76939d74a338f6408d 100644 --- a/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config +++ b/example/peripheral/can/can/configs/ft2004_aarch32_dsk_can.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config b/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config index a6d219ace1a92b18fc41dbf2a2b70f3b40f9e491..5e0541758ac1f7346bce8862cc57cba8e910a72b 100644 --- a/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config +++ b/example/peripheral/can/can/configs/ft2004_aarch64_dsk_can.config @@ -150,7 +150,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -161,6 +160,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/sdkconfig b/example/peripheral/can/can/sdkconfig index a6d219ace1a92b18fc41dbf2a2b70f3b40f9e491..5e0541758ac1f7346bce8862cc57cba8e910a72b 100644 --- a/example/peripheral/can/can/sdkconfig +++ b/example/peripheral/can/can/sdkconfig @@ -150,7 +150,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -161,6 +160,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/can/sdkconfig.h b/example/peripheral/can/can/sdkconfig.h index 90e76eed8d790dfb34c301f92864ce009c5f7d5c..7179d0dc32b812d962bae1a151417ce5852ac410 100644 --- a/example/peripheral/can/can/sdkconfig.h +++ b/example/peripheral/can/can/sdkconfig.h @@ -138,7 +138,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -148,6 +147,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config index 0ab65d89657de5b7f846c6a5634ccad11a7f5a82..9c59ddfb52d8910abcc9f75650ca8ad956ff91b1 100644 --- a/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000d_aarch32_demo_canfd.config @@ -137,14 +137,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_GPIO is not set # CONFIG_USE_ETH is not set CONFIG_USE_CAN=y - -# -# CAN Configuration -# CONFIG_USE_FCAN=y -CONFIG_FCAN_USE_CANFD=y -# end of CAN Configuration - # CONFIG_USE_I2C is not set # CONFIG_USE_TIMER is not set # CONFIG_USE_MIO is not set @@ -176,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config index 9169e33165e600e373f7572faab2231d4463bee7..51708c1453f4d32adec71d051d26ffee2ef3fa25 100644 --- a/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000d_aarch64_demo_canfd.config @@ -131,14 +131,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_GPIO is not set # CONFIG_USE_ETH is not set CONFIG_USE_CAN=y - -# -# CAN Configuration -# CONFIG_USE_FCAN=y -CONFIG_FCAN_USE_CANFD=y -# end of CAN Configuration - # CONFIG_USE_I2C is not set # CONFIG_USE_TIMER is not set # CONFIG_USE_MIO is not set @@ -170,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config index f971754aa4d7cb6a232bd06420e9dec0213ea546..e33fe91aa3e22f158674dd3f5db65e92aac05d62 100644 --- a/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000q_aarch32_demo_canfd.config @@ -136,14 +136,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_GPIO is not set # CONFIG_USE_ETH is not set CONFIG_USE_CAN=y - -# -# CAN Configuration -# CONFIG_USE_FCAN=y -CONFIG_FCAN_USE_CANFD=y -# end of CAN Configuration - # CONFIG_USE_I2C is not set # CONFIG_USE_TIMER is not set # CONFIG_USE_MIO is not set @@ -175,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config b/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config index 498fa08f146f26e1e866a5d283b8d8de9aa65c42..6d2cc0d337106e2121735ea12b73384879a5cad0 100644 --- a/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config +++ b/example/peripheral/can/canfd/configs/e2000q_aarch64_demo_canfd.config @@ -130,14 +130,7 @@ CONFIG_ENABLE_Pl011_UART=y # CONFIG_USE_GPIO is not set # CONFIG_USE_ETH is not set CONFIG_USE_CAN=y - -# -# CAN Configuration -# CONFIG_USE_FCAN=y -CONFIG_FCAN_USE_CANFD=y -# end of CAN Configuration - # CONFIG_USE_I2C is not set # CONFIG_USE_TIMER is not set # CONFIG_USE_MIO is not set @@ -169,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/canfd/sdkconfig b/example/peripheral/can/canfd/sdkconfig index fdada5090ee33c6722b03af9e135c2a13b4fa43e..6d2cc0d337106e2121735ea12b73384879a5cad0 100644 --- a/example/peripheral/can/canfd/sdkconfig +++ b/example/peripheral/can/canfd/sdkconfig @@ -84,7 +84,7 @@ CONFIG_E2000Q_DEMO_BOARD=y # # Build project name # -CONFIG_TARGET_NAME="can" +CONFIG_TARGET_NAME="canfd" # end of Build project name # end of Board Configuration @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/can/canfd/sdkconfig.h b/example/peripheral/can/canfd/sdkconfig.h index b13bd08901f1dbdf44b66fdf7b06eb2fed56bb51..16be6c2fee81622d1211c7ddc399aaf095c75097 100644 --- a/example/peripheral/can/canfd/sdkconfig.h +++ b/example/peripheral/can/canfd/sdkconfig.h @@ -78,7 +78,7 @@ /* Build project name */ -#define CONFIG_TARGET_NAME "can" +#define CONFIG_TARGET_NAME "canfd" /* end of Build project name */ /* end of Board Configuration */ @@ -149,7 +149,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -159,6 +158,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/dma/ddma/README.md b/example/peripheral/dma/ddma/README.md index 860c206e837a6e57202fdac8d537d2c440b49bd2..b24c65fee6da57f919b38c08ea8d9d33b2a8310b 100644 --- a/example/peripheral/dma/ddma/README.md +++ b/example/peripheral/dma/ddma/README.md @@ -64,7 +64,7 @@ DDMA (Device Direct Memory Access) 用于配合外设,将数据从一个内存 #### 2.3.1 构建过程 - 在host侧完成配置 -> 配置成 e2000q,对于其它平台,使用对应的默认配置,如, +> 配置成 e2000q,对于其它平台,使用对应的默认配置,如: - 选择目标平台 ``` diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config index 11ee2b78690691111ca1c7f058bebc4fa43eeb9e..c372a5721bcee05f0a3b03d75b76530b831dec7c 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch32_demo_ddma.config @@ -171,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config index 754358ca100620b7e14044d8aa7cbccb380b8ccd..0b78552094d3e62ddfab75acd8774305b34867ad 100644 --- a/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000d_aarch64_demo_ddma.config @@ -165,7 +165,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -176,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config index 7570b1c07182d1e1fef272672682d59608624bb8..adbee09ebc05327872cc7848837933e037ef96a7 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch32_demo_ddma.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config b/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config index 8e4763572474afedb4498465e434760ec2893612..1d3288aaf372d87af992d5bb42fc343218968cfb 100644 --- a/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config +++ b/example/peripheral/dma/ddma/configs/e2000q_aarch64_demo_ddma.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config b/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config index c4deace6c6eea7150403a4224ce26ba9178e1ed6..d955170a1539a303c962c1eefc6572ae8803e2f1 100644 --- a/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config +++ b/example/peripheral/dma/ddma/configs/phytiumpi_aarch32_firefly_ddma.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config b/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config index 708e5b4285042856a3057956745385d9bab19602..9a92f91e15637d3b30292e00641d332c4db79580 100644 --- a/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config +++ b/example/peripheral/dma/ddma/configs/phytiumpi_aarch64_firefly_ddma.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/main.c b/example/peripheral/dma/ddma/main.c index c2c2cf2d9db0cdfd4f53a84d5f6c7ba48bf81872..361a95da2837a3db3ff99fae2ef200a7aab5ef4e 100644 --- a/example/peripheral/dma/ddma/main.c +++ b/example/peripheral/dma/ddma/main.c @@ -14,7 +14,7 @@ * FilePath: main.c * Date: 2022-06-17 08:17:59 * LastEditTime: 2022-06-17 08:17:59 - * Description: This file is for ddma example that running shell task and open scheduler + * Description: This file is for DDMA example that running shell task and open scheduler. * * Modify History: * Ver Who Date Changes diff --git a/example/peripheral/dma/ddma/sdkconfig b/example/peripheral/dma/ddma/sdkconfig index 708e5b4285042856a3057956745385d9bab19602..9a92f91e15637d3b30292e00641d332c4db79580 100644 --- a/example/peripheral/dma/ddma/sdkconfig +++ b/example/peripheral/dma/ddma/sdkconfig @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/ddma/sdkconfig.h b/example/peripheral/dma/ddma/sdkconfig.h index 06428212d019e6edf375f0dfd660a800737c7110..4e8552e617117cb4d445b337e1880e98c400f895 100644 --- a/example/peripheral/dma/ddma/sdkconfig.h +++ b/example/peripheral/dma/ddma/sdkconfig.h @@ -150,7 +150,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -160,6 +159,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/dma/ddma/src/cmd_ddma.c b/example/peripheral/dma/ddma/src/cmd_ddma.c index 095045cffd8b6141c4cad047b0861713c290a5a7..523351bac5f3af66dc3127d19bcd45207e629f2e 100644 --- a/example/peripheral/dma/ddma/src/cmd_ddma.c +++ b/example/peripheral/dma/ddma/src/cmd_ddma.c @@ -14,13 +14,15 @@ * FilePath: cmd_ddma.c * Date: 2022-07-14 14:06:43 * LastEditTime: 2022-07-14 14:06:43 - * Description:  This file is for ddma command interface + * Description:  This file is for DDMA command interface. * * Modify History: - * Ver   Who        Date         Changes - * ----- ------     --------    -------------------------------------- - * 1.0 zhugengyu 2022/08/26 first commit + * Ver    Who         Date         Changes + * -----  ------      --------     -------------------------------------- + * 1.0 zhugengyu 2022/7/27 init commit + * 1.1 liqiaozhong 2023/11/10 synchronous update with standalone sdk */ + /***************************** Include Files *********************************/ #include #include diff --git a/example/peripheral/dma/ddma/src/ddma_spi_loopback.c b/example/peripheral/dma/ddma/src/ddma_spi_loopback.c index cb0c137b851f94ca51f006061b633a3b58fd9e2e..e64dcde376e011d027bc0fd4383a51298bfdab48 100644 --- a/example/peripheral/dma/ddma/src/ddma_spi_loopback.c +++ b/example/peripheral/dma/ddma/src/ddma_spi_loopback.c @@ -14,12 +14,13 @@ * FilePath: ddma_spi_loopback.c * Date: 2022-07-20 09:24:39 * LastEditTime: 2022-07-20 09:24:39 - * Description:  This file is for DDMA task implementations + * Description:  This file is for DDMA task implementations. * * Modify History: - * Ver   Who        Date         Changes - * ----- ------     --------    -------------------------------------- - * 1.0 zhugengyu 2022/08/26 first commit + * Ver    Who         Date         Changes + * -----  ------      --------     -------------------------------------- + * 1.0 zhugengyu 2022/7/27 init commit + * 1.1 liqiaozhong 2023/11/10 synchronous update with standalone sdk */ /***************************** Include Files *********************************/ #include @@ -37,7 +38,6 @@ #include "fspim_os.h" #include "fddma_os.h" #include "fspim_hw.h" - /************************** Constant Definitions *****************************/ #define TX_RX_BUF_LEN 128 #define CHAN_REQ_DONE(chan) (0x1 << chan) /* if signal, chan req finished */ @@ -76,7 +76,6 @@ static TaskHandle_t recv_task = NULL; static TimerHandle_t exit_timer = NULL; static u32 loopback_times = 3U; static boolean is_running = FALSE; - static const u32 spim_rx_slave_id[FSPI_NUM] = { [FSPI0_ID] = FDDMA0_SPIM0_RX_SLAVE_ID, @@ -84,7 +83,6 @@ static const u32 spim_rx_slave_id[FSPI_NUM] = [FSPI2_ID] = FDDMA0_SPIM2_RX_SLAVE_ID, [FSPI3_ID] = FDDMA0_SPIM3_RX_SLAVE_ID }; - static const u32 spim_tx_slave_id[FSPI_NUM] = { [FSPI0_ID] = FDDMA0_SPIM0_TX_SLAVE_ID, @@ -92,16 +90,13 @@ static const u32 spim_tx_slave_id[FSPI_NUM] = [FSPI2_ID] = FDDMA0_SPIM2_TX_SLAVE_ID, [FSPI3_ID] = FDDMA0_SPIM3_TX_SLAVE_ID }; - /***************** Macros (Inline Functions) Definitions *********************/ #define FDDMA_DEBUG_TAG "DDMA-LP" #define FDDMA_ERROR(format, ...) FT_DEBUG_PRINT_E(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_WARN(format, ...) FT_DEBUG_PRINT_W(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_INFO(format, ...) FT_DEBUG_PRINT_I(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) #define FDDMA_DEBUG(format, ...) FT_DEBUG_PRINT_D(FDDMA_DEBUG_TAG, format, ##__VA_ARGS__) - /************************** Function Prototypes ******************************/ - static void DdmaSpiLoopbackExitCallback(TimerHandle_t timer) { FError err = FT_SUCCESS; @@ -129,12 +124,12 @@ static void DdmaSpiLoopbackExitCallback(TimerHandle_t timer) { if (FT_SUCCESS != FFreeRTOSDdmaRevokeChannel(ddma, rx_chan_id)) { - FDDMA_ERROR("delete rx chan failed !!!"); + FDDMA_ERROR("Delete RX channel failed."); } if (FT_SUCCESS != FFreeRTOSDdmaRevokeChannel(ddma, tx_chan_id)) { - FDDMA_ERROR("delete tx chan failed !!!"); + FDDMA_ERROR("Delete TX channel failed."); } err = FFreeRTOSDdmaDeinit(ddma); @@ -153,29 +148,38 @@ static void DdmaSpiLoopbackExitCallback(TimerHandle_t timer) sync = NULL; } - if (pdPASS != xTimerDelete(timer, 0)) /* delete timer ifself */ + if (pdPASS != xTimerDelete(timer, 0)) /* delete timer itself */ { - FDDMA_ERROR("delete exit timer failed !!!"); + FDDMA_ERROR("Delete exit timer failed."); exit_timer = NULL; } is_running = FALSE; } -static void DdmaSpiLoopbackAckDMADone(FDdmaChan *const dma_chan, void *arg) +static void DdmaSpiLoopbackAckDMADone(FDdmaChanIrq *const chan_irq_info_p, void *arg) { - FASSERT(dma_chan); + FASSERT(chan_irq_info_p); BaseType_t xhigher_priority_task_woken = pdFALSE; BaseType_t x_result = pdFALSE; - FDDMA_INFO("ack chan-%d %s done for ddma.", dma_chan->config.id, - (dma_chan->config.id == rx_chan_id) ? "rx" : "tx"); - FASSERT_MSG(chan_evt, "rx event group not exists !!!"); + FDDMA_INFO("Ack chan-%d %s done for DDMA.", chan_irq_info_p->channel_id, + (chan_irq_info_p->channel_id == rx_chan_id) ? "RX" : "TX"); + FASSERT_MSG(chan_evt, "RX event group not exists."); + x_result = xEventGroupSetBitsFromISR(chan_evt, - CHAN_REQ_DONE(dma_chan->config.id), + CHAN_REQ_DONE(chan_irq_info_p->channel_id), &xhigher_priority_task_woken); + + if (x_result == pdFALSE) + { + FDDMA_ERROR("xEventGroupSetBitsFromISR() fail."); + } + + portYIELD_FROM_ISR(xhigher_priority_task_woken); + return; } @@ -186,28 +190,26 @@ static boolean DdmaSpiLoopbackWaitDmaEnd(void) EventBits_t ev; u32 wait_bits = CHAN_REQ_DONE(rx_chan_id) | CHAN_REQ_DONE(tx_chan_id); - ev = xEventGroupWaitBits(chan_evt, - wait_bits, - pdTRUE, pdTRUE, wait_delay); + ev = xEventGroupWaitBits(chan_evt, wait_bits, pdTRUE, pdTRUE, wait_delay); if ((ev & wait_bits) == wait_bits) { - FDDMA_INFO("ddma transfer success !!!"); + FDDMA_INFO("DDMA transfer success."); } else { if ((ev & CHAN_REQ_DONE(tx_chan_id)) == 0U) { - FDDMA_ERROR("tx timeout !!!"); + FDDMA_ERROR("TX timeout."); } if ((ev & CHAN_REQ_DONE(rx_chan_id)) == 0U) { - FDDMA_ERROR("rx timeout !!!"); + FDDMA_ERROR("RX timeout."); } if (ev & wait_bits == 0U) { - FDDMA_ERROR("rx and tx timeout !!!"); + FDDMA_ERROR("Both TX and RX timeout."); } ok = FALSE; @@ -219,10 +221,10 @@ static boolean DdmaSpiLoopbackWaitDmaEnd(void) static inline boolean DdmaSpiLoopbackGiveSync() { boolean data = TRUE; - FASSERT_MSG((NULL != sync), "sync not exists"); + FASSERT_MSG((NULL != sync), "Sync not exists."); if (pdFALSE == xQueueSend(sync, &data, portMAX_DELAY)) { - FDDMA_ERROR("failed to give locker !!!"); + FDDMA_ERROR("Failed to give locker."); return FALSE; } @@ -232,10 +234,10 @@ static inline boolean DdmaSpiLoopbackGiveSync() static inline void DdmaSpiLoopbackTakeSync() { boolean data = FALSE; - FASSERT_MSG((NULL != sync), "sync not exists"); + FASSERT_MSG((NULL != sync), "Sync not exists."); if (pdFALSE == xQueueReceive(sync, &data, portMAX_DELAY)) { - FDDMA_ERROR("failed to give locker !!!"); + FDDMA_ERROR("Failed to give locker."); } return; @@ -243,17 +245,17 @@ static inline void DdmaSpiLoopbackTakeSync() static void DdmaInitTask(void *args) { - const u32 ddma_id = FDDMA0_ID; /* spi use ddma0 only */ + const u32 ddma_id = FDDMA0_ID; /* spi use DDMA-0 only */ FError err = FT_SUCCESS; uintptr spi_base; trans_len = dma_trans_bytes; - spim = FFreeRTOSSpimInit(spi_instance_id, &spim_config); /* init spim */ - FASSERT_MSG(spim, "init spim failed"); + spim = FFreeRTOSSpimInit(spi_instance_id, &spim_config); /* init SPIM */ + FASSERT_MSG(spim, "Init SPIM failed."); - ddma = FFreeRTOSDdmaInit(ddma_id, &ddma_config); /* deinit ddma */ - FASSERT_MSG(ddma, "init ddma failed"); + ddma = FFreeRTOSDdmaInit(ddma_id, &ddma_config); /* deinit DDMA */ + FASSERT_MSG(ddma, "Init DDMA failed."); spi_base = spim->ctrl.config.base_addr; @@ -265,7 +267,7 @@ static void DdmaInitTask(void *args) rx_request.req_done_handler = DdmaSpiLoopbackAckDMADone; rx_request.req_done_args = NULL; err = FFreeRTOSDdmaSetupChannel(ddma, rx_chan_id, &rx_request); - FASSERT_MSG(FT_SUCCESS == err, "init rx chan failed"); + FASSERT_MSG(FT_SUCCESS == err, "Init RX channel failed."); tx_request.slave_id = spim_tx_slave_id[spi_instance_id]; tx_request.mem_addr = (uintptr)(void *)tx_buf; @@ -275,7 +277,7 @@ static void DdmaInitTask(void *args) tx_request.req_done_handler = DdmaSpiLoopbackAckDMADone; tx_request.req_done_args = NULL; err = FFreeRTOSDdmaSetupChannel(ddma, tx_chan_id, &tx_request); - FASSERT_MSG(FT_SUCCESS == err, "init tx chan failed"); + FASSERT_MSG(FT_SUCCESS == err, "Init TX channel failed."); DdmaSpiLoopbackGiveSync(); /* give sync and allow sending */ @@ -291,7 +293,7 @@ static void DdmaSpiLoopbackSendTask(void *args) for (;;) { - FDDMA_INFO("waiting send data..."); + FDDMA_INFO("Waiting send data..."); DdmaSpiLoopbackTakeSync(); /* is sending, take send sync and cannot send again */ @@ -305,10 +307,10 @@ static void DdmaSpiLoopbackSendTask(void *args) FCacheDCacheInvalidateRange((uintptr)(void *)tx_buf, trans_len); - printf("before loopback ..... \r\n"); - printf("tx buf ===> \r\n"); + printf("Before loopback ..... \r\n"); + printf("TX buf ===> \r\n"); FtDumpHexByte((u8 *)tx_buf, trans_len); - printf("rx buf <=== \r\n"); + printf("RX buf <=== \r\n"); FtDumpHexByte((u8 *)rx_buf, trans_len); spi_msg.rx_buf = rx_buf; @@ -319,7 +321,7 @@ static void DdmaSpiLoopbackSendTask(void *args) if ((FFREERTOS_DDMA_OK != FFreeRTOSDdmaStartChannel(ddma, rx_chan_id)) || (FFREERTOS_DDMA_OK != FFreeRTOSDdmaStartChannel(ddma, tx_chan_id))) { - FDDMA_ERROR("start dma failed !!!"); + FDDMA_ERROR("Start DDMA channel failed."); break; } @@ -328,7 +330,7 @@ static void DdmaSpiLoopbackSendTask(void *args) /* setup spi transfer only for the first time */ if ((0 == times) && (FFREERTOS_DDMA_OK != FFreeRTOSSpimTransfer(spim, &spi_msg))) { - FDDMA_ERROR("start spi transfer failed !!!"); + FDDMA_ERROR("Start SPI transfer failed."); break;; } @@ -341,7 +343,7 @@ static void DdmaSpiLoopbackSendTask(void *args) } task_err: - printf("send task finished !!!\r\n"); + printf("Send task finished.\r\n"); FFreeRTOSDdmaStop(ddma); vTaskSuspend(NULL); } @@ -352,9 +354,9 @@ static void DdmaSpiLoopbackRecvTask(void *args) for (;;) { - FDDMA_INFO("waiting recv data..."); + FDDMA_INFO("Waiting for recv data..."); - /* block recv task until rx done */ + /* block recv task until RX done */ if (!DdmaSpiLoopbackWaitDmaEnd()) { continue; @@ -363,26 +365,26 @@ static void DdmaSpiLoopbackRecvTask(void *args) if ((FFREERTOS_DDMA_OK != FFreeRTOSDdmaStopChannel(ddma, tx_chan_id)) || (FFREERTOS_DDMA_OK != FFreeRTOSDdmaStopChannel(ddma, rx_chan_id))) { - FDDMA_ERROR("stop dma transfer failed !!!"); + FDDMA_ERROR("Stop DDMA transfer failed."); continue; } FCacheDCacheInvalidateRange((uintptr)(void *)rx_buf, trans_len); - printf("after loopback ..... \r\n"); - printf("tx buf ===> \r\n"); + printf("After loopback ..... \r\n"); + printf("TX buf ===> \r\n"); FtDumpHexByte(tx_buf, trans_len); - printf("rx buf <=== \r\n"); + printf("RX buf <=== \r\n"); FtDumpHexByte(rx_buf, trans_len); /* compare if loopback success */ if (0 == memcmp(rx_buf, tx_buf, trans_len)) { - printf("loopback transfer success !!!\r\n"); + printf("Loopback transfer success.\r\n"); } else { - FDDMA_ERROR("rx != tx, loopback transfer failed !!!"); + FDDMA_ERROR("RX data != TX data, loopback transfer failed."); } if (times++ > loopback_times) @@ -390,10 +392,10 @@ static void DdmaSpiLoopbackRecvTask(void *args) break; } - DdmaSpiLoopbackGiveSync(); /* recv finished, give send sync and allow sending */ + DdmaSpiLoopbackGiveSync(); /* recv finish, give send sync and allow sending */ } - printf("recv task finished !!!\r\n"); + printf("Receive task finished.\r\n"); FFreeRTOSDdmaStop(ddma); vTaskSuspend(NULL); } @@ -401,11 +403,11 @@ static void DdmaSpiLoopbackRecvTask(void *args) BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) { BaseType_t ret = pdPASS; - const TickType_t total_run_time = pdMS_TO_TICKS(30000UL); /* loopback run for 10 secs deadline */ + const TickType_t total_run_time = pdMS_TO_TICKS(30000UL); /* loopback runs for 10 secs deadline */ if (is_running) { - FDDMA_ERROR("task is running !!!!"); + FDDMA_ERROR("Task is running."); return pdPASS; } @@ -413,11 +415,11 @@ BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) spi_instance_id = spi_id; dma_trans_bytes = bytes; - FASSERT_MSG(NULL == chan_evt, "event group exists !!!"); - FASSERT_MSG((chan_evt = xEventGroupCreate()) != NULL, "create event group failed !!!"); + FASSERT_MSG(NULL == chan_evt, "Event group exists."); + FASSERT_MSG((chan_evt = xEventGroupCreate()) != NULL, "Create event group failed."); - FASSERT_MSG(NULL == sync, "sync exists !!!"); - FASSERT_MSG((sync = xQueueCreate(1, sizeof(boolean))) != NULL, "create sync failed !!!"); + FASSERT_MSG(NULL == sync, "Sync exists."); + FASSERT_MSG((sync = xQueueCreate(1, sizeof(boolean))) != NULL, "Create sync failed."); taskENTER_CRITICAL(); /* no schedule when create task */ @@ -428,7 +430,7 @@ BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) (UBaseType_t)configMAX_PRIORITIES - 1, /* task priority */ NULL); /* task handler */ - FASSERT_MSG(pdPASS == ret, "create task failed"); + FASSERT_MSG(pdPASS == ret, "Create task failed."); ret = xTaskCreate((TaskFunction_t)DdmaSpiLoopbackSendTask, /* task entry */ (const char *)"DdmaSpiLoopbackSendTask",/* task name */ @@ -437,7 +439,7 @@ BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) (UBaseType_t)configMAX_PRIORITIES - 2, /* task priority */ (TaskHandle_t *)&send_task); /* task handler */ - FASSERT_MSG(pdPASS == ret, "create task failed"); + FASSERT_MSG(pdPASS == ret, "Create task failed."); ret = xTaskCreate((TaskFunction_t)DdmaSpiLoopbackRecvTask, /* task entry */ (const char *)"DdmaSpiLoopbackRecvTask",/* task name */ @@ -446,7 +448,7 @@ BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) (UBaseType_t)configMAX_PRIORITIES - 1, /* task priority */ (TaskHandle_t *)&recv_task); /* task handler */ - FASSERT_MSG(pdPASS == ret, "create task failed"); + FASSERT_MSG(pdPASS == ret, "Create task failed."); exit_timer = xTimerCreate("Exit-Timer", /* Text name for the software timer - not used by FreeRTOS. */ total_run_time, /* The software timer's period in ticks. */ @@ -454,13 +456,13 @@ BaseType_t FFreeRTOSRunDDMASpiLoopback(u32 spi_id, u32 bytes) NULL, /* use timer id to pass task data for reference. */ DdmaSpiLoopbackExitCallback); /* The callback function to be used by the software timer being created. */ - FASSERT_MSG(NULL != exit_timer, "create exit timer failed"); + FASSERT_MSG(NULL != exit_timer, "Create exit timer failed."); taskEXIT_CRITICAL(); /* allow schedule since task created */ ret = xTimerStart(exit_timer, 0); /* start */ - FASSERT_MSG(pdPASS == ret, "start exit timer failed"); + FASSERT_MSG(pdPASS == ret, "Start exit timer failed."); return ret; } \ No newline at end of file diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config index 4c1df73cb17f0cc533fe7b1cf20292497f7cca6f..8c93176a8668350d1a37e7ef839643e062765435 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch32_demo_gdma.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config index f494d233d6ab9534ef5518fd068dcda95489a1fa..09b7a7fcc3dc1682d8fcd18040a8fca08f6f29cd 100644 --- a/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000d_aarch64_demo_gdma.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config index 7065a3e91be691a41c620f4cd12b6418a6b9704f..c67f0bf4c9c03b1cd507d4ed6aa2b445de45fcf8 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch32_demo_gdma.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config b/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config index 33bc69a9ceb2441e540c1149e231aa4ea0d347b3..eddb37afe409559741b6ec92d3e3d5be788221bb 100644 --- a/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config +++ b/example/peripheral/dma/gdma/configs/e2000q_aarch64_demo_gdma.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config b/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config index 579df561cdde6e26659fe6ffb98ffe2ca53e59b8..84f9661c530df9341bb9ab283bdf34d1dec6fa97 100644 --- a/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config +++ b/example/peripheral/dma/gdma/configs/phytiumpi_aarch32_firefly_gdma.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config b/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config index 008948970d9d5cf2116287789a11f51b8387bce1..0a45a8ace7607dec4a2c9b37e358158029cd46d5 100644 --- a/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config +++ b/example/peripheral/dma/gdma/configs/phytiumpi_aarch64_firefly_gdma.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/sdkconfig b/example/peripheral/dma/gdma/sdkconfig index 008948970d9d5cf2116287789a11f51b8387bce1..0a45a8ace7607dec4a2c9b37e358158029cd46d5 100644 --- a/example/peripheral/dma/gdma/sdkconfig +++ b/example/peripheral/dma/gdma/sdkconfig @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/dma/gdma/sdkconfig.h b/example/peripheral/dma/gdma/sdkconfig.h index e721d893b04857c90ae19b9214a2227784520d78..27610a5eced10e849b9a91f5ad0741fbf3a1b9fb 100644 --- a/example/peripheral/dma/gdma/sdkconfig.h +++ b/example/peripheral/dma/gdma/sdkconfig.h @@ -149,7 +149,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -159,6 +158,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config b/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config index 7e535d7af9db75863b7c9e1b9cbb8807720ec5e4..0f24e98614111a8c0cd67491b1af487092b93d8e 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000d_aarch32_demo_gpio.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config b/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config index b3cf6145763a4a6d20641d9040ddc2d95e7e5122..418cd50a35dc8f44cbfd6a5e73365dbb8db6144c 100644 --- a/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000d_aarch64_demo_gpio.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config b/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config index b61c5ae93490b3177691de2477f2e3640a61f05b..4eaa8a6927becd331f2f83a8aa2562931c3d7a53 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000q_aarch32_demo_gpio.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config b/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config index ab9ec6233b67779505c0a0fbe4df2bc3861db8e1..0bec24093a4de23310c578f01e4066b2c1e3819a 100644 --- a/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config +++ b/example/peripheral/gpio/configs/e2000q_aarch64_demo_gpio.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config b/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config index 93fe4c84a2ac9c7695ce52d9f1052a838461c350..773612a1f7046ad9f8f498477a6341654a9947e0 100644 --- a/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config +++ b/example/peripheral/gpio/configs/phytiumpi_aarch32_firefly_gpio.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config b/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config index 08c6707b0097d903e79647486a13af823fe2a567..8625e4da3c487bd52d507730a8e073afdc197456 100644 --- a/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config +++ b/example/peripheral/gpio/configs/phytiumpi_aarch64_firefly_gpio.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/sdkconfig b/example/peripheral/gpio/sdkconfig index 08c6707b0097d903e79647486a13af823fe2a567..8625e4da3c487bd52d507730a8e073afdc197456 100644 --- a/example/peripheral/gpio/sdkconfig +++ b/example/peripheral/gpio/sdkconfig @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/gpio/sdkconfig.h b/example/peripheral/gpio/sdkconfig.h index 8e7f4cd7864a5bae1e5980f71fad1cba5b8e6139..99748f28029dcd85c35e9fbc69799c5371dedd94 100644 --- a/example/peripheral/gpio/sdkconfig.h +++ b/example/peripheral/gpio/sdkconfig.h @@ -148,7 +148,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -158,6 +157,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config b/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config index 147394c835f4e627fbd532d7dd6873667af15045..23bb5b7c57807f66996d53e1291a1cefe84d49ee 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000d_aarch32_demo_i2c.config @@ -176,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config b/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config index 90b59015ee9c8052ced241c318b9bed5e25db162..aaf1e2fb513653bd54335bf44520d5ac107615fd 100644 --- a/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000d_aarch64_demo_i2c.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config b/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config index 5a036b5e5f64093ec11f08c493a3807841b6916f..9f1c2e4f399a62142d62f9fe1a09b5931af7e3fd 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000q_aarch32_demo_i2c.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config b/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config index 9d3911475e3d66fde063b1257c6f978d34470dc7..4e4298d2c5e899d40e01d7cf1cdfbbdfbdde6a9b 100644 --- a/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config +++ b/example/peripheral/i2c/configs/e2000q_aarch64_demo_i2c.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config b/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config index d06fd287e023e7ce4af5d7faf44bd36cfe7e50eb..112a7f16b75f16cecf096d2f070efc20eb5a412e 100644 --- a/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config +++ b/example/peripheral/i2c/configs/phytiumpi_aarch32_firefly_i2c.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config b/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config index f278ddba9f92899d26e1c605f5a3e7b94dc3a135..ef3b705f7f7b33dc977cded1d604976bc221a8ab 100644 --- a/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config +++ b/example/peripheral/i2c/configs/phytiumpi_aarch64_firefly_i2c.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/sdkconfig b/example/peripheral/i2c/sdkconfig index f278ddba9f92899d26e1c605f5a3e7b94dc3a135..ef3b705f7f7b33dc977cded1d604976bc221a8ab 100644 --- a/example/peripheral/i2c/sdkconfig +++ b/example/peripheral/i2c/sdkconfig @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/i2c/sdkconfig.h b/example/peripheral/i2c/sdkconfig.h index 3af09f0319325840dcecce7e83028552b1b80c51..b5118e02a4a4de14ba1f97fbfbe5a3935eef1229 100644 --- a/example/peripheral/i2c/sdkconfig.h +++ b/example/peripheral/i2c/sdkconfig.h @@ -153,7 +153,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -163,6 +162,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config index 66a03b92f74d88501b25fd26122aba7bef9d7f8a..371313ebc2a3f49e8357c10df577903b919ee9b8 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch32_demo_media.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config index 8370b47924100bfe0f3f25539036b9101961790e..818e4fdb868c850860d16bf2e85d53f0d93d6fdb 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000d_aarch64_demo_media.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config index 2440a792a829f4d6b372a93e2a78326534e4025a..6e38e28d3c14646c19ff9f969a552deb951773fe 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch32_demo_media.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config index 0f7309a1667d6f4b20d8d7b6f660643e77d94ea6..beb6f7527c6fbd71447cb86b928e52abb0dd531d 100644 --- a/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_demo/configs/e2000q_aarch64_demo_media.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config index 628ef712343de3852a7a5cad0773a729e03183d2..d8e9e622c2b52af98607749b5ca13949f956adb9 100644 --- a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch32_firefly_media.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config index 4b1748b466f80849bd06103ba8d261f5a14d0ff4..2b41bfe1bda7cc776430fb08efa84b180662f556 100644 --- a/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/lvgl_demo/configs/phytiumpi_aarch64_firefly_media.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/sdkconfig b/example/peripheral/media/lvgl_demo/sdkconfig index 4b1748b466f80849bd06103ba8d261f5a14d0ff4..2b41bfe1bda7cc776430fb08efa84b180662f556 100644 --- a/example/peripheral/media/lvgl_demo/sdkconfig +++ b/example/peripheral/media/lvgl_demo/sdkconfig @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_demo/sdkconfig.h b/example/peripheral/media/lvgl_demo/sdkconfig.h index 85b2c95c99bbc9c7596d59788818c4d767cad9ee..8a9e09ddcd95203c22058dd5b11722dee7e22fff 100644 --- a/example/peripheral/media/lvgl_demo/sdkconfig.h +++ b/example/peripheral/media/lvgl_demo/sdkconfig.h @@ -152,7 +152,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -162,6 +161,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config index fda27c68e433387e30d0273afe543d96e901fbb8..d6aa9705608f37e8a90bbe74d3b0d2668e968cd9 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch32_demo_media.config @@ -176,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config index 8bab2feccbe2a906f5633434c2daf63f881c1e07..e66c72aeed8620ac46bc30425008bf9c0a013670 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000d_aarch64_demo_media.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config index 6d6b187bc9580c7526db92270b4596883218c3bc..994e842aafb6e0d38c5159f7025621cba03e9f2a 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch32_demo_media.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config index e5ba37fbe2479128b64e03c37cb1fafb5c33ea90..b2df5178cc378774ea8876efe754248ff028782e 100644 --- a/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/lvgl_indev/configs/e2000q_aarch64_demo_media.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config index b5d64e0baf3074be9ee313192203f5414502925a..145c05429a200a252680b2679b7b8f584a2c08fd 100644 --- a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch32_firefly_media.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config index 333161a7e30f38b6f5a8e0e1d304d4c60606fdc2..a3bf1e2e387d2af4a32f229285e1378b53e590b3 100644 --- a/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/lvgl_indev/configs/phytiumpi_aarch64_firefly_media.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/sdkconfig b/example/peripheral/media/lvgl_indev/sdkconfig index 333161a7e30f38b6f5a8e0e1d304d4c60606fdc2..a3bf1e2e387d2af4a32f229285e1378b53e590b3 100644 --- a/example/peripheral/media/lvgl_indev/sdkconfig +++ b/example/peripheral/media/lvgl_indev/sdkconfig @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/lvgl_indev/sdkconfig.h b/example/peripheral/media/lvgl_indev/sdkconfig.h index f28ec678baa8006fd33c0c2a3f307c1d983a9e28..ef21da3449694222e42f667450b67c25ca0d41d8 100644 --- a/example/peripheral/media/lvgl_indev/sdkconfig.h +++ b/example/peripheral/media/lvgl_indev/sdkconfig.h @@ -153,7 +153,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -163,6 +162,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config index 33704b070010dda2ae4dcd0a4a11a6ba5805b605..5efc41e14bf89c4031fce5041f9dcabb7944dfa8 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_freertos.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config index f178db96b93178a96c34827e7dbb6c339f21fb47..bfd915c771793c1cdcfe7741c1bc3b1d1ad7fe79 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch32_demo_media.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config index 5006cffac52b26dbd899ecb67364e988ddded2e0..a0063860c02573c6be594fa040d5dc9fc45b7b0e 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_freertos.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config index a2410b773b6513bc208fd2eb30c4a27225fabe4b..815ec450c350c2b38a2c0bcd8bdcc63f391d90bf 100644 --- a/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000d_aarch64_demo_media.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config index 619e9fb7988846d016db582723f2af5b68e9d830..eec030155ff01f57869458cb5ba3d67fd07aaebf 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_freertos.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config index dd9642819e83e09e8807afc6c696c4847791e34f..e1f47abca386c88b132cc74d8c36b52fde231b51 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch32_demo_media.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config index 5646528510bed4f6aaa203709d042fdc3ef5a1a2..a153b472c9e3c72edd24e135db40a4c4b76b773f 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_freertos.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config index 87f20cd80f2c33005371f808b6b53ad63e78de5c..82b02eeb09ff677bd38b57c607c39e4014b564b7 100644 --- a/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config +++ b/example/peripheral/media/media_test/configs/e2000q_aarch64_demo_media.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config index e359266af44d59bd080d92ece16e944a0a4da629..9b7c1c78fe9be1ccab2af348729ec702528a2f59 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_freertos.config @@ -172,7 +172,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config index f1b5e3ef765f27bc1dcc02537b91d90f5d9e40a4..87779a35c150f8fd1669ee1c3cdbb9ef0c4212b3 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch32_firefly_media.config @@ -172,7 +172,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config index 6c0887177749b3d4fb7dbcf7e029ef3c474449b1..3a1102819bdc34337f941d596411382888a20ed9 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_freertos.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config index 8132553f625730145254543a5f0078ae0499a170..53714961e1baf8b8f78e3fcf07183e2d73dc7a4c 100644 --- a/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config +++ b/example/peripheral/media/media_test/configs/phytiumpi_aarch64_firefly_media.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/sdkconfig b/example/peripheral/media/media_test/sdkconfig index 8132553f625730145254543a5f0078ae0499a170..53714961e1baf8b8f78e3fcf07183e2d73dc7a4c 100644 --- a/example/peripheral/media/media_test/sdkconfig +++ b/example/peripheral/media/media_test/sdkconfig @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/media/media_test/sdkconfig.h b/example/peripheral/media/media_test/sdkconfig.h index 0570d6c44b79e9de11bdcfb15171f46d07264dc0..ef963f4eb4c30be6db90c1b9ea31471617be3795 100644 --- a/example/peripheral/media/media_test/sdkconfig.h +++ b/example/peripheral/media/media_test/sdkconfig.h @@ -151,7 +151,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -161,6 +160,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config b/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config index 43e74e50583a8148d5644f9f3c3f9183f7c37e31..7aebd074dd2de94f11a2d2c36054d7c1b059e12b 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000d_aarch32_demo_pwm.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config b/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config index 9c0e0a81099b27547896be0e57fef2b175ad4184..6e77b2b65044aaa88d9c8e8ed9a5077f9a980668 100644 --- a/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000d_aarch64_demo_pwm.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config b/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config index 7be8d03549e7377a3a9447e3b42c8e5f0ff123bd..4b7951965ed092901e64780ca8dfd159ed9648cb 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000q_aarch32_demo_pwm.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config b/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config index 64385bbbdd77814a84779199ac098bb2f0d460c2..0d814224fa8a1d6b7d79dd9abde50dba4ccac9cc 100644 --- a/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config +++ b/example/peripheral/pwm/configs/e2000q_aarch64_demo_pwm.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config b/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config index 731e1af667ea014c20b37b366272cbc1a37ad772..2fbc147bc2440670bf071cfaab54e102cd93f29e 100644 --- a/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config +++ b/example/peripheral/pwm/configs/phytiumpi_aarch32_firefly_pwm.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config b/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config index 7b352d6415ea8b235f56732437d9cf77e0b69016..1d36129cbbfa2742e517604ff0481eea29418337 100644 --- a/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config +++ b/example/peripheral/pwm/configs/phytiumpi_aarch64_firefly_pwm.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/sdkconfig b/example/peripheral/pwm/sdkconfig index 7b352d6415ea8b235f56732437d9cf77e0b69016..1d36129cbbfa2742e517604ff0481eea29418337 100644 --- a/example/peripheral/pwm/sdkconfig +++ b/example/peripheral/pwm/sdkconfig @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/pwm/sdkconfig.h b/example/peripheral/pwm/sdkconfig.h index ef336697f7e0867b461df56555566e3d96f96ece..2cb434ba3f71feb1c6677798290bf4ba03e9af43 100644 --- a/example/peripheral/pwm/sdkconfig.h +++ b/example/peripheral/pwm/sdkconfig.h @@ -152,7 +152,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -162,6 +161,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/qspi/README.md b/example/peripheral/qspi/README.md index b734e949b00ea479ef68bc89d64e888fd066e297..bb7704aebc9306761a71661ab8d3fe3e46b23eab 100644 --- a/example/peripheral/qspi/README.md +++ b/example/peripheral/qspi/README.md @@ -3,23 +3,59 @@ ## 1. 例程介绍 本例程示范了freertos环境下的qspi的读写使用,包括qspi的初始化、读、写、读id和去初始化操作; -程序启动后,创建qspi的初始化、读和写任务; -创建单次模式的软件定时器,回调函数为删除qspi的读和写任务; + +QSPI Flash芯片检测例程 (qspi_flash_connection_check_example.c) +- 初始化QSPI基本配置 +- 依次检测并读取CSN0~CSN3已安装Flash芯片基本信息 +- 若Flash芯片成功被检测,并且该Flash芯片已在驱动中适配,则会打印出该Flash芯片的安装位置,型号,存储空间大小 +- 若Flash芯片未被检测到或在驱动中没有进行适配,则会打印未检测到Falsh芯片信息 +- 检测结束后,去初始化QSPI,删除任务、删除信号量 + +QSPI Flash轮询模式读写测试例程 (qspi_flash_polled_example.c) +- 初始化QSPI基本配置,并检测已安装Flash的基本信息 +- 使用0xDB指令(Sector Erase)擦除Flash芯片指定地址处内容 +- 使用0x02指令(Page program)在Flash芯片内指定地址处写入字符串 +- 写入成功后,使用0x03(normal read 1-1-1)指令在指定地址处读取字符串,对读写字符串的内容进行比较,验证读写操作成功 +- 打印读出字符串内容,去初始化QSPI,删除任务、删除信号量 + +QSPI Flash间接模式读写测试例程 (qspi_flash_indirect_example.c) +- 初始化QSPI基本配置,并检测已安装Flash的基本信息 +- 使用0xDB指令(Sector Erase)擦除Flash芯片指定地址处内容 +- 使用0x02指令(Page program)间接模式在Flash芯片内指定地址处写入字符串 +- 写入成功后,使用0x03(normal read 1-1-1)指令间接模式在指定地址处读取字符串,对读写字符串的内容进行比较,验证读写操作成功 +- 打印读出字符串内容,去初始化QSPI,删除任务、删除信号量 + +QSPI 双Flash芯片读写测试例程 (qspi_dual_flash_stack_example.c) +- 该例程需要在CSN0,CSN1两个接口处安装两块型号和空间大小完全相同的Flash芯片 +- 初始化QSPI基本配置,并检测已安装Flash的基本信息 +- 使用0xDB指令(Sector Erase)擦除CSN0 Flash芯片指定地址处内容 +- 使用0x02指令(Page program)在CSN0 Flash芯片内指定地址处写入字符串 +- 写入成功后,使用0x02指令(Page program)在CSN0 Flash芯片指定地址处读取字符串,打印读出字符串内容 +- 切换Flash选片至CSN1 +- 使用0xDB指令(Sector Erase)擦除CSN1 Flash芯片指定地址处内容 +- 使用0x02指令(Page program)在CSN1 Flash芯片内指定地址处写入字符串 +- 写入成功后,使用0x02指令(Page program)在CSN1 Flash芯片指定地址处读取字符串,打印读出字符串内容 +- 去初始化QSPI,删除任务、删除信号量 + 例程在FT2000/4上使用的Nor Flash介质型号是GD25Q256,容量为32MB; E2000D上使用的Nor Flash介质型号是GD25Q128,容量为16MB; ## 2. 如何使用例程 本例程需要用到 + - Phytium开发板:FT2000-4/D2000/E2000D/E2000Q/PhytiumPi(包含QSPI-FLASH芯片座) - [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、PhytiumPi开发板 对应的配置项是 + - CONFIG_TARGET_FT2004 - CONFIG_TARGET_D2000 - CONFIG_TARGET_E2000D @@ -41,32 +77,36 @@ E2000D上使用的Nor Flash介质型号是GD25Q128,容量为16MB; - CONFIG_USE_LETTER_SHELL 本例子已经提供好具体的编译指令,以下进行介绍: + - make 将目录下的工程进行编译 - make clean 将目录下的工程进行清理 - make image 将目录下的工程进行编译,并将生成的elf 复制到目标地址 - make list_kconfig 当前工程支持哪些配置文件 -- make load_kconfig LOAD_CONFIG_NAME= 将预设配置加载至工程中 +- make load_kconfig LOAD_CONFIG_NAME=`` 将预设配置加载至工程中 - make menuconfig 配置目录下的参数变量 - make backup_kconfig 将目录下的sdkconfig 备份到./configs下 具体使用方法为: + - 在当前目录下 - 执行以上指令 ### 2.3 构建和下载 ->描述构建、烧录下载镜像的过程,列出相关的命令
+> ``描述构建、烧录下载镜像的过程,列出相关的命令`
` [参考 freertos 使用说明](../../../docs/reference/usr/usage.md) #### 2.3.1 下载过程 - host侧设置重启host侧tftp服务器 + ``` sudo service tftpd-hpa restart ``` - 开发板侧使用bootelf命令跳转 + ``` setenv ipaddr 192.168.4.20 setenv serverip 192.168.4.50 @@ -77,14 +117,26 @@ bootelf -p 0x90100000 ### 2.4 输出与实验现象 -- 系统进入后,创建qspi初始化任务,读取flash id信息,创建qspi的读写任务,周期10000ms,并创建软件定时器,周期50000ms - -![qspi](./figs/qspi.png) - -- 50000ms时间到,触发软件定时器的回调函数,去初始化qspi,删除qspi的读写任务,删除软件定时器 - -![delete](./figs/delete.png) - +#### 2.4.1 QSPI Flash芯片检测测试例程 +``` +$ qspi check +``` +![check](./figs/check.png) +#### 2.4.2 QSPI Flash轮询模式读写测试例程 +``` +$ qspi polled +``` +![polled](./figs/polled.png) +#### 2.4.3 QSPI Flash间接模式读写测试例程 +``` +$ qspi indirect +``` +![indirect](./figs/indirect.png) +#### 2.4.4 QSPI 双Flash轮询模式读写测试例程 +``` +$ qspi dual_flash_test +``` +![dual_flash_test](./figs/dual_flash_test.png) ## 3. 如何解决问题 @@ -93,7 +145,3 @@ bootelf -p 0x90100000 - 由于开发板上的QSPI接口的NorFlash用于固件启动,因此不建议在不了解固件大小的情况下,使用qspi write写数据,因为这可能导致固件无法正常启动; ## 4. 修改历史记录 - - - - diff --git a/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config b/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config index 8df8fbd8ce52828b38ac4e73bbf1663cdc2f7946..2da4a8a42cb4d61d80e2526c4cd893bf04061ab9 100644 --- a/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config +++ b/example/peripheral/qspi/configs/d2000_aarch32_test_qspi.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config b/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config index f2b5766e7b828d0f1f537ead9ce089b6a951b18d..7f6b416134cf258ac40371f35535b9d6a54aaffe 100644 --- a/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config +++ b/example/peripheral/qspi/configs/d2000_aarch64_test_qspi.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config b/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config index 38291262322caf7763a6c9bfa38089c321b6d70c..b7be00e10c931dcb39c72caff429e81903a0b077 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000d_aarch32_demo_qspi.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config b/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config index 19f1c8e644f41311f2b627cdb931d7382f1b8751..d628367dfaf3c12b1dc4b7ebd399edbd43c89d0c 100644 --- a/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000d_aarch64_demo_qspi.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config b/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config index bedc7e192ebb9b46e5a6b723e595b17d38e2c439..72797e3dcd5bbbbcb126cae2a40479e47a2f84bb 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000q_aarch32_demo_qspi.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config b/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config index 960a42379520a92a006a9872b0345389a13cc608..6c69a5364fad399cb562199a4e221d30580a6229 100644 --- a/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config +++ b/example/peripheral/qspi/configs/e2000q_aarch64_demo_qspi.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config b/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config index a99e7864b8d8ae9e7dd943bcf02a73f7ac5b0d14..55256b276098278ecbab8c022bccc85c86dc7deb 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config +++ b/example/peripheral/qspi/configs/ft2004_aarch32_dsk_qspi.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config b/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config index cc8d8af3e9d89c36ae55c65d153f4ea88dacecc2..0a604edede237a43b61ba4233335f1b61e466a86 100644 --- a/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config +++ b/example/peripheral/qspi/configs/ft2004_aarch64_dsk_qspi.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config b/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config index a0d8e9af895705dccbcb9dfb8a5f4101ba01dd9f..109173d3c4fdfe50007547c09341887668456849 100644 --- a/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config +++ b/example/peripheral/qspi/configs/phytiumpi_aarch32_firefly_qspi.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config b/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config index 1d2b2432804233fb32cd12d4160ec80a55f7b38b..a6dfc0c14f96a0e84f75c835f97e094c5d931b9b 100644 --- a/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config +++ b/example/peripheral/qspi/configs/phytiumpi_aarch64_firefly_qspi.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/figs/check.png b/example/peripheral/qspi/figs/check.png new file mode 100644 index 0000000000000000000000000000000000000000..56bbdacca66f4e4d2288d7750e6786569c4dda6e Binary files /dev/null and b/example/peripheral/qspi/figs/check.png differ diff --git a/example/peripheral/qspi/figs/dual_flash_test.png b/example/peripheral/qspi/figs/dual_flash_test.png new file mode 100644 index 0000000000000000000000000000000000000000..8dd081b46ccb5e21f7b6390179c39fdd56455aed Binary files /dev/null and b/example/peripheral/qspi/figs/dual_flash_test.png differ diff --git a/example/peripheral/qspi/figs/indirect.png b/example/peripheral/qspi/figs/indirect.png new file mode 100644 index 0000000000000000000000000000000000000000..09abf894549fc418208ef9610f645919be32cbb1 Binary files /dev/null and b/example/peripheral/qspi/figs/indirect.png differ diff --git a/example/peripheral/qspi/figs/polled.png b/example/peripheral/qspi/figs/polled.png new file mode 100644 index 0000000000000000000000000000000000000000..d3b2570d39aad72a6f0f033b9279467dc2525400 Binary files /dev/null and b/example/peripheral/qspi/figs/polled.png differ diff --git a/example/peripheral/qspi/inc/qspi_example.h b/example/peripheral/qspi/inc/qspi_example.h index 4b62208728215b59dbadb50c8e6f306f9cc975da..58e740bdde897ecf3c77b6f230a9e25a35960e1b 100644 --- a/example/peripheral/qspi/inc/qspi_example.h +++ b/example/peripheral/qspi/inc/qspi_example.h @@ -25,14 +25,17 @@ #ifndef QSPI_EXAMPLE_H #define QSPI_EXAMPLE_H - +#include "portmacro.h" #ifdef __cplusplus extern "C" { #endif /* qspi read and write test */ -BaseType_t FFreeRTOSQspiCreate(u32 id); +BaseType_t FFreeRTOSQspiPolledTaskCreate(u32 id); +BaseType_t FFreeRTOSQspiCheckTaskCreate(u32 id); +BaseType_t FFreeRTOSQspiDualFlashTaskCreate(void); +BaseType_t FFreeRTOSQspiIndirectTaskCreate(u32 id); #ifdef __cplusplus } diff --git a/example/peripheral/qspi/main.c b/example/peripheral/qspi/main.c index db1c7d65f61e9d4f89244feb9884696362cd42d0..c77c4e2bc097e21f6bd14be540e0177058e2ed2e 100644 --- a/example/peripheral/qspi/main.c +++ b/example/peripheral/qspi/main.c @@ -31,12 +31,6 @@ int main(void) { BaseType_t ret; - ret = FFreeRTOSQspiCreate(0); - if (ret != pdPASS) - { - goto FAIL_EXIT; - } - ret = LSUserShellTask() ; if (ret != pdPASS) { diff --git a/example/peripheral/qspi/sdkconfig b/example/peripheral/qspi/sdkconfig index 1d2b2432804233fb32cd12d4160ec80a55f7b38b..a6dfc0c14f96a0e84f75c835f97e094c5d931b9b 100644 --- a/example/peripheral/qspi/sdkconfig +++ b/example/peripheral/qspi/sdkconfig @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/qspi/sdkconfig.h b/example/peripheral/qspi/sdkconfig.h index a97b4b83c098bdf4b43aafe4dffc3753e9a1b2dd..db982d6c00c9f0a42d16d6c191b3c9382d706880 100644 --- a/example/peripheral/qspi/sdkconfig.h +++ b/example/peripheral/qspi/sdkconfig.h @@ -152,7 +152,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -162,6 +161,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/qspi/src/cmd_qspi.c b/example/peripheral/qspi/src/cmd_qspi.c new file mode 100644 index 0000000000000000000000000000000000000000..375eaa6d903347ec3be34a21860d7cb8643ea675 --- /dev/null +++ b/example/peripheral/qspi/src/cmd_qspi.c @@ -0,0 +1,79 @@ +/* + * 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: cmd_qspi.c + * Date: 2023-11-16 10:41:45 + * LastEditTime: 2023-11-16 10:41:45 + * Description: This file is for qspi example command interface + * + * Modify History: + * Ver Who Date Changes + * ----- ------ -------- -------------------------------------- + * 1.0 huangjin 2023/11/16 first commit + */ +#include "shell.h" +#include "qspi_example.h" +#include +#include +#include "projdefs.h" + +static void CreateTasksCmdUsage(void) +{ + printf("Usage:\r\n"); + printf("qspi check \r\n"); + printf("-- run qspi flash connection check example at controller \r\n"); + printf("qspi polled\r\n"); + printf("-- run qspi flash polled example at controller\r\n"); + printf("qspi indirect \r\n"); + printf("-- run qspi flash indirect example at controller\r\n"); + printf("qspi dual_flash_test \r\n"); + printf("-- run qspi dual flash stack example at controller\r\n"); +} + +int CreateTasksCmd(int argc, char *argv[]) +{ + int ret = 0; + + if (argc < 2) + { + CreateTasksCmdUsage(); + return -1; + } + else if (!strcmp(argv[1], "check")) + { + ret = FFreeRTOSQspiCheckTaskCreate(0); + } + else if (!strcmp(argv[1], "polled")) + { + ret = FFreeRTOSQspiPolledTaskCreate(0); + } + else if (!strcmp(argv[1], "indirect")) + { + ret = FFreeRTOSQspiIndirectTaskCreate(0); + } + else if (!strcmp(argv[1], "dual_flash_test")) + { + ret = FFreeRTOSQspiDualFlashTaskCreate(); + } + else + { + printf("Error: Invalid arguments. \r\n"); + CreateTasksCmdUsage(); + } + + return ret; +} + +SHELL_EXPORT_CMD(SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), qspi, CreateTasksCmd, qspi creating test); + + diff --git a/example/peripheral/qspi/src/qspi_dual_flash_stack_example.c b/example/peripheral/qspi/src/qspi_dual_flash_stack_example.c new file mode 100644 index 0000000000000000000000000000000000000000..84b4fdc96c9e901fb985b5bf3e40b9f9da98b605 --- /dev/null +++ b/example/peripheral/qspi/src/qspi_dual_flash_stack_example.c @@ -0,0 +1,289 @@ +/* + * 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: qspi_dual_flash_stack_example.c + * Date: 2023-11-20 11:32:48 + * LastEditTime: 2023-11-20 11:32:48 + * Description: This file is for qspi dual flash stack example function implmentation + * + * Modify History: + * Ver   Who         Date          Changes + * ----- ------      --------     -------------------------------------- + * 1.0 huangjin 2023/11/20 first release + */ +#include +#include "FreeRTOSConfig.h" +#include "FreeRTOS.h" +#include "task.h" +#include "fqspi.h" +#include "fqspi_flash.h" +#include "fqspi_os.h" +#include "timers.h" +#include "qspi_example.h" +#include "sdkconfig.h" +#include "fio_mux.h" + +/* write and read task delay in milliseconds */ +#define TASK_DELAY_MS 1000UL + +static xTaskHandle read_handle; +static xTaskHandle write_handle; + +/* Offset 1M from flash maximum capacity*/ +#define FLASH_WR_OFFSET SZ_1M +/* write and read start address */ +static u32 flash_wr_start = 0 ; + +/* write and read cs channel */ +#define QSPI_CS_CHANNEL 0 + +#define DAT_LENGTH 64 +static u8 rd_buf[DAT_LENGTH] = {0}; +static u8 wr_buf[DAT_LENGTH] = {0}; + +/* test task number */ +#define READ_WRITE_TASK_NUM 3 +static xSemaphoreHandle xCountingSemaphore; +static xSemaphoreHandle xCtrlSemaphore; + +static FFreeRTOSQspi *os_qspi_ctrl_p = NULL; + +static FFreeRTOSQspiMessage message = {0}; + +static void FFreeRTOSQspiDelete(void *pvParameters); +static void QspiReadTask(void *pvParameters); +static void QspiWriteTask(void *pvParameters); + +static void QspiInitTask(void *pvParameters) +{ + BaseType_t xReturn = pdPASS;/* 定义一个创建信息返回值,默认为 pdPASS */ + + for (int i = 0; i < READ_WRITE_TASK_NUM; i++) + { + xSemaphoreGive(xCountingSemaphore); + } + + xReturn = xTaskCreate((TaskFunction_t)QspiWriteTask, /* 任务入口函数 */ + (const char *)"QspiWriteTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)pvParameters,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + (TaskHandle_t *)&write_handle); /* 任务控制 */ + + xReturn = xTaskCreate((TaskFunction_t)QspiReadTask, /* 任务入口函数 */ + (const char *)"QspiReadTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)pvParameters,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + (TaskHandle_t *)&read_handle); /* 任务控制 */ + + xReturn = xTaskCreate((TaskFunction_t)FFreeRTOSQspiDelete, /* 任务入口函数 */ + (const char *)"QspiDeleteTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)pvParameters,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + NULL); /* 任务控制 */ + if (xReturn != pdPASS) + { + goto qspi_init_exit; + } + +qspi_init_exit: + vTaskDelete(NULL); +} + +static void QspiReadTask(void *pvParameters) +{ + int channel = (int)(uintptr)pvParameters; + const TickType_t xDelay = pdMS_TO_TICKS(TASK_DELAY_MS); + FError ret = FQSPI_SUCCESS; + + xSemaphoreTake(xCountingSemaphore, portMAX_DELAY); + + /* As per most tasks, this task is implemented in an infinite loop. */ + for (;;) + { + /* Print out the name of this task. */ + printf("CSN%d QspiReadTask is running\r\n", channel); + + message.read_buf = rd_buf; + message.length = DAT_LENGTH; + message.addr = flash_wr_start; + message.cmd = FQSPI_FLASH_CMD_READ; + message.cs = channel; + ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); + if (FQSPI_SUCCESS != ret) + { + printf("QspiReadTask FFreeRTOSQspiTransfer failed, return value: 0x%x\r\n", ret); + } + taskENTER_CRITICAL(); //进入临界区 + FtDumpHexByte(rd_buf, DAT_LENGTH); + taskEXIT_CRITICAL(); //退出临界区 + + /* Delay for a period. This time a call to vTaskDelay() is used which + places the task into the Blocked state until the delay period has + expired. The parameter takes a time specified in 'ticks', and the + pdMS_TO_TICKS() macro is used (where the xDelay constant is + declared) to convert TASK_DELAY_MS milliseconds into an equivalent time in + ticks. */ + vTaskDelay(xDelay); + } +} + +static void QspiWriteTask(void *pvParameters) +{ + char *pcTaskName; + int channel = (int)(uintptr)pvParameters; + if (channel == 0) + { + pcTaskName = "CSN0 write content successfully"; + } + else if (channel == 1) + { + pcTaskName = "CSN1 write content successfully"; + } + + const TickType_t xDelay = pdMS_TO_TICKS(TASK_DELAY_MS); + int i = 0; + FError ret = FQSPI_SUCCESS; + + xSemaphoreTake(xCountingSemaphore, portMAX_DELAY); + + /* As per most tasks, this task is implemented in an infinite loop. */ + for (;;) + { + /* Print out the name of this task. */ + printf("CSN%d QspiWriteTask is running\r\n", channel); + + /*set the write buffer content*/ + u8 len = strlen(pcTaskName) + 1; + memcpy(&wr_buf, pcTaskName, len); + + message.addr = flash_wr_start; + message.cmd = FQSPI_FLASH_CMD_SE; + message.cs = channel; + ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); + if (FQSPI_SUCCESS != ret) + { + printf("QspiWriteTask FFreeRTOSQspiTransfer failed, return value: 0x%x\r\n", ret); + } + + message.write_buf = wr_buf; + message.length = DAT_LENGTH; + message.addr = flash_wr_start; + message.cmd = FQSPI_FLASH_CMD_PP; + message.cs = channel; + ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); + if (FQSPI_SUCCESS != ret) + { + printf("QspiWriteTask FFreeRTOSQspiTransfer failed, return value: 0x%x\r\n", ret); + } + + /* Delay for a period. This time a call to vTaskDelay() is used which + places the task into the Blocked state until the delay period has + expired. The parameter takes a time specified in 'ticks', and the + pdMS_TO_TICKS() macro is used (where the xDelay constant is + declared) to convert TASK_DELAY_MS milliseconds into an equivalent time in + ticks. */ + vTaskDelay(xDelay); + } +} + +BaseType_t FFreeRTOSQspiDualFlashTaskCreate(void) +{ + BaseType_t xReturn = pdPASS;/* 定义一个创建信息返回值,默认为 pdPASS */ + memset(&message, 0, sizeof(message)); + + xCountingSemaphore = xSemaphoreCreateCounting(READ_WRITE_TASK_NUM, 0); + if (xCountingSemaphore == NULL) + { + printf("FFreeRTOSWdtCreate xCountingSemaphore create failed.\r\n"); + return pdFAIL; + } + + xCtrlSemaphore = xSemaphoreCreateBinary(); + if (xCtrlSemaphore != NULL) + { + xSemaphoreGive(xCtrlSemaphore); + } + +#if defined(CONFIG_TARGET_E2000) + /*init iomux*/ + FIOMuxInit(); + FIOPadSetQspiMux(FQSPI0_ID, FQSPI_CS_0); + FIOPadSetQspiMux(FQSPI0_ID, FQSPI_CS_1); +#endif + + /* init qspi controller */ + os_qspi_ctrl_p = FFreeRTOSQspiInit(FQSPI0_ID); + flash_wr_start = os_qspi_ctrl_p->qspi_ctrl.flash_size - FLASH_WR_OFFSET; + if (os_qspi_ctrl_p == NULL) + { + printf("FFreeRTOSWdtInit failed.\n"); + } + + taskENTER_CRITICAL(); /*进入临界区*/ + /* qspi 通道0 */ + xSemaphoreTake(xCtrlSemaphore, portMAX_DELAY); + xReturn = xTaskCreate((TaskFunction_t)QspiInitTask, /* 任务入口函数 */ + (const char *)"QspiInitTask0", /* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)0, /* 任务入口函数参数 */ + (UBaseType_t)2, /* 任务的优先级 */ + NULL); + /* qspi 通道1 */ + xSemaphoreTake(xCtrlSemaphore, portMAX_DELAY); + xReturn = xTaskCreate((TaskFunction_t)QspiInitTask, /* 任务入口函数 */ + (const char *)"QspiInitTask1", /* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)1, /* 任务入口函数参数 */ + (UBaseType_t)2, /* 任务的优先级 */ + NULL); + taskEXIT_CRITICAL(); /*退出临界区*/ + + return xReturn; +} + +static void FFreeRTOSQspiDelete(void *pvParameters) +{ + xSemaphoreTake(xCountingSemaphore, portMAX_DELAY); + + BaseType_t xReturn = pdPASS; + + if (read_handle) + { + vTaskDelete(read_handle); + printf("Delete QspiReadTask successfully.\r\n"); + } + + if (write_handle) + { + vTaskDelete(write_handle); + printf("Delete QspiWriteTask successfully.\r\n"); + } + + xSemaphoreGive(xCtrlSemaphore); + + if ((int)(uintptr)pvParameters == 1) + { + /* 删除信号量 */ + vSemaphoreDelete(xCountingSemaphore); + vSemaphoreDelete(xCtrlSemaphore); + /* 去初始化 */ + FIOMuxDeInit(); + FFreeRTOSQspiDeinit(os_qspi_ctrl_p); + } + + printf("Delete QspiDeleteTask successfully.\r\n"); + vTaskDelete(NULL); +} diff --git a/example/peripheral/qspi/src/qspi_flash_connection_check_example.c b/example/peripheral/qspi/src/qspi_flash_connection_check_example.c new file mode 100644 index 0000000000000000000000000000000000000000..7cc21a79491f50bba866f784a1534c1e4c7052de --- /dev/null +++ b/example/peripheral/qspi/src/qspi_flash_connection_check_example.c @@ -0,0 +1,95 @@ +/* + * 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: qspi_flash_connection_check_example.c + * Date: 2023-11-16 11:32:48 + * LastEditTime: 2023-11-16 11:32:48 + * Description: This file is for qspi flash connection check example function implmentation + * + * Modify History: + * Ver   Who         Date          Changes + * ----- ------      --------     -------------------------------------- + * 1.0 huangjin 2023/11/16 first release + */ +#include +#include "FreeRTOSConfig.h" +#include "FreeRTOS.h" +#include "task.h" +#include "fqspi.h" +#include "fqspi_flash.h" +#include "fqspi_os.h" +#include "timers.h" +#include "qspi_example.h" +#include "sdkconfig.h" +#include "fio_mux.h" + +static FFreeRTOSQspi *os_qspi_ctrl_p = NULL; + +static void FFreeRTOSQspiDelete(void); + +static void QspiInitTask(void *pvParameters) +{ + /* The qspi_id to use is passed in via the parameter. + Cast this to a qspi_id pointer. */ + u32 qspi_id = (u32)(uintptr)pvParameters; + +#if defined(CONFIG_TARGET_E2000) + /*init iomux*/ + FIOMuxInit(); + FIOPadSetQspiMux(qspi_id, FQSPI_CS_0); + FIOPadSetQspiMux(qspi_id, FQSPI_CS_1); +#endif + + /* init qspi controller */ + os_qspi_ctrl_p = FFreeRTOSQspiInit(qspi_id); + if (os_qspi_ctrl_p == NULL) + { + printf("FFreeRTOSWdtInit failed.\n"); + goto qspi_init_exit; + } + + FFreeRTOSQspiDelete(); + +qspi_init_exit: + vTaskDelete(NULL); +} + +BaseType_t FFreeRTOSQspiCheckTaskCreate(u32 id) +{ + BaseType_t xReturn = pdPASS;/* 定义一个创建信息返回值,默认为 pdPASS */ + + taskENTER_CRITICAL(); /*进入临界区*/ + + xReturn = xTaskCreate((TaskFunction_t)QspiInitTask, /* 任务入口函数 */ + (const char *)"QspiInitTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)(uintptr)id,/* 任务入口函数参数 */ + (UBaseType_t)2, /* 任务的优先级 */ + NULL); + + taskEXIT_CRITICAL(); /*退出临界区*/ + + return xReturn; +} + +static void FFreeRTOSQspiDelete(void) +{ + BaseType_t xReturn = pdPASS; + + FIOMuxDeInit(); + + FFreeRTOSQspiDeinit(os_qspi_ctrl_p); +} + + + diff --git a/example/peripheral/qspi/src/qspi_flash_indirect_example.c b/example/peripheral/qspi/src/qspi_flash_indirect_example.c new file mode 100644 index 0000000000000000000000000000000000000000..46a0102be5cee60d90d8f82fc0d03eed5bd58d39 --- /dev/null +++ b/example/peripheral/qspi/src/qspi_flash_indirect_example.c @@ -0,0 +1,256 @@ +/* + * 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: qspi_flash_indirect_example.c + * Date: 2023-11-20 11:32:48 + * LastEditTime: 2023-11-20 11:32:48 + * Description: This file is an example function implementation for the indirect mode of qspi flash + * + * Modify History: + * Ver   Who         Date          Changes + * ----- ------      --------     -------------------------------------- + * 1.0 huangjin 2023/11/16 first release + */ +#include +#include "FreeRTOSConfig.h" +#include "FreeRTOS.h" +#include "task.h" +#include "fqspi.h" +#include "fqspi_flash.h" +#include "fqspi_os.h" +#include "timers.h" +#include "qspi_example.h" +#include "sdkconfig.h" +#include "fio_mux.h" + +/* write and read task delay in milliseconds */ +#define TASK_DELAY_MS 1000UL + +static xTaskHandle read_handle; +static xTaskHandle write_handle; + +/* Offset 1M from flash maximum capacity*/ +#define FLASH_WR_OFFSET SZ_1M +/* write and read start address */ +static u32 flash_wr_start = 0 ; + +/* write and read cs channel */ +#define QSPI_CS_CHANNEL 0 + +#define DAT_LENGTH 64 +static u8 rd_buf[DAT_LENGTH] = {0}; +static u8 wr_buf[DAT_LENGTH] = {0}; + +/* test task number */ +#define READ_WRITE_TASK_NUM 3 +static xSemaphoreHandle xCountingSemaphore; + +static FFreeRTOSQspi *os_qspi_ctrl_p = NULL; + +static FFreeRTOSQspiMessage message = {0}; + +static void FFreeRTOSQspiDelete(void); + +static void QspiInitTask(void *pvParameters) +{ + /* The qspi_id to use is passed in via the parameter. + Cast this to a qspi_id pointer. */ + u32 qspi_id = (u32)(uintptr)pvParameters; + +#if defined(CONFIG_TARGET_E2000) + /*init iomux*/ + FIOMuxInit(); + FIOPadSetQspiMux(qspi_id, FQSPI_CS_0); + FIOPadSetQspiMux(qspi_id, FQSPI_CS_1); +#endif + + /* init qspi controller */ + os_qspi_ctrl_p = FFreeRTOSQspiInit(qspi_id); + flash_wr_start = os_qspi_ctrl_p->qspi_ctrl.flash_size - FLASH_WR_OFFSET; + if (os_qspi_ctrl_p == NULL) + { + printf("FFreeRTOSWdtInit failed.\n"); + goto qspi_init_exit; + } + +qspi_init_exit: + vTaskDelete(NULL); +} + +static void QspiReadTask(void *pvParameters) +{ + const TickType_t xDelay = pdMS_TO_TICKS(TASK_DELAY_MS); + FError ret = FQSPI_SUCCESS; + int i = 0; + + /* As per most tasks, this task is implemented in an infinite loop. */ + for (;;) + { + if (uxSemaphoreGetCount( xCountingSemaphore ) == READ_WRITE_TASK_NUM) + { + FFreeRTOSQspiDelete(); + printf("Delete QspiReadTask successfully.\r\n"); + vTaskDelete(NULL); + } + /* Print out the name of this task. */ + printf("QspiReadTask is running. count = %d\r\n", uxSemaphoreGetCount( xCountingSemaphore )+1); + + /* Read norflash data */ + ret = FQspiFlashPortReadData(&os_qspi_ctrl_p->qspi_ctrl, FQSPI_FLASH_CMD_READ, flash_wr_start, rd_buf, DAT_LENGTH); + if (FQSPI_SUCCESS != ret) + { + printf("QspiReadTask FFreeRTOSQspiTransfer failed, return value: 0x%x\r\n", ret); + } + taskENTER_CRITICAL(); //进入临界区 + FtDumpHexByte(rd_buf, DAT_LENGTH); + taskEXIT_CRITICAL(); //退出临界区 + + /* 判断读写内容是否一致 */ + for (i = 0; i < DAT_LENGTH; i++) + { + if (rd_buf[i] != wr_buf[i]) + { + printf("The read and write data is inconsistent.\r\n"); + break; + } + } + xSemaphoreGive(xCountingSemaphore); + + /* Delay for a period. This time a call to vTaskDelay() is used which + places the task into the Blocked state until the delay period has + expired. The parameter takes a time specified in 'ticks', and the + pdMS_TO_TICKS() macro is used (where the xDelay constant is + declared) to convert TASK_DELAY_MS milliseconds into an equivalent time in + ticks. */ + vTaskDelay(xDelay); + } +} + +static void QspiWriteTask(void *pvParameters) +{ + const char *pcTaskName = "QspiWriteTask is running\r\n"; + const TickType_t xDelay = pdMS_TO_TICKS(TASK_DELAY_MS); + int i = 0; + FError ret = FQSPI_SUCCESS; + u32 array_index = 0; + u32 write_addr = 0; + + /* As per most tasks, this task is implemented in an infinite loop. */ + for (;;) + { + if (uxSemaphoreGetCount( xCountingSemaphore ) == READ_WRITE_TASK_NUM) + { + printf("Delete QspiWriteTask successfully.\r\n"); + vTaskDelete(NULL); + } + /* Print out the name of this task. */ + printf(pcTaskName); + for (i = 0; i < DAT_LENGTH; i++) + { + wr_buf[i] = uxSemaphoreGetCount( xCountingSemaphore ) + i; + } + + message.addr = flash_wr_start; + message.cmd = FQSPI_FLASH_CMD_SE; + message.cs = QSPI_CS_CHANNEL; + ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); + if (FQSPI_SUCCESS != ret) + { + printf("Failed to erase sectors. return value: 0x%x\r\n", ret); + } + + write_addr = os_qspi_ctrl_p->qspi_ctrl.flash_size - FLASH_WR_OFFSET; + /* Write norflash data */ + while (array_index < sizeof(wr_buf)) + { + u8 data_to_write[4] = {0}; + for (i = 0; i < 4; i++) + { + if (array_index < sizeof(wr_buf)) + { + data_to_write[i] = wr_buf[array_index]; + array_index++; + } + else + { + break; + } + } + ret = FQspiFlashPortWriteData(&os_qspi_ctrl_p->qspi_ctrl, FQSPI_FLASH_CMD_PP, write_addr, (u8 *)(data_to_write), 4); + write_addr += 4; + } + array_index = 0; + + /* Delay for a period. This time a call to vTaskDelay() is used which + places the task into the Blocked state until the delay period has + expired. The parameter takes a time specified in 'ticks', and the + pdMS_TO_TICKS() macro is used (where the xDelay constant is + declared) to convert TASK_DELAY_MS milliseconds into an equivalent time in + ticks. */ + vTaskDelay(xDelay); + } +} + +BaseType_t FFreeRTOSQspiIndirectTaskCreate(u32 id) +{ + BaseType_t xReturn = pdPASS;/* 定义一个创建信息返回值,默认为 pdPASS */ + + memset(&message, 0, sizeof(message)); + + xCountingSemaphore = xSemaphoreCreateCounting(READ_WRITE_TASK_NUM, 0); + if (xCountingSemaphore == NULL) + { + printf("FFreeRTOSWdtCreate xCountingSemaphore create failed.\r\n"); + return pdFAIL; + } + + taskENTER_CRITICAL(); /*进入临界区*/ + + xReturn = xTaskCreate((TaskFunction_t)QspiInitTask, /* 任务入口函数 */ + (const char *)"QspiInitTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + (void *)(uintptr)id,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + NULL); + + xReturn = xTaskCreate((TaskFunction_t)QspiWriteTask, /* 任务入口函数 */ + (const char *)"QspiWriteTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + NULL,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 2, /* 任务的优先级 */ + (TaskHandle_t *)&write_handle); /* 任务控制 */ + + xReturn = xTaskCreate((TaskFunction_t)QspiReadTask, /* 任务入口函数 */ + (const char *)"QspiReadTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + NULL,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 3, /* 任务的优先级 */ + (TaskHandle_t *)&read_handle); /* 任务控制 */ + + taskEXIT_CRITICAL(); /*退出临界区*/ + + return xReturn; +} + +static void FFreeRTOSQspiDelete(void) +{ + FIOMuxDeInit(); + + FFreeRTOSQspiDeinit(os_qspi_ctrl_p); + + /* delete count sem */ + vSemaphoreDelete(xCountingSemaphore); +} + + + diff --git a/example/peripheral/qspi/src/qspi_example.c b/example/peripheral/qspi/src/qspi_flash_polled_example.c similarity index 64% rename from example/peripheral/qspi/src/qspi_example.c rename to example/peripheral/qspi/src/qspi_flash_polled_example.c index c3999404f524a37fd20ebcc110f9164222e9689a..571f7a8385eb971f49e1be4290da92e405086bc2 100644 --- a/example/peripheral/qspi/src/qspi_example.c +++ b/example/peripheral/qspi/src/qspi_flash_polled_example.c @@ -11,15 +11,16 @@ * See the Phytium Public License for more details. * * - * FilePath: qspi_example.c + * FilePath: qspi_flash_polled_example.c * Date: 2022-07-11 11:32:48 * LastEditTime: 2022-07-11 11:32:48 - * Description: This file is for qspi test example functions. + * Description: This file is for qspi polled example functions. * * Modify History: * Ver   Who         Date          Changes * ----- ------      --------     -------------------------------------- * 1.0 wangxiaodong 2022/8/9 first release + * 2.0 huangjin 2023/11/16 Modified function */ #include #include "FreeRTOSConfig.h" @@ -33,16 +34,11 @@ #include "sdkconfig.h" #include "fio_mux.h" -/* The periods assigned to the one-shot timers. */ -#define ONE_SHOT_TIMER_PERIOD ( pdMS_TO_TICKS( 50000UL ) ) - /* write and read task delay in milliseconds */ -#define TASK_DELAY_MS 10000UL - +#define TASK_DELAY_MS 1000UL static xTaskHandle read_handle; static xTaskHandle write_handle; -static TimerHandle_t xOneShotTimer; /* Offset 1M from flash maximum capacity*/ #define FLASH_WR_OFFSET SZ_1M @@ -57,7 +53,7 @@ static u8 rd_buf[DAT_LENGTH] = {0}; static u8 wr_buf[DAT_LENGTH] = {0}; /* test task number */ -#define READ_WRITE_TASK_NUM 2 +#define READ_WRITE_TASK_NUM 3 static xSemaphoreHandle xCountingSemaphore; static FFreeRTOSQspi *os_qspi_ctrl_p = NULL; @@ -73,6 +69,8 @@ static void QspiInitTask(void *pvParameters) u32 qspi_id = (u32)(uintptr)pvParameters; #if defined(CONFIG_TARGET_E2000) + /*init iomux*/ + FIOMuxInit(); FIOPadSetQspiMux(qspi_id, FQSPI_CS_0); FIOPadSetQspiMux(qspi_id, FQSPI_CS_1); #endif @@ -85,29 +83,28 @@ static void QspiInitTask(void *pvParameters) printf("FFreeRTOSWdtInit failed.\n"); goto qspi_init_exit; } - - for (int i = 0; i < READ_WRITE_TASK_NUM; i++) - { - xSemaphoreGive(xCountingSemaphore); - } - + qspi_init_exit: vTaskDelete(NULL); } static void QspiReadTask(void *pvParameters) { - const char *pcTaskName = "QspiReadTask is running\r\n"; const TickType_t xDelay = pdMS_TO_TICKS(TASK_DELAY_MS); FError ret = FQSPI_SUCCESS; - - xSemaphoreTake(xCountingSemaphore, portMAX_DELAY); + int i = 0; /* As per most tasks, this task is implemented in an infinite loop. */ for (;;) { + if (uxSemaphoreGetCount( xCountingSemaphore ) == READ_WRITE_TASK_NUM) + { + FFreeRTOSQspiDelete(); + printf("Delete QspiReadTask successfully.\r\n"); + vTaskDelete(NULL); + } /* Print out the name of this task. */ - printf(pcTaskName); + printf("QspiReadTask is running. count = %d\r\n", uxSemaphoreGetCount( xCountingSemaphore )+1); message.read_buf = rd_buf; message.length = DAT_LENGTH; @@ -122,7 +119,18 @@ static void QspiReadTask(void *pvParameters) taskENTER_CRITICAL(); //进入临界区 FtDumpHexByte(rd_buf, DAT_LENGTH); taskEXIT_CRITICAL(); //退出临界区 - + + /* 判断读写内容是否一致 */ + for (i = 0; i < DAT_LENGTH; i++) + { + if (rd_buf[i] != wr_buf[i]) + { + printf("The read and write data is inconsistent.\r\n"); + break; + } + } + xSemaphoreGive(xCountingSemaphore); + /* Delay for a period. This time a call to vTaskDelay() is used which places the task into the Blocked state until the delay period has expired. The parameter takes a time specified in 'ticks', and the @@ -140,16 +148,19 @@ static void QspiWriteTask(void *pvParameters) int i = 0; FError ret = FQSPI_SUCCESS; - xSemaphoreTake(xCountingSemaphore, portMAX_DELAY); - /* As per most tasks, this task is implemented in an infinite loop. */ for (;;) { + if (uxSemaphoreGetCount( xCountingSemaphore ) == READ_WRITE_TASK_NUM) + { + printf("Delete QspiWriteTask successfully.\r\n"); + vTaskDelete(NULL); + } /* Print out the name of this task. */ printf(pcTaskName); for (i = 0; i < DAT_LENGTH; i++) { - wr_buf[i] = wr_buf[i] + 0x11; + wr_buf[i] = uxSemaphoreGetCount( xCountingSemaphore ) + i; } message.addr = flash_wr_start; @@ -158,7 +169,7 @@ static void QspiWriteTask(void *pvParameters) ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); if (FQSPI_SUCCESS != ret) { - printf("QspiWriteTask FFreeRTOSQspiTransfer failed, return value: 0x%x\r\n", ret); + printf("Failed to erase sectors. return value: 0x%x\r\n", ret); } message.write_buf = wr_buf; @@ -166,7 +177,6 @@ static void QspiWriteTask(void *pvParameters) message.addr = flash_wr_start; message.cmd = FQSPI_FLASH_CMD_PP; message.cs = QSPI_CS_CHANNEL; - ret = FFreeRTOSQspiTransfer(os_qspi_ctrl_p, &message); if (FQSPI_SUCCESS != ret) { @@ -183,18 +193,9 @@ static void QspiWriteTask(void *pvParameters) } } -static void prvOneShotTimerCallback(TimerHandle_t xTimer) -{ - /* Output a string to show the time at which the callback was executed. */ - printf("One-shot timer callback executing, which will delete QspiReadTask and QspiWriteTask.\r\n"); - - FFreeRTOSQspiDelete(); -} - -BaseType_t FFreeRTOSQspiCreate(u32 id) +BaseType_t FFreeRTOSQspiPolledTaskCreate(u32 id) { BaseType_t xReturn = pdPASS;/* 定义一个创建信息返回值,默认为 pdPASS */ - BaseType_t xTimerStarted = pdPASS; memset(&message, 0, sizeof(message)); @@ -211,89 +212,36 @@ BaseType_t FFreeRTOSQspiCreate(u32 id) (const char *)"QspiInitTask",/* 任务名字 */ (uint16_t)1024, /* 任务栈大小 */ (void *)(uintptr)id,/* 任务入口函数参数 */ - (UBaseType_t)2, /* 任务的优先级 */ + (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ NULL); + xReturn = xTaskCreate((TaskFunction_t)QspiWriteTask, /* 任务入口函数 */ + (const char *)"QspiWriteTask",/* 任务名字 */ + (uint16_t)1024, /* 任务栈大小 */ + NULL,/* 任务入口函数参数 */ + (UBaseType_t)configMAX_PRIORITIES - 2, /* 任务的优先级 */ + (TaskHandle_t *)&write_handle); /* 任务控制 */ + xReturn = xTaskCreate((TaskFunction_t)QspiReadTask, /* 任务入口函数 */ (const char *)"QspiReadTask",/* 任务名字 */ (uint16_t)1024, /* 任务栈大小 */ NULL,/* 任务入口函数参数 */ - (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ + (UBaseType_t)configMAX_PRIORITIES - 3, /* 任务的优先级 */ (TaskHandle_t *)&read_handle); /* 任务控制 */ - xReturn = xTaskCreate((TaskFunction_t)QspiWriteTask, /* 任务入口函数 */ - (const char *)"QspiWriteTask",/* 任务名字 */ - (uint16_t)1024, /* 任务栈大小 */ - NULL,/* 任务入口函数参数 */ - (UBaseType_t)configMAX_PRIORITIES - 1, /* 任务的优先级 */ - (TaskHandle_t *)&write_handle); /* 任务控制 */ - - /* Create the one shot software timer, storing the handle to the created - software timer in xOneShotTimer. */ - xOneShotTimer = xTimerCreate("OneShot Software Timer", /* Text name for the software timer - not used by FreeRTOS. */ - ONE_SHOT_TIMER_PERIOD, /* The software timer's period in ticks. */ - pdFALSE, /* Setting uxAutoRealod to pdFALSE creates a one-shot software timer. */ - 0, /* This example does not use the timer id. */ - prvOneShotTimerCallback); /* The callback function to be used by the software timer being created. */ - - /* Check the timers were created. */ - if (xOneShotTimer != NULL) - { - /* Start the software timers, using a block time of 0 (no block time). - The scheduler has not been started yet so any block time specified here - would be ignored anyway. */ - xTimerStarted = xTimerStart(xOneShotTimer, 0); - - /* The implementation of xTimerStart() uses the timer command queue, and - xTimerStart() will fail if the timer command queue gets full. The timer - service task does not get created until the scheduler is started, so all - commands sent to the command queue will stay in the queue until after - the scheduler has been started. Check both calls to xTimerStart() - passed. */ - if (xTimerStarted != pdPASS) - { - printf("CreateSoftwareTimerTasks xTimerStart failed.\r\n"); - } - } - else - { - printf("CreateSoftwareTimerTasks xTimerCreate failed.\r\n"); - } - - taskEXIT_CRITICAL(); + taskEXIT_CRITICAL(); /*退出临界区*/ return xReturn; } static void FFreeRTOSQspiDelete(void) { - BaseType_t xReturn = pdPASS; - FFreeRTOSQspiDeinit(os_qspi_ctrl_p); - if (read_handle) - { - vTaskDelete(read_handle); - printf("Delete QspiReadTask successfully.\r\n"); - } + FIOMuxDeInit(); - if (write_handle) - { - vTaskDelete(write_handle); - printf("Delete QspiWriteTask successfully.\r\n"); - } + FFreeRTOSQspiDeinit(os_qspi_ctrl_p); /* delete count sem */ vSemaphoreDelete(xCountingSemaphore); - - /* delete timer */ - xReturn = xTimerDelete(xOneShotTimer, 0); - if (xReturn != pdPASS) - { - printf("OneShot Software Timer Delete failed.\r\n"); - } - else - { - printf("OneShot Software Timer Delete successfully.\r\n"); - } } diff --git a/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config b/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config index 5ec5eb5978bb045c1f39a38f23673f049e526fd6..1c336056dc3680b8f5b1e83146ed96763c6e4fe8 100644 --- a/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000d_aarch32_demo_sdif.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config b/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config index bf97c1859285042d8956f3f739a44b19a47cb495..808895595d0ff4da167ce8f09c02f8348c755a07 100644 --- a/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000d_aarch64_demo_sdif.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config b/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config index a51135493ebf11c876e0d436d0b2384ad016be6a..697530da4fca0ae1c115004d67a9df5cefc7a89c 100644 --- a/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000q_aarch32_demo_sdif.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config b/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config index 68fa5359b41e9d603f331133e5a69910b5694e22..693482e6bd0615a81d2e3ed4b15d521b1a70a3ba 100644 --- a/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config +++ b/example/peripheral/sdif/configs/e2000q_aarch64_demo_sdif.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/sdif/sdkconfig b/example/peripheral/sdif/sdkconfig index 68fa5359b41e9d603f331133e5a69910b5694e22..693482e6bd0615a81d2e3ed4b15d521b1a70a3ba 100644 --- a/example/peripheral/sdif/sdkconfig +++ b/example/peripheral/sdif/sdkconfig @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/sdif/sdkconfig.h b/example/peripheral/sdif/sdkconfig.h index cfa8e9f8b32b8278de8769b1668b6271f23c0f69..dd9ec3f0b21086b74ad8dbd9f887acb3ca600938 100644 --- a/example/peripheral/sdif/sdkconfig.h +++ b/example/peripheral/sdif/sdkconfig.h @@ -150,7 +150,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -160,6 +159,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config b/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config index c7d210f712429ac7c1c7f8360dcb1cf7fa43713a..948ee4802aaa6d12e78a26cdaae36414ffb94dee 100644 --- a/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config +++ b/example/peripheral/spi/configs/e2000d_aarch32_demo_spi.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config b/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config index c197c7a7e5eb991c6fda0f07c624217ed48a3797..43e939cd501155595b7700afbbd1026603451548 100644 --- a/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config +++ b/example/peripheral/spi/configs/e2000d_aarch64_demo_spi.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config b/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config index 03843029a4cf3eeda4584176e9ac4c35fac6b096..e00c05358e98153fbcd01df863b9c6e415b8b993 100644 --- a/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config +++ b/example/peripheral/spi/configs/e2000q_aarch32_demo_spi.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config b/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config index 191c28309ebfe6c3b881a3932db699bfc7c100a7..cd12f0f350ce6c76f0bf3433a21d564035eb5f07 100644 --- a/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config +++ b/example/peripheral/spi/configs/e2000q_aarch64_demo_spi.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config b/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config index 33f423f29eceb272a28076ef3814a090ff0bd68e..544121ac5cc6340566d408d6ce62d2ee778c461b 100644 --- a/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config +++ b/example/peripheral/spi/configs/phytiumpi_aarch32_firefly_spi.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config b/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config index 8f2d76e45270762b4dc6e35c41a020c573f7a5fc..e6522925839dbf46f6e1aceddbde204aec72e63e 100644 --- a/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config +++ b/example/peripheral/spi/configs/phytiumpi_aarch64_firefly_spi.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/sdkconfig b/example/peripheral/spi/sdkconfig index 8f2d76e45270762b4dc6e35c41a020c573f7a5fc..e6522925839dbf46f6e1aceddbde204aec72e63e 100644 --- a/example/peripheral/spi/sdkconfig +++ b/example/peripheral/spi/sdkconfig @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/spi/sdkconfig.h b/example/peripheral/spi/sdkconfig.h index 271f92d3629ef9889a5e8d1ef146c9d6854e67ff..c362506c4c08063dd10a38dbda0d8780b00a206d 100644 --- a/example/peripheral/spi/sdkconfig.h +++ b/example/peripheral/spi/sdkconfig.h @@ -148,7 +148,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -158,6 +157,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config index dd69aad3b5d793e2710fd8e0218116a5a16241bd..a796606bbb365808730d304683b9b900b41b1759 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch32_demo_timer.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config index 56b5dd90a3bdde44a20c7d44392d2eed9f6728f0..68fd00c5b290860de5d6d140d452c182a683f9a1 100644 --- a/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000d_aarch64_demo_timer.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config index 1a3a4a0d1af69c3e6ad5c45c47eb3bf85524a41c..284f7512504e5ae7ebefe76a8d634d313d2c06ba 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch32_demo_timer.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config b/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config index f45bd3a54b80a24b66db270fdbf8b062386885d5..4b72e6097cc44df8a6ea43eca943614634d44ae4 100644 --- a/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config +++ b/example/peripheral/timer_tacho/configs/e2000q_aarch64_demo_timer.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config b/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config index 97bd2e73d1e8dcf2ef3783418d95421ac3a59fc6..0b2f2d0f49920fa8bc2f05d8dfb8322b1d62429f 100644 --- a/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config +++ b/example/peripheral/timer_tacho/configs/phytiumpi_aarch32_firefly_timer.config @@ -172,7 +172,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config b/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config index ac90d974164e5827127dd5a809aac6a8837259b5..6f32f7ce5eb08ee98412c088c8fce27f628a92b8 100644 --- a/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config +++ b/example/peripheral/timer_tacho/configs/phytiumpi_aarch64_firefly_timer.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/sdkconfig b/example/peripheral/timer_tacho/sdkconfig index ac90d974164e5827127dd5a809aac6a8837259b5..6f32f7ce5eb08ee98412c088c8fce27f628a92b8 100644 --- a/example/peripheral/timer_tacho/sdkconfig +++ b/example/peripheral/timer_tacho/sdkconfig @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/timer_tacho/sdkconfig.h b/example/peripheral/timer_tacho/sdkconfig.h index d229320e61b8761cdca2bae864354d9a126e0289..13e27ba9155ca79431b9893bdaafe96905472034 100644 --- a/example/peripheral/timer_tacho/sdkconfig.h +++ b/example/peripheral/timer_tacho/sdkconfig.h @@ -151,7 +151,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -161,6 +160,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_demo_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_demo_cherry_usb.config index d6b28c3328dfad806d3f25503cfd098a55a3fdf1..5e7dd7252eb35621400de95d176317f7154e8a51 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch32_demo_cherry_usb.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_demo_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_demo_cherry_usb.config index 6e51488da7b1c9d53cc6d25459f4271adf8defbc..266421d659bd22fbbc1012b0e2e2c3d2b32c07a3 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/e2000d_aarch64_demo_cherry_usb.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch32_demo_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch32_demo_cherry_usb.config index b40d316d328db55c675214711f1b600f64d60742..291eb250b2bdaf9d33f6343814c70196c1c725b1 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch32_demo_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch32_demo_cherry_usb.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch64_demo_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch64_demo_cherry_usb.config index b2e3c174d8ea0a15fef61e3bc05c4c4e98814e3b..73cdbda1ceb32596e4917e6644c7ed7addec5bdb 100644 --- a/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch64_demo_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/e2000q_aarch64_demo_cherry_usb.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch32_firefly_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch32_firefly_cherry_usb.config index c6a8bad769314f809ec4ff8549c0e580da6661b5..02b14de0440774f273cc7b1cb10a9fe31c11817f 100644 --- a/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch32_firefly_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch32_firefly_cherry_usb.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch64_firefly_cherry_usb.config b/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch64_firefly_cherry_usb.config index 4a6cc0b13fdb69b502953cc3fda531827711d4f9..51c92e6ebc85a3c59a9e24f6c8c443bc7866618e 100644 --- a/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch64_firefly_cherry_usb.config +++ b/example/peripheral/usb/cherryusb_host/configs/phytiumpi_aarch64_firefly_cherry_usb.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/sdkconfig b/example/peripheral/usb/cherryusb_host/sdkconfig index 4a6cc0b13fdb69b502953cc3fda531827711d4f9..51c92e6ebc85a3c59a9e24f6c8c443bc7866618e 100644 --- a/example/peripheral/usb/cherryusb_host/sdkconfig +++ b/example/peripheral/usb/cherryusb_host/sdkconfig @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/usb/cherryusb_host/sdkconfig.h b/example/peripheral/usb/cherryusb_host/sdkconfig.h index 015e2932574fed90fa8909ca006504deff7e51e9..7b8c473e18d6ba5e268a5f0021bda525568c7958 100644 --- a/example/peripheral/usb/cherryusb_host/sdkconfig.h +++ b/example/peripheral/usb/cherryusb_host/sdkconfig.h @@ -149,7 +149,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -159,6 +158,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config b/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config index 35637bf1b541be275c0cc309122c38852200bbe5..19a132d0e43d42647912847ee94c468b0390baf3 100644 --- a/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config +++ b/example/peripheral/wdt/configs/d2000_aarch32_test_wdt.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config b/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config index ee1a7a8d47f90a8ec2bda39bcf5e80e0846ff570..0e1fcd602eecb88caae594c0593e0e1fe96a7211 100644 --- a/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config +++ b/example/peripheral/wdt/configs/d2000_aarch64_test_wdt.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config b/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config index 712ea265eb587d604569800663529cbef34cccab..30e8b5170889ce8ea61f17e971127f8eb30b399b 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000d_aarch32_demo_wdt.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config b/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config index 57afa948ba258dacf7b86e298801193d28d7a397..fb91f343d461cf80af50f3872ae69c6b2df8affd 100644 --- a/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000d_aarch64_demo_wdt.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config b/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config index 9e241619d30e1d164d1443b27248fdcc78430b51..d33f4b79419f1fd007cc45bfa132fc259dbc09e5 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000q_aarch32_demo_wdt.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config b/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config index ba080751e0a2aa49f112f71bcce7c5c219eaf6fb..7604ba5c29a7c07a1adf463d7dc8a0121353a998 100644 --- a/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config +++ b/example/peripheral/wdt/configs/e2000q_aarch64_demo_wdt.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config b/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config index aa85f90016ee62753aad281a62c874715bd0c1f6..e0d8ed73e8bc02cdbe221fe84eda30a787dd7cb0 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config +++ b/example/peripheral/wdt/configs/ft2004_aarch32_dsk_wdt.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config b/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config index ddc857b379fd88d36ff96d38be9acaf8c0890ed3..4ecedbca099dd5cecd8a0467c1cd89afcc7d5b45 100644 --- a/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config +++ b/example/peripheral/wdt/configs/ft2004_aarch64_dsk_wdt.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config b/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config index 83000fb68eb16c4001bba94963c9ad98e8c4f9fd..e8929b2005a76a816737f48cdb7788fb1d9b3501 100644 --- a/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config +++ b/example/peripheral/wdt/configs/phytiumpi_aarch32_firefly_wdt.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config b/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config index c278a5316f7ad65f60faecba058a730341b44aa7..4208aa6e0a25215497a14b552eee07083f77e541 100644 --- a/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config +++ b/example/peripheral/wdt/configs/phytiumpi_aarch64_firefly_wdt.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/sdkconfig b/example/peripheral/wdt/sdkconfig index c278a5316f7ad65f60faecba058a730341b44aa7..4208aa6e0a25215497a14b552eee07083f77e541 100644 --- a/example/peripheral/wdt/sdkconfig +++ b/example/peripheral/wdt/sdkconfig @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/peripheral/wdt/sdkconfig.h b/example/peripheral/wdt/sdkconfig.h index 5c06ff2b38357e5d421ef25ecdff6f64286ec1d2..03fb553c8dc99d817587b55130ac7eca9358b856 100644 --- a/example/peripheral/wdt/sdkconfig.h +++ b/example/peripheral/wdt/sdkconfig.h @@ -152,7 +152,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -162,6 +161,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config b/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config index 5817e573d244db501371293517accf7e5cd663e4..429769ebc292d446b627cff47832fcd069d911d8 100644 --- a/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000d_aarch32_demo_fatfs.config @@ -179,7 +179,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -190,6 +189,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config b/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config index 0edcb50549651844e5477247caeea2305ad06f99..cfaf3ae44554ae926185f4c07d0e4a35768b0c2e 100644 --- a/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000d_aarch64_demo_fatfs.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config b/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config index de7442ada1a061eca41534dd0aa6895790a11d15..544f2f70e16c14050403cbe3a851559a7620dc54 100644 --- a/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000q_aarch32_demo_fatfs.config @@ -178,7 +178,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -189,6 +188,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config b/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config index 3ddb936ff4288d2822fed652dcc5c3385e97d327..7063e2073e3d4e1a9c82eafdaa5abf85df9b2e63 100644 --- a/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config +++ b/example/storage/fatfs/configs/e2000q_aarch64_demo_fatfs.config @@ -172,7 +172,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config b/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config index 13d7de9a232b6d694003fd442596212d0a37ed67..2fd9fcc2db278ca09c162815a693a254af502cc6 100644 --- a/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config +++ b/example/storage/fatfs/configs/phytiumpi_aarch32_firefly_fatfs.config @@ -177,7 +177,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -188,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config b/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config index 738b1a21f0faf32a081fe654b5f8d68f534b51db..0edd0fd73a0af1fb5f712659568e1bf0ba601f76 100644 --- a/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config +++ b/example/storage/fatfs/configs/phytiumpi_aarch64_firefly_fatfs.config @@ -171,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/sdkconfig b/example/storage/fatfs/sdkconfig index 738b1a21f0faf32a081fe654b5f8d68f534b51db..0edd0fd73a0af1fb5f712659568e1bf0ba601f76 100644 --- a/example/storage/fatfs/sdkconfig +++ b/example/storage/fatfs/sdkconfig @@ -171,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/fatfs/sdkconfig.h b/example/storage/fatfs/sdkconfig.h index 21c7a9c30438ac6e26253537a551a224d3f4a348..cc359ad082173f0956ae905567fe3e7eef0b0323 100644 --- a/example/storage/fatfs/sdkconfig.h +++ b/example/storage/fatfs/sdkconfig.h @@ -155,7 +155,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -165,6 +164,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config index 32c81a2a4f0f020a0be7aeb2d08f064ff38ea2f5..f24e9d82a701d3fe6992023ad5c6e099b7fc3c03 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/d2000_aarch32_test_qspi_spiffs.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config index 4e51211938d291f51eca3d35f07e43222c755bcf..4ca3748cfebe0a486543f9a1f1dd8cda5202ef9f 100644 --- a/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/d2000_aarch64_test_qspi_spiffs.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config index b1a77616c8df1a726b9f25a3db7b4e21f6aed6ef..9865171315e77e1b86ed8d34882f79181ac7c645 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch32_demo_qspi_spiffs.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config index c83d92039da380d11c4bd91c639c8825b3b0fbac..c62358d7450a2599c96651553a5c7cac7d3ac854 100644 --- a/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000d_aarch64_demo_qspi_spiffs.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config index b7ca8b01f65108992c445b6ca1618c46ad8e7d5c..b17a72d9c4b2943b8426e97fd53dd880a617cf70 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch32_demo_qspi_spiffs.config @@ -174,7 +174,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -185,6 +184,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config index 97ee3acff469e5f2115f14a43ce6689b9eeb2e88..c9b36feb3ade87e440c67bff521ae960d3417a94 100644 --- a/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/e2000q_aarch64_demo_qspi_spiffs.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config index d599be23f4176d57177618be73158227b91563f5..f804c11f51bd503d77e696b4995569486f381641 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch32_dsk_qspi_spiffs.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config index dae594e8690355ddc517e11571060ebde653c258..330dab96ea4d225f6d96e49a87c2cb13f0756955 100644 --- a/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/ft2004_aarch64_dsk_qspi_spiffs.config @@ -156,7 +156,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -167,6 +166,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config index 2868e500cd716b4ae8700c7d813a12941ebe91cb..bd27448a0f66a952f88f3e5123ffc90b32e9ad11 100644 --- a/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/phytiumpi_aarch32_firefly_qspi_spiffs.config @@ -173,7 +173,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -184,6 +183,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config b/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config index 79ec63e31c09101f9e4bad279db759622cb9eb79..ca4f95545c411e97c55262948bac67adea5bfda4 100644 --- a/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config +++ b/example/storage/qspi_spiffs/configs/phytiumpi_aarch64_firefly_qspi_spiffs.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/sdkconfig b/example/storage/qspi_spiffs/sdkconfig index 79ec63e31c09101f9e4bad279db759622cb9eb79..ca4f95545c411e97c55262948bac67adea5bfda4 100644 --- a/example/storage/qspi_spiffs/sdkconfig +++ b/example/storage/qspi_spiffs/sdkconfig @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/qspi_spiffs/sdkconfig.h b/example/storage/qspi_spiffs/sdkconfig.h index 08ae0eb95f4fe413494b3709f24edd6f432dd078..32604c976b37723fa49127e3248d036ca4d26108 100644 --- a/example/storage/qspi_spiffs/sdkconfig.h +++ b/example/storage/qspi_spiffs/sdkconfig.h @@ -152,7 +152,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -162,6 +161,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config index 805d95f2c14c2034e902e5d4169641c72a62e54f..9360f794daaf33b4c11dcd5faf6f79befedceb30 100644 --- a/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000d_aarch32_demo_spi_spiffs.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config index fd73fca116e4315274b0a0f9c1cd8f1b1b200ec8..e8e37df5180b644d23b637ec6b47db12e4f7a6f8 100644 --- a/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000d_aarch64_demo_spi_spiffs.config @@ -163,7 +163,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -174,6 +173,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config index b00f0d3c18c304ef28406616f20fc6a363f256f2..1a80069cf7c8390e003a9e7cd12cd23a22c2949d 100644 --- a/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000q_aarch32_demo_spi_spiffs.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config b/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config index 7d7a2df27c0589cc55ec409f1a64499933b6f1fc..6e31bed5a07cd4f04b0ab5fbca5d4f66895f3e43 100644 --- a/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/e2000q_aarch64_demo_spi_spiffs.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config b/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config index 11af8a52de9f2b2225603fe1208bff272d9ca80a..59396e6f0970760077b2a2fe8802d58bdcc0cbc6 100644 --- a/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/phytiumpi_aarch32_firefly_spi_spiffs.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config b/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config index 8075bf31588c3d8b8c41fb0bbc5feec860326a5d..8b0cf4c22524480dde4b1a99489b240c1fcf9f7b 100644 --- a/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config +++ b/example/storage/spim_spiffs/configs/phytiumpi_aarch64_firefly_spi_spiffs.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/sdkconfig b/example/storage/spim_spiffs/sdkconfig index 8075bf31588c3d8b8c41fb0bbc5feec860326a5d..8b0cf4c22524480dde4b1a99489b240c1fcf9f7b 100644 --- a/example/storage/spim_spiffs/sdkconfig +++ b/example/storage/spim_spiffs/sdkconfig @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/storage/spim_spiffs/sdkconfig.h b/example/storage/spim_spiffs/sdkconfig.h index d0eb0d02acb5287efab026626ba8feb7e79ba159..556a16340b92aeac15df052b8d0a4ef21716454f 100644 --- a/example/storage/spim_spiffs/sdkconfig.h +++ b/example/storage/spim_spiffs/sdkconfig.h @@ -148,7 +148,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -158,6 +157,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/amp/openamp/core0/configs/d2000_aarch32_test_openamp_core0.config b/example/system/amp/openamp/core0/configs/d2000_aarch32_test_openamp_core0.config index ff8b551b335c161e4763414f3e4896f31fae099d..2a8ec247032a2fad142f1e442ea1d60204c58d08 100644 --- a/example/system/amp/openamp/core0/configs/d2000_aarch32_test_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/d2000_aarch32_test_openamp_core0.config @@ -172,7 +172,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/d2000_aarch64_test_openamp_core0.config b/example/system/amp/openamp/core0/configs/d2000_aarch64_test_openamp_core0.config index 99bb790b14c9653e000beb38b929b744f6e01f37..18b453cab19c1e26d766c78a307ff6b4d3148d56 100644 --- a/example/system/amp/openamp/core0/configs/d2000_aarch64_test_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/d2000_aarch64_test_openamp_core0.config @@ -166,7 +166,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/e2000d_aarch32_demo_openamp_core0.config b/example/system/amp/openamp/core0/configs/e2000d_aarch32_demo_openamp_core0.config index 7cc162e273f8d3aa2b2d1c6520a528036fefcaaa..16a9c188948811021a369e802fb143d65ca57308 100644 --- a/example/system/amp/openamp/core0/configs/e2000d_aarch32_demo_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/e2000d_aarch32_demo_openamp_core0.config @@ -185,7 +185,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -196,6 +195,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/e2000d_aarch64_demo_openamp_core0.config b/example/system/amp/openamp/core0/configs/e2000d_aarch64_demo_openamp_core0.config index bb4291464ec838154de4645c403827b86cec151e..09f637a1f3d106dc8c56f77e6ae7cfe4843dcb26 100644 --- a/example/system/amp/openamp/core0/configs/e2000d_aarch64_demo_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/e2000d_aarch64_demo_openamp_core0.config @@ -179,7 +179,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -190,6 +189,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/e2000q_aarch32_demo_openamp_core0.config b/example/system/amp/openamp/core0/configs/e2000q_aarch32_demo_openamp_core0.config index d0f3d8ddd404030e02dff6ebfd5eb9055b4bbbe2..20e3df490a8a25baa320813b8626613192723a9d 100644 --- a/example/system/amp/openamp/core0/configs/e2000q_aarch32_demo_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/e2000q_aarch32_demo_openamp_core0.config @@ -184,7 +184,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -195,6 +194,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/e2000q_aarch64_demo_openamp_core0.config b/example/system/amp/openamp/core0/configs/e2000q_aarch64_demo_openamp_core0.config index 9f69bcfd16d72115bd25973d15df6f45a3cdd9ce..8466c9c952d3a83cd6e126c5f124ad73769efbab 100644 --- a/example/system/amp/openamp/core0/configs/e2000q_aarch64_demo_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/e2000q_aarch64_demo_openamp_core0.config @@ -178,7 +178,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -189,6 +188,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/ft2004_aarch32_dsk_openamp_core0.config b/example/system/amp/openamp/core0/configs/ft2004_aarch32_dsk_openamp_core0.config index 072af39c4d7e7e1baf04824921f40af1d436dfcc..6c4edb776131db8d9b9cd41f268f62aee3d8cc9d 100644 --- a/example/system/amp/openamp/core0/configs/ft2004_aarch32_dsk_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/ft2004_aarch32_dsk_openamp_core0.config @@ -172,7 +172,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -183,6 +182,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/ft2004_aarch64_dsk_openamp_core0.config b/example/system/amp/openamp/core0/configs/ft2004_aarch64_dsk_openamp_core0.config index 0272e49ff661954ba52b454356cb46083445d379..7e0508b119847aebe9ac791e1590399b0cb6aabd 100644 --- a/example/system/amp/openamp/core0/configs/ft2004_aarch64_dsk_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/ft2004_aarch64_dsk_openamp_core0.config @@ -166,7 +166,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/phytiumpi_aarch32_firefly_openamp_core0.config b/example/system/amp/openamp/core0/configs/phytiumpi_aarch32_firefly_openamp_core0.config index a0c986e38ea5141ebed60609f8d10d9695602544..8a75f27b841602008d3d626ab4b746527fc162a8 100644 --- a/example/system/amp/openamp/core0/configs/phytiumpi_aarch32_firefly_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/phytiumpi_aarch32_firefly_openamp_core0.config @@ -183,7 +183,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -194,6 +193,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/configs/phytiumpi_aarch64_firefly_openamp_core0.config b/example/system/amp/openamp/core0/configs/phytiumpi_aarch64_firefly_openamp_core0.config index fffafbc7c62d0d32f3b3244b709c7fb29fd6a3d0..1dea9cc9a2344b8673634d8e063651be421a1b23 100644 --- a/example/system/amp/openamp/core0/configs/phytiumpi_aarch64_firefly_openamp_core0.config +++ b/example/system/amp/openamp/core0/configs/phytiumpi_aarch64_firefly_openamp_core0.config @@ -177,7 +177,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -188,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/sdkconfig b/example/system/amp/openamp/core0/sdkconfig index fffafbc7c62d0d32f3b3244b709c7fb29fd6a3d0..1dea9cc9a2344b8673634d8e063651be421a1b23 100644 --- a/example/system/amp/openamp/core0/sdkconfig +++ b/example/system/amp/openamp/core0/sdkconfig @@ -177,7 +177,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -188,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core0/sdkconfig.h b/example/system/amp/openamp/core0/sdkconfig.h index 1056c507ceb770eef05aa8c557288b2802f6a362..311d1153178922900249ca806aaef846bbd5587c 100644 --- a/example/system/amp/openamp/core0/sdkconfig.h +++ b/example/system/amp/openamp/core0/sdkconfig.h @@ -160,7 +160,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -170,6 +169,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/amp/openamp/core1/configs/d2000_aarch32_test_openamp_core1.config b/example/system/amp/openamp/core1/configs/d2000_aarch32_test_openamp_core1.config index 36f2ddad4b0db0006d7e3761d2eba75461b74152..cc212571948cf5c0e11f31077fba0f1df46828b8 100644 --- a/example/system/amp/openamp/core1/configs/d2000_aarch32_test_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/d2000_aarch32_test_openamp_core1.config @@ -171,7 +171,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/d2000_aarch64_test_openamp_core1.config b/example/system/amp/openamp/core1/configs/d2000_aarch64_test_openamp_core1.config index 0f0c41753fdcfb12c2eca105c3aeb30d276cb95d..c9c063a784c63aa536c0012707fce24f6d81b148 100644 --- a/example/system/amp/openamp/core1/configs/d2000_aarch64_test_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/d2000_aarch64_test_openamp_core1.config @@ -165,7 +165,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -176,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/e2000d_aarch32_demo_openamp_core1.config b/example/system/amp/openamp/core1/configs/e2000d_aarch32_demo_openamp_core1.config index 324687be658045e53055a574199c650b542e9401..2ed748d913a2e5d7680ef6fd773e55aaceeffe9e 100644 --- a/example/system/amp/openamp/core1/configs/e2000d_aarch32_demo_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/e2000d_aarch32_demo_openamp_core1.config @@ -184,7 +184,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -195,6 +194,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/e2000d_aarch64_demo_openamp_core1.config b/example/system/amp/openamp/core1/configs/e2000d_aarch64_demo_openamp_core1.config index 39b39fcb3332654ae50a5b265d34fdb6e315973f..595c18668adf6ec8192e96eba121295fe8c4416b 100644 --- a/example/system/amp/openamp/core1/configs/e2000d_aarch64_demo_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/e2000d_aarch64_demo_openamp_core1.config @@ -178,7 +178,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -189,6 +188,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/e2000q_aarch32_demo_openamp_core1.config b/example/system/amp/openamp/core1/configs/e2000q_aarch32_demo_openamp_core1.config index e5ef0e6bd4d2c41a2730be22e9750e514edfb17c..803f5faa4b11f65ed9374ffccca59f4b926fa894 100644 --- a/example/system/amp/openamp/core1/configs/e2000q_aarch32_demo_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/e2000q_aarch32_demo_openamp_core1.config @@ -183,7 +183,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -194,6 +193,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/e2000q_aarch64_demo_openamp_core1.config b/example/system/amp/openamp/core1/configs/e2000q_aarch64_demo_openamp_core1.config index 27e91770686d5ccdb74fd5512a1bf1fa3bdfb9af..0bb9892ba5ae18fb4cc9038d345af7d2a74e61db 100644 --- a/example/system/amp/openamp/core1/configs/e2000q_aarch64_demo_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/e2000q_aarch64_demo_openamp_core1.config @@ -177,7 +177,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -188,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/ft2004_aarch32_dsk_openamp_core1.config b/example/system/amp/openamp/core1/configs/ft2004_aarch32_dsk_openamp_core1.config index d2193c11801a49cf70586b633d2cccea8c26744e..9ea04900fe451bb3af89f63aeee693d7e6a68ba2 100644 --- a/example/system/amp/openamp/core1/configs/ft2004_aarch32_dsk_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/ft2004_aarch32_dsk_openamp_core1.config @@ -171,7 +171,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/ft2004_aarch64_dsk_openamp_core1.config b/example/system/amp/openamp/core1/configs/ft2004_aarch64_dsk_openamp_core1.config index d375f48e9a976990b1d0401ff2ac600e4280477b..50b0ba7f4c893afadb48773c7642e8633ba14324 100644 --- a/example/system/amp/openamp/core1/configs/ft2004_aarch64_dsk_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/ft2004_aarch64_dsk_openamp_core1.config @@ -165,7 +165,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -176,6 +175,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/phytiumpi_aarch32_firefly_openamp_core1.config b/example/system/amp/openamp/core1/configs/phytiumpi_aarch32_firefly_openamp_core1.config index a0083b5f0219ad0aba832b62027f64f3c5e4d126..ff2f557d292f84c341bec06ab60ae2a5847e76e5 100644 --- a/example/system/amp/openamp/core1/configs/phytiumpi_aarch32_firefly_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/phytiumpi_aarch32_firefly_openamp_core1.config @@ -182,7 +182,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -193,6 +192,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/configs/phytiumpi_aarch64_firefly_openamp_core1.config b/example/system/amp/openamp/core1/configs/phytiumpi_aarch64_firefly_openamp_core1.config index 67fcf57f2a50db11910b9032067bc57669842f48..9c298412137b7d4175e5e4a4a33bb9dff8eb1c39 100644 --- a/example/system/amp/openamp/core1/configs/phytiumpi_aarch64_firefly_openamp_core1.config +++ b/example/system/amp/openamp/core1/configs/phytiumpi_aarch64_firefly_openamp_core1.config @@ -176,7 +176,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/sdkconfig b/example/system/amp/openamp/core1/sdkconfig index 67fcf57f2a50db11910b9032067bc57669842f48..9c298412137b7d4175e5e4a4a33bb9dff8eb1c39 100644 --- a/example/system/amp/openamp/core1/sdkconfig +++ b/example/system/amp/openamp/core1/sdkconfig @@ -176,7 +176,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp/core1/sdkconfig.h b/example/system/amp/openamp/core1/sdkconfig.h index f5225580ad42e589ccb858e69b2d26ab779ce8f8..404acb3307af1d39f665141d6cf88af5a5847991 100644 --- a/example/system/amp/openamp/core1/sdkconfig.h +++ b/example/system/amp/openamp/core1/sdkconfig.h @@ -159,7 +159,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -169,6 +168,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config index a959a25f8be38cfecb784b7d72b7084fba5059a9..d4ebfde15315457fac0184289a0aa9cdafa43a0f 100644 --- a/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/d2000_aarch32_test_openamp_for_linux.config @@ -175,7 +175,6 @@ CONFIG_CHECK_DEPS=y CONFIG_DEBUG_NOOPT=y # CONFIG_DEBUG_CUSTOMOPT is not set # CONFIG_DEBUG_FULLOPT is not set -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config index ef6c10e18553579370e48ae81eedf703c79cff10..386e4cb961a389214f9086ea2c3d816cdfe58ba9 100644 --- a/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/d2000_aarch64_test_openamp_for_linux.config @@ -169,7 +169,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config index 5e24e1d85eeab7f0b45bc95483d3f800caca5fcf..737bd63e9f843f3a04ce94620949bc202c8eb110 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000d_aarch32_demo_openamp_for_linux.config @@ -188,7 +188,6 @@ CONFIG_CHECK_DEPS=y CONFIG_DEBUG_NOOPT=y # CONFIG_DEBUG_CUSTOMOPT is not set # CONFIG_DEBUG_FULLOPT is not set -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -199,6 +198,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config index d2f328812af15e013cdb274eace191b6bc8a8d2e..410319311198606e27b64625facc7c3288acd778 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000d_aarch64_demo_openamp_for_linux.config @@ -182,7 +182,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -193,6 +192,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config index cf9ef606fbeadc7ab683b513fea6efacd3ccbadf..df22b109b5ebdd19f16d2a2b80967ec8f0eb0916 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000q_aarch32_demo_openamp_for_linux.config @@ -187,7 +187,6 @@ CONFIG_CHECK_DEPS=y CONFIG_DEBUG_NOOPT=y # CONFIG_DEBUG_CUSTOMOPT is not set # CONFIG_DEBUG_FULLOPT is not set -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -198,6 +197,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config index f42dfc81571cc3d5147d4bfcae9e2c9482ceecbb..ed8bea230b73ef533df4274f2298ffc3be116d1c 100644 --- a/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/e2000q_aarch64_demo_openamp_for_linux.config @@ -181,7 +181,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -192,6 +191,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config index d063c2df5651da461da3fd7031faab735d7abed4..22408c80dff795436e930ef53363eea9d666dc62 100644 --- a/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/ft2004_aarch32_dsk_openamp_for_linux.config @@ -175,7 +175,6 @@ CONFIG_CHECK_DEPS=y CONFIG_DEBUG_NOOPT=y # CONFIG_DEBUG_CUSTOMOPT is not set # CONFIG_DEBUG_FULLOPT is not set -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config index 613fa5cee506f30a68207d2c4d2359ab36f338b0..d6a22666fbe15dd96822fe7547973a8b6eac0b20 100644 --- a/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/ft2004_aarch64_dsk_openamp_for_linux.config @@ -169,7 +169,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config index 5551fc10ccd2a65136201d53834cafa7354b61a8..eead289e21707cd735c3b8c066ad50f79e699514 100644 --- a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch32_firefly_openamp_for_linux.config @@ -186,7 +186,6 @@ CONFIG_CHECK_DEPS=y CONFIG_DEBUG_NOOPT=y # CONFIG_DEBUG_CUSTOMOPT is not set # CONFIG_DEBUG_FULLOPT is not set -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -197,6 +196,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config index ff08d6cd941f24e2a3ec29afa0b2177011479277..31068d722e78889ad23c2b8ba5891a9756f46f6f 100644 --- a/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config +++ b/example/system/amp/openamp_for_linux/configs/phytiumpi_aarch64_firefly_openamp_for_linux.config @@ -180,7 +180,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -191,6 +190,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/sdkconfig b/example/system/amp/openamp_for_linux/sdkconfig index ff08d6cd941f24e2a3ec29afa0b2177011479277..31068d722e78889ad23c2b8ba5891a9756f46f6f 100644 --- a/example/system/amp/openamp_for_linux/sdkconfig +++ b/example/system/amp/openamp_for_linux/sdkconfig @@ -180,7 +180,6 @@ CONFIG_CHECK_DEPS=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -191,6 +190,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/amp/openamp_for_linux/sdkconfig.h b/example/system/amp/openamp_for_linux/sdkconfig.h index a4116f85a7bf8daa521d363760599903626e94fd..588e9e508638833854f5ea8f62ee850761c464bf 100644 --- a/example/system/amp/openamp_for_linux/sdkconfig.h +++ b/example/system/amp/openamp_for_linux/sdkconfig.h @@ -161,7 +161,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -171,6 +170,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/atomic/configs/d2000_aarch32_test_atomic.config b/example/system/atomic/configs/d2000_aarch32_test_atomic.config index 3c79fdb01fcc0b11b00df6b01ada643d5839fc84..249d40870f2d308ad1ce8b8aea43c3062ed4b64e 100644 --- a/example/system/atomic/configs/d2000_aarch32_test_atomic.config +++ b/example/system/atomic/configs/d2000_aarch32_test_atomic.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/d2000_aarch64_test_atomic.config b/example/system/atomic/configs/d2000_aarch64_test_atomic.config index 62ee21edf8be3f5abdd1a8919d9cbbd53e0fe45e..ebc91f435c90208e7104cd6e85f16713cc9d215d 100644 --- a/example/system/atomic/configs/d2000_aarch64_test_atomic.config +++ b/example/system/atomic/configs/d2000_aarch64_test_atomic.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config b/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config index a4f5d42ecc13dec1cb5b1611c56ad6bd2005eef3..2e97dc4198c7e428185bd0d86b76b87e580e7f1f 100644 --- a/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config +++ b/example/system/atomic/configs/e2000d_aarch32_demo_atomic.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config b/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config index 37c3b6e3500ccba1065ce9b0249b7cc8f294f144..1208d9ce045ac48dfebaa082d22ac5e5a17a7745 100644 --- a/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config +++ b/example/system/atomic/configs/e2000d_aarch64_demo_atomic.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config b/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config index f75c3cd00e2c67eba6d24890fc8745aa6bf23a9f..9f567da74872b4f818962d6045f7ff9cff5130e7 100644 --- a/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config +++ b/example/system/atomic/configs/e2000q_aarch32_demo_atomic.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config b/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config index 8eb009ea6ad1114f901e419511e33b35beffa2f3..97f29c12c9039fba55da431af1055caa82e1c45c 100644 --- a/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config +++ b/example/system/atomic/configs/e2000q_aarch64_demo_atomic.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config b/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config index cdafed243064a39b30fa39e5777fb95eb5307325..efe336d711f2a4037a6a72fee4a33cab88218901 100644 --- a/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config +++ b/example/system/atomic/configs/ft2004_aarch32_dsk_atomic.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config b/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config index a64bbd58ce5f8060b657ddc78e3484d1a786a9ea..441e66782de8ced65b9b0303236d2f1566f4d22d 100644 --- a/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config +++ b/example/system/atomic/configs/ft2004_aarch64_dsk_atomic.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config b/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config index 9754009e083966c456faba4d17f54a36dbdb8f20..7ac969e4d910ceae66aa93675ab8d6832c59a67e 100644 --- a/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config +++ b/example/system/atomic/configs/phytiumpi_aarch32_firefly_atomic.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config b/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config index 6b957f9e0821e0433a0507c90419d0727cdd9981..5a89487dc1c2915ae99e6c92dcc9c25340665881 100644 --- a/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config +++ b/example/system/atomic/configs/phytiumpi_aarch64_firefly_atomic.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/sdkconfig b/example/system/atomic/sdkconfig index 6b957f9e0821e0433a0507c90419d0727cdd9981..5a89487dc1c2915ae99e6c92dcc9c25340665881 100644 --- a/example/system/atomic/sdkconfig +++ b/example/system/atomic/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/atomic/sdkconfig.h b/example/system/atomic/sdkconfig.h index ecbca9bf80d00e18c872b5facd2f80dad95ace2c..061a41d4f875cf08bbab871140ee983efbee8a41 100644 --- a/example/system/atomic/sdkconfig.h +++ b/example/system/atomic/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/exception_debug/configs/d2000_aarch32_test_exception.config b/example/system/exception_debug/configs/d2000_aarch32_test_exception.config index 1fd170a5bdc9c8da37a7058c0a225966e1b3044d..09850a931b1ce11a0ecd056b6d537e2f42a19544 100644 --- a/example/system/exception_debug/configs/d2000_aarch32_test_exception.config +++ b/example/system/exception_debug/configs/d2000_aarch32_test_exception.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/d2000_aarch64_test_exception.config b/example/system/exception_debug/configs/d2000_aarch64_test_exception.config index abbe1eddd804391759257787871700055ce167ba..5fd80a99b33471fee88fecadece2e339d3b497f0 100644 --- a/example/system/exception_debug/configs/d2000_aarch64_test_exception.config +++ b/example/system/exception_debug/configs/d2000_aarch64_test_exception.config @@ -158,7 +158,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -169,6 +168,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config b/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config index eaefdb5840b9f74bcbac1e46f861d35b0bf910d0..493d4f356228e179fc046fc80649053edbdd9da1 100644 --- a/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config +++ b/example/system/exception_debug/configs/e2000d_aarch32_demo_exception.config @@ -177,7 +177,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -188,6 +187,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config b/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config index 95a415b61ef0be23ee20c598354ec15f9fc1d2f2..d59cc09117c5dee1d13031c658ee12e79d0cc3ea 100644 --- a/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config +++ b/example/system/exception_debug/configs/e2000d_aarch64_demo_exception.config @@ -171,7 +171,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -182,6 +181,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config b/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config index d92b43484af38a38f806c6f0dcbeab7c28a3ec46..06ba2dfdf3e7b8d14266f69d1dea77a3b7a67078 100644 --- a/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config +++ b/example/system/exception_debug/configs/e2000q_aarch32_demo_exception.config @@ -176,7 +176,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -187,6 +186,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config b/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config index 558d6a973f434a5d32691651c47f4d0629ae91fb..7771175997be5fedb024d05e9fd93631df17410e 100644 --- a/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config +++ b/example/system/exception_debug/configs/e2000q_aarch64_demo_exception.config @@ -170,7 +170,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -181,6 +180,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config b/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config index 3e24d61316cd83d65a1abd975a7d7d7a9619d01c..90324f6fdeb284bafc2a7da2e44523a50084e815 100644 --- a/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config +++ b/example/system/exception_debug/configs/ft2004_aarch32_dsk_exception.config @@ -164,7 +164,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -175,6 +174,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config b/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config index 0d90c57e950dffd60a3a0841cdd7f8fec9b5de6c..14d50f5eda36b773a644e28ae842d12d696a9763 100644 --- a/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config +++ b/example/system/exception_debug/configs/ft2004_aarch64_dsk_exception.config @@ -158,7 +158,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -169,6 +168,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config b/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config index 91e1945c083d2f10db5148850ceaf234b6f408e5..b4f477fe8c7c9a2aa88d46b609265061e85b6469 100644 --- a/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config +++ b/example/system/exception_debug/configs/phytiumpi_aarch32_firefly_exception.config @@ -175,7 +175,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -186,6 +185,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config b/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config index a08df4cfbd84cfaa503896cf96ab413f51bb57d5..464b650a8624e332cbefa65f58dd0234b215b755 100644 --- a/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config +++ b/example/system/exception_debug/configs/phytiumpi_aarch64_firefly_exception.config @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/sdkconfig b/example/system/exception_debug/sdkconfig index a08df4cfbd84cfaa503896cf96ab413f51bb57d5..464b650a8624e332cbefa65f58dd0234b215b755 100644 --- a/example/system/exception_debug/sdkconfig +++ b/example/system/exception_debug/sdkconfig @@ -169,7 +169,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -180,6 +179,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/exception_debug/sdkconfig.h b/example/system/exception_debug/sdkconfig.h index e94519f3c993dfc59efb84f646f2b650f906826c..efd5c991acb98053059f3387e57ca55bc5b933aa 100644 --- a/example/system/exception_debug/sdkconfig.h +++ b/example/system/exception_debug/sdkconfig.h @@ -153,7 +153,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -163,6 +162,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config b/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config index 02ca10514fb182390184db5072debf4884c03856..57a542149ac40d279d0d96597a131eccc20e3201 100644 --- a/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/d2000_aarch32_test_nested_interrupt.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config b/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config index 969a9fabfa80ea39bf72fa856bc1c7ec13c480e2..2ec52b644927f25f48f1be391cd53dea8465d303 100644 --- a/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/d2000_aarch64_test_nested_interrupt.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config index 23fd839c196aed5eed0aaf410be29ffbced40f4f..54b00408e264fa9c2a01be4e77f095116ffbb799 100644 --- a/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000d_aarch32_demo_nested_interrupt.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config index 14cbc5d8e30a15a21e40e84ec1582c80baa592b5..630a8fb5d58156c3fcc0ba2c9514ee8e1a23b42b 100644 --- a/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000d_aarch64_demo_nested_interrupt.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config index 536722cc7ba71d9274ca439f7ceeee8aa4c7222f..ac2ec8391586da5a917d6af164b6044a71f76662 100644 --- a/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000q_aarch32_demo_nested_interrupt.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config b/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config index 294f6585603d750c3cb74a9c8dd9cb290cadc863..ec8ab6304760eb8ec4945df419e7e13bbe05fa6c 100644 --- a/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/e2000q_aarch64_demo_nested_interrupt.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config b/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config index 2a3b684ec6baa82c5b28e80ebaf917f97bdf0876..bc2cf85f642e05a6f0cea74c73c8118ca446fcb7 100644 --- a/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/ft2004_aarch32_dsk_nested_interrupt.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config b/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config index 0d5fb2a1a7678d9e872cb54a573fa8c66d99e339..c7c9363deb577a37bf5383bcb38dc33efdb80b0d 100644 --- a/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/ft2004_aarch64_dsk_nested_interrupt.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config b/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config index 430839db5322e0ab19468e881a740d030c7efc81..572f519e580f5773524066a394653d1f801d6465 100644 --- a/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/phytiumpi_aarch32_firefly_nested_interrupt.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config b/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config index 163202fbc48074ba2c7037c01f4da144184274d8..2edec1c2e8a6b05aa10fe9136a9caf78e73ff021 100644 --- a/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config +++ b/example/system/nested_interrupt/configs/phytiumpi_aarch64_firefly_nested_interrupt.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/sdkconfig b/example/system/nested_interrupt/sdkconfig index 163202fbc48074ba2c7037c01f4da144184274d8..2edec1c2e8a6b05aa10fe9136a9caf78e73ff021 100644 --- a/example/system/nested_interrupt/sdkconfig +++ b/example/system/nested_interrupt/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/system/nested_interrupt/sdkconfig.h b/example/system/nested_interrupt/sdkconfig.h index 78387ac3aa3afca94edc2ea141c1e282732ef914..9df28aea411d4ebd238e451fc1af26d8e35e1ea0 100644 --- a/example/system/nested_interrupt/sdkconfig.h +++ b/example/system/nested_interrupt/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/example/system/nested_interrupt/src/nested_interrupt.c b/example/system/nested_interrupt/src/nested_interrupt.c index 8af22ecf0f2381ba7918ad0c0171b4123d1e524d..84ae9b08a72fa974667be3081333e430ade92549 100644 --- a/example/system/nested_interrupt/src/nested_interrupt.c +++ b/example/system/nested_interrupt/src/nested_interrupt.c @@ -57,63 +57,79 @@ static void vTriggerNestedInterrupt(void); static u32 cpu_id = 0; - static volatile u8 low_priority_intr_flag = 0; /* Flag to update low priority interrupt counter */ static volatile u8 high_priority_intr_flag = 0; /* Flag to update high priority interrupt counter */ +float val_low = 0.3; +float val_high = 0.1; static void vNestedPeriodTask(void *pvParameters) { u8 count = 0; - for (;;) + for (count = 0; count < 10; count++) { - vTaskDelay(3000 / portTICK_RATE_MS); - printf("Nested Interrupt Test %d.\r\n", count++); + printf("Nested Interrupt Test %d.\r\n", count); vTriggerNestedInterrupt(); + vTaskDelay(1000 / portTICK_RATE_MS); } + vTaskDelete(NULL); } +static void FLowPriorityHandlerFunc(void) +{ + val_low = val_low * 1.01; + + /* Update the flag to indicate the interrupt */ + low_priority_intr_flag++; + + /* Activate high-priority intr */ + InterruptCoreInterSend(INTERRUPT_HIGH_ID, (1 << cpu_id)); + + /* Wait till interrupts from counter configured with high priority interrupt */ + while(high_priority_intr_flag == 0); + + printf("low_priority_intr_flag is %d, val_low=%f\r\n", low_priority_intr_flag, val_low); +} static void FLowPriorityHandler(s32 vector, void *param) { - static fsize_t value[3] = {0}; - - static float val = 0.3; - val = val * 2.1; - - /* update the flag to indicate the interrupt */ - low_priority_intr_flag++; + static fsize_t value[3] = {0}; - /* Enable the nested interrupts to allow preemption */ + /* Enable the nested interrupts to allow preemption */ FInterruptNestedEnable(value); - InterruptCoreInterSend(INTERRUPT_HIGH_ID, (1 << cpu_id)); + /* A function operation must be used between interrupt nesting enable and disable */ + FLowPriorityHandlerFunc(); - printf("Nested interrupt enable.\r\n"); + /* Disable the nested interrupt before exiting IRQ mode */ + FInterruptNestedDisable(value); - /* wait till interrupts from counter configured with high priority interrupt */ - while(high_priority_intr_flag == 0) - { - - }; +} - /* Disable the nested interrupt before exiting IRQ mode */ - FInterruptNestedDisable(value); +static void FHighPriorityHandlerFunc(void) +{ + high_priority_intr_flag++; - printf("low_priority_intr_flag is %d, %f \n\n\n", low_priority_intr_flag, val); + val_high = val_high * 1.01; + printf("high_priority_intr_flag is %d, val_high=%f\r\n", high_priority_intr_flag, val_high); } + static void FHighPriorityHandler(s32 vector, void *param) { - /* update the flag to indicate the interrupt */ - high_priority_intr_flag++; - static float val = 0.3; - val = val * 2.0; + static fsize_t value[3] = {0}; + + /* Enable the nested interrupts to allow preemption */ + FInterruptNestedEnable(value); - printf("high_priority_intr_flag is %d, %f \r\n", high_priority_intr_flag, val); + /* A function operation must be used between interrupt nesting enable and disable */ + FHighPriorityHandlerFunc(); + + /* Disable the nested interrupt before exiting IRQ mode */ + FInterruptNestedDisable(value); } @@ -154,7 +170,6 @@ static void vTriggerNestedInterrupt(void) } - void CreateNestedTasks(void) { printf("Create Nest Task \r\n"); diff --git a/example/system/posix/configs/d2000_aarch32_test_posix.config b/example/system/posix/configs/d2000_aarch32_test_posix.config index 7285a5a96619f74e6689985540679cd672761b75..2b486a2628b7a01cc2f91a09eb30b96cd48c43d2 100644 --- a/example/system/posix/configs/d2000_aarch32_test_posix.config +++ b/example/system/posix/configs/d2000_aarch32_test_posix.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/d2000_aarch64_test_posix.config b/example/system/posix/configs/d2000_aarch64_test_posix.config index cf72f77b574e467afe578e28401a9666f363f52e..a0737682f0af9658d618f271d232c252deb34986 100644 --- a/example/system/posix/configs/d2000_aarch64_test_posix.config +++ b/example/system/posix/configs/d2000_aarch64_test_posix.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/e2000d_aarch32_demo_posix.config b/example/system/posix/configs/e2000d_aarch32_demo_posix.config index 89499349b3fb509ba90e3e7d0c987788456a35ee..88364133ccd1621ec290b0da479d32f1ff1e265d 100644 --- a/example/system/posix/configs/e2000d_aarch32_demo_posix.config +++ b/example/system/posix/configs/e2000d_aarch32_demo_posix.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/e2000d_aarch64_demo_posix.config b/example/system/posix/configs/e2000d_aarch64_demo_posix.config index 786bededb84b7be6b7892fbcabff1b082f9ffcfb..b9a3896baff1ba1d0433db659d1f53f7efbec22f 100644 --- a/example/system/posix/configs/e2000d_aarch64_demo_posix.config +++ b/example/system/posix/configs/e2000d_aarch64_demo_posix.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/e2000q_aarch32_demo_posix.config b/example/system/posix/configs/e2000q_aarch32_demo_posix.config index a462beecc62413255fa27e5b7fe01ed417a57f43..635e1ba9f4587614694c791cd0a249224858aae2 100644 --- a/example/system/posix/configs/e2000q_aarch32_demo_posix.config +++ b/example/system/posix/configs/e2000q_aarch32_demo_posix.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/e2000q_aarch64_demo_posix.config b/example/system/posix/configs/e2000q_aarch64_demo_posix.config index 6899482a6950769c3e04c59d5570f8d553f5aa15..39f0336bca04a9c3190719d2d0c1fc0a794c0647 100644 --- a/example/system/posix/configs/e2000q_aarch64_demo_posix.config +++ b/example/system/posix/configs/e2000q_aarch64_demo_posix.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/ft2004_aarch32_dsk_posix.config b/example/system/posix/configs/ft2004_aarch32_dsk_posix.config index ed18b99b8b5d316a41c1fb69c69fa27684f0e7bc..7435e060112901676731f0157ae52768fbf09832 100644 --- a/example/system/posix/configs/ft2004_aarch32_dsk_posix.config +++ b/example/system/posix/configs/ft2004_aarch32_dsk_posix.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/ft2004_aarch64_dsk_posix.config b/example/system/posix/configs/ft2004_aarch64_dsk_posix.config index d076df61aa99c632e26921808fa8addaaca66e39..a2303a243270379b422e7c481e95d10e4c14a127 100644 --- a/example/system/posix/configs/ft2004_aarch64_dsk_posix.config +++ b/example/system/posix/configs/ft2004_aarch64_dsk_posix.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config b/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config index 30167bd28d73ffe549e4a850d019b93f416a55f1..63c0e259c795e2231e3e14342025d8b6ba1ed3c2 100644 --- a/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config +++ b/example/system/posix/configs/phytiumpi_aarch32_firefly_posix.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config b/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config index 4a5088c37e5c7898494f4097665a73dc9d8d3224..4c54cab32af38c82436003d45c55df244a112074 100644 --- a/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config +++ b/example/system/posix/configs/phytiumpi_aarch64_firefly_posix.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/sdkconfig b/example/system/posix/sdkconfig index 4a5088c37e5c7898494f4097665a73dc9d8d3224..4c54cab32af38c82436003d45c55df244a112074 100644 --- a/example/system/posix/sdkconfig +++ b/example/system/posix/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set CONFIG_DEBUG_SYMBOLS=y diff --git a/example/system/posix/sdkconfig.h b/example/system/posix/sdkconfig.h index e5f6cbbe53ba8d3e6fb54282a5e678b8cce149d6..2696ee98657fefe0b251ab2775d9a515128dfd4b 100644 --- a/example/system/posix/sdkconfig.h +++ b/example/system/posix/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ #define CONFIG_DEBUG_SYMBOLS diff --git a/example/template/configs/d2000_aarch32_test_eg.config b/example/template/configs/d2000_aarch32_test_eg.config index 73f585ebcb002ade2a2e1f48609e7c9e2d887c3b..0ca235dd271eea2081dba21d6217dde6c43cf464 100644 --- a/example/template/configs/d2000_aarch32_test_eg.config +++ b/example/template/configs/d2000_aarch32_test_eg.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/d2000_aarch64_test_eg.config b/example/template/configs/d2000_aarch64_test_eg.config index e87289efdbfda34c272ed47552e1d72f117df433..e2762fab527f75a85e0cda72c91871d3dc0ddfbc 100644 --- a/example/template/configs/d2000_aarch64_test_eg.config +++ b/example/template/configs/d2000_aarch64_test_eg.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/e2000d_aarch32_demo_eg.config b/example/template/configs/e2000d_aarch32_demo_eg.config index 8b218196816931da127faac2ec96d19897cda353..d4ab315b71322dd75b23be175daa35ce1fca5a99 100644 --- a/example/template/configs/e2000d_aarch32_demo_eg.config +++ b/example/template/configs/e2000d_aarch32_demo_eg.config @@ -168,7 +168,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -179,6 +178,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/e2000d_aarch64_demo_eg.config b/example/template/configs/e2000d_aarch64_demo_eg.config index 5d1eb7c7888708c41ec92cf04632a72929830c6d..a0d21ad1609228c48bc4c8dbd4c1e3ab3879d017 100644 --- a/example/template/configs/e2000d_aarch64_demo_eg.config +++ b/example/template/configs/e2000d_aarch64_demo_eg.config @@ -162,7 +162,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -173,6 +172,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/e2000q_aarch32_demo_eg.config b/example/template/configs/e2000q_aarch32_demo_eg.config index 1c6ba3a7f27e4acf1a2c9c5840906f3742a5a6f0..7cb2a10cd809d1cc92b42b29174f5f494daf9acc 100644 --- a/example/template/configs/e2000q_aarch32_demo_eg.config +++ b/example/template/configs/e2000q_aarch32_demo_eg.config @@ -167,7 +167,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -178,6 +177,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/e2000q_aarch64_demo_eg.config b/example/template/configs/e2000q_aarch64_demo_eg.config index e9b856ac096e717c83c0c0cd0fb2da581aefef60..8c4b1ead726793722254f610bd625ae58e83b4b5 100644 --- a/example/template/configs/e2000q_aarch64_demo_eg.config +++ b/example/template/configs/e2000q_aarch64_demo_eg.config @@ -161,7 +161,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -172,6 +171,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/ft2004_aarch32_dsk_eg.config b/example/template/configs/ft2004_aarch32_dsk_eg.config index 4f70aaf70f63ca759d16fd3d81afad624ba75ae6..1b34f622e688b8d8c65aeadcf9e382882b2fe850 100644 --- a/example/template/configs/ft2004_aarch32_dsk_eg.config +++ b/example/template/configs/ft2004_aarch32_dsk_eg.config @@ -155,7 +155,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -166,6 +165,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/ft2004_aarch64_dsk_eg.config b/example/template/configs/ft2004_aarch64_dsk_eg.config index 890a2cc1a4b61babee1d8a17ec6d285188f5634c..5336af264512447954ab08453ba9090c2cf29da9 100644 --- a/example/template/configs/ft2004_aarch64_dsk_eg.config +++ b/example/template/configs/ft2004_aarch64_dsk_eg.config @@ -149,7 +149,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -160,6 +159,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/phytiumpi_aarch32_firefly_eg.config b/example/template/configs/phytiumpi_aarch32_firefly_eg.config index 5989a4952613697e268e1c610940ff229a8d1240..0ff7a187f95e26aeebb9d638fa3aaabc4cba940b 100644 --- a/example/template/configs/phytiumpi_aarch32_firefly_eg.config +++ b/example/template/configs/phytiumpi_aarch32_firefly_eg.config @@ -166,7 +166,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -177,6 +176,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/configs/phytiumpi_aarch64_firefly_eg.config b/example/template/configs/phytiumpi_aarch64_firefly_eg.config index 5ac9deef6abe6b2af3e31a950aca40c15b0ade1b..7b7197748979a523beba6723b263a00f62aed035 100644 --- a/example/template/configs/phytiumpi_aarch64_firefly_eg.config +++ b/example/template/configs/phytiumpi_aarch64_firefly_eg.config @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/sdkconfig b/example/template/sdkconfig index 5ac9deef6abe6b2af3e31a950aca40c15b0ade1b..7b7197748979a523beba6723b263a00f62aed035 100644 --- a/example/template/sdkconfig +++ b/example/template/sdkconfig @@ -160,7 +160,6 @@ CONFIG_OUTPUT_BINARY=y # CONFIG_DEBUG_NOOPT is not set # CONFIG_DEBUG_CUSTOMOPT is not set CONFIG_DEBUG_FULLOPT=y -# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set CONFIG_DEBUG_OPT_UNUSED_SECTIONS=y CONFIG_DEBUG_LINK_MAP=y # CONFIG_CCACHE is not set @@ -171,6 +170,7 @@ CONFIG_DEBUG_LINK_MAP=y # # Debug options # +# CONFIG_DEBUG_ENABLE_ALL_WARNING is not set # CONFIG_WALL_WARNING_ERROR is not set # CONFIG_STRICT_PROTOTYPES is not set # CONFIG_DEBUG_SYMBOLS is not set diff --git a/example/template/sdkconfig.h b/example/template/sdkconfig.h index 591673943d97990882169cba357d35a9ba0040d5..7c97f68c09d4ce89d4f05768b2f52791c3e0580a 100644 --- a/example/template/sdkconfig.h +++ b/example/template/sdkconfig.h @@ -147,7 +147,6 @@ /* CONFIG_DEBUG_NOOPT is not set */ /* CONFIG_DEBUG_CUSTOMOPT is not set */ #define CONFIG_DEBUG_FULLOPT -/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ #define CONFIG_DEBUG_OPT_UNUSED_SECTIONS #define CONFIG_DEBUG_LINK_MAP /* CONFIG_CCACHE is not set */ @@ -157,6 +156,7 @@ /* Debug options */ +/* CONFIG_DEBUG_ENABLE_ALL_WARNING is not set */ /* CONFIG_WALL_WARNING_ERROR is not set */ /* CONFIG_STRICT_PROTOTYPES is not set */ /* CONFIG_DEBUG_SYMBOLS is not set */ diff --git a/install.py b/install.py index 11c544d09f4ebbd54a66cbfd9601f486119722f5..437cfe75a3317750f3fb19d43d7aaa44bfc51eb7 100755 --- 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="18b911742e6d55f01998f1a2f9ddff9b39d76c19" +standalone_sdk_v="e279fe5984778e7e7ac8cfa746d3d66ec9385b38" standalone_path=freertos_sdk_path + '/standalone' standalone_branche="master" standalone_remote="https://gitee.com/phytium_embedded/phytium-standalone-sdk.git" diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch32/port.c b/third-party/freertos/portable/GCC/ft_platform/aarch32/port.c index c51fd6fe31a5e179ced9334fcd418e0fcd5e85de..df56cadda659d0917d3164460615361300cb61a3 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch32/port.c +++ b/third-party/freertos/portable/GCC/ft_platform/aarch32/port.c @@ -98,7 +98,7 @@ context. */ #define portNO_FLOATING_POINT_CONTEXT ((StackType_t)0) /* Constants required to setup the initial task context. */ -#define portINITIAL_SPSR ((StackType_t)0x1f) /* System mode, ARM mode, IRQ enabled FIQ enabled. */ +#define portINITIAL_SPSR ((StackType_t)0x13) /* Supervisor mode, ARM mode, IRQ enabled FIQ enabled. */ #define portTHUMB_MODE_BIT ((StackType_t)0x20) #define portINTERRUPT_ENABLE_BIT (0x80UL) #define portTHUMB_MODE_ADDRESS (0x01UL) diff --git a/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S b/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S index 636d50a63ee5ac4281c12bf323741346f0c2c3b8..6c82ba90b01240b9368042545b96aa0ada85b2a1 100644 --- a/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S +++ b/third-party/freertos/portable/GCC/ft_platform/aarch32/portASM.S @@ -53,10 +53,10 @@ .macro portSAVE_CONTEXT - /* Save the LR and SPSR onto the system mode stack before switching to - system mode to save the remaining system mode registers. */ - SRSDB sp!, #SYS_MODE - CPS #SYS_MODE + /* Save the LR and SPSR onto the Supervisor mode stack before switching to + Supervisor mode to save the remaining Supervisor mode registers. */ + SRSDB sp!, #SVC_MODE + CPS #SVC_MODE PUSH {R0-R12, R14} /* Push the critical nesting count. */ @@ -158,8 +158,8 @@ FreeRTOS_SWI_Handler: *****************************************************************************/ .type vPortRestoreTaskContext, %function vPortRestoreTaskContext: - /* Switch to system mode. */ - CPS #SYS_MODE + /* Switch to Supervisor mode. */ + CPS #SVC_MODE portRESTORE_CONTEXT .align 4 diff --git a/third-party/lwip-2.1.2/ports/fgmac/ethernetif.c b/third-party/lwip-2.1.2/ports/fgmac/ethernetif.c index 63a3c81384d6b4c9c5b88f17bdcdda45728b2e63..06054b0d9fee0a00be0389a02a7c1443e84b16e3 100644 --- a/third-party/lwip-2.1.2/ports/fgmac/ethernetif.c +++ b/third-party/lwip-2.1.2/ports/fgmac/ethernetif.c @@ -130,7 +130,6 @@ static void ethernetif_input(struct netif *netif) while (1) - { /* move received packet into a new pbuf */ SYS_ARCH_PROTECT(lev); @@ -244,7 +243,7 @@ static err_t low_level_init(struct netif *netif) FGmac *gmac_p = NULL; FError ret; u32 dmacrreg; - FtOsGmacPhyControl os_config; + FGmacPhyControl gmac_phy_config; s32_t status = FT_SUCCESS; FASSERT(netif != NULL); FASSERT(netif->state != NULL); @@ -261,13 +260,13 @@ static err_t low_level_init(struct netif *netif) ETHNETIF_DEBUG_I("netif->state is %p \r\n ", netif->state); config_p = (UserConfig *)netif->state; - os_config.instance_id = config_p->mac_instance; + gmac_phy_config.instance_id = config_p->mac_instance; - os_config.autonegotiation = config_p->autonegotiation; /* 1 is autonegotiation ,0 is manually set */ - os_config.phy_speed = config_p->phy_speed; /* FGMAC_PHY_SPEED_XXX */ - os_config.phy_duplex = config_p->phy_duplex; /* FGMAC_PHY_XXX_DUPLEX */ + gmac_phy_config.autonegotiation = config_p->autonegotiation; /* 1 is autonegotiation ,0 is manually set */ + gmac_phy_config.phy_speed = config_p->phy_speed; /* FGMAC_PHY_SPEED_XXX */ + gmac_phy_config.phy_duplex = config_p->phy_duplex; /* FGMAC_PHY_XXX_DUPLEX */ - instance_p = FGmacOsGetInstancePointer(&os_config); + instance_p = FGmacOsGetInstancePointer(&gmac_phy_config); if (instance_p == NULL) { ETHNETIF_DEBUG_E("FGmacOsGetInstancePointer is error\r\n"); @@ -279,6 +278,8 @@ static err_t low_level_init(struct netif *netif) instance_p->hwaddr[i] = netif->hwaddr[i]; } + instance_p->feature = config_p->capability; + ret = FGmacOsInit(instance_p); if (ret != FT_SUCCESS) @@ -292,7 +293,14 @@ static err_t low_level_init(struct netif *netif) instance_p->stack_pointer = gmac_netif_p; /* maximum transfer unit */ - netif->mtu = GMAC_MTU; + if(instance_p->feature & FGMAC_OS_CONFIG_JUMBO) + { + netif->mtu = GMAC_MTU_JUMBO; + } + else + { + netif->mtu = GMAC_MTU; + } netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP; diff --git a/third-party/lwip-2.1.2/ports/fxmac/ethernetif.c b/third-party/lwip-2.1.2/ports/fxmac/ethernetif.c index 2c1c5136cc77b536cd78f0ee3789129207f173a0..eef5ea7232cf80e5e326f3fa5f9949267d279f50 100644 --- a/third-party/lwip-2.1.2/ports/fxmac/ethernetif.c +++ b/third-party/lwip-2.1.2/ports/fxmac/ethernetif.c @@ -252,12 +252,14 @@ static err_t low_level_init(struct netif *netif) FXmac *xmac_p = NULL; FError ret; u32 dmacrreg; - FXmacOsControl os_config; + FXmacPhyControl xmac_phy_config; s32_t status = FT_SUCCESS; - FASSERT(netif != NULL); - FASSERT(netif->state != NULL); + UserConfig *config_p; + FASSERT(netif != NULL); + FASSERT(netif->state != NULL); + xmac_netif_p = mem_malloc(sizeof * xmac_netif_p); if (xmac_netif_p == NULL) { @@ -272,26 +274,26 @@ static err_t low_level_init(struct netif *netif) FXMAC_LWIP_NET_PRINT_I("netif->state is %p \r\n ", netif->state); config_p = (UserConfig *)netif->state; - os_config.instance_id = config_p->mac_instance; + xmac_phy_config.instance_id = config_p->mac_instance; switch (config_p->mii_interface) { case LWIP_PORT_INTERFACE_RGMII: - os_config.interface = FXMAC_OS_INTERFACE_RGMII; + xmac_phy_config.interface = FXMAC_OS_INTERFACE_RGMII; break; case LWIP_PORT_INTERFACE_SGMII: - os_config.interface = FXMAC_OS_INTERFACE_SGMII; + xmac_phy_config.interface = FXMAC_OS_INTERFACE_SGMII; break; default: - os_config.interface = FXMAC_OS_INTERFACE_RGMII; + xmac_phy_config.interface = FXMAC_OS_INTERFACE_RGMII; break; } - os_config.autonegotiation = config_p->autonegotiation; /* 1 is autonegotiation ,0 is manually set */ - os_config.phy_speed = config_p->phy_speed; /* FXMAC_PHY_SPEED_XXX */ - os_config.phy_duplex = config_p->phy_duplex; /* FXMAC_PHY_XXX_DUPLEX */ + xmac_phy_config.autonegotiation = config_p->autonegotiation; /* 1 is autonegotiation ,0 is manually set */ + xmac_phy_config.phy_speed = config_p->phy_speed; /* FXMAC_PHY_SPEED_XXX */ + xmac_phy_config.phy_duplex = config_p->phy_duplex; /* FXMAC_PHY_XXX_DUPLEX */ - instance_p = FXmacOsGetInstancePointer(&os_config); + instance_p = FXmacOsGetInstancePointer(&xmac_phy_config); if (instance_p == NULL) { FXMAC_LWIP_NET_PRINT_E("FXmacOsGetInstancePointer is error\r\n"); @@ -303,12 +305,9 @@ static err_t low_level_init(struct netif *netif) instance_p->hwaddr[i] = netif->hwaddr[i]; } -#if LWIP_IPV6 - instance_p->config = FXMAC_OS_CONFIG_COPY_ALL_FRAMES; -#endif + instance_p->feature = config_p->capability; ret = FXmacOsInit(instance_p); - if (ret != FT_SUCCESS) { FXMAC_LWIP_NET_PRINT_E("FXmacOsInit is error\r\n"); @@ -321,9 +320,9 @@ static err_t low_level_init(struct netif *netif) /* maximum transfer unit */ - if (instance_p->config & FXMAC_OS_CONFIG_JUMBO) + if (instance_p->feature & FXMAC_OS_CONFIG_JUMBO) { - netif->mtu = FXMAC_MTU_JUMBO - FXMAC_HDR_SIZE; + netif->mtu = FXMAC_MTU_JUMBO; } else {