16 Commits
Author SHA1 Message Date
Marek Kraus 6306a00de7 Include Windows headers for missing data types 2023-08-01 14:38:55 +02:00
Ben V. Brown c87a4a092c Pragma -> ifndef 2023-08-01 21:36:39 +10:00
Ben V. Brown dbd7ee2257 Adjust DFU to avoid goto 2023-08-01 21:31:07 +10:00
Ben V. Brown 05b62d2fa5 Drop extra erase 2023-08-01 21:08:58 +10:00
Ben V. Brown d25bd65f15 Improve logging 2023-08-01 20:59:36 +10:00
Ben V. Brown ec44c2358b Update dfu_file.c 2023-08-01 18:49:14 +10:00
Ben V. Brown c63883bfa7 FIXUP! flash offset 2023-08-01 18:28:55 +10:00
Ben V. Brown 99a30ae9cc stdlib
Update dfu_file.c
2023-08-01 18:11:44 +10:00
Ben V. Brown 11c31d6eed Rebase address 2023-08-01 17:54:17 +10:00
Ben V. Brown 6724a9c682 Print flash address 2023-08-01 17:54:17 +10:00
Ben V. Brown 342a43b071 Pull in the generic parser
Fixup

.
2023-08-01 17:54:17 +10:00
Ben V. Brown d052d2ebe4 Pull out get file util
Update CMakeLists.txt
2023-08-01 17:45:09 +10:00
Ben V. Brown 9893a49376 Generic bin parser 2023-08-01 17:40:59 +10:00
Ben V. Brown cf00bedeaf Scratching out parsers 2023-08-01 08:26:56 +10:00
Ben V. Brown 013c1d0141 Relocate dfu parsing and link in 2023-08-01 08:18:32 +10:00
Ben V. Brown 98343db387 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
2023-08-01 07:44:40 +10:00
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.22)
project(blisp C) project(blisp C)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD 23)
option(BLISP_BUILD_CLI "Build CLI Tool" OFF) option(BLISP_BUILD_CLI "Build CLI Tool" OFF)
option(BLISP_USE_SYSTEM_LIBRARIES "Use system-installed libraries" "${CMAKE_USE_SYSTEM_LIBRARIES}") option(BLISP_USE_SYSTEM_LIBRARIES "Use system-installed libraries" "${CMAKE_USE_SYSTEM_LIBRARIES}")
@@ -28,14 +28,14 @@ set(BLISP_PUBLIC_HEADERS
set_target_properties(libblisp PROPERTIES set_target_properties(libblisp PROPERTIES
PUBLIC_HEADER "${BLISP_PUBLIC_HEADERS}" PUBLIC_HEADER "${BLISP_PUBLIC_HEADERS}"
VERSION 0.0.4 VERSION 0.0.3
SOVERSION 1 SOVERSION 1
LIBRARY_OUTPUT_DIRECTORY "shared" LIBRARY_OUTPUT_DIRECTORY "shared"
OUTPUT_NAME "blisp") OUTPUT_NAME "blisp")
set_target_properties(libblisp_static PROPERTIES set_target_properties(libblisp_static PROPERTIES
PUBLIC_HEADER "${BLISP_PUBLIC_HEADERS}" PUBLIC_HEADER "${BLISP_PUBLIC_HEADERS}"
VERSION 0.0.4 VERSION 0.0.3
SOVERSION 1 SOVERSION 1
ARCHIVE_OUTPUT_DIRECTORY "static" ARCHIVE_OUTPUT_DIRECTORY "static"
OUTPUT_NAME "blisp") OUTPUT_NAME "blisp")
+2 -2
View File
@@ -1,7 +1,7 @@
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fpine64%2Fblisp&count_bg=%235791AC&title_bg=%23555555&icon=airplayaudio.svg&icon_color=%23D2D9DD&title=hits&edge_flat=false)](https://github.com/pine64/blisp/wiki/Update-Pinecil-V2) [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fpine64%2Fblisp&count_bg=%235791AC&title_bg=%23555555&icon=airplayaudio.svg&icon_color=%23D2D9DD&title=hits&edge_flat=false)](https://github.com/pine64/blisp/wiki/Update-Pinecil-V2)
[![GitHub all downloads](https://img.shields.io/github/downloads/pine64/blisp/total?color=5791ac&logo=docusign&logoColor=white)](https://github.com/pine64/blisp/releases/tag/v0.0.4) [![GitHub all downloads](https://img.shields.io/github/downloads/pine64/blisp/total?color=5791ac&logo=docusign&logoColor=white)](https://github.com/pine64/blisp/releases/tag/v0.0.3)
[![Discord](https://img.shields.io/discord/463237927984693259?color=5791ac&logo=discord&logoColor=white)](https://discord.com/invite/pine64) [![Discord](https://img.shields.io/discord/463237927984693259?color=5791ac&logo=discord&logoColor=white)](https://discord.com/invite/pine64)
[![GitHub release](https://img.shields.io/github/v/release/pine64/blisp?color=5791ac)](https://github.com/pine64/blisp/releases/tag/v0.0.4) [![GitHub release](https://img.shields.io/github/v/release/pine64/blisp?color=5791ac)](https://github.com/pine64/blisp/releases/tag/v0.0.3)
<img src="./img/Gradient-white-blue-03.png" align="left" width="60" > <br clear="left" /> <img src="./img/Gradient-white-blue-03.png" align="left" width="60" > <br clear="left" />
# BLISP # BLISP