Thanks Leigh
I'll go searching. I'd read about ESP32 2nd core but don't recall offhand the Pico.
Regards
RP2040 ram and rom usage?
-
- Valued Contributor
- Posts: 1608
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
-
- Valued Contributor
- Posts: 458
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 82 times
- Been thanked: 246 times
Re: RP2040 ram and rom usage?
No, neither can I 
I did a demo (2 years ago, as Google Photos reminded me yesterday!) that I thought had gone onto either a forum or the WiKi.
A simple program that flashes an LED from each core.
I'm hoping I still have it on my PC, I'm not in a position to check for a few days.
But if not, it shouldn't be too difficult for me to re-create it, but it's likely next week before I get chance.

I did a demo (2 years ago, as Google Photos reminded me yesterday!) that I thought had gone onto either a forum or the WiKi.
A simple program that flashes an LED from each core.
I'm hoping I still have it on my PC, I'm not in a position to check for a few days.
But if not, it shouldn't be too difficult for me to re-create it, but it's likely next week before I get chance.
-
- Valued Contributor
- Posts: 458
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 82 times
- Been thanked: 246 times
Re: RP2040 ram and rom usage?
I think I might have found something (cloud backup proved worthwhile)
I haven't access to Flowcode at the moment to check this, but please try attached.
Things to note are the supplementary header code and some C code in Main.
Hope it loads
I haven't access to Flowcode at the moment to check this, but please try attached.
Things to note are the supplementary header code and some C code in Main.
Hope it loads

- Attachments
-
- LED Flash 2 core.fcfx
- (8.45 KiB) Downloaded 530 times
-
- Valued Contributor
- Posts: 1608
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 357 times
- Been thanked: 565 times
Re: RP2040 ram and rom usage?
Hi Leigh
Thanks for this. I won't be able to try until later in the week and I assume I'll need to grab multicore.h from GIT or such like?
Regards
Thanks for this. I won't be able to try until later in the week and I assume I'll need to grab multicore.h from GIT or such like?
Regards
Re: RP2040 ram and rom usage?
So I pasted the location into the include and that got around the not found file.
It doesn't like the launch core 1
Code: Select all
dir/C_/pico-sdk/src/rp2_common/hardware_i2c/i2c.c.obj
[ 88%] Linking CXX executable flowcode.elf
c:/progra~2/gnuarm~1/102020~1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles\flowcode.dir\flowcode.c.obj: in function `main':
flowcode.c:(.text.startup.main+0xa): undefined reference to `multicore_launch_core1'
collect2.exe: error: ld returned 1 exit status
Re: RP2040 ram and rom usage?
Ok no problem. FYI this is what the .h has.
Code: Select all
void multicore_reset_core1(void);
void multicore_launch_core1(void (*entry)(void));