Pico multicore

Liste des GroupesRevenir à se design 
Sujet : Pico multicore
De : wwm (at) *nospam* wwmartin.net (wmartin)
Groupes : comp.sys.raspberry-pi sci.electronics.design
Date : 20. Aug 2024, 04:18:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va11ve$37o2u$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
Hi All,
Anyone doing stuff with both cores on the Pico? I just grabbed the Pico extension for Visual Code to poke it & see what it does, had an interesting first adventure. It does not seem to know anything about setting up a muticore project, so I had it generate a simple project that it did understand, just "example" level stuff, replaced the generated .c file with my own little test case...#include "pico/multicore.h" is not findable. So, looking at the generated compiler commands file, I added in a -I/home/.../include explicitly to see what happens. No change, still not found. hmm. Is there some magic caching going on here? Next, I added a -D for the multicore library,
still no change. Noticed that I had forgotten to add the pico_multicore lib to the CMakeLists.txt file and behold it builds now, no missing .h files. So my "solution" isn't really good for anything more than a casual kicking the tires thing, and I'd really appreciate it if sommeone could guide me a little on how to do this "right". Do I just have to wait for the VSCode extension to get smarter, or is there a better way to get those .h & .lib paths known to the compiler?
Thanks,
Bill

Date Sujet#  Auteur
11 Aug 24 * Re: New Pico239John Larkin
11 Aug 24 +- Re: New Pico21Andy Burns
12 Aug 24 +* Re: New Pico211Ahem A Rivet's Shot
12 Aug 24 i+- Re: New Pico21Kerr-Mudd, John
12 Aug 24 i+* Re: New Pico22Single Stage to Orbit
12 Aug 24 ii`- Re: New Pico21Don Y
12 Aug 24 i`* Re: New Pico27Theo
12 Aug 24 i +* Re: New Pico24Phil Hobbs
12 Aug 24 i i+* Re: New Pico22druck
12 Aug 24 i ii`- Re: New Pico21David Higton
13 Aug 24 i i`- Re: New Pico21Jan Panteltje
12 Aug 24 i +- Re: New Pico21Don Y
12 Aug 24 i `- Re: New Pico21Dennis
12 Aug 24 `* Re: New Pico226Lasse Langwadt
13 Aug 24  `* Re: New Pico225John Larkin
13 Aug 24   +* Re: New Pico222Lawrence D'Oliveiro
13 Aug 24   i+- Re: New Pico21mm0fmf
13 Aug 24   i`* Re: New Pico220John Larkin
13 Aug 24   i +- Re: New Pico21The Natural Philosopher
22 Aug 24   i `* Re: New Pico218Gerhard Hoffmann
22 Aug 24   i  `* Re: New Pico217Jan Panteltje
22 Aug 24   i   `* Re: New Pico216druck
23 Aug 24   i    +* Re: New Pico211Jan Panteltje
23 Aug 24   i    i`* Re: New Pico210Lawrence D'Oliveiro
23 Aug 24   i    i +- Re: New Pico21Jan Panteltje
23 Aug 24   i    i +* Re: New Pico27Jan Panteltje
24 Aug 24   i    i i+* Re: New Pico24Lawrence D'Oliveiro
24 Aug 24   i    i ii`* Re: New Pico23Jan Panteltje
24 Aug 24   i    i ii `* Re: New Pico22Ahem A Rivet's Shot
26 Aug 24   i    i ii  `- Re: New Pico21Lawrence D'Oliveiro
24 Aug 24   i    i i`* Re: New Pico22Ahem A Rivet's Shot
26 Aug 24   i    i i `- Re: New Pico21Lawrence D'Oliveiro
23 Aug 24   i    i `- Re: New Pico21Theo
23 Aug 24   i    `* Re: New Pico24The Natural Philosopher
23 Aug 24   i     `* Re: New Pico23Ahem A Rivet's Shot
23 Aug 24   i      `* Re: New Pico22The Natural Philosopher
24 Aug 24   i       `- Re: New Pico21Andy Burns
19 Aug 24   `* Re: New Pico22john larkin
20 Aug 24    `- Pico multicore1wmartin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal