File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 71
71
72
72
# define SECTORSIZE 512
73
73
# define NSECTORS (b ) (((b) + SECTORSIZE - 1) / SECTORSIZE)
74
- # define MOUNTPT "/mnt/romfs"
74
+ # define MOUNTPT "/mnt/elf/ romfs"
75
75
76
76
#elif defined(CONFIG_EXAMPLES_ELF_CROMFS )
77
77
/* Describe the CROMFS file system */
78
78
79
- # define MOUNTPT "/mnt/cromfs"
79
+ # define MOUNTPT "/mnt/elf/ cromfs"
80
80
81
81
#elif defined(CONFIG_EXAMPLES_ELF_EXTERN ) && defined(CONFIG_EXAMPLES_ELF_FSMOUNT )
82
82
/* Describe the external file system */
83
83
84
- # define MOUNTPT "/mnt/" CONFIG_EXAMPLES_ELF_FSTYPE
84
+ # define MOUNTPT "/mnt/elf/ " CONFIG_EXAMPLES_ELF_FSTYPE
85
85
86
86
#else
87
87
# undef MOUNTPT
Original file line number Diff line number Diff line change 69
69
70
70
# define SECTORSIZE 64
71
71
# define NSECTORS (b ) (((b)+SECTORSIZE-1)/SECTORSIZE)
72
- # define BINDIR "/mnt/romfs"
72
+ # define BINDIR "/mnt/sotest/ romfs"
73
73
74
74
# ifndef CONFIG_EXAMPLES_SOTEST_DEVMINOR_MAX
75
75
# define CONFIG_EXAMPLES_SOTEST_DEVMINOR_MAX 5
@@ -127,7 +127,7 @@ int main(int argc, FAR char *argv[])
127
127
#ifdef CONFIG_EXAMPLES_SOTEST_BUILTINFS
128
128
/* Create a ROM disk for the ROMFS filesystem */
129
129
130
- desc .minor = CONFIG_EXAMPLES_SOTEST_DEVMINOR ; /* Minor device number of the ROM disk. */
130
+ desc .minor = 0 ; /* Minor device number of the ROM disk. */
131
131
desc .nsectors = NSECTORS (sotest_romfs_img_len ); /* The number of sectors in the ROM disk */
132
132
desc .sectsize = SECTORSIZE ; /* The size of one sector in bytes */
133
133
desc .image = (FAR uint8_t * )sotest_romfs_img ; /* File system image */
You can’t perform that action at this time.
0 commit comments