nuttx/boards/arm/stm32/emw3162
Xiang Xiao a9d7a776c4 sched: Remove SDCLONE_DISABLE option and config
since the related code was removed by:
commit 4d5a964f29
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date:   Tue Feb 23 18:04:13 2021 +0800

    net: unify socket into file descriptor

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-31 19:03:20 +01:00
..
configs sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
include boards: added support for EMW3162 Wi-Fi board 2021-06-11 21:05:24 -05:00
scripts board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
src Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL 2021-08-06 13:58:26 +02:00
Kconfig boards: added support for EMW3162 Wi-Fi board 2021-06-11 21:05:24 -05:00
README.txt boards: added a basic support for chipKIT Wi-FIRE board; 2021-08-01 08:45:02 -07:00

README
======

  EMW3162 board (https://www.waveshare.com/EMW3162.htm) features the
  STM32F205RG MCU and Broadcom BCM43362KUBG Wi-Fi chip.
  The STM32F205RG is a 120 MHz Cortex-M3 operation with 1MB Flash
  memory and 128KB RAM.

Contents
========

  - Configuring NuttX for the EMW3162 board
  - Configuring NuttX to use your Wireless Router (aka Access Point)
  - Programming Flash
  - NSH via telnet
  - Serial console configuration

Configuring NuttX for the EMW3162 board
=======================================

     $ cd nuttx
     $ make apps_distclean
     $ make distclean
     $ ./tools/configure.sh emw3162:wlan

Configuring NuttX to use your Wireless Router (aka Access Point)
================================================================

  $ make menuconfig

  Browse the menus this way:

  Application Configuration  --->
      NSH Library  --->
          Networking Configuration  --->
              WAPI Configuration  --->
                  (myApSSID) SSID
                  (mySSIDpassphrase) Passprhase

  Replace the SSID from myApSSID with your wireless router name and
  the Passprhase with your WiFi password.

  Exit and save.

  Finally just compile NuttX:

    $ make

Programming Flash
=================

  Flash memory can be programmed by stlink toolset
  (https://github.com/stlink-org/stlink) and ST-LINK V2 programmer
  (via SWD interface) as follows:

    $ sudo st-flash write nuttx.bin 0x8000000

NSH via telnet
==============

  After you successfully downloaded nuttx.bin, reset the board and it
  automatically connects to the corresponding wifi AP. You may login
  your router to see its IP address. Assume that it's 192.168.1.111

  Open a terminal on your computer and telnet your EMW3162 board:

    $ telnet 192.168.1.111
    Trying 192.168.1.111...
    Connected to 192.168.1.111.
    Escape character is '^]'

    NuttShell (NSH) NuttX-10.1.0-RC1
    nsh>

Serial console configuration
============================

  Connect a USB/Serial 3.3V dongle to GND, TXD and RXD pins of EMW3162 board.
  Then use some serial console client (minicom, picocom, teraterm, etc) confi-
  gured to 115200 8n1 without software or hardware flow control.

  Reset the board and you should see NuttX starting in the serial.