kirtisonawane

Git

It’s free and open source. Maybe by exploring the features, beauty could be understood. I always trust the official documentation – so trying out official tutorial page from git would be a good idea. But git or github? I think github = git + cloud hosting. https://docs.github.com/en/get-started/quickstart Creating new repository is easy. Branching can also …

Git Read More »

FreeRTOS

General  The below statement doesn’t make sense to me. (Taken from the official documentation https://www.freertos.org/implementation/a00012.html) The ‘__attribute__ ( ( signal ) )’ directive on the function prototype informs the compiler that the function is an ISR and results in two important changes in the compiler output. The ‘signal’ attribute ensures that every processor register that gets modified …

FreeRTOS Read More »

Dimensions

Below thoughts have been written for my personal record. Those might be true, false, right, wrong, sane, insane etc.  Consider a classic X-axis. It is divided into infinite discrete parts. Consider a classic Y-axis. It is also divided into infinite discrete parts. Consider a classic X-Y plane and think about these co-ordinates : (1, -infinity ) (1, -93459485 …

Dimensions Read More »

C++ quick facts

Compiler settings Use –pedantic-errors compiler flag. It will guarentee that code is compiled according to used c++ standard. If this flas is not used, sometimes, compiler extensions allow some specific code which is not compatible with standard to compile without an error. For example – If flag is not used then, g++ compiler will give …

C++ quick facts Read More »

Size of various types in c++

While programming in C++, it is important to know the size of various basic datatypes supported by C++. Below code will give you the size of various basic datatypes. Code //============================================================================ // Name : Study.cpp // Author : Kirteekumar // Version : // Copyright : // Description : size of various types in C++ , …

Size of various types in c++ Read More »