wolfssl-examples/Arduino/sketches/template
gojimmypi 638297a18a
Move Arduino examples, add GitHub workflow
2025-04-06 13:01:22 +02:00
..
wolfssl_library Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
README.md Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
template.adeps Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
template.ino Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
template.sln Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
template.vgdbproj Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
wolfssl_helper.c Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00
wolfssl_helper.h Move Arduino examples, add GitHub workflow 2025-04-06 13:01:22 +02:00

README.md

Template Example

Open the template.ino file in the Arduino IDE.

Other IDE products are also supported, such as:

For examples on other platforms, see the IDE directory. Additional examples can be found on wolfSSL/wolfssl-examples.

Troubleshooting

When encountering odd errors such as undefined reference to ``_impure_ptr', such as this:

c:/users/gojimmypi/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Users\gojimmypi\AppData\Local\Temp\arduino\sketches\EAB8D79A02D1ECF107884802D893914E\libraries\wolfSSL\wolfcrypt\src\logging.c.o:(.literal.wolfssl_log+0x8): undefined reference to `_impure_ptr'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Try cleaning the Arduino cache directories. For Windows, that's typically in:

C:\Users\%USERNAME%\AppData\Local\Temp\arduino\sketches

Remove all other boards from other serial ports, leaving one the one being programmed.