I just bump into a new LoRaWAN stack initiated by Semtech peoples.
From what I saw, it is currently developed on mbed, but with portability in mind. A brick approach allowing you to include only the needed parts for the final product and a small foot print.
I guess this is something to follow.