File tree 1 file changed +5
-2
lines changed
src/rp2_common/hardware_rcp/include/hardware
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
// ----------------------------------------------------------------------------
18
- // RCP instructions (this header is Arm- only)
19
- #if defined(PICO_RP2350 ) && !defined( __riscv )
18
+ // RCP masks (this header is RP2350 only)
19
+ #if defined(PICO_RP2350 )
20
20
21
21
#define RCP_MASK_TRUE _u(0xa500a500)
22
22
#define RCP_MASK_FALSE _u(0x00c300c3)
23
23
#define RCP_MASK_INTXOR _u(0x96009600)
24
24
25
+ // RCP instructions (this header is Arm-only)
26
+ #if !defined(__riscv )
25
27
// ----------------------------------------------------------------------------
26
28
// Macros and inline functions for use in C files
27
29
#ifndef __ASSEMBLER__
@@ -995,6 +997,7 @@ rcp_switch_u8_to_ch_cl rcp_canary_check_nodelay_impl \tag, \x
995
997
.endm
996
998
997
999
#endif // !__riscv
1000
+ #endif // PICO_RP2350
998
1001
#endif // __ASSEMBLER__
999
1002
// ----------------------------------------------------------------------------
1000
1003
You can’t perform that action at this time.
0 commit comments