CLIL source code from book "Firmware demystified"
- From: "Roman Mashak" <mrv@xxxxxxxx>
- Date: Wed, 29 Jun 2005 16:16:58 +0900
Hello, All!
Recently this book has fallen into my hands and I was reviewing the chapter
dedicated to development of Command Line Interface for generic embedded
system.
I was confused, the author offers unusual method: there is main function
getting command line from user and parsing it, than calls appropriate
function (for example, which shows env. variables: show_env()) and pass
'argc' and 'argv[]' to that function (assuming that in CLI prompt you enter
some arguments, like 'show env current').
How is it possible to work?
With best regards, Roman Mashak. E-mail: mrv@xxxxxxxx
.
- Follow-Ups:
- Re: CLIL source code from book "Firmware demystified"
- From: Jonathan Kirwan
- Re: CLIL source code from book "Firmware demystified"
- From: Lanarcam
- Re: CLIL source code from book "Firmware demystified"
- Prev by Date: Need help in microcontroller selection.
- Next by Date: Re: Compact flash transfer rate (w/microcontroller)
- Previous by thread: Need help in microcontroller selection.
- Next by thread: Re: CLIL source code from book "Firmware demystified"
- Index(es):
Relevant Pages
|