- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 896
 
Open
Description
On raspberry pi v4 (latest rasbian 64bit)
When I set the my-rf24-irq-pin and try to compile the development branch I get the error
./hal/architecture/Linux/MyHwLinuxGeneric.h:106:50: error: ambiguating new declaration of ‘uint8_t __hwLock()’
  106 | #define ATOMIC_BLOCK for ( ATOMIC_BLOCK_CLEANUP, __hwLock(); \
      |                                                  ^~~~~~~~
./hal/architecture/Linux/MyHwLinuxGeneric.h:113:29: note: in expansion of macro ‘ATOMIC_BLOCK’
  113 | #define MY_CRITICAL_SECTION ATOMIC_BLOCK
      |                             ^~~~~~~~~~~~
./drivers/CircularBuffer/CircularBuffer.h:161:17: note: in expansion of macro ‘MY_CRITICAL_SECTION’
  161 |                 MY_CRITICAL_SECTION {
      |                 ^~~~~~~~~~~~~~~~~~~
./hal/architecture/Linux/MyHwLinuxGeneric.h:88:24: note: old declaration ‘void __hwLock()’
   88 | static __inline__ void __hwLock()
      |                        ^~~~~~~~
make: *** [Makefile:99: build/examples_linux/mysgw.o] Error 1
$ gcc --version
gcc (Debian 12.2.0-14) 12.2.0
Metadata
Metadata
Assignees
Labels
No labels