Skip to content

[Bug] failed to build bsp/raspberry-pi/raspi-dm2.0 #9735

Open
@unicornx

Description

RT-Thread Version

master

Hardware Type/Architectures

bsp/raspberry-pi/raspi-dm2.0

Develop Toolchain

GCC

Describe the bug

CC build/kernel/components/drivers/sdio/dev_block.o
In file included from /home/u/ws/duo/rt-thread/components/drivers/include/rtdevice.h:43:0,
                 from /home/u/ws/duo/rt-thread/components/dfs/dfs_v2/include/dfs.h:26,
                 from /home/u/ws/duo/rt-thread/components/dfs/dfs_v2/include/dfs_fs.h:15,
                 from /home/u/ws/duo/rt-thread/components/drivers/include/drivers/blk.h:61,
                 from /home/u/ws/duo/rt-thread/components/drivers/sdio/dev_block.c:13:
/home/u/ws/duo/rt-thread/components/drivers/include/drivers/core/dm.h:41:44: error: 'MASTER_ID_SDIO' undeclared here (not in a function); did you mean 'ATTR_UID_SET'?
 #define RT_DM_IDA_INIT(id)  { .master_id = MASTER_ID_##id }
                                            ^
/home/u/ws/duo/rt-thread/components/drivers/sdio/dev_block.c:41:36: note: in expansion of macro 'RT_DM_IDA_INIT'
 static struct rt_dm_ida sdio_ida = RT_DM_IDA_INIT(SDIO);
                                    ^~~~~~~~~~~~~~
scons: *** [build/kernel/components/drivers/sdio/dev_block.o] Error 1
scons: building terminated because of errors.

Other additional context

No response

Metadata

Assignees

Labels

Arch: ARM/AArch64BSP related with armBSP: Raspberry-PiBSP related with raspberry-pi/3/4b/coRT-SmartRT-Thread Smart related PR or issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions