Commit Graph

125 Commits

Author SHA1 Message Date
Thomas Hebb
8ac96e8cff Merge remote-tracking branch 'upstream/master'
Merge in a number of upstream changes from Bouffalo, resolving
conflicts. Most conflicts came from warring whitespace fixes, which is
better than no whitespace fixes in either repo. I generally took the
upstream version in such cases to make future merges easier.

I have left out all upstream docs changes from this merge, since those
will have to be separately merged into our bl602-docs submodule.
2021-01-03 10:19:08 -08:00
Thomas Hebb
709a9f9329 Don't use cross-compilation environment for Python requirements install
We should eventually just get rid of the "pip install" invocation in the
Makefile altogether and replace it with good documentation for manual
environment setup. Bot for the moment we have it and so we should make
it work even in the case where it needs to compile code. This should fix
the CI problems on macOS and Ubuntu 19.10.

I was torn between fixing it this way and removing the "export"s from
the Makefile altogether, replacing them with explicit variable passing
to submakes. But I figure that it's probably correct to have $CC and
friends automatically set to the cross compiler since the entire purpose
of these Makefiles is to build code for the BL602. If we ever delegate
some functionality to a shell script, it'll be nice to just have $CC
automagically set. So I've kept the exports and fixed it this way
instead.
2021-01-03 09:49:00 -08:00
Thomas Hebb
5405725866 Don't silently eat errors in Python requirements install
It's questionable that dependencies get installed automatically during
the build in the first place, but since they do we should at least fail
the build with an error if installation fails.

