firmware: fix a warning
firmware: fix linker setting for m0