I started working with computers when only user interface was commonly command prompt. Maybe because of that I like my devices to have one, although I don’t object having graphical user interfaces or web pages in any way. They are nice, but command prompt is cool. Continue reading “uIP, Pico]OS and telnet servers”
uIP-based network layer for Pico]OS
uIP is a very small TCP/IP stack initially developed by Adam Dunkels. It is targeted to microcontroller environments and has very modest resource requirements. uIP itself doesn’t seem to be very active project nowadays, but it is available as part of Contiki OS.
This library started when I tried to adapt uIP to my arm microcontroller project. Initial work resulted in patches which took care about some alignment problems that code had in arm environment. As I later discovered that uIP source code actually now lives inside Contiki OS, I took the latest version of uIP from there and adapted my patches to it. Continue reading “uIP-based network layer for Pico]OS”
µ-layer for Pico]OS
Pico]OS itself contains two layers: pico for essential operating system primitives like tasks and nano for higher-level things like dynamic memory allocation and console io. Built on those layers, this library contains a free FAT filesystem implementation from elm-chan.org and other miscellaneous stuff. Continue reading “µ-layer for Pico]OS”
Arm CMSIS & Pico]OS Cortex-M port
CMSIS is a software library that can be provided by Arm Cortex-M chip manufacturer to help programmer to deal with hardware implementation. Instead of programming chip registers directly as usual, one just calls higher-level functions provided by CMSIS. Function calls are same for all chips but internal implementation can of course be different. Continue reading “Arm CMSIS & Pico]OS Cortex-M port”
OneWire devices and Pico]OS
Here are two libraries which can be used to access Maxim/Dallas OneWire devices like DS1820 temperature sensor. Most of code is freely available from Maxim/Dallas, I have only added Makefiles and filled in device-specific things like which GPIO pin on microcontroller is connected to OneWire bus. Continue reading “OneWire devices and Pico]OS”