mirror of
https://github.com/apache/nuttx.git
synced 2025-12-11 04:47:47 +08:00
tools/gencromfs: add attribute to set minimum 4 bytes aignment for cromfs image data
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
3366f1fb35
commit
39f174908f
@@ -1302,7 +1302,7 @@ int main(int argc, char **argv, char **envp)
|
||||
/* Now append the volume header to output file */
|
||||
|
||||
fprintf(g_outstream, "/* CROMFS image */\n\n");
|
||||
fprintf(g_outstream, "const uint8_t g_cromfs_image[] =\n");
|
||||
fprintf(g_outstream, "const uint8_t aligned_data(4) g_cromfs_image[] =\n");
|
||||
fprintf(g_outstream, "{\n");
|
||||
fprintf(g_outstream, " /* Offset %6lu: Volume header */\n\n", 0ul);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user