Forum > Beginners
Start project for Raspberry pi PICO
jb007:
Hi,
allready coding in lazarus for some years.
Mostly in combination with microcontrollers.
PC-side: LAZARUS
<- serial (rx/tx) cominication ->
mController-side: Arduino/AVR: mircoPascal for AVR ( from www.mikrroe.com )
Next step is coding in Pascal for the rtaspberry pi PICO.
I did a full PICO ( inlcuding lazarus ) install by using FPCUPdeluxe from
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases
selected: fpcupdeluxe-x86_64-win64.exe
Install with no errors.
How do I, during creating a new project, choose that I want a project for the pi PICO?
Allready struggling for a while...
Tnx in advance. Marcel
pascal111:
"Raspberry", it seems nice electronic piece. One day I'll program one of it, I can't get one in my current state.
af0815:
--- Quote from: jb007 on July 03, 2022, 07:54:55 pm ---How do I, during creating a new project, choose that I want a project for the pi PICO?
--- End quote ---
You have created a crosscompiler for pi PICO with fpcupdeluxe. In your project-options (Menu->Project-Project Option) you can set in CompilerOption->Config and Target the correct Target (embedded), Target CPU (arm) and processor. (I dont know the actual value for the pico).
You must not define it at projectstart and you can have multiple targets in one project (one of a lot of Lazarus featrues)
MarkMLl:
See thread at https://forum.lazarus.freepascal.org/index.php/topic,59458.0.html
MarkMLl
jb007:
Tnx for your replies.
Navigation
[0] Message Index
[#] Next page