Skip to content

Commit

Permalink
[DM/FEATURE] Support SCSI bus (#9592)
Browse files Browse the repository at this point in the history
* [DM/FEATURE] Support block for SCSI
1. Support SD and CD-ROM.
2. SD will port to UFS and ATA device.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
  • Loading branch information
GuEe-GUI authored Nov 22, 2024
1 parent c055261 commit 42a41c6
Show file tree
Hide file tree
Showing 13 changed files with 2,296 additions and 2 deletions.
7 changes: 7 additions & 0 deletions components/dfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ endif
bool "Using devfs for device objects"
default y

if RT_USING_DFS_V1
config RT_USING_DFS_ISO9660
bool "Using ISO9660 filesystem"
depends on RT_USING_MEMHEAP
default n
endif

config RT_USING_DFS_ROMFS
bool "Enable ReadOnly file system on flash"
default n
Expand Down
11 changes: 11 additions & 0 deletions components/dfs/dfs_v1/filesystems/iso9660/SConscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# RT-Thread building script for component

from building import *

cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]

group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_ISO9660'], CPPPATH = CPPPATH)

Return('group')
Loading

0 comments on commit 42a41c6

Please sign in to comment.