Wykres commitów

72 Commity (master)

Autor SHA1 Wiadomość Data
Enrik Berkhan a01a6c0e42 PC: make build using gcc 10 work.
gcc 10 changed its default behavior from `-fcommon' to `-fno-common' for
C code. (see https://gcc.gnu.org/gcc-10/changes.html). This makes
linking the PC version of the solo firmware fail due to duplicate
symbols.

This change adds '-fcommon' to CFLAGS to restore the old behavior. It
works using older compiler versions, too.

Tested to build successfully on Ubuntu 20.10 using gcc-8, gcc-9, gcc-10
(default), clang-9, clang-10 and clang-11 (default).
2021-01-27 19:30:13 -08:00
Enrik Berkhan fe24b9edd1 POC: add ed25519 support based on libsodium (PC) or salty (solo).
For now:

- libsodium(-dev) is expected to be preinstalled on build system for PC
build
2020-10-17 14:40:41 +02:00
Enrik Berkhan 398943d6c8 Add Rust to travis and to the toolchain container.
Not sure if this is the way to do it...

Make salty build.
2020-10-17 14:38:10 +02:00
John Naulty f74a77d80b
Use current user at build container runtime
Using the current user id and group removes the need to use `sudo` when
cleaning up build artifacts from the docker build stage.

Issue: #355
2020-01-06 01:55:47 -08:00
Conor Patrick 145b04750e Update Makefile 2019-11-22 19:02:52 -05:00
Conor Patrick 078acbc4b4 prepend solo to version 2019-11-22 19:02:52 -05:00
Conor Patrick dcd256faf4 add initial weak definitions 2019-11-22 19:02:52 -05:00
Conor Patrick 85365c635d refactor to use libsolo 2019-11-22 19:02:52 -05:00
Conor Patrick 78dd2a10d3 remove binary count check 2019-10-28 10:51:35 -04:00
Chris Cinelli 375a607356 Add test for docker in travis 2019-10-27 10:11:39 -04:00
Chris Cinelli ea8409c072 Fixing Travis 2019-10-27 10:11:39 -04:00
Chris Cinelli aaffce4021 Make dependency on git optinal in the target/stm32l432/Makefile
"git describe" is used to get the version of the firmware from GIT tags ans it is used for build artifacts' names
We would prefer not to have this depency inside Docker
2019-10-27 10:11:39 -04:00
Chris Cinelli 463a8b444d Splitting toolchain creation from firmware compilation 2019-10-27 10:11:39 -04:00
Chris Cinelli 9fd608d3ee Use local copy of the files 2019-10-27 10:11:39 -04:00
Conor Patrick 69a7191860 fix warnings 2019-10-08 13:42:37 -04:00
Conor Patrick 09b73d694f fix build 2019-04-24 19:33:26 -04:00
Conor Patrick 813eb97d2f reuse memory for allow_list of creds 2019-04-24 11:45:30 -04:00
Nicolas Stalder 86739df7a1 Improvements to Docker build 2019-03-10 15:19:16 +01:00
Conor Patrick 5cb81c753d Add version/extensions to PC build 2019-03-06 14:05:44 -05:00
Conor Patrick 32f2436380
Merge pull request #120 from nickray/sha512
SHA512 (via Cifra)
2019-03-01 21:44:13 -05:00
Nicolas Stalder daf56b0cc7 Silence warning about out of date pip in Travis 2019-02-28 01:06:06 +01:00
Nicolas Stalder ff5207ba77 First attempt 2019-02-27 21:43:20 +01:00
Conor Patrick 9f60caf9c1 for docker on windows 2019-02-26 22:00:21 -05:00
Nicolas Stalder c97b9f9b8f Need includes in main Makefile too 2019-02-26 20:16:38 +01:00
Conor Patrick 190ecc8fd8 make work for windows 2019-02-16 21:27:56 -05:00
Nicolas Stalder de31924be3 Lock down reproducible make targets and use in docker build 2019-02-16 18:46:13 +01:00
Nicolas Stalder 8f9ff17bef ability to build solo versions via `make docker-build SOLO_VERSION=...` 2019-02-14 00:35:28 +01:00
Nicolas Stalder 9e9d26e604 Split building and merging firmware in two, use volumes 2019-02-14 00:35:28 +01:00
Nicolas Stalder 8386ae56d2 Cleanup makefile, minor typos 2019-02-13 03:25:12 +01:00
yparitcher 8dd211d557
merge upstream 2019-02-12 19:49:47 -05:00
yparitcher f2d0e3d275
Revert "Travis: use python 3.6" Hopefuly we dont need this
This reverts commit e10ad70b2b8e15de5fcace7af3f8e1cc9a6ca2f0.
2019-02-12 18:27:11 -05:00
yparitcher 259020ece0
Travis: use python 3.6 2019-02-12 18:27:10 -05:00
yparitcher 6c6f0a0068
fix Makefile, Travis make 2019-02-12 18:24:28 -05:00
yparitcher a966ea3a58
tweak Makefile 2019-02-12 18:22:50 -05:00
yparitcher eed418ea33
add black to travis build 2019-02-12 18:22:50 -05:00
yparitcher 5afdef463e
add stm32l432 build test 2019-02-12 18:22:49 -05:00
Paul Jimenez b4bfe5e3b9 Add black to travis checking 2019-01-22 01:44:33 -05:00
Paul Jimenez 7bd5f29a79 add cppcheck to travis 2019-01-21 19:37:22 +01:00
Nicolas Stalder 59503c775e minor changes 2019-01-04 02:02:27 +01:00
Nicolas Stalder c58c8300ac Try and run some python tests in Travis 2019-01-03 14:53:44 +01:00
Nicolas Stalder 89de3738c0 Ensure python2 for env2 make target 2019-01-03 14:30:19 +01:00
Nicolas Stalder b2c78ca7c0 Start some cleanup
- add an editorconfig
- fix requirements.txt and the UTF-8 issue (lost in pull/47)
- two clean environments
- make black usable
- two test targets (wink2/wink3)
2019-01-03 14:24:34 +01:00
Conor Patrick 15a1fb1e5b fix pc build 2018-12-06 23:48:46 -05:00
Conor Patrick 827a7da443 less obfuscated mkdocs 2018-12-06 22:38:48 -05:00
Conor Patrick ac7950f4c4 remove printf references, add bootloader script, merge hex files 2018-12-01 17:10:49 -05:00
Conor Patrick d402df42e2 remove un-used recipes 2018-11-23 11:51:38 -05:00
Conor Patrick fad474ad2c
Merge branch 'master' into macosx 2018-11-04 17:16:16 -05:00
Conor Patrick 215f53551e
Merge branch 'master' into error 2018-11-04 17:15:04 -05:00
Conor Patrick f512fd8831 too unclear what is happening 2018-11-02 00:10:22 -04:00
Emanuele Cesena f9757c0a08 Add -Wall -Werror and catch sigint (pc only) 2018-10-24 22:37:27 -07:00