Update README.md

pull/13/head
Arjan te Marvelde 2022-07-31 21:31:05 +02:00 zatwierdzone przez GitHub
rodzic 4668fc4249
commit 32a6ca85d3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -108,7 +108,7 @@ Define some environment variables manually (these were not set right during inst
setx PICO_SDK_PATH "<target folder>\pico-sdk"
setx PICO_TOOLCHAIN_PATH "C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\11.2 2022.02"
```
Note that the actual ARM toolchain folder may be different: check it first!
*Note that the actual ARM toolchain folder may be different: check it first!*
Close this VS Developer Command Prompt window
@ -123,6 +123,7 @@ Before the first build you need to check and adapt the file **$PICO/uSDR-pico/CM
All building is using the Visual Studio NMake, so it has to be done from a **VS Developer Command Prompt for Pico** (*DCP*). This is found in the Start menu under VS 2022, and it is best to copy a shortcut in a more convenient place. Then the startup folder property in the shortcut can be changed to for example **$PICO**. Within this *DCP* all environment settings have been properly set to enable the building process.
In the *DCP* window, chdir to the **build** folder and execute: **cmake -G "NMake Makefiles" ..** (do not forget the trailing dots, it points to the folder containing CMakeLists.txt).
Now you have initialized the make environment (for *nmake*) and by executing **nmake** in that same **build** folder, all SDK libraries and finally the Pi Pico loadable file **uSDR.uf2** will be created.
*Note that when environment errors are encountered, it may help to empty the build folder and re-issue the cmake command.*
Rebooting the Pico while the bootsel button is pressed will open a Windows Explorer window with the Pico shown as a Mass Storage Device (e.g. drive E:). Moving **uSDR.uf2** to the Pico is as easy as dragging and dropping this file into that MSD.
## Releases: