Posts

C programming for Embeded system in Linux

Image
 Argument passing must be coherent Using two queues server driver Type pointer to type struct Initialize a structure inside a function not outside Read pin voltage from Rx using A0-A5 pins Using two queues server driver Difference normal gcc and none-eabi Programming mistakes Using SystTick Set Control Status Register systick csr vector multiplication in assembly MSP vs SPS in RTOS Stack and SP NVIC peripheral and CIMSIS marcos Using While(1) stdin stdout file descriptor port and file descriptor const var pipe function mmap() function External variable explained Global and  Extern variable Apped character error to string '\0' Mutex and semaphore Error printing string Read only casting Single character string add \0 Get specific  portion from string Using Semaphore IPC named fifo example Volatile and Static Serial communication C and python IPC named fifo example Blocking function