#include #include #include #include #define CONFIG_IP 5 int main(int argc, char *argv[]) { unsigned long addr; if (CYGACC_CALL_IF_FLASH_CFG_OP(CYGNUM_CALL_IF_FLASH_CFG_GET, "bootp_my_ip", &addr, CONFIG_IP)) { diag_dump_buf(&addr, sizeof(addr)); } else { printf("Can't get 'bootp_my_ip'\n"); } printf("fconfig_test done\n"); return 0; }