01:33
starblue has quit [Ping timeout: 268 seconds]
01:35
starblue has joined #rust-embedded
02:10
emerent has quit [Ping timeout: 260 seconds]
02:10
emerent has joined #rust-embedded
02:23
causal has joined #rust-embedded
03:00
fargoth has joined #rust-embedded
05:20
fargoth has quit [Ping timeout: 265 seconds]
06:47
stixp has joined #rust-embedded
07:12
stixp has quit [Quit: leaving]
08:57
<
re_irc >
<chaosprint> Is there any embedded platform that uses Rust as the default developing language?
09:08
<
re_irc >
<K900> Depends on what you mean by "platform"
09:11
<
re_irc >
<chaosprint> K900: like stm32...
09:12
<
re_irc >
<K900> Then it depends on what you mean by "default"
09:12
<
re_irc >
<K900> Rust is officially supported on a bunch of Espressif chips
09:12
<
re_irc >
<K900> Straight from the vendor
09:12
<
re_irc >
<K900> But they also support X
09:12
<
re_irc >
<K900> * C
09:12
<
re_irc >
<K900> Does that count?
09:12
<
re_irc >
<chaosprint> That's great to know
09:13
<
re_irc >
<K900> Also, there's feature complete HALs for STM32, nRF51, RP2040 and others
09:13
<
re_irc >
<K900> That I believe all of those vendors are at least aware of
09:14
<
re_irc >
<chaosprint> K900: which is mainly maintained by community I guess
09:14
<
re_irc >
<K900> Yes, but it doesn't really matter that much
09:14
<
re_irc >
<K900> As the platform is basically a fixed API
09:14
<
re_irc >
<K900> So HALs don't need any secret knowledge to write
09:17
<
re_irc >
<K900> The vendors provide enough documentation for the hardware to basically write bare metal if you want
09:17
<
re_irc >
<K900> And many people actually do that, especially in C
09:17
<
re_irc >
<K900> So vendor support is less important
09:18
<
re_irc >
<K900> Vendor support for the software, that id
09:18
<
re_irc >
<K900> * is
09:19
<
re_irc >
<chaosprint> K900: I see. Thank you so much!
13:02
dc740 has joined #rust-embedded
13:57
fargoth has joined #rust-embedded
14:32
Lumpio- has quit [Quit: WeeChat 3.1-dev]
14:32
Lumpio- has joined #rust-embedded
15:25
fargoth has left #rust-embedded [WeeChat 3.6]
16:19
dc740 has quit [Remote host closed the connection]
16:45
dc740 has joined #rust-embedded
16:51
ska has joined #rust-embedded
17:12
dc740 has quit [Remote host closed the connection]
20:21
creich has joined #rust-embedded
20:55
creich has quit [Quit: Leaving]
23:15
<
re_irc >
<dkhayes117> I'm working on sending UDP packets over LTE-M using CoAP protocol. The coap-lite crate requires alloc, and I'm using alloc-cortex-m.
23:15
<
re_irc >
When I try to actually send data with the CoAP stuff, I'm getting out of memory errors. Any suggestions about debugging?
23:15
<
re_irc >
#[global_allocator]
23:15
<
re_irc >
static ALLOCATOR: CortexMHeap = CortexMHeap::empty();
23:19
<
re_irc >
<dkhayes117> Ah shoot, I may have forgot to "init()" the allocator!
23:20
tafa has joined #rust-embedded
23:59
causal has quit [Quit: WeeChat 3.6]