Difference between revisions of "ARM Embedded Tutorial - FPC and the Raspberry Pi Pico"

From Lazarus wiki
Jump to navigationJump to search
m
Line 12: Line 12:
  
 
[[ARM Embedded Tutorial - Installing Lazarus and Free Pascal]]
 
[[ARM Embedded Tutorial - Installing Lazarus and Free Pascal]]
 +
 +
To prepare a PicoProbe and to setup Lazarus please follow this guide:
  
 
[[ARM Embedded Tutorial - Raspberry Pi Pico Setting up for Development]]
 
[[ARM Embedded Tutorial - Raspberry Pi Pico Setting up for Development]]
 +
 +
Now we are ready for our first Program, as practice in the embedded programming world we start with blinking the on-board LED:
  
  
 +
[[ARM Embedded Tutorial - Raspberry Pi Pico Blinking the onboard LED]]
  
 
This page is WIP, I received my Boards on 29.01.2021, upgrading it as I go....
 
This page is WIP, I received my Boards on 29.01.2021, upgrading it as I go....

Revision as of 15:00, 30 January 2021

The Raspberry Pi Foundation has released the Raspberry Pi Pico, a very cheap Microcontroller board with quite interesting specs.

More Details here:

Raspberry Pi Pico Specifications

To best use this tutorial you will need to buy (at least) two Raspberry Pi Pico, we will use one as a target and the second one as a debug probe. Do yourself a favour, invest $4 for a second device, being able to debug is worth so much more.

As the Pico is brand new and support for the board is a work in progress I'd recommend that you set up a dedicated installation of Lazarus and Free Pascal as you will need to use both trunk version of Lazarus and a specially patched version of FPC that includes the necessary adjustments so that FPC knows about the Pico. Also expect changes as we all learn along the way.

To install the required versions of Lazarus and Free Pascal please see here:

ARM Embedded Tutorial - Installing Lazarus and Free Pascal

To prepare a PicoProbe and to setup Lazarus please follow this guide:

ARM Embedded Tutorial - Raspberry Pi Pico Setting up for Development

Now we are ready for our first Program, as practice in the embedded programming world we start with blinking the on-board LED:


ARM Embedded Tutorial - Raspberry Pi Pico Blinking the onboard LED

This page is WIP, I received my Boards on 29.01.2021, upgrading it as I go....