Add iperf client example
Requires you to specify the server ip address when running cmake, e.g. -DIPERF_SERVER_IP=1.2.3.4
Fixes #255
Perhaps the top-level README.md also wants updating to match?
Perhaps the top-level
README.mdalso wants updating to match?
ok - tweak the wording
I know nothing about FreeRTOS, but looking at the content of the diff in this PR, does xstr need removing from picow_freertos_iperf.c too? :shrug:
I know nothing about FreeRTOS, but looking at the content of the diff in this PR, does
xstrneed removing frompicow_freertos_iperf.ctoo? 🤷
Oops - yes. I should test it really!
@kilograham / @liamfraser I wonder if it might be worth modifying https://github.com/raspberrypi/pico-examples/blob/master/.github/workflows/cmake.yml to do several different builds, with different combinations of #define s set? :man_shrugging:
Added iperf client to freertos and checked they work.
@kilograham / @liamfraser I wonder if it might be worth modifying https://github.com/raspberrypi/pico-examples/blob/master/.github/workflows/cmake.yml to do several different builds, with different combinations of
#defines set? 🤷♂️
Maybe this should be a separate issue? I don't really understand how the builds are configured but it looks a bit like pico_w examples are not built? To build everything...
-DPICO_BOARD=pico_w -DWIFI_SSID='xxx' -DWIFI_PASSWORD='xxx' -DFREERTOS_KERNEL_PATH=/source/FreeRTOS-Kernel
Maybe this should be a separate issue?
I'll let @kilograham decide if he wants to create an issue for it, since he knows far more about the SDK (and how its builds work) than I do :wink:
...although I think using -DPICO_BOARD=pico_w still wouldn't build everything, as it then wouldn't build things requiring PICO_DEFAULT_LED_PIN ? :man_shrugging: (so a multiple-builds process might be needed?)
True - it should build for all boards
I can't be bothered with this