!zbjndUiYJDvhDRkPGw:matrix.org

rp-rs

553 Members
Rust on the Raspberry Pi Microcontrollers/Pico https://github.com/rp-rs 58 Servers

Load older messages


SenderMessageTime
7 Apr 2024
@jannic:matrix.orgjannicAlthough that's not a high bar, the BSPs don't provide many features on their own. It might be fairer to compare to the examples which are bundled with the BSPs.21:04:42
@jannic:matrix.orgjannicAnd the examples are another issues where our current approach doesn't scale well: The examples provided with the BSPs are specific for one BSP, even if they would work equally well for other BSPs. And it's not obvious which examples are BSP specific and which are generic.21:07:33
@jannic:matrix.orgjannicLOL I tried to ask phind.com if it could generate the initialization code needed in case one has a board with a 24MHz crystal. (The question is a little bit mean as the rp2040 doesn't even support 24MHz crystals AFAIK). First it ignored that and generated code assuming the default 12MHz crystal. Specifically asking it to correct the code for a 24MHz crystal, it gave a long answer without much helpful content, ending with: "For a more straightforward approach, you might consider reaching out to the RP2040 SDK community or the maintainers of the rp2040-hal crate for guidance on best practices for configuring the clock system with a 24MHz crystal. They might offer insights or even provide a more straightforward way to achieve this configuration that hasn't been widely documented yet."21:17:49
@jannic:matrix.orgjannicAt least it didn't hallucinate.21:18:36
@ithinuel:matrix.orgithinuel This is rp2040-project-template 21:26:37
@ithinuel:matrix.orgithinuel It's been recently updated to select the flash tool. The same can be done to select the bsp. 21:27:23
@9names:matrix.org9names

Well I ended up generating all the tags, the automation for it was pretty trivial.
That's really my problem here, I have no issue maintaining low-value things as long as it's low effort. I already have a few scripts that make most of the release work low-effort, but updating the change log per BSP is high effort.

Next time, if it's not already in the change log at release time, I won't add it. Just released version + release date.

22:10:20
8 Apr 2024
@adoerr:matrix.organdreas changed their profile picture.05:30:11
@thejpster:matrix.orgthejpsterMaybe we should have a bot that tells you off for not updating CHANGELOGs08:51:08
@ithinuel:matrix.orgithinuel I've seen such things in the past. I think Protbe-rs is using one (at least there's a check for it that can be optionally by passed). 09:08:20
@thejpster:matrix.orgthejpster I think they also run a split CHANGELOG which they merge on release. Avoids merge conflicts in PRs. Weird, but neat. 09:40:40
@9names:matrix.org9namesyeah changelog merge conflicts suck. the probe-rs approach is better, but I honestly don't love the extra friction when making a PR.11:04:52
@9names:matrix.org9namesguess if it saves maintainers a bit of effort it's worth causing a bit more to contributors...11:06:03
@poikgik:matrix.org@poikgik:matrix.org joined the room.19:24:04
@poikgik:matrix.org@poikgik:matrix.org left the room.19:24:25
9 Apr 2024
@msmorgan:matrix.orgmsmorgan joined the room.06:47:17
@msmorgan:matrix.orgmsmorganI've seen references to ongoing work to support async/await for rp2040-hal. Where can I find more information about this?06:52:16
@ithinuel:matrix.orgithinuelHere’s the right place. What would you like to know?06:54:31
@rohe9:matrix.orgrohe9 joined the room.13:35:36
@msmorgan:matrix.orgmsmorganWhat's the current status? Can I help test or contribute?18:35:25
@ithinuel:matrix.orgithinuel I started making some progress on making i2c-pio async (and the required changes in pio).
It proved more complicated than expected and I then got busy with other tasks so I didn't finish that yet.

I haven't touched other peripherals such as spi.
Timer would be a bit special as it provides a different sort of service to the system.
18:37:51
@dirbaio:matrix.orgdirbaio
In reply to @msmorgan:matrix.org
I've seen references to ongoing work to support async/await for rp2040-hal. Where can I find more information about this?
if you want production-ready async on rp2040 now, there's embassy-rp
18:39:09
@msmorgan:matrix.orgmsmorganIt doesn't need to be prod ready, I'm just dabbling18:42:26
15 Apr 2024
@haobogu:matrix.orghaobogu set a profile picture.03:21:36
16 Apr 2024
@tzerie:matrix.orgtzerie joined the room.18:49:01
17 Apr 2024
@skoocda:matrix.orgskoocda joined the room.04:10:22
@papitadequeso:matrix.org@papitadequeso:matrix.org joined the room.05:44:27
@papitadequeso:matrix.org@papitadequeso:matrix.org left the room.05:44:55
@p__q:matrix.orgp__q joined the room.18:58:01
18 Apr 2024
@greengenie:matrix.orgAdam Hott joined the room.21:04:22

There are no newer messages yet.


Back to Room ListRoom Version: 6