Commit 18818c15 authored by Simon Maurer's avatar Simon Maurer Committed by Mahesh Mahadevan
Browse files

openamp: resource table: fixes resource table for ram_console section



in commit 1cd37f21 the global ram console buffer was replaced
with a pointer. This didn't work with the OpenAMP resource table
anymore (#75656).

Signed-off-by: default avatarSimon Maurer <mail@maurer.systems>
parent 02c8a5a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
#include <zephyr/kernel.h>
#include <resource_table.h>

extern char ram_console[];
extern char ram_console_buf[];

#define __resource Z_GENERIC_SECTION(.resource_table)

@@ -68,7 +68,7 @@ static struct fw_resource_table __resource resource_table = {
#if defined(CONFIG_RAM_CONSOLE)
	.cm_trace = {
		RSC_TRACE,
		(uint32_t)ram_console, CONFIG_RAM_CONSOLE_BUFFER_SIZE, 0,
		(uint32_t)ram_console_buf, CONFIG_RAM_CONSOLE_BUFFER_SIZE, 0,
		"Zephyr_log",
	},
#endif