AW: Building a library for use with RTEMS via CMake

2021-07-20 Thread Andre.Nahrwold
Hey guys, that was so far very helpful in understanding the problem in more depth. Putting in the right flags at least reduced the linker errors by nearly 99% or so, Thanks. Maybe I am on the right path now and just need to tweak it a bit to make it work. The rtems-cmake repository looks also v

Spidev different ioctl structure

2021-05-11 Thread Andre.Nahrwold
Hello, I discovered that the Spidev include (linux/spi/spidev.h) contains different implementations of the ioctl structure when comparing rtems and linux. I used the mode value of the structure and wanted to compile the application for rtems and linux, that is where I got some errors. A few furt

AW: [PATCH 1/1] misc: tools: fix mkimage.py script type processing

2021-02-16 Thread Andre.Nahrwold
Hi Chris, as far as my understanding of python goes this does not make any difference. Strings are essentially arrays in python which would make the parenthesis obsolete. When this condition should catch another type in the future it would be good practice to do something like this: If options