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