This makes the current CI issue on macOS much clearer to diagnose.
2021-01-01 11:52:44 -08:00
Tom Hebb
4d6dad50e6
Merge pull request #85 from tchebb/remove-flash-image-binary
Remove pyinstaller-packed binary version of flash_build.py
2021-01-01 11:49:56 -08:00
Thomas Hebb
e685aa22b4 Remove pyinstaller-packed binary version of flash_build.py
No scripts actually use this version: the one reference to it, which
I've also removed in this commit, was commented out. Having the binary
version is confusing because it indicates a proprietary component where
there is none. It's also of limited use, since it only works on 64-bit
Linux (and, at least on my system, doesn't even run properly there).

I disassembled the bytecode of the compiled version and the source
version and verified that they are identical, so we are losing nothing
with this deletion.
2020-12-30 15:07:31 -08:00
Thomas Hebb
c292a2ee59 Shorten line lengths in README where possible 2020-12-30 13:35:01 -08:00
Yafei
f129e18ca6
Merge pull request #27 from shchen-bouffalolab/bledemo
add ble mesh node demo
2020-12-24 17:43:54 +08:00
shchen
a2cb1927d8 ble mesh node 2020-12-24 16:24:20 +08:00
shchen
267fcfc9db project name error 2020-12-24 16:22:34 +08:00
shchen
f3e1252985 add ble mesh node demo 2020-12-24 15:50:14 +08:00
shchen
bd5ee2566f project name error 2020-12-24 15:44:38 +08:00
shchen
2b7db9aef8 add ble mesh node demo 2020-12-24 15:40:36 +08:00
Yafei
9b9a6bed28
Merge pull request #26 from shchen-bouffalolab/bledemo
ble demo
2020-12-23 16:37:30 +08:00
shchen
a327efd414 ble demo 2020-12-23 16:31:47 +08:00
Rujun Wang
3a6fef76a2 [LICENSE] update license file 2020-12-19 13:43:51 +08:00
Yafei Jin
db12f7c305
Add sample of sdk_app_spi 2020-12-10 10:17:37 +08:00
Yafei Jin
397aef0e6d
Add missing lib required by openocd.exe 2020-12-08 20:49:47 +08:00
chinawrj
a5006ee592
Merge pull request #19 from Virus-V/master
fix issue #18
2020-11-26 13:30:05 +08:00
Zhuoran.Rong
71e5f5e303 fix issue #18 2020-11-26 11:20:17 +08:00
qwang
25fb041d1c Add basic C++ support 2020-11-25 21:58:07 +08:00
Marek Kraus
c00a0980dc Revert "Added mbedTLS as a submodule (#64)"
This reverts commit 2aa0fdd6b6.
The difference between upstream mbedtls and AliOS mbedtls is too
huge
2020-11-23 12:44:11 +01:00
Marek Kraus
1b006ebe5d
Merge pull request #77 from cgbarros/master
Update README.rst
2020-11-21 15:24:00 +01:00
Marek Kraus
33598a822b
Merge pull request #78 from ftk/make-fix
Fix CI ignoring build errors
2020-11-21 15:23:46 +01:00
ftk
f85d4652cf fix makefile so that it no longer ignores errors 2020-11-21 16:12:54 +03:00
Caio Barros
8e6979bde4
Update README.rst
adding info of re group plus minor formatting
2020-11-20 23:19:32 -03:00
Robert Lipe
b96c037be0
In debug.c, don't compile code we aren't calling. (#31) 2020-11-19 18:33:08 +01:00
Panagiotis Vasilopoulos
59050e6d33
Improved README.md (#51)
- Removed redundant instructions
- Improved wording

Co-authored-by: Marek Kraus <gamelaster@users.noreply.github.com>
2020-11-19 18:30:30 +01:00
danielbarry
2aa0fdd6b6
Added mbedTLS as a submodule (#64)
Removed mbedTLS files and replaced them with a submodule
2020-11-19 16:04:07 +02:00
Marek Kraus
3c827b2d56
Merge pull request #73 from embeddedpenguin/tempbranch
removed crazy characters so dts to dtb wouldnt fail
2020-11-15 13:55:44 +01:00
adragott
414fcdbfef removed crazy characters so dts to dtb wouldnt fail 2020-11-15 04:07:28 -06:00
Marek Kraus
4703d95150
Merge pull request #43 from disdi/master
Add toplevel Makefile
2020-11-11 17:06:02 +01:00
Saket Sinha
0c49fe4b3e Add support for toplevel Makefile
Add toplevel Makefile with clean support.
Updated Readme for building details.
2020-11-11 10:04:25 +01:00
Yafei
e231762bbb
Merge pull request #14 from robertlipe/clean_components
Clean components: fix whitespace in components/
2020-11-10 09:40:50 +08:00
Yafei
fef645af6c
Merge pull request #13 from robertlipe/clean_ca
Clean whitespace in customer_apps
2020-11-10 09:39:29 +08:00
Yafei
1ee9de92d4
Merge pull request #12 from robertlipe/clean_html
HTML files: remove trailing spaces.
2020-11-10 09:36:04 +08:00
Robert Lipe
3bc544d9f3 clean components/ whitespace issues
image_conf, make_scripts_riscv -  Delete trailing spaces. Change tabs to 4 space multiples.

    .c and .h get tabs expanded to four spaces for consistency, traliing whitespace whacked.
    Makefiles do NOT get tabs changed.
2020-11-08 13:56:51 -06:00
Robert Lipe
e82b9d746d Customer_apps whitespace fix
.c and .h get tabs expanded to four spaces for consistency, traliing whitespace whacked.
    Makefiles do NOT get tabs changed.
2020-11-08 13:48:34 -06:00
Robert Lipe
89726f4433 HTML files: remove trailing spaces. 2020-11-08 13:32:47 -06:00
Yafei
f8c47051ed
Merge pull request #10 from Ferenc-/UPSTREAM_FORMATTING_FIXES
Remove trailing whitespaces from bl602
2020-11-06 21:40:31 +08:00
Marek Kraus
63ad94309a
Merge pull request #68 from ftk/master
Github Action for building SDK
2020-11-05 10:56:25 +01:00
Marek Kraus
1421c4fee2
Merge pull request #67 from enjoycodefun/makefile
Purge "invisible" and incorrect tabs from Makefiles in make_scripts_scripts
2020-11-05 10:55:46 +01:00
Ferenc-
87d912e072 Remove trailing whitespaces from bl602 2020-11-05 10:21:53 +01:00
ftk
c78970fd56 only 2 make jobs in msys 2020-11-04 20:54:25 +03:00
ftk
f90cec631c limit amount of make jobs 2020-11-04 20:52:22 +03:00
ftk
dd4dc6c30d Build workflow 2020-11-04 20:12:50 +03:00
Evangelos Ribeiro Tzaras
c84915a06c
examples: Document UART initialization 2020-11-04 11:05:17 +08:00
Enjoy Code Fun
3797caaf0b Purge "invisible" and incorrect tabs from Makefiles in make_scripts_risc/
Note: For "<tab># comment" "# comment" is command and passed to the shell. Most shells interpret "# comment" as a comment - thankfully.
A comment is "# comment", only.
2020-11-03 14:09:41 -08:00
Marek Kraus
479199e248
Update README.rst 2020-11-03 17:15:41 +01:00
Marek Kraus
67af171da0
Merge pull request #65 from fortysixandtwo/documentation_examples
examples: Document UART initialization
2020-11-02 18:01:12 +01:00
Evangelos Ribeiro Tzaras
7168e7f4e7 examples: Document UART initialization 2020-11-02 17:55:30 +01:00