1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/tools/rp2040
wangjianyu3 f41b0d00fd tools/rp2040: Building picotool if necessary
Improved
  1. The pre-installed "picotool" should not depend on `PICO_SDK_PATH`

  2. Perhaps we should compile "picotool" from `PICO_SDK_PATH` if it was not found in $PATH

Tests
  1. The "picotool" is pre-installed or built from `PICO_SDK_PATH`

     LD: nuttx
     Generating: nuttx.uf2
     Done.

  2. `PICO_SDK_PATH` is specified but "picotool" is not installed

     LD: nuttx
     Building: picotool
     Generating: nuttx.uf2
     Done.

  3. Neither "picotool" nor `PICO_SDK_PATH` are installed/specified

     LD: nuttx
     PICO_SDK_PATH/picotool must be specified/installed for flash boot

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-11-11 10:38:58 +08:00
..
.gitignore tools: Add Raspberry Pi Pico post build tool to create uf2 binary 2021-02-20 03:45:24 -08:00
Config.mk tools/rp2040: Building picotool if necessary 2024-11-11 10:38:58 +08:00
make_flash_fs.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00