File tree 1 file changed +4
-4
lines changed
cores/arduino/stm32/virtio
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 61
61
#define __resource __section_t(.resource_table)
62
62
#endif
63
63
64
- #if defined (STM32MP157Cxx )
64
+ #if defined (STM32MP1xx )
65
65
#ifdef VIRTIO_MASTER_ONLY
66
66
#define CONST
67
67
#else
@@ -82,7 +82,7 @@ extern char system_log_buf[];
82
82
#endif
83
83
84
84
#if defined(__GNUC__ )
85
- #if !defined (__CC_ARM ) && !defined (STM32MP157Cxx )
85
+ #if !defined (__CC_ARM ) && !defined (STM32MP1xx )
86
86
87
87
/* Since GCC is not initializing the resource_table at startup, it is declared as volatile to avoid compiler optimization
88
88
* for the CM4 (see resource_table_init() below)
@@ -95,7 +95,7 @@ CONST struct shared_resource_table __resource __attribute__((used)) resource_tab
95
95
__root CONST struct shared_resource_table resource_table @ ".resource_table" = {
96
96
#endif
97
97
98
- #if defined(__ICCARM__ ) || defined (__CC_ARM ) || defined (STM32MP157Cxx )
98
+ #if defined(__ICCARM__ ) || defined (__CC_ARM ) || defined (STM32MP1xx )
99
99
.version = 1 ,
100
100
#if defined (__LOG_TRACE_IO_ )
101
101
.num = 2 ,
@@ -130,7 +130,7 @@ __root CONST struct shared_resource_table resource_table @ ".resource_table" = {
130
130
void resource_table_init (int RPMsgRole , void * * table_ptr , int * length )
131
131
{
132
132
133
- #if !defined (STM32MP157Cxx )
133
+ #if !defined (STM32MP1xx )
134
134
#if defined (__GNUC__ ) && ! defined (__CC_ARM )
135
135
#ifdef VIRTIO_MASTER_ONLY
136
136
You can’t perform that action at this time.
0 commit comments