diff options
Diffstat (limited to 'src/ecosboard.c')
-rw-r--r-- | src/ecosboard.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 11b786c..725a3f3 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -869,6 +869,8 @@ int add_default_dirs(void) return ERROR_OK; } +int ioutil_init(struct command_context_s *cmd_ctx); + int main(int argc, char *argv[]) { /* ramblockdevice will be the same address every time. The deflate app uses a buffer 16mBytes out, so we @@ -1001,6 +1003,14 @@ int main(int argc, char *argv[]) command_set_output_handler(cmd_ctx, configuration_output_handler, NULL); command_context_mode(cmd_ctx, COMMAND_CONFIG); +#if BUILD_IOUTIL + if (ioutil_init(cmd_ctx) != ERROR_OK) + { + return EXIT_FAILURE; + } +#endif + + #ifdef CYGPKG_PROFILE_GPROF register_command(cmd_ctx, NULL, "ecosboard_profile", eCosBoard_handle_eCosBoard_profile_command, COMMAND_ANY, NULL); |