Sujet : Re: F2FS On USB Sticks?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.miscDate : 30. Mar 2025, 01:31:45
Autres entêtes
Message-ID : <m4rhngFdkg1U1@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
User-Agent : Pan/0.160 (Toresk; )
On Sat, 29 Mar 2025 19:59:34 +0000, The Natural Philosopher wrote:
On 29/03/2025 17:20, rbowman wrote:
On Sat, 29 Mar 2025 13:44:58 +0000, The Natural Philosopher wrote:
On 29/03/2025 04:18, c186282 wrote:
For today's uses, esp for newbies, the Pico is likely
one of your best choices.
Getting the SDK installed and working is non trivial. Getting Cmake to
do what's wanted is non trivial...
"Getting started with Raspberry Pi Pico-series"
https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
If you can't follow that you probably shouldn't be messing with a Pico
without adult supervision.
You may follow it., bit it doesn't always work...
I'm certain people can figure out how to fuck it up.
1. Install VS Code 2. Install the Raspberry Pi Pico VS Code Extension
3. Compile and run 'blink'
"The extension will now download the SDK and the toolchain, install
them locally, and generate the new project. The first project may take
5-10 minutes to install the toolchain. VS Code will ask you whether you
trust the authors because we’ve automatically generated the .vscode
directory for you. Select yes."
On some Linux distros you may have to install python, git, tar, and
build-
essentials.
And cmake ...
To repeat:
"The first project may take >> 5-10 minutes to install the toolchain."
The toolchain includes cmake.
Have you actually done this yourself?
Yes, most recently with the Pico2 W I got last week. The Raspberry Pi
Pico extension allows you to specify the board and correctly handles the
Pico W and Pico 2 W boards.
// Pico W devices use a GPIO on the WIFI chip for the LED,
// so when building for Pico W, CYW43_WL_GPIO_LED_PIN will be defined
#ifdef CYW43_WL_GPIO_LED_PIN
#include "pico/cyw43_arch.h"
#endif
Because the onboard LED is integrated with the WiFi chip the procedure is
more complicated than the the non-W blink.
And before you ask, I have also used CircuitPython, MicroPython, and the
Arduino framework with the Pico to compare them. For a Python solution I
prefer MicroPython since it handles interrupts and _utilizing the second
core. I have not yet tried the RISC-V core in the Pico 2. MicroPython also
has a decorator that allows for inline PIO programming that I do not
believe CircuitPython has.
The Arduino core approach allows using the C/C++ structure familiar to
many people but I'm sure at some point if you need to get down into the
weeds to do bit-twiddling in the registers you would need to use the RPi
C/C++ SDK.