Posts tagged Development

ARM Update

Over a year ago I wrote up some notes on setting up an ARM development environment. Since then a change has occurred. Low Level libraries have been made available for the STM32F103. These should fit between the HAL library and the code I was writing. How well the Low Level libraries work is currently an unknown. I haven’t found the time to investigate. The tool chain should largely be the same. A few additional includes may be required to add the Low Level libraries. I hope before too long to try them out to see how they compare to my current method.

Read more ...


New Theme

Today I am going to start playing around with a modified version of the WordPress twenty-seventeen theme. I want to be able to write content in a nicer style and it is easier to do this with a clean slate. Some of the existing content will need reformatting and this will happen when I settle on my style. In the meantime be patient.

Read more ...


WordPress Theme Frustration

I have been using WordPress for this site since I set it up. Over the years the platform has developed significantly. I used to spend hours creating a customised site from scratch. I abandoned this approach a few years ago due to the focus on ‘responsive design’ allowing the site to be viewed on mobile screen sizes and aspect ratios. I moved to the pre-created templates and modified them.

Read more ...


ARM Research

This month I have been spending some time putting together a simple development set-up for 32bit ARM devices. Whilst not yet fully complete I am making steady progress and have begun to document the process. This is easier said than done. I set out to do the simple task of making an LED blink to test my set-up. There is a lot more to learn than what I had originally expected. The 8bit Atmega 328P was simple by comparison.

Read more ...


Android Development Snippets

Validating Host Computer Fingerprint

Read more ...


Who Broke My Toolchain?

It has been a few weeks since I felt like sitting down and working on a few of my projects. Tonight I decided to put in a little more work on trying to get text displayed on an OLED screen (DN2015-001). Imagine my frustration when I attempted to compile my code only to be presented with errors. Now my code will generate a few errors at the best of times due to the odd typo, but even after correcting these I was still having no luck. Time to Google the error message.

Read more ...


New Projects

This month I have started a couple of new projects. It began as one but soon split. The primary project was to make use of a 128x64 I2C OLED display. It has been sitting on the side for a few months after an impulse purchase. It soon became apparent that I needed a way to generate static images for the screen. Although there were programs out there that would convert a bitmap image into the hex code I needed, many were for Windows. So I decided to have a go at converting it myself.

Read more ...


Damn You ISR!

I am sat here on a Sunday evening trying to debug embedded C/C++. For the most part all has been going well and the code has been behaving as expected. I have however run into one of my least favourite problems, the interrupt service routine (ISR). I have a couple of ISR’s and they are presenting an unexpected start-up condition. The flow of the main body of the code is fine. I just can’t understand why I am getting the current output.

Read more ...


Make List

I have been making use of the Arduino Makefile from ed.am for some time but recently I needed more functionality from the Makefile.

Read more ...


Kivy

This week whilst thinking about how to represent an idea as a GUI application I ran into the limits of GTK3. I had a look around at matplotlib and pygame as possible work arounds but neither suited what I had in mind. It was then that I discovered Kivy.

Read more ...


New Theme Time

I have been using the same theme for this site for many years now. Over that time Wordpress, which powers the site, has undergone many changes and improvements. In that time the way the Wordpress code combines with the theme has changed. This has resulted in my aging theme containing legacy code whilst at the same time not supporting some newer features. I had in the past updated the theme adding in new changes where possible but I think now is the time for a radical change. I’m throwing away the old design and starting again with the twentyfourteen theme as a base. There are design elements which I had been working on with the old theme which I will port across. This approach will hopefully mean a more complete and stable theme for years to come. In the short term there will be things that need adjusting so it’s likely to be a little while before the site takes on its final form.

Read more ...


Aims for 2014

Time for a look back at what I intended to do last year.

Read more ...


Going Gecko

Using Linux has always presented me with a lot of choice as to how I want to use it and how it can work for me. I started my Linux journey with Gentoo and stayed with it for many years. But over time I found it didn’t fit with my workflow, it was fun to use and I learnt a lot but it required hands on tweaking.

Read more ...


Portable Apps & Portable Python

So I wanted to do some programming in python whilst at work I could have used my netbook but its size can make it difficult to work on for serious code generation. So my decision was to use Portable Apps from a USB memory stick, Portable Apps does not include Python in its package listing. A quick scout about with a popular search engine showed Portable Python as a solution a current Python version bundled with some handy modules.

Read more ...


Never Blindly Copy Code

I have been developing my own iptables firewall scripts for my Linux machines. On the whole the process has been going quite well. Part of my research into the firewall rules involved buying a few reference books, one of which contained what claimed to be a very secure script. I copied the base rules over to use as a base to add my own rules to and things have progressed very well.

Read more ...