Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Modify main.c as follows;

int main(void)

{

    printf("Build @%s, %s\n", __DATE__, __TIME__);

    hw_init();

    sys_init();

    disp_hdmi_init();

    //timer_test_init();/*interrupt test api */

    sp_interrupt_setup(); /* interrupt manager module init */

    while(1)

    {

        printf("gpio new project test \n");

    }

}

If you need to add other files related to the project, * .c files are placed in the \SP7021\workspace\gpio\ testapi\util folder; * .h files are placed in the \SP7021\workspace\gpio\include\util folder; Here is an example of how to create a new gpio.c file:

...