Release 6.1.7

This commit is contained in:
Bo Chen
2021-06-02 06:46:59 +00:00
parent d42808cdeb
commit d4089f56e3
56 changed files with 399 additions and 176 deletions
+16 -1
View File
@@ -39,20 +39,34 @@ FX_FILE my_file;
/* Define ThreadX global data structures. */
#ifndef LX_STANDALONE_ENABLE
TX_THREAD thread_0;
#endif
ULONG thread_0_counter;
int main(void)
{
/* Enter the ThreadX kernel. */
#ifndef LX_STANDALONE_ENABLE
tx_kernel_enter();
#else
/* Initialize NAND flash. */
lx_nand_flash_initialize();
/* Initialize FileX. */
fx_system_initialize();
thread_0_entry(0);
#endif
}
/* Define what the initial system looks like. */
#ifndef LX_STANDALONE_ENABLE
void tx_application_define(void *first_unused_memory)
{
@@ -70,6 +84,7 @@ void tx_application_define(void *first_unused_memory)
/* Initialize FileX. */
fx_system_initialize();
}
#endif