zhaoxingyu12 commented on PR #17829:
URL: https://github.com/apache/nuttx/pull/17829#issuecomment-3758521264

   Error: mtd_config_fs_test_main.c:75:5: error: "CONFIG_MTD_WRITE_ALIGN_SIZE" 
is not defined, evaluates to 0 [-Werror=undef]
      75 | #if CONFIG_MTD_WRITE_ALIGN_SIZE <= 4
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   Error: mtd_config_fs_test_main.c:53:41: error: 'CONFIG_MTD_WRITE_ALIGN_SIZE' 
undeclared here (not in a function)
      53 | #define NVS_ALIGN_SIZE                  CONFIG_MTD_WRITE_ALIGN_SIZE
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   mtd_config_fs_test_main.c:78:20: note: in expansion of macro 'NVS_ALIGN_SIZE'
      78 |   uint8_t  expired[NVS_ALIGN_SIZE];
         |                    ^~~~~~~~~~~~~~
   mtd_config_fs_test_main.c: In function 'test_nvs_corrupted_sector_close':
   Error: mtd_config_fs_test_main.c:1342:11: error: unused variable 'wr_buf' 
[-Werror=unused-variable]
    1342 |   uint8_t wr_buf[NVS_ALIGN_UP(512) - sizeof(key1)];
         |           ^~~~~~
   Error: mtd_config_fs_test_main.c:1341:11: error: unused variable 'rd_buf' 
[-Werror=unused-variable]
    1341 |   uint8_t rd_buf[NVS_ALIGN_UP(512) - sizeof(key1)];
         |           ^~~~~~
   cc1: all warnings being treated as errors
   
   
   
   pls help to retrigger CICT, these errors have already fixed in 
mtd_config_fs_test_main.c, thanks @xiaoxiang781216 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to