

Github GitHub - beef331/picotemplate: A Nim raspberry pi pico project template
source link: https://github.com/beef331/picotemplate
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Raspberry Pi Pico template project
Dependencies:
All Nim dependencies can be fetched(after nimble is installed, I suggest using choosenim for installing Nim.) with, nimble install --depsOnly
.
Since we're using the C project all of the dependencies apply from the pico-sdk, so fetch all those aswell.
How To Use
Clone this repo, copy your nimbase.h
into the csource folder(If using choosenim can be found at ~/.choosenim/toolchains/$yourNimVersion/lib/nimbase.h
).
Navigate to the build folder and run cmake ..
(This will take some time since fetching pico-sdk through git).
Then run nimble make
and copy csource/build/pico_nim.uf2
to the pico when it's in bootsel mode.
If this errors try resaving the csource/CMakeLists
file.
Finally with that image running you can nimble listen
which should listen to the pico on the usb uart, printing the message in the pico_nim.nim
file.
Now you can write any code you want using the picostdlib
.
Licenses
The Cmake files are licensed under BSD 3-Clause
Recommend
-
8
Meet Raspberry Silicon: Raspberry Pi Pico now on sale at $4 Today, we’re launching our first microcontroller-class product: Raspberry Pi Pico. Priced at just $4, it is built on RP2040, a brand-new chip developed right h...
-
10
Matrix 首页推荐 Matrix 是少数派的写作社区,我们主张分享真实的产品体验,有实用价值的经验与思考。我们会不定期挑选 Matrix 最优质的文章,展示来自用户的最真实的体验和观点。 文章代表作者个人观点,少数派仅对标题...
-
11
Raspberry Pi 推出 MCU 產品 PicoRaspberry Pi 推出了新的產品線 Raspberry Pi Pico,基於
-
6
树莓派发布4美元微控制器RaspBerry Pi Pico – 开源派 树莓派基金会官方发布首款微控制器级产品 Raspberry Pi Pico,售价4 美元。微控制器树莓派 Pi Pico 可以处理模拟输入和低延迟 I/O,还提供非常低功耗的待机模式。官网商城还有带预焊接接头的 R...
-
10
The Raspberry Pi Pico is a new $4 microcontroller January 21, 2021
-
42
How to add Ethernet to Raspberry Pi Pico Raspberry Pi Pico has a lot of interesting and unique features, but it doesn’t have networking. Of course this was only ever going to be a temporary inconvenience, and sure enoug...
-
12
Bulgarian hardware manufacture Olimex has released a Raspberry Pi Pico compatible baseboard that adds display and sound capabilities to the RP2040 powered microcontroller. Alongside the baseboard, Olimex has released its own boar...
-
8
Introduction The Raspberry Pi Pico is the Raspberry Foundation’s first entry into the domain of Arduino style...
-
13
Neotron Pico A Neotron system powered by the Raspberry Pi Pico, in a micro-ATX form-factor. The Neotron Pico is based around the idea of the
-
10
pico-zxspectrum 48k/128k ZX Spectrum for Raspberry Pico Pi RP2040
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK