| // Licensed under the Apache-2.0 license |
| |
| // AST1060-EVB MCTP Loopback Test Configuration |
| // ARM Cortex-M4 @ 200 MHz |
| // 768KB SRAM (640KB usable), executes from RAM |
| // |
| // Memory Layout (PMSAv7-friendly, power-of-2 aligned regions): |
| // 0x00000000 - 0x00000680: Vector table + kernel annotations (1664 bytes) |
| // 0x00000680 - 0x00020000: Kernel flash (~126KB, ends at 128KB boundary) |
| // 0x00020000 - 0x00040000: mctp_loopback_test flash (128KB) |
| // 0x00040000 - 0x00080000: Kernel RAM (256KB) |
| // 0x00080000 - 0x000A0000: mctp_loopback_test RAM (128KB) |
| // |
| // Total: 0xA0000 = 640KB |
| { |
| arch: { |
| type: "armv7m", |
| vector_table_start_address: 0x00000000, |
| vector_table_size_bytes: 1664, // 0x680 (includes vector table + annotations) |
| }, |
| kernel: { |
| flash_start_address: 0x00000680, // After vector table + annotations |
| flash_size_bytes: 129408, // ~126KB (ends at 0x00020000, power-of-2 boundary) |
| ram_start_address: 0x00040000, // After flash regions |
| ram_size_bytes: 262144, // 256KB |
| }, |
| apps: [ |
| // ──── MCTP Loopback Test ──── |
| // Single application that manages two MCTP servers internally |
| // using loopback transport for bidirectional communication. |
| { |
| name: "mctp_loopback_test", |
| flash_size_bytes: 131072, // 128KB for test code |
| ram_size_bytes: 131072, // 128KB RAM (two servers + buffers) |
| process: { |
| name: "mctp loopback test process", |
| objects: [], // No IPC - everything is in-process |
| threads: [ |
| { |
| name: "mctp loopback test thread", |
| stack_size_bytes: 8192, // 8KB stack |
| }, |
| ], |
| }, |
| }, |
| ], |
| } |