Skip to content

Commit

Permalink
fix: How_to_Guides: M2CC3301: Add separate code-block for Debian
Browse files Browse the repository at this point in the history
To connect to wifi, a set of scripts must be run. These scripts are
given in the How_To_Enable_M2CC3301_in_linux guide. The syntax is
`./<script-name> <args>`.

However in Debian, it is necessary to prepend `bash` to the command:
`bash ./<script-name> <args>`

This is an upstream scripts' issue. For now, add a separate code-block
for the Debian-specific case. Revert this commit when the issue is
fixed.

Signed-off-by: Suhaas Joshi <[email protected]>
  • Loading branch information
jsuhaas22 authored and praneethbajjuri committed Dec 9, 2024
1 parent 17b63ec commit 21ed6e8
Showing 1 changed file with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,23 @@ Connect to Wi-Fi
Using scripts provided in the SDK makes connecting to an Access Point or router straightforward.
The following are steps to connect to a WPA password-secured Access Point.

.. code-block:: console
.. ifconfig:: CONFIG_sdk in ('SITARA')

.. code-block:: console
cd /usr/share/cc33xx
./sta_start.sh
./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
udhcpc -i wlan0
.. ifconfig:: CONFIG_sdk in ('DebianSDK')

.. code-block:: console
cd /usr/share/cc33xx
./sta_start.sh
./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
udhcpc -i wlan0
cd /usr/share/cc33xx
bash ./sta_start.sh
bash ./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
udhcpc -i wlan0
For more information on the Wi-Fi capabilities of the CC33xx devices, please
see the documentation that can be found in the `CC33xx SDK <https://www.ti.com/tool/CC33XX-SOFTWARE>`_.

0 comments on commit 21ed6e8

Please sign in to comment.