CMAKE_INSTALL_LIBDIR should be popualted with either lib or lib64,
depending on the architecture. This change makes it so that this flag is
respected by blisp and the library, runtime, and archives are installed
to the location requested by the build.
* Adds support for compiling on Ubuntu 20.04 by lowering required cmake version to 3.16 (from 3.22) and removing the "set(CMAKE_C_STANDARD 20)" line which is not supported by cmake 3.16
* Adds back the CMAKE_C_STANDARD flag but now sets it to 11, the highest version supported by cmake 3.16
---------
Co-authored-by: Marek Kraus <gamelaster@users.noreply.github.com>
* DFU file work
Just grabbing first one for now
Expose crc
Update CMakeLists.txt
Test DFU file
Split crc function
Fixup
Zero init struct
Dont null the pointer 🤦
correct fread
Adding tests
Create dfu_file.h
Format
Scratching out more parsing
Basic port parser
Scratching fread wrapper
* Relocate dfu parsing and link in
* Scratching out parsers
* Generic bin parser
* Pull out get file util
Update CMakeLists.txt
* Pull in the generic parser
Fixup
.
* Print flash address
* Rebase address
* stdlib
Update dfu_file.c
* FIXUP! flash offset
* Update dfu_file.c
* Improve logging
* Drop extra erase
* Adjust DFU to avoid goto
* Pragma -> ifndef
* Include Windows headers for missing data types
---------
Co-authored-by: Marek Kraus <gamelaster@outlook.com>