When NDEBUG macro is defined during compilation, the assert macro produces empty code. Parameters or variables checked with assert are then unused.
Added an Arduino compatible SPI API on top of RIOT's SPI API.