I'm thinking of writing up a Tutorial on how to enable the Console and Shell in 
a Mynewt app -- especially since things have changed a bit with the Event Queue 
and task management.

If I am understanding things correctly (and there's no guarantee that I am) 
here's what needs to happen:

1) App needs to have an event Queue if it doesn't already
2) pkg.yml file needs to include
    - sys/console/full
    - sys/shell
3) syscfg.yml needs to set SHELL_TASK: 1

What else? 

dg

--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin 
<http://linkedin.com/in/davidgsimmons> • Twitter 
<http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.  
* If you cannot read the PGP.sig attachment, please go to 
 * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
 * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!

There are only 2 hard things in computer science: Cache invalidation, naming 
things, and off-by-one errors.


Reply via email to