- Notifications
You must be signed in to change notification settings - Fork 258
Renode Specific Configuration Options
bissonex edited this page Oct 18, 2022 · 1 revision
Renode is an open-source Emulator for embedded platforms. Today, it supports x86 (Intel Quark), Cortex-A (NVIDIA Tegra), Cortex-M, SPARC (Leon), and RISC-V based platforms.
First, make sure Renode spins a GDB server and bind it to port 3333:
(machine-0) machine StartGdbServer 3333 (machine-0)A Renode-based launch.json configuration could look like this:
{ "name": "Renode attach", "cwd": "${workspaceRoot}", "executable": "${workspaceRoot}/build/binaryToDebug.elf", "device": "EFR32MG24", "request": "launch", "type": "cortex-debug", "runToEntryPoint": "main", "servertype": "external", "gdbTarget": "localhost:3333", "toolchainPrefix": "arm-none-eabi-", "gdbPath": "arm-none-eabi-gdb", "overrideLaunchCommands": ["monitor start"], "overrideRestartCommands": ["monitor pause", "monitor runMacro $reset"], }