import of @AlaeddineWeslati's agilefox port with fixes addressing @OlegHahm's comments in https://github.com/RIOT-OS/thirdparty_boards/pull/2