Skip to content

Conversation

@AgathiyanB
Copy link

The new page provides information on how to set up and use mbedtls for a project on a pico board using an RP2040 microcontroller.

Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

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

Thanks for contributing this guide! I've done a quick reading. I haven't tried following the instructions (I legally can't due to the license of some components). This looks sensible to me, so we can merge it if you fix the minor issues below.

```
git clone https://github.com/raspberrypi/pico-sdk
```
Next we need to initialise and update the submodules. If you are developing for the Pico W you need to run
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a prominent warning in the document that some modules (bstack, cyw43) forbid commercial use. For example, since Mbed TLS is my day job, I'm not allowed to download them, even for evaluation purposes.

Next we need to initialise and update the submodules. If you are developing for the Pico W you need to run

```
git submodule add https://github.com/georgerobotics/cyw43-driver
Copy link
Contributor

Choose a reason for hiding this comment

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

This submodule is already present.


Although this example doesn't utilise it, you may want to use some Pico W functionality, for many other projects. In this case, you will need to also target a cyw43 library in the cmake file. For more information on this, see [here](https://www.raspberrypi.com/documentation/pico-sdk/networking.html).

<!--- "This quickstart manual is intended for C/C++ developers who are interesting in developing Mbed TLS based projects in Eclipse C/C++ Development Tool (CDT) on Windows.","Eclipse CDT, Cygwin, Eclipse installation","eclipse, cygwin, tutorial",published,"2013-01-04 15:39:00",6,47375,"2015-07-24 11:51:00","Paul Bakker"---> No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Copypasta. Please update or remove this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-work priority-medium size-s Estimated task size: small (~2d)

Projects

Status: In Development

Development

Successfully merging this pull request may close these issues.

3 participants