Software

Check Zephyr Version

20 Jul 2020, 10:35am TZ +05:30
Zephyr, hardware
Embedded, Software, IoT, tips

Check Zephyr Version # Find the version of Zephyr OS you are currently using. Commands # 1 2 3 4 5 # Go to your Zephyr installation Directory cd Workspace/zephyr # View the Last 2 commits in Zephyr repository git log --abbrev-commit --pretty=oneline -2 Typical Output # This shows that we are on Patch Level 99 of Version 2.3.0.

Update Zephyr SDK

20 Jul 2020, 10:35am TZ +05:30
Zephyr, hardware
Embedded, Software, IoT, tips

Update Zephyr SDK # There is an active development community behind Zephyr OS. They frequently release updates and patch. We need to keep our own SDK instance updated with these releases. Commands # 1 2 3 4 5 6 7 8 9 # Go the Workspace cd ${HOME}/Workspace # Configure the Environment source ./env.sh # West command for update # - This would force update all the repositories west update -f always This is typically the case since we configured it this way. ...

Zephyr OS : Understanding Application Development and a Fancier Blinky for STM32F3 Discovery Board

26 Jun 2020, 02:54pm TZ +05:30
Zephyr, hardware, manjaro, linux, STM32, ARM
Embedded, Software, IoT

Getting started with Application Development on Zephyr OS

After understanding the basics of how to do debugging on a Zephyr OS project, let’s do something custom.

We would look at how to get started with Application Development on Zephyr OS.

This is Part 3 in the series of post on Zephyr OS. In Part 1 we saw how to setup the development environment on Manjaro (Arch Linux). In Part 2 we looked at how to create an Eclipse CDT IDE end project and then successfully debug our code.

Source code for basic-blinky project is available at https://github.com/boseji/zephyr-basic-blinky-stm32f3_disco .

Source code for fancier-blinky project is available at https://github.com/boseji/zephyr-fancier-blinky-stm32f3_disco . Note: This code is specific for STM32F3 Discovery with PCB Revision C and above.

...

Zephyr OS : Blinky Example for STM32F3DISCOVERY board with Debugging Enabled

08 Jun 2020, 12:17pm TZ +05:30
Zephyr, hardware, manjaro, linux, STM32, ARM
Embedded, Software, IoT

Zephyr OS Blinky Example for STM32F3DISCOVERY board

We are going to look at a example of Blinky running on STM32F3DISCOVERY Board . Additionally we would be doing Debugging on the Zephyr OS. All this on the good ness of Manjaro (Arch Linux).

This is Part 2 in the series of post on Zephyr OS. In Part 1 we saw how to setup the development environment. In Part 3 we look at how to get started with Application Development on Zephyr OS using our custom blinky projects on STM32F3 Discovery Board .

...

Zephyr OS : Getting Started on Manjaro (Arch Linux)

08 Jun 2020, 06:25am TZ +05:30
Zephyr, hardware, manjaro, linux
Embedded, Software, IoT

Zephyr OS Development Using Manjaro(Arch Linux)

The Zephyr OS is based on a small-footprint kernel designed for use on resource-constrained and embedded systems: from simple embedded environmental sensors and LED wearables to sophisticated embedded controllers, smart watches, and IoT wireless applications.

From Zephyr Project Documentation

We would look at initializing the environment and installing necessary dependencies. This is Part 1 in the series of post on Zephyr OS. In Part 2 we would look at an Example of Blinky program running on STM32F3DISCOVERY Board . In Part 3 we look at how to get started with Application Development on Zephyr OS using our custom blinky projects on STM32F3 Discovery Board .

...

Python Juypter : Install

31 Mar 2020, 03:21pm TZ +05:30
Python, AppDevelopment, hardware, Juypter
tools, Software

Jupyter

Jupyter is great tool for Python development. It’s an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. It’s used for data cleaning, scrapping and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more. In-fact, I have already used it in some of my hardware projects.

Let’s Get this installed in our machines. And have some fun !

...

Time Recorder

07 Sep 2018, 06:43am TZ +05:30
Time Recorder
Python, AppDevelopment
Software

Work Time Recorder Project # This program is a tool designed to help record and measure the work hours of a given task. Download Click on the image to download: It’s available in source code form. Download it here Dependencies for Linux Need to install python-tk or python3-tk for Python 2.x and Python 3.x respectively. Ubuntu/debian : 1 2 3 4 5 6 sudo apt-get install python-tk ## Or sudo apt-get install python3-tk Arch / Manjaro : ...

Setting Up Msys2;MinGW64 for Windows

19 Aug 2018, 06:14pm TZ +05:30
windows, MSYS, GCC
Software

Many of us Windows users try to have Visual Studio environment.
But that’s not always great option. Unless you are ready to download 8GB on your internet bandwidth.

I personally like Visual Studio and its fast upcoming cousin VS Code. But hate the large download part.

Hence an opensource alternative is a need of the hour.
Also if you like to compile linuxy style code with Makefile in all its glory.

MinGW64 at your service friend!

...

Convert Raw disk Image file into Virtual Box `.vdi`

10 Jul 2018, 12:00am TZ +00:00
VM, VirtualBox, RaspberryPi
Software, tools

Working with DietPi, we found going back and forth between the Raspberry Pi and PC very time consuming. Fortunately DietPi provides a PC distribution with x86_x64 configuration. Though they had both VM Ware and Virtual Box files but they did not work for us. So we decided to download the Native PC for BIOS/CSM (BETA) option.

We later found out this is just a .img file, we could not directly use it with Virtual Box

...