2 Replies Latest reply on Aug 6, 2018 2:44 AM by julien_horizon Branched from an earlier discussion.

    Re: where is int main(void) located? (con't)

    julien_horizon

      Hi,

       

      As a follow on to this older closed thread: where is int main(void) located?

       

      Is it possible to do a while(1) in the create function for my machine state?

      If not, In my application I need machine state (my BCM20736 use lot of GPIO, UART, BLE ... and I need to do a properly exploiation because I have multiple mode of user case).

      Is there a way to implement a state machine?

       

      For now, to try, I do this in a timer 1ms but it's not fast enough...

       

      Thanks for the answer