blob: 737b396e6086909e35f49ca07e7960024f0cd8a0 [file]
// Licensed under the Apache-2.0 license
// SPDX-License-Identifier: Apache-2.0
// AST10x0 Unittest Runner Configuration
// ARM Cortex-M4 @ 200 MHz (QEMU simulated at 12 MHz)
// 768KB SRAM, executes from RAM
// TODO(ast10x0): Verify addresses against production AST10x0 hardware datasheet.
{
arch: {
type: "armv7m",
vector_table_start_address: 0x00000000,
vector_table_size_bytes: 1280, // 0x500 (320 vectors)
},
kernel: {
flash_start_address: 0x00000500, // After vector table
flash_size_bytes: 262144, // 256KB for kernel code
ram_start_address: 0x00040500, // RAM starts after code
ram_size_bytes: 393216, // 384KB for data
},
}