Commit Graph

12 Commits

Author SHA1 Message Date
Konrad Dybcio
f745f48baf make_scripts_riscv/project.mk: Force -Wall and -Werror for C/CXX code.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-05-31 12:02:15 +02:00
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
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
qwang
25fb041d1c Add basic C++ support 2020-11-25 21:58:07 +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
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
690e08d8dc
Merge pull request #60 from suculent/fix/example-typos
Typo fixes spotted in examples
2020-11-01 18:41:23 +01:00
Madushan Nishantha
dd78919310 fix make on darwin 2020-11-01 18:06:05 +01:00
Matej Sychra
303d013e53
typo fix 2020-10-31 17:29:07 +01:00
Rujun Wang
ee4a10b1a1 Initial Commit 2020-10-26 20:35:25 +08:00