diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-15 17:29:50 -0500 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-15 17:29:50 -0500 |
| commit | 5c51df3faec292a701448bc7d79c4920b91f549b (patch) | |
| tree | 66587ad64ae6ea88ab0344d4b3deab98b2c71208 /Core/Src/Dev_Inf.c | |
| parent | 5d45727e33e224360a59b52e283ccb840ae9b926 (diff) | |
Diffstat (limited to 'Core/Src/Dev_Inf.c')
| -rwxr-xr-x | Core/Src/Dev_Inf.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Core/Src/Dev_Inf.c b/Core/Src/Dev_Inf.c new file mode 100755 index 0000000..c922bfe --- /dev/null +++ b/Core/Src/Dev_Inf.c @@ -0,0 +1,32 @@ +/*
+ * Dev_Inf.c
+ *
+ */
+#include "Dev_Inf.h"
+#include "quadspi.h"
+
+/* This structure contains information used by ST-LINK Utility to program and erase the device */
+#if defined (__ICCARM__)
+__root struct StorageInfo const StorageInfo = {
+#else
+struct StorageInfo const StorageInfo = {
+#endif
+ "audio_0.1.0", // Device Name + version number
+ NOR_FLASH, // Device Type
+ 0x90000000, // Device Start Address
+ MEMORY_FLASH_SIZE, // Device Size in Bytes
+ MEMORY_PAGE_SIZE, // Programming Page Size
+ 0xFF, // Initial Content of Erased Memory
+
+ // Specify Size and Address of Sectors (view example below)
+ {
+ {
+ (MEMORY_FLASH_SIZE / MEMORY_SECTOR_SIZE), // Sector Numbers,
+ (uint32_t) MEMORY_SECTOR_SIZE // Sector Size
+ },
+ {
+ 0x00000000,
+ 0x00000000
+ }
+ }
+};
|
