Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

docs: correct build and flash instructions in main README.md #11

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,26 @@ Finally, before building, export the IDF_PATH variable
To build and flash your LoPy for 868MHz regions:

$ cd esp32
$ make BOARD=LOPY TARGET=boot
$ make BOARD=LOPY LORA_BAND=USE_BAND_868 TARGET=app
$ make BOARD=LOPY LORA_BAND=USE_BAND_868 flash

or for 915MHz regions:

$ cd esp32
$ make BOARD=LOPY TARGET=boot
$ make BOARD=LOPY LORA_BAND=USE_BAND_915 TARGET=app
$ make BOARD=LOPY LORA_BAND=USE_BAND_915 flash

or the WiPy 2.0:

$ cd esp32
$ make BOARD=WIPY TARGET=boot
$ make BOARD=WIPY TARGET=app
$ make BOARD=WIPY flash

Make sure that your board is placed into programming mode, otherwise flahing will fail.
To do this, connect ``P2`` to ``GND`` and then reset the board.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't P2 refer to G23 on the extension board?

Copy link
Author

@grandcat grandcat May 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Regarding WiPy's pin out, it is the same.
I do not own an extension board, but it should also apply here.
See https://www.pycom.io/wp-content/uploads/2016/11/wipy_pinout.pdf .


For more recent information about the process of building and flashing, please refer to
the `README.md` file in the `esp32` folder.