oter has joined ##openfpga
laintwo has quit [Quit: kthxbai]
mndza has quit [Ping timeout: 246 seconds]
Thorn has quit [Ping timeout: 265 seconds]
laintoo has joined ##openfpga
Degi_ has joined ##openfpga
Degi_ is now known as Degi
Degi has quit [Ping timeout: 246 seconds]
genii has quit [Quit: GOLF.. err... GO LEAFS GO!]
_whitelogger has joined ##openfpga
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
Bike has quit [Quit: Lost terminal]
kiboneu has quit [Quit: bye.]
kiboneu has joined ##openfpga
cr1901_modern has quit [Ping timeout: 260 seconds]
cr1901_modern has joined ##openfpga
Guest66867 has joined ##openfpga
s_frit has quit [Ping timeout: 256 seconds]
Guest66867 has quit [Ping timeout: 246 seconds]
emeb_mac has quit [Quit: Leaving.]
s_frit has joined ##openfpga
ym has joined ##openfpga
srk has quit [Ping timeout: 268 seconds]
srk has joined ##openfpga
tokomak has joined ##openfpga
mumptai has joined ##openfpga
jjeanthom has joined ##openfpga
jjeanthom has quit [Remote host closed the connection]
jjeanthom has joined ##openfpga
oter has quit [Quit: Textual IRC Client: www.textualapp.com]
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
mndza has joined ##openfpga
<pie_> If I want to do some home automation stuff over wifi, but I want to use https://github.com/rtic-rs/cortex-m-rtic/ , does it make sense to get an esp and treat it as some sort of communications coprocessor for some other mcu with a cortex in it? I don't have much embedded experience but it can't be that hard to program some MCUs :P
<zyp> I'm not sure how that is relevant to this channel
<zyp> but yes, using an esp32 only to add connectivity to another device is a valid application
<LoneTech> for an example, the Radiona ULX3S uses an ESP32 for connectivity
<LoneTech> note: the ESP32 does not have ARM processors, it has Xtensa
<pie_> zyp: yeah I don't usually do electronics but when I do I end up asking people here x)
<pie_> LoneTech: yeah, I'm looking at the rust RTIC package and it seems neat, but I also want wifi, so thats why I'm looking at two MCUs, because the esp isnt supported in rtic (yet?)
<pie_> So I want something that can do RTIC and something that can do wifi
<pie_> but I could also just look into getting a wifi module for an arm chip.
<pie_> Might be more educational and flexible to do the more complicated variant. The simpler one might be better for learning curve.
<zyp> have you considered just looking for other rust libs that supports esp32?
<pie_> Thats also an option but the I don't get to use RTIC :p
<pie_> but yeah I should consider that, thanks. It probably crossed my mind and then I forgot while being focused on $SHINYTOYS
<pie_> I'm looking at trying to do some dorm room automation.
<LoneTech> https://www.adafruit.com/product/4000 ... though it feels as silly as that arduino board with a USB-capable MCU just to program the old mega328
<zyp> in general it's more useful to pick libs based on what you want to do, rather than pick what you want to do based on what libs you want to use :)
<pie_> Valid.
<zyp> that said, personally I'd probably also do a similar approach -- I'm not very interested in learning the xtensa architecture and have been staying away from esp32 for that reason
<pie_> I guess since I'm here anyway, do you have any recommended learning resources / meta-resources, or should I just look for "awesome-embedded" or something?
<LoneTech> it's just a cpu. that architecture is best left to the compiler
<zyp> although the esp32-c3 might change that, since it comes with a risc-v instead of xtensa
<pie_> Wow fancy
<zyp> LoneTech, that is assuming you can get a decent compiler toolchain for it :)
<LoneTech> RV32IMC instruction set. so multiply and divide, and compressed instructions. not so fancy
<zyp> last I checked the provided packages of xtensa-gcc were fairly outdated
<pie_> I think someone mentioned something about llvm work for ESP. but maybe that's for the RISCV variant hen? I didn't look into it.
<LoneTech> platformio seems to install gcc 5.2, which indeed is old. but what did you need from it?
<zyp> C++20 :)
<LoneTech> right. released yesterday and not completely supported by anything.
<zyp> gcc10 supports pretty much everything except modules, and I've got decent gcc10.2 toolchains for both cortex-m and risc-v here
<zyp> I have actual working code here that's using C++20 coroutines for cooperative multitasking, that have been tested on both cortex-m and risc-v
<LoneTech> I wonder why they'd ship a particularly old gcc. it's not like xtensa support was dropped, gcc 9 at least still has it
<zyp> probably just the effort of updating, testing and shipping, I'd guess
<zyp> «good enough for the SDK, why bother updating»
<LoneTech> though that doesn't need to limit platformio
<LoneTech> debian has gcc packaged for the 8266 but not the 32
<zyp> do they require different packages?
<zyp> I were of the impression the cpu were the same
<LoneTech> same brand, which doesn't mean same ISA. 8266 has LX106 and 32 has LX6
<LoneTech> I don't know if they differ much
<zyp> ah, right, I haven't looked that deeply into it
<LoneTech> same here
<zyp> here's an excerpt of what I'm doing with C++20 if you're interested: https://paste.jvnv.net/view/eHBqg
<LoneTech> looks like they are of the same generation (LX) and share a base instruction set, though both may have extensions
<LoneTech> adding toolchain-xtensa32@>3.8 in platformio.ini caused it to install GCC 8.2
<LoneTech> the crosstool-NG repo indicates they have built 8.4. no 9 or 10 there though
<LoneTech> platform-espressif32 3.0.0 released today. still just 8.4 toolchain
<zyp> yeah, gcc8 was the newest I found last I checked too
<LoneTech> I don't see a particular reason why using a later compiler with it wouldn't work, but I don't feel like making the attempt currently
Bike has joined ##openfpga
<zyp> I also imagine that gcc10 should work fine with xtensa, I'm just not interested in jumping through hoops to build a working toolchain myself
<LoneTech> like I said, Debian has gcc 10.2 packaged for esp8266 use
<LoneTech> it could be as simple as CC=xtensa-lx106-elf-gcc for esp-idf
<LoneTech> I don't know, haven't messed about with compiling things for the esp32 for a long time.. did some micropython patch for the lopy
<LoneTech> while I prefer leaving toolchain maintenance to others, my next task in that category remains spartan6 bitstream mapping
emeb_mac has joined ##openfpga
emeb_mac has quit [Quit: Leaving.]
indy has quit [Ping timeout: 246 seconds]
indy has joined ##openfpga
jjeanthom has quit [Ping timeout: 260 seconds]
jjeanthom has joined ##openfpga
flammit has quit [Ping timeout: 272 seconds]
cblam_ has quit [Read error: Connection reset by peer]
cblam_ has joined ##openfpga
flammit has joined ##openfpga
m4gul0_ has quit [Ping timeout: 260 seconds]
m4gul0_ has joined ##openfpga
unkraut has joined ##openfpga
Guest66867 has joined ##openfpga
s_frit has quit [Ping timeout: 265 seconds]
oeuf has quit [Ping timeout: 272 seconds]
oeuf has joined ##openfpga
Thorn has joined ##openfpga
tokomak has quit [Read error: Connection reset by peer]
oeuf has quit [Read error: Connection reset by peer]
Thorn has quit [Ping timeout: 246 seconds]
mndza has quit [Read error: Connection reset by peer]
mndza has joined ##openfpga
ktemkin has quit [Read error: Connection reset by peer]
vsidou has quit [Read error: Connection reset by peer]
ktemkin has joined ##openfpga
yuriks has quit [Read error: Connection reset by peer]
vsidou has joined ##openfpga
jeandet has quit [Read error: Connection reset by peer]
daveshah has quit [Ping timeout: 264 seconds]
yuriks has joined ##openfpga
jeandet has joined ##openfpga
daveshah has joined ##openfpga
jjeanthom has quit [Ping timeout: 240 seconds]
Thorn has joined ##openfpga