Hi, for a project with friends I'm gonna try and dig pd for freertos and esp32... so I wonder, how crazy would it be to compile externals for it, like quite simple ones coded in plain c, no great dependencies? thanks
Am 19. Mai 2023 21:39:52 MESZ schrieb Alexandre Torres Porres porres@gmail.com:
Hi, for a project with friends I'm gonna try and dig pd for freertos and esp32... so I wonder, how crazy would it be to compile externals for it, like quite simple ones coded in plain c, no great dependencies? thanks
Compiling: not very crazy, esp when using pd-lib-builder. Just get the toolchain and configure the compiler (CC, CXX,... variables)
Running might be more complicated, depending on the demands of externals...
And no: I haven't done this myself yet...
mfg.sfg.jfd IOhannes
Em sáb., 20 de mai. de 2023 às 04:15, IOhannes m zmölnig zmoelnig@iem.at escreveu:
Running might be more complicated, depending on the demands of externals...
can you give me a potentially problematic example?
Am 20. Mai 2023 15:03:49 MESZ schrieb Alexandre Torres Porres porres@gmail.com:
Em sáb., 20 de mai. de 2023 às 04:15, IOhannes m zmölnig zmoelnig@iem.at escreveu:
Running might be more complicated, depending on the demands of externals...
can you give me a potentially problematic example?
Exhausting memory...
mfg.sfg.jfd IOhannes
On 5/20/23 09:14, IOhannes m zmölnig wrote:
Am 19. Mai 2023 21:39:52 MESZ schrieb Alexandre Torres Porres porres@gmail.com:
Hi, for a project with friends I'm gonna try and dig pd for freertos and esp32... so I wonder, how crazy would it be to compile externals for it, like quite simple ones coded in plain c, no great dependencies? thanks
Compiling: not very crazy, esp when using pd-lib-builder. Just get the toolchain and configure the compiler (CC, CXX,... variables)
actually: scrap that.
instead build your esp-pd with your "external" statically linked in (that is: add your external source file(s) to the Pd-sources, and initialize it with your wrapper code)
gasdmr IOhannes