Commit Graph

23 Commits

Author SHA1 Message Date
Neil Hanlon
2203a250e3
Add DESTINATION for PUBLIC_HEADERS targets 2023-08-07 22:49:15 -04:00
Neil Hanlon
3b47993de7
Use CMAKE_INSTALL_LIBDIR for install destination to respect build forges
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.
2023-08-07 21:18:43 -04:00
Marek Kraus
f601b6b965
Release v0.0.4 2023-08-03 08:21:21 +02:00
Marc Juul
48af2aded0
Adds support for compiling on Ubuntu 20.04 by lowering required cmake… (#44)
* 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>
2023-08-01 14:50:32 +02:00
Ben V. Brown
f1b93a1881
DFU file support (#45)
* 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>
2023-08-01 22:43:56 +10:00
Schdro
8914260b60 Optional syslibs support
Add optional support for building against system libraries of
libserialport and Argtable3
2023-05-14 18:07:55 +02:00
Berk D. Demir
2ad3ae7b50 Add CMake installation support
Allows installation with:
  `cmake --install . [--prefix /dir]`
2023-04-22 18:08:39 -07:00
porsolic
6f508d3db8 Enable building on FreeBSD hosts
FreeBSD has libusb built in.
Needs external libserialport.
2023-03-17 00:13:17 +01:00
Marek Kraus
5e09eca00d Fix Windows CI build 2023-01-21 15:17:17 +01:00
Marek Kraus
2141e33c2b Version v0.0.3 2023-01-21 14:50:35 +01:00
Marek Kraus
626522e074 Version v0.0.2 2023-01-12 11:49:04 +01:00
Marek Kraus
0e0ffb1d8c Change version to 0.0.1 2023-01-09 21:49:44 +01:00
Marek Kraus
59cf5fb038 Add blisp_easy, many improvements, adds iot single download feature 2023-01-07 23:25:42 +01:00
Marek Kraus
eb086f6fe3 Add initial MacOS support 2022-12-06 17:15:53 +01:00
Marek Kraus
dd2801d6e9 Add termios support to libserialport and set_baudrate error handling
This fixes issues with flashing with FT232H
2022-11-22 13:55:38 +01:00
Marek Kraus
8c3cc0b017 Add initial support for BL60X 2022-11-08 22:06:14 +01:00
Marek Kraus
e3dea5b85d Windows fixes 2022-11-07 15:22:06 +01:00
Marek Kraus
ec17f896bc Add some macOS related stuff 2022-10-05 11:53:32 +02:00
Marek Kraus
29a36a2d7b WIP 2022-09-25 10:58:59 +02:00
Marek Kraus
9d8738cb85 WIP 2022-09-24 11:58:47 +02:00
Marek Kraus
e9217452e4 WIP... 2022-09-13 11:03:39 +02:00
Marek Kraus
fb70d7eea4 Add libserialport + another improvements 2022-09-12 13:14:55 +02:00
Marek Kraus
019c7dd845 Initial commit 2022-08-24 12:06:39 +02:00