Ultibo core: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | [](</File:Raspberry_Pi_Logo.png>) | |
| 2 | 2 | ||
| 3 | + | This article applies to [Raspberry Pi](</Category:Raspberry_Pi> "Category:Raspberry Pi") only. | |
| 4 | + | ||
| 5 | + | See also: [[Multiplatform Programming Guide]] | |
| 6 | + | ||
| 7 | + | Ultibo core is an [[Embedded|embedded]] run-time platform and development environment written specifically for creating applications with small single board computers. It is built around the [[FPC|Free Pascal compiler]] and the [[Lazarus]] [[IDE|integrated development environment]]. Ultibo core is an RTL written entirely in Free Pascal and designed to make embedded or bare metal development accessible to all. | |
| 8 | + | ||
| 3 | 9 | ## Installation | |
| 4 | 10 | ||
| 5 | 11 | ### Windows | |
| 6 | 12 | ||
| 7 | - | ||
| 13 | + | A Windows installer is available and full [[Source code|source]] plus a large collection of examples is included. | |
| 8 | 14 | ||
| 9 | 15 | ### macOS | |
| 10 | 16 | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 17 | - | ||
| 17 | + | * Use FPC 3.1.1 the trunk version (so you have the source) | |
| 18 | + | * Download arm-none-eabi toolchain from <https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-mac.tar.bz2> | |
| 19 | + | * Extract the files in ~/Documents/gcc-arm-none-eabi | |
| 20 | + | * git clone from <https://github.com/ultibohub> at least Core, FPC, and Lazarus | |
| 21 | + | * You have 3 folders now, Core, FPC and Lazarus. Copy ultibo folder from Core/source/rtl/ultibo/ to FPC/source/rtl/ | |
| 22 | + | * type cd FPC/source | |
| 23 | + | * type and wait until it finishes without errors: | |
| 18 | 24 | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | 25 | ``` | |
| 26 | + | make distclean OS_TARGET=ultibo CPU_TARGET=arm SUBARCH=armv7a CROSSBINDIR=~/Documents/gcc-arm-none-eabi/arm-none-eabi/bin/ | |
| 27 | + | CROSSOPT="-CpARMV7A -CfVFPV3 -CIARM -OoFASTMATH" | |
| 28 | + | ``` | |
| 23 | 29 | ||
| 24 | - | ||
| 30 | + | * type and wait: | |
| 25 | 31 | ||
| 26 | - | ||
| 27 | - | ||
| 28 | 32 | ``` | |
| 33 | + | make all OS_TARGET=ultibo CPU_TARGET=arm SUBARCH=armv7a CROSSBINDIR=~/Documents/gcc-arm-none-eabi/arm-none-eabi/bin/ CROSSOPT="-CpARMV7A -CfVFPV3 -CIARM -OoFASTMATH" | |
| 34 | + | ``` | |
| 29 | 35 | ||
| 30 | - | ||
| 36 | + | * type and wait, assuming your FPC 3.1.1 is in the folder /usr/local/lib/fpc/3.1.1/ so option INSTALL_BASEDIR becomes INSTALL_BASEDIR=/usr/local/lib/fpc/3.1.1/ | |
| 31 | 37 | ||
| 32 | - | ||
| 33 | - | ||
| 34 | 38 | ``` | |
| 39 | + | sudo make crossinstall CROSSBINDIR=~/Documents/gcc-arm-none-eabi/arm-none-eabi/bin/ CROSSOPT="-CpARMV7A -CfVFPV3 -CIARM -OoFASTMATH" OS_TARGET=ultibo CPU_TARGET=arm SUBARCH=armv7a INSTALL_BASEDIR=/usr/local/lib/fpc/3.1.1/ | |
| 40 | + | ``` | |
| 35 | 41 | ||
| 42 | + | ||
| 43 | + | ||
| 36 | 44 | ### Linux | |
| 37 | 45 | ||
| 38 | - | ||
| 46 | + | An installation script is available for [[Linux]], full [[Source code|source]] plus a large collection of examples is included. | |
| 39 | 47 | ||
| 40 | 48 | ## Supported Devices | |
| 41 | 49 | ||
| 42 | - | ||
| 43 | - | ||
| 44 | - | ||
| 45 | - | ||
| 46 | - | ||
| 47 | - | ||
| 48 | - | ||
| 49 | - | ||
| 50 | + | * Raspberry Pi A, B, A+, B+ | |
| 51 | + | * Raspberry Pi Zero, ZeroW and Zero2W | |
| 52 | + | * Raspberry Pi 2 model B | |
| 53 | + | * Raspberry Pi 3 model B | |
| 54 | + | * Raspberry Pi 3 model A+, B+ | |
| 55 | + | * Raspberry Pi 4 model B | |
| 56 | + | * Raspberry Pi 400 | |
| 57 | + | * QEMU emulator | |
| 50 | 58 | ||
| 51 | 59 | ## Features | |
| 52 | 60 | ||
| 53 | - | ||
| 61 | + | Features include: | |
| 54 | 62 | ||
| 55 | - | ||
| 56 | - | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | - | ||
| 61 | - | ||
| 62 | - | ||
| 63 | - | ||
| 64 | - | ||
| 65 | - | ||
| 66 | - | ||
| 67 | - | ||
| 68 | - | ||
| 69 | - | ||
| 70 | - | ||
| 71 | - | ||
| 72 | - | ||
| 73 | - | ||
| 74 | - | ||
| 75 | - | ||
| 63 | + | * Support for all models of Raspberry Pi (except Pico) | |
| 64 | + | * Pre-emptive threading | |
| 65 | + | * Full range of locking and synchronization primitives | |
| 66 | + | * Multicore support on Raspberry Pi 2, 3 and 4 with all cores sharing workload | |
| 67 | + | * Thread priority, affinity and migration support | |
| 68 | + | * Complete IPv4 stack including TCP, UCP, ICMP and raw sockets as well as DNS and DHCP protocols | |
| 69 | + | * USB support with drivers for Hub, Keyboard, Mouse, Storage, Network, HID, Touch, Gamepad and Joystick | |
| 70 | + | * MMC/SD/SDIO device support including eMMC devices on Raspberry Pi Compute Modules | |
| 71 | + | * Full support for FAT12/16/32, NTFS and CDFS filesystems | |
| 72 | + | * Interrupt handling | |
| 73 | + | * Hardware exception handling (catch an exception in code not a crash) | |
| 74 | + | * Complete RTL with strings, code pages, Unicode, classes, objects and exceptions | |
| 75 | + | * Clock and Timezone support | |
| 76 | + | * Console and framebuffer support including Fonts | |
| 77 | + | * Basic Shell (Console or Telnet) with file system commands and many others | |
| 78 | + | * HTTP/SMTP/POP3/NTP/Syslog client and server modules included | |
| 79 | + | * Support for Raspberry Pi devices like Timer, Watchdog and Random | |
| 80 | + | * Full Winsock 1.1 and Winsock 2 implementation | |
| 81 | + | * Packaged with a full compiler and IDE for quick start to development | |
| 82 | + | * Includes example projects plus a full demo image | |
| 83 | + | * HTTP image update module included (No SD card dance!) | |
| 76 | 84 | ||
| 77 | - | ||
| 85 | + | Drivers added for: | |
| 78 | 86 | ||
| 79 | - | ||
| 80 | - | ||
| 81 | - | ||
| 82 | - | ||
| 83 | - | ||
| 84 | - | ||
| 85 | - | ||
| 86 | - | ||
| 87 | + | * DMA | |
| 88 | + | * GPIO | |
| 89 | + | * UART and Serial | |
| 90 | + | * I2C | |
| 91 | + | * SPI | |
| 92 | + | * PWM | |
| 93 | + | * PL2303 and FTDI USB to Serial devices | |
| 94 | + | * USB support for the LAN7515 (LAN78XX) chip | |
| 87 | 95 | ||
| 88 | - | ||
| 96 | + | New and enhanced features: | |
| 89 | 97 | ||
| 90 | - | ||
| 91 | - | ||
| 92 | - | ||
| 93 | - | ||
| 94 | - | ||
| 95 | - | ||
| 96 | - | ||
| 97 | - | ||
| 98 | - | ||
| 99 | - | ||
| 100 | - | ||
| 101 | - | ||
| 102 | - | ||
| 103 | - | ||
| 98 | + | * Raspberry Pi 3 and 4 support (32 bit only) | |
| 99 | + | * Additional code page support | |
| 100 | + | * Common cipher and hash algorithms for the beginning of crypto support | |
| 101 | + | * Real time clock (RTC) support (with driver for DS1307 and similar chips) | |
| 102 | + | * Static IP support with command line configuration | |
| 103 | + | * Updated Lazarus IDE with modern docked layout | |
| 104 | + | * Extra fonts plus new font creation tools | |
| 105 | + | * Support for common LCD displays like the Adafruit 16x2 | |
| 106 | + | * QEMU ARM emulation support | |
| 107 | + | * Port of the Asphyre/PXL graphics library | |
| 108 | + | * Support for the FreeVision windowing package | |
| 109 | + | * Standard C library support including POSIX threads | |
| 110 | + | * Fast interrupt (FIQ) support | |
| 111 | + | * Hardware accelerated OpenGL ES and OpenVG graphics and support for the official Pi camera | |
| 104 | 112 | ||
| 105 | 113 | ## Videos | |
| 106 | 114 | ||
| 107 | - | ||
| 115 | + | * [Ultibo Demo 1.0.0 ](<https://www.youtube.com/watch?v=GF9Xbf3mbf4>) | |
| 108 | 116 | ||
| 109 | 117 | ### Discovering Ultibo | |
| 110 | 118 | ||
| 111 | - | ||
| 112 | - | ||
| 113 | - | ||
| 114 | - | ||
| 115 | - | ||
| 116 | - | ||
| 119 | + | * [Episode 1 Getting Started ](<https://www.youtube.com/watch?v=TCfpb8M0WeQ>) | |
| 120 | + | * [Episode 2 Exploring USB](<https://www.youtube.com/watch?v=qPK4NTIKEO4>) | |
| 121 | + | * [Episode 3 Building the RTL ](<https://www.youtube.com/watch?v=2A7Faeaq72c>) | |
| 122 | + | * [Episode 4 GPIO Events](<https://www.youtube.com/watch?v=yfsuwbfyjgM>) | |
| 123 | + | * [Episode 5 LCD 16x2](<https://www.youtube.com/watch?v=M7_dz71Z4xE>) | |
| 124 | + | * [Episode 6 Remote LED](<https://www.youtube.com/watch?v=jS2YThZWhA4>) | |
| 117 | 125 | ||
| 118 | 126 | ## Links | |
| 119 | 127 | ||
| 120 | - | ||
| 121 | - | ||
| 122 | - | ||
| 128 | + | * [ultibo.org](<https://ultibo.org/>) | |
| 129 | + | * [github](<https://github.com/ultibohub/Core>) | |
| 130 | + | * [[Ultibo Quick Start]] | |
| 123 | 131 | ||
| 124 | 132 | --- | |
| 125 | - | ||
| 133 | + | *From the Free Pascal wiki, page "Ultibo core", as the Internet Archive kept it on 2025-06-16, last changed on 2023-01-24. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
