1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
Frederik Haxel
0c2cfe99e6 native64: Add Linux/x86_64 board
Adds a separate board for native64 instead of the `NATIVE_64BIT` workaround.
The files in `boards/native64` are more or less dummy files and just include
the `boards/native` logic (similar to `openlabs-kw41z-mini-256kib`).
The main logic for native is in `makefiles/arch/native.inc.mk`, `cpu/native`
and `boards/native`.

The remaining changes concern the build system, and change native board checks
to native CPU checks to cover both boards.
2024-02-05 22:01:40 +01:00
Frederik Haxel
3291f94e07 pkg: 64 bit compatibility
* Added arch_64bit feature and added it to all packages that require 32 bit.
* hacl, wolfssl: Fixed different types between function declaration and implementation.
* lwip: Add required flag for 64 bit and bug fix in `lwip_sock`.
* micro-ecc: Workaround for GCC warning when using `__int128`.
2024-01-18 00:40:08 +01:00
b2fd1814c7
pkg: fix remaining broken paths to tests 2023-05-13 19:08:39 +02:00
Flole998
f595684b0a pkg/wolfssl: Patch to avoid unnecessarily building TLSX_SetResponse 2023-02-28 23:53:12 +00:00
Florian Lentz
236603cffc pkg/wolfssl: Update wolfSSL to 5.5.4 and add DTLS 1.3 support 2023-02-22 18:32:01 +01:00
Flole998
2b1506d6d4 pkg/wolfssl: Fix memory leaks in wolfSSL sock_tls 2023-01-24 01:55:06 +00:00
Marian Buschsieweke
f70eafaff9
pkg/wolfssl: fix compilation with GCC >= 12.x
This fixes a signature mismatch between forward declaration and
implementation, which in turn fixes the following error during
compilation:

    /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfcrypt/src/ge_low_mem.c:179:30: error: argument 1 of type 'unsigned char[64]' with mismatched bound [-Werror=array-parameter=]
      179 | void sc_reduce(unsigned char x[64])
          |                ~~~~~~~~~~~~~~^~~~~
    In file included from /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfcrypt/src/ge_low_mem.c:34:
    /home/maribu/Repos/software/RIOT/build/pkg/wolfssl/wolfssl/wolfcrypt/ge_operations.h:81:36: note: previously declared as 'byte *' {aka 'unsigned char *'}
       81 | WOLFSSL_LOCAL void sc_reduce(byte* s);
          |                              ~~~~~~^
2022-11-10 16:20:17 +01:00
3ee3d1b9ac
Merge pull request #18562 from MrKevinWeiss/pr/removemips
cpu/mips: Remove all mips
2022-09-30 10:47:09 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
chrysn
feff412bcc pkg: Move versions to dedicated line
Makefiles don't do comments, so these were forwarded into the variable.
*Most* users would expand the arguments to a shell where it'd be
ignored, but not all of them.

Contributes-To: https://github.com/RIOT-OS/RIOT/pull/18489

(This is also where the one version that is added here was removed).
2022-09-26 17:45:54 +02:00
Benjamin Valentin
6e7d5ae2d3 codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
Francisco Molina
0819660303 sys/syscalls: add libc_gettimeofday
Conditionally implement gettimeofday() if module is included, this
avoids including ztimer64 even when not needed
2022-03-24 11:36:49 +01:00
Marian Buschsieweke
4ac6820860
pkg/wolfssl: add -Wno-cast-align 2021-12-03 10:12:33 +01:00
0c42c3690c
pkg/wolfssl: ignore array-parameter warning with gcc 11 2021-11-03 15:40:29 +01:00
fc9562bf25
pkg/wolfssl: remove unnecessary dependency to xtimer 2021-11-03 15:40:29 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
Karl Fessel
6588db6580 pkg/qcbor,wakaama,wolfssl: remove maybe-uninitialized warning
some variable seem uninitialized to gcc with -Og but aren't
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
especialy:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
2021-03-16 12:14:43 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
Benjamin Valentin
735d22ea1b pkg/wolfssl: add SAMD51 to name collision hack
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Benjamin Valentin
584d66190b pkg/wolfssl: bump version to 4.5.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/
2020-08-20 23:14:51 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization 2020-06-26 09:25:43 +02:00
86f9190a4c
pkg/wolfssl: improve build system integration
and avoid copying in the cloned repository when building
2020-06-12 17:49:09 +02:00
Francisco Molina
2331448644
Makefile: remove usage of SUBMODULES_NOFORCE
With #10970 only existing *.c files will be added to SRC when using
the SUBMODULES mechanism, so SUBMODULES_NOFORCE (used to filter out
non existing source files) is now redundant so remove the usage.
2020-04-15 12:11:44 +02:00
Benjamin Valentin
e6bc8d773e pkg/wolfssl: bump version to 4.3.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/

This unfortunetaly introduced some unused parameter warnings, so disable
the warning via CFLAGS.
2020-03-02 15:10:29 +01:00
Gaëtan Harter
ca5d13cc2a pkg/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
2cf3cb3b52 pkg/wolfssl: fix typos 2019-11-23 22:39:38 +01:00
27e8caf3f3
Merge pull request #12526 from kaspar030/fix_fe310_default_optimization
cpu/fe310: change default optimization to "-Os"
2019-11-15 13:10:13 +01:00
fbf8688f01
pkg/wolfssl: add 32bit arch requirement 2019-10-30 11:43:38 +01:00
7402092649 Revert "pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt"
This reverts commit 02ff48751e.
(Obsoleted by 1193b0b1f8)
2019-10-21 12:39:20 +02:00
02ff48751e
pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt
Only when building with riscv toolchain, because the default optimization used can lead to this problem.
2019-10-21 08:09:51 +02:00
Dylan Laduranty
a64613e9b9 pkg/wolfssl: prevent name-colliding struct for AES 2019-09-26 11:06:00 +02:00
Aiman Ismail
5e195e82ca wolfssl: move to 'net' doxygen group 2019-09-12 14:55:52 +03:00
Daniele Lacamera
8bb1ee1cd5 wolfSSL pkg: new set of examples and tests 2019-09-11 08:12:50 +02:00
kaleb-himes
b3f32f83bb wolfSSL pkg with examples 2019-09-09 18:48:53 +02:00