7 Apr 2024 |
jannic | Although 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 | And 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 | LOL 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 | At least it didn't hallucinate. | 21:18:36 |
ithinuel | This is rp2040-project-template | 21:26:37 |
ithinuel | It's been recently updated to select the flash tool. The same can be done to select the bsp. | 21:27:23 |
9names | 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 |
| andreas changed their profile picture. | 05:30:11 |
thejpster | Maybe we should have a bot that tells you off for not updating CHANGELOGs | 08:51:08 |
ithinuel | 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 | 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 | yeah 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 | guess if it saves maintainers a bit of effort it's worth causing a bit more to contributors... | 11:06:03 |
| @poikgik:matrix.org joined the room. | 19:24:04 |
| @poikgik:matrix.org left the room. | 19:24:25 |
9 Apr 2024 |
| msmorgan joined the room. | 06:47:17 |
msmorgan | I'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 | Here’s the right place. What would you like to know? | 06:54:31 |
| rohe9 joined the room. | 13:35:36 |
msmorgan | What's the current status? Can I help test or contribute? | 18:35:25 |
ithinuel | 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 | 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 | It doesn't need to be prod ready, I'm just dabbling | 18:42:26 |
15 Apr 2024 |
| haobogu set a profile picture. | 03:21:36 |
16 Apr 2024 |
| tzerie joined the room. | 18:49:01 |
17 Apr 2024 |
| skoocda joined the room. | 04:10:22 |
| @papitadequeso:matrix.org joined the room. | 05:44:27 |
| @papitadequeso:matrix.org left the room. | 05:44:55 |
| p__q joined the room. | 18:58:01 |
18 Apr 2024 |
| Adam Hott joined the room. | 21:04:22 |