change #include "nand.h" to <flash/nand.h>