Difference between revisions of "ARM Embedded Tutorials"
(→Hardware: Add RPi Pico hardware tutorials) |
(→Set up driver / cross compiler / IDE: Incorporate RPi Pico tutorials into the main ARM page) |
||
Line 6: | Line 6: | ||
== Set up driver / cross compiler / IDE == | == Set up driver / cross compiler / IDE == | ||
+ | |||
+ | === STM32 === | ||
* [[ARM Embedded Tutorial - Entry FPC and STM32|Introduction to STM32 and FPC]] - How do I set up FPC / IDE (MSEide) to program an STM32F103C? | * [[ARM Embedded Tutorial - Entry FPC and STM32|Introduction to STM32 and FPC]] - How do I set up FPC / IDE (MSEide) to program an STM32F103C? | ||
− | * [[ARM Embedded Tutorial - | + | === Raspberry Pi Pico === |
+ | |||
+ | 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. | ||
+ | |||
+ | * [[ARM Embedded Tutorial - Installing Lazarus and Free Pascal]] | ||
+ | * [[ARM Embedded Tutorial - Raspberry Pi Pico Setting up for Development]] | ||
== ARM programming Examples == | == ARM programming Examples == |
Revision as of 02:38, 1 February 2021
Template:ARM Embedded Tutorial
Overview
Tutorials for programming ARM microcontrollers with FPC and Lazarus. This applies, for example, to the STM32 microcontrollers and RP2040 (Raspberry Pi Pico) microcontroller.
Set up driver / cross compiler / IDE
STM32
- Introduction to STM32 and FPC - How do I set up FPC / IDE (MSEide) to program an STM32F103C?
Raspberry Pi Pico
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.
- ARM Embedded Tutorial - Installing Lazarus and Free Pascal
- ARM Embedded Tutorial - Raspberry Pi Pico Setting up for Development
ARM programming Examples
Hardware
- GPIO - output and input - How to make a GPIO output
- Simple timer - A simple timer
- ARM Embedded Tutorial - Raspberry Pi Pico Blinking the onboard LED - Raspberry Pi Pico blinking the onboard LED
- ARM Embedded Tutorial - Raspberry Pi Pico running at full CPU speed - Raspberry Pi Pico running at full CPU speed
- ARM Embedded Tutorial - Raspberry Pi Pico saying Hello via UART - Raspberry Pi Pico saying Hello via UART
See also
- Examples (external)
- ARM - Cross compiler
- AVR Embedded Tutorials - Tutorials for AVR Embedded/Arduino