Commit Graph

151 Commits

Author SHA1 Message Date
Pavel Zakopaylo
ffe2d0a48b
Reverted change to default baud rate
This was a leftover from previous testing. It did work at 2Mbaud,
but I was only testing on Linux and do not want to introduce
a regression for other (i.e. MacOS) users.
2023-12-03 20:42:55 +11:00
Pavel Zakopaylo
aa79ad3601
Added error-number printing to common.c 2023-12-01 18:19:57 +11:00
Pavel Zakopaylo
04916cf5a4
Fixed bug in reading chip ID 2023-12-01 15:56:44 +11:00
Pavel Zakopaylo
80a0854f2c
Refactored struct in bl808_load_flash_para to use initializer
Compatability isues in older compilers are possible as a result
of this change.
2023-12-01 15:20:49 +11:00
Pavel Zakopaylo
dddb316d91
Small changes for PR 2023-12-01 15:15:29 +11:00
Pavel Zakopaylo
c48950e07b
Removed unnecessary CRC function
I missed the existing one in include/blisp_util.h
2023-12-01 14:52:07 +11:00
Pavel Zakopaylo
14369675da
Implemented setting flash parameters for BL808
Also fixed erase timeout issue. As of this commit the IOT single
download mode works with the BL808!
2023-12-01 03:02:03 +11:00
Pavel Zakopaylo
f55975fe9b
Implemented setting clock parameters for BL808 2023-11-30 18:43:57 +11:00
Pavel Zakopaylo
87174b7682
Fixed off-by-one error in flash erase 2023-11-30 17:54:44 +11:00
Pavel Zakopaylo
c30287e49d
Fixed incorrect git-merge 2023-11-30 15:48:47 +11:00
Pavel Zakopaylo
d278063472
Merge remote-tracking branch 'upstream/feature/bl808' 2023-11-28 19:53:07 +11:00
Andre Fonseca
7a85414ece
Enable macOS universal builds (#52)
* enable universal builds (x86_64/arm64) on macOS

* rename macOS build artifact filename

* update README.md
2023-08-28 11:25:41 +02:00
schrob
c41d128e73
Compile internal file_parsers lib always statically (#51)
Otherwise, depending on BUILD_SHARED_LIBS default, it may be
compiled dynamically. However, the resulting DSO currently would
not be installed, resulting in unusable installed blisp binary.

Co-authored-by: Schdro <>
2023-08-10 14:23:12 +10:00
Robert Lipe
d2fef0af22
Merge pull request #49 from neil-forks/master
Add DESTINATION for PUBLIC_HEADERS targets
2023-08-07 22:21:47 -05:00
Neil Hanlon
2203a250e3
Add DESTINATION for PUBLIC_HEADERS targets 2023-08-07 22:49:15 -04:00
Robert Lipe
713e444656
Merge pull request #48 from neil-forks/master
WIP: Use CMAKE_INSTALL_LIBDIR for install destination to respect build forges
2023-08-07 21:24:22 -05: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
Ben V. Brown
048a724082
Merge pull request #43 from schdro/feature-allow-syslibs3
Optional syslibs build support
2023-06-04 12:17:17 +10:00
Ben V. Brown
37571bc5f1
Merge pull request #41 from pine64/error_codes
Proper error codes (and return failure code)
2023-06-04 12:16:36 +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
Marek Kraus
2e931f80db
Merge pull request #42 from pine64/multi-build
Build linux executables for multiple architectures, closes #32
2023-05-09 11:10:54 +02:00
Ben V. Brown
ec078224bd Unify uploaded artefact names 2023-05-09 14:38:58 +10:00
Ben V. Brown
33c3f36b98 update upload artifact 2023-05-09 14:31:37 +10:00
Ben V. Brown
f6f2013c8e Upload with specific names 2023-05-09 14:29:51 +10:00
Ben V. Brown
729609f2c0 Use Actions to recursively checkout 2023-05-09 14:29:51 +10:00
Ben V. Brown
89488b3bb5
Merge pull request #39 from bdd/cmake-install
Add CMake installation support
2023-05-09 08:41:50 +10:00
Ben V. Brown
491dd4f8c0 Draft test multi builder 2023-05-09 08:30:09 +10:00
Ben V. Brown
5306720e5d More annotations on errors 2023-05-09 08:05:38 +10:00
Ben V. Brown
bac4f4b49f Cleanup blisp tool to use error codes 2023-05-09 07:58:18 +10:00
Ben V. Brown
6ec0e9e862 Expand blisp_easy to use error codes 2023-05-09 07:58:06 +10:00
Ben V. Brown
6e2d40b9c4 Stitch more error codes through tool 2023-05-09 07:46:45 +10:00
Ben V. Brown
fced48570a Start migration to error codes enum 2023-05-09 07:39:34 +10:00
Ben V. Brown
179a4ea267 Extract error codes 2023-05-09 07:39:25 +10:00
Berk D. Demir
2ad3ae7b50 Add CMake installation support
Allows installation with:
  `cmake --install . [--prefix /dir]`
2023-04-22 18:08:39 -07:00
river-mochi
de4a9cd5e6
update install instructions 2023-04-10 18:26:06 -07:00
River M
0b363c620a
Merge pull request #31 from River-Mochi/master
changed icon colors
2023-04-01 21:28:57 -07:00
River M
e7eeef5f85
changed icon colors
Icons in black can not be seen well in dark screen. 
changed to color that matches badges and can be seen in dark mode.
2023-04-01 21:28:08 -07:00
Robert Lipe
aaf07b7724
Update README.md
Updated from https://github.com/pine64/blisp/pull/1/files
2023-03-30 13:51:18 -05:00
Marek Kraus
8c3b93cbec
Merge pull request #28 from River-Mochi/master
defind ISP
2023-03-30 20:04:35 +02:00
River M
cc9ef81934
Update README.md 2023-03-30 10:57:23 -07:00
River M
9cb381d03e
Update README.md 2023-03-19 15:49:38 -07:00
Robert Lipe
f47bc9f948
Merge pull request #26 from River-Mochi/master
add table, icons, edit doc
2023-03-18 18:08:11 -05:00
River M
4b8713ecd4
Update README.md 2023-03-18 15:01:40 -07:00
River M
935ee4a12c
Delete test 2023-03-18 14:55:03 -07:00
River M
55198e9612
Update README.md 2023-03-18 14:05:05 -07:00
River M
63dff45156
Update README.md 2023-03-18 14:03:44 -07:00
River M
a98a5090b3
Update README.md 2023-03-18 13:43:53 -07:00