コード例 #1
0
ファイル: wiced_rtos.c プロジェクト: humminglab/wiced-project
int main( void )
{
#if defined ( __IAR_SYSTEMS_ICC__ )
/* IAR allows init functions in __low_level_init(), but it is run before global
 * variables have been initialised, so the following init still needs to be done
 * When using GCC, this is done in crt0_GCC.c
 */
    extern void platform_init_mcu_infrastructure( void );
    extern void platform_init_external_devices( void );

    platform_init_mcu_infrastructure( );
    platform_init_external_devices( );

#endif /* #elif defined ( __IAR_SYSTEMS_ICC__ ) */    /* Enter the ThreadX kernel.  */
    tx_kernel_enter( );
    return 0;
}
コード例 #2
0
ファイル: 02_sample_system.cpp プロジェクト: hack99/threadx
int main()
{

	/* Enter the ThreadX kernel. */
	tx_kernel_enter();
}
コード例 #3
0
ファイル: UITester.c プロジェクト: olshtein/levitz
//self testing main mabye better in its own file
int main(int argc, char **argv) {

	tx_kernel_enter();
	return 0;

}
コード例 #4
0
ファイル: ex4.c プロジェクト: dev-zzo/Embsys
void main()
{
	tx_kernel_enter();
}