<re_irc_> <@a​damgreig:m​atrix.org> robyoung good idea, I've opened a pr for a new release, hopefully get that done in the next couple days
<re_irc_> <@9​names:m​atrix.org> I did not see that it had that peripheral so I haven't tried it, will test it out today
fabic has joined #rust-embedded
aquijoule_ has joined #rust-embedded
richbridger has quit [Ping timeout: 265 seconds]
<re_irc_> <@f​irefrommoonlight:m​atrix.org> adamgreig - Do you think we could get my Delay PR in before the release? It allows you to use the delay without EH traits. Could then remove Delay from HAL, since it doesn't use anything MCU-specific
<re_irc_> <@a​damgreig:m​atrix.org> firefrommoonlight: i've already merged it :)
<re_irc_> <@f​irefrommoonlight:m​atrix.org> Oh you're right - Thank you!
fabic has quit [Ping timeout: 244 seconds]
emerent has quit [Ping timeout: 250 seconds]
emerent has joined #rust-embedded
fabic has joined #rust-embedded
<re_irc_> <@9​names:m​atrix.org> So I can confirm that the USB-UART+JTAG peripheral on esp32-c3 works, but I do not recommend performing the mod unless you've got SMD soldering experience.
<re_irc_> <@9​names:m​atrix.org> I managed to avoid losing any zero ohm resistors this time, but I'm glad I had spares.
<re_irc_> <@9​names:m​atrix.org> https://www.esp32.com/viewtopic.php?f=12&t=21007#p76800
hifi has quit [Remote host closed the connection]
hifi has joined #rust-embedded
fabic has quit [Ping timeout: 258 seconds]
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 265 seconds]
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 258 seconds]
fabic has joined #rust-embedded
tokomak has joined #rust-embedded
fabic has quit [Ping timeout: 250 seconds]
<re_irc_> <@r​uabmbua:m​atrix.org> Thank you!
<re_irc_> <@r​uabmbua:m​atrix.org> I have to wait until I get my chips, and I am designing some HW for a competition ;-)
<re_irc_> <@r​uabmbua:m​atrix.org> SMD soldering is not going to be an issue, I will design my own PCB anyways
<re_irc_> <@r​uabmbua:m​atrix.org> @9names did you have any success attaching via JTAG, with e.g. openocd?
<re_irc_> <@9​names:m​atrix.org> yep. tested the uart for uploading and attached with espressif's openocd build. haven't tested debugging yet.
<re_irc_> <@r​uabmbua:m​atrix.org> Great. B.t.w. what do you think about the integrated USB serial / JTAG. I think it is an ingenious idea, especially for my use case it is very practical. Would be even nicer, if the USB port was configurable to be used as a normal USB slave
<re_irc_> <@9​names:m​atrix.org> it's a good idea, especially for riscv where we need to use JTAG, and you get another debug printf channel for free.
<re_irc_> <@9​names:m​atrix.org> no, i think it would not work if it also supported device mode unless they put a USB hub in the chip so you could have both.
fabic has joined #rust-embedded
<re_irc_> <@y​ruama_lairba:m​atrix.org> hello, i'd like to know what exist in the world of very cheap single-board computer ?
<re_irc_> <@y​ruama_lairba:m​atrix.org> alternatively, i'dalso liek to know if a cheap MCU dev board with a lot ram exist ?
<re_irc_> <@y​ruama_lairba:m​atrix.org> the cheapest thing i know is the raspberry pi zero
<re_irc_> <@h​ifi:v​i.fi> I'm also interested if there's anything cheaper than the zero and still qualify as an SBC
<re_irc_> <@t​halesfragoso:m​atrix.org> Probably the lichee pi nano
<re_irc_> <@y​ruama_lairba:m​atrix.org> @hifi i'm in fact interested to have a MCU with a lot of RAM around, pi zero seem to qualify even if it's require some hack to use it in this way
<re_irc_> <@t​halesfragoso:m​atrix.org> How much is lots of RAM ? You can find boards for the H750 on ali, which has 1MB (although not continuous)
<re_irc_> <@y​ruama_lairba:m​atrix.org> thalesfragoso: i don't know exactly yet, but i think 1M may a bit short
<re_irc_> <@y​ruama_lairba:m​atrix.org> i plan to do audio effect with it, and effects like delay and reverb easily take a lot of ram
<re_irc_> <@y​ruama_lairba:m​atrix.org> for example, a 2 second stereo delay need ~400k of ram
<re_irc_> <@y​ruama_lairba:m​atrix.org> *if i use 16 bit integer for the data
<re_irc_> <@y​ruama_lairba:m​atrix.org> **ooops, wrong, it's the case i'm using float or 32 bit integer
fabic has quit [Ping timeout: 268 seconds]
<re_irc_> <@y​ruama_lairba:m​atrix.org> thalesfragoso: what boards are you thinking about ? H750/H743 i find on ali are around 30€, it's more than an official nucleo dev board
<re_irc_> <@y​ruama_lairba:m​atrix.org> a raspberry pi zero instead, is less than 6€ on official resellers
<re_irc_> <@y​ruama_lairba:m​atrix.org> okay, this would actually cost me ~18€ because i also need a sd card and because transportation cost
<re_irc_> <@y​ruama_lairba:m​atrix.org> the sdcard cost more than the pi zero itself :(
<re_irc_> <@y​ruama_lairba:m​atrix.org> *i don't want to buy sd card on ali because i think it's mainly crap or counterfait
<re_irc_> <@t​halesfragoso:m​atrix.org> yruama_lairba: Mostly the one from weact, but things got pricier recently
<re_irc_> <@t​halesfragoso:m​atrix.org> Hard to compete with the price of a RPI zero if you can find it at the original price
<re_irc_> <@y​ruama_lairba:m​atrix.org> thalesfragoso: thank for the board reference, seems interesting
<re_irc_> <@y​ruama_lairba:m​atrix.org> this make me think i should try both, rpi zero and weact board :)
<re_irc_> <@y​ruama_lairba:m​atrix.org> as a said, pi zero require some hack to do baremetal programmation
<re_irc_> <@y​ruama_lairba:m​atrix.org> for example, i need to build myself a rust toolchain if i want to do it in rust
<re_irc_> <@y​ruama_lairba:m​atrix.org> worst, i may not able to use many lib of the rust embedded world
<re_irc_> <@t​halesfragoso:m​atrix.org> yruama_lairba: I bought my H7 weact board for about 18usd at the time
<re_irc_> <@y​ruama_lairba:m​atrix.org> thalesfragoso: how you program it ? it require a st-link ?
<re_irc_> <@t​halesfragoso:m​atrix.org> It should have a dfu bootloader, but I use a st-link clone
<re_irc_> <@t​halesfragoso:m​atrix.org> I recommend you to get a debug probe, anyone that talks swd should do it
<re_irc_> <@y​ruama_lairba:m​atrix.org> swd ?
<re_irc_> <@y​ruama_lairba:m​atrix.org> i don't know what it is, i just know i have an otpion set about it in my Embed.toml
<re_irc_> <@t​halesfragoso:m​atrix.org> The protocol used to debug cortex-Ms
<re_irc_> <@y​ruama_lairba:m​atrix.org> this board seems very intersting, but for know i will just use my nucleo-F411RE
<re_irc_> <@y​ruama_lairba:m​atrix.org> even if it will cost to me ~4€ more if i buy it later
<re_irc_> <@y​ruama_lairba:m​atrix.org> we will have VAT taxes applied on all imported stuff as of 1st july
<re_irc_> <@t​halesfragoso:m​atrix.org> yruama_lairba: Seems like a plan
<re_irc_> <@y​ruama_lairba:m​atrix.org> yes, i'm waiting for a exension board from my nucleo from jlcpcb
<re_irc_> <@y​ruama_lairba:m​atrix.org> despite limitation of my current board, i can do a lot stuff with it
<re_irc_> <@y​ruama_lairba:m​atrix.org> and since it's a hobby project, it can take months or year before beeing stuck by my board limitation
fabic has joined #rust-embedded
fabic has quit [Ping timeout: 252 seconds]
SomeWeirdAnon has joined #rust-embedded
SomeWeirdAnon has quit []
creich_ has joined #rust-embedded
creich has quit [Ping timeout: 244 seconds]
tokomak has quit [Ping timeout: 272 seconds]
<re_irc_> <@t​halesfragoso:m​atrix.org> Hmm, what happens if you use the &'static mut given by the #[entry] and #[interrupt] macros to start DMA transfers using embedded-dma, does it even has move semantics ?
<re_irc_> <@t​halesfragoso:m​atrix.org> I actually have to test to see if the compiler would error out
<re_irc_> <@t​halesfragoso:m​atrix.org> But why would it ? Seems like unsoundness...
<re_irc_> <@t​halesfragoso:m​atrix.org> Isn't this basically what it's ?
<re_irc_> <@9​names:m​atrix.org> yruama_lairba: if I were doing a sound effect generator like this, I would implement it in std Rust, and run it on the RPI0 under a minimal RT Linux build.
<re_irc_> <@9​names:m​atrix.org> That way you can quickly prototype the code on your PC, then switch to the target when things are working.
fabic has joined #rust-embedded
<re_irc_> <@y​ruama_lairba:m​atrix.org> 9names: i read somewhere there is a trick to load and run firmware in the ram using the RPI0 usb port
<re_irc_> <@y​ruama_lairba:m​atrix.org> lol, can't find the resource again
<re_irc_> <@9​names:m​atrix.org> It's linked to from the device boot page.
<re_irc_> <@y​ruama_lairba:m​atrix.org> i have a weird issue, i think i spend to much time to dream about what i could do rather than doing something...