ARMmbed / mbed-os-example-blinky

Blinky example for Mbed OS 6.0
Apache License 2.0
42 stars 157 forks source link

Simplify application #192

Closed hugueskamba closed 4 years ago

hugueskamba commented 4 years ago

Description

The example project has been re-written to be simplified. It uses a delay within a loop. As it is single-threaded, it showcases that some of Mbed OS APIs can be used both with and without rtos (using Mbed OS bare metal profile). Instructions are also provided to build the simple blinky application with Mbed OS bare metal profile.

Runtime statistics has been removed and is only mentioned in the README. The reader is invited to find out more. Runtime statistics is a topic on its own and should not be implemented here.

The example project also exposes the user to Mbed OS parameter configuration option.

evedon commented 4 years ago

Looks good could we clearly reference the other forms of blinky somewhere at the top? That is baremetal and eventqueue. It would be good to briefly explain the difference and their purpose.

We are providing links at the bottom of the page for further references. I think it's better than the top so that the reader can get straight to the "getting started`' example. @hugueskamba you can add a link to https://os.mbed.com/docs/mbed-os/v5.14/tutorials/the-eventqueue-api.html for the eventqueue

evedon commented 4 years ago

@AnotherButler could you check the latest version please?

evedon commented 4 years ago

@AnotherButler You now have write access. Please check latest corrections. Thanks.