I first followed the steps:
git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensors
./configure --my-transport=rf24 --my-rf24-irq-pin=15
sudo make
but this gives an error on stropts.h, so I deleted the MySensors folder and restarted with the development branch as advised by some forum posts:
git clone https://github.com/mysensors/MySensors.git --branch development
cd MySensors
./configure --my-transport=rf24 --my-rf24-irq-pin=15
sudo make
but now I get another eror:
and./drivers/CircularBuffer/CircularBuffer.h: At global scope:
./hal/architecture/Linux/MyHwLinuxGeneric.h:106:50: error: ambiguating new declaration of ‘uint8_t __hwLock()’
106 | #define ATOMIC_BLOCK for ( ATOMIC_BLOCK_CLEANUP, __hwLock(); \
I couldn't find any help on that error... Any idea ?make: *** [Makefile:99: build/examples_linux/mysgw.o] Error 1