-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
area: File SystembugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
Build failure west build -p -b stm32h573i_dk tests/subsys/fs/lib_link
target = stm32h573i_dk
zephyr version
- SHA1 c9f149c
- SDK -0.17.0
./zephyr/modules/fatfs/zephyr_fatfs_config.h:8:2: error: #error "Configuration version mismatch"
8 | #error "Configuration version mismatch"
| ^~~~~
CI failure especially on PR #88646
Logs and console output
./modules/fatfs/zephyr_fatfs_config.h:8:2: error: #error "Configuration version mismatch"
8 | #error "Configuration version mismatch"
| ^~~~~
In file included from ./include/zephyr/sys/util_macro.h:34,
from ./include/zephyr/irq_multilevel.h:16,
from ./include/zephyr/devicetree.h:20,
from ./modules/fatfs/zephyr_fatfs_config.h:11:
./build/zephyr/include/generated/zephyr/devicetree_generated.h:31434:47: error: 'DT_N_S_soc_S_sdmmc_46008000_P_disk_name' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_sdmmc_46008000_P_clk_div'?
31434 | #define DT_FOREACH_OKAY_st_stm32_sdmmc(fn) fn(DT_N_S_soc_S_sdmmc_46008000)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET'
72 | #define __DEBRACKET(...) __VA_ARGS__
| ^~~~~~~~~~~
./include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
| ^~~~~~~~~~~~~~~~~~~~
./include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_COD'
59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~
./include/zephyr/sys/util_macro.h:204:9: note: in expansion of macro 'Z_COND_CODE_'
204 | Z_COND_CODE_1(_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~~~
./include/zephyr/devicetree.h:3467:9: note: in expansion of macro 'COND_CODE_1'
3467 | COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
| ^~~~~~~~~~~
./include/zephyr/devicetree.h:762:32: note: in expansion of macro 'DT_CAT3'
762 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
| ^~~~~~~
./modules/fatfs/zephyr_fatfs_config.h:109:29: note: in expansion of macro 'DT_PROP'
109 | #define _FF_DISK_NAME(node) DT_PROP(node, disk_name),
| ^~~~~~~
./build/zephyr/include/generated/zephyr/devicetree_generated.h:31434:44: note: in expansion of macro '_FF_DISK_NAME'
31434 | #define DT_FOREACH_OKAY_st_stm32_sdmmc(fn) fn(DT_N_S_soc_S_sdmmc_46008000)
| ^~
./include/zephyr/sys/util_internal.h:105:36: note: in expansion of macro 'DT_FOREACH_OKAY_st_stm32_sdmmc'
105 | #define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
| ^
./include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT'
104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
./include/zephyr/devicetree.h:3468:22: note: in expansion of macro 'UTIL_CAT'
3468 | (UTIL_CAT(DT_FOREACH_OKAY_, compat)(fn)), \
| ^~~~~~~~
./modules/fatfs/zephyr_fatfs_config.h:116:9: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY'
116 | DT_FOREACH_STATUS_OKAY(st_stm32_sdmmc, _FF_DISK_NAME)
| ^~~~~~~~~~~~~~~~~~~~~~
./modules/fatfs/zfs_diskio.c:22:40: note: in expansion of macro 'FF_VOLUME_STRS'
22 | static const char *const pdrv_str[] = {FF_VOLUME_STRS};
| ^~~~~~~~~~~~~~
[99/162] Building C object modules/littlefs/CMakeFiles/mod... ~/modules/fs/littlefs/lfs.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build '~\zephyrproject\zephyr\build'
Metadata
Metadata
Assignees
Labels
area: File SystembugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32priority: lowLow impact/importance bugLow impact/importance bug