Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page 129 contains incorrect instructions wrt mcconfig/mcrun #14

Open
JoshuaPK opened this issue Feb 13, 2022 · 2 comments
Open

Page 129 contains incorrect instructions wrt mcconfig/mcrun #14

JoshuaPK opened this issue Feb 13, 2022 · 2 comments

Comments

@JoshuaPK
Copy link

Page 129 of the book contains the notice: This section uses a different installation pattern from the one you learned in Chapter 1: rather than installing the host with mcconfig and then installing the examples using mcrun, you install the examples using mcconfig.

This does not appear to be correct. If you attempt to run mcconfig to deploy any of the network examples, you get an error about a missing modTimer.h file. If, however, you run mcconfig to deploy the 'host' that lives in the directory for the network chapter, you can then deploy the examples themselves using 'mcrun', and it works.

@lprader
Copy link
Collaborator

lprader commented Feb 13, 2022

Ah, I see how that's confusing. But that sentence is only referring to the section Connecting to Wi-Fi (not the entire chapter), which covers the following examples:

  • $EXAMPLES/ch3-network/wifi-command-line
  • $EXAMPLES/ch3-network/wifi-code
  • $EXAMPLES/ch3-network/wifi-open-ap

To install those three examples, you should use mcconfig. In subsequent sections, you should install the host with mcconfig and install the examples with mcrun as described on page 137.

@eltoroit
Copy link

I had the same confusion, maybe the note should have provided the name of the section ;-)

The "Connecting to Wi-Fi" section uses a different installation pattern from the one you learned in Chapter 1: rather than installing the host with mcconfig and then installing the examples using mcrun, you install the examples using mcconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants