- Feb 05, 2019
-
-
Francisco Acosta authored
Allows to use avrdude as a flashing tool in any context (e.g. not dependent on arduino or atmega) though it only works (AFAIK) on atmega, but I thought it's better to have it here as we have other flashing tools.
-
Francisco Acosta authored
-
- Feb 04, 2019
-
-
Martine Lenders authored
-
- Jan 28, 2019
-
-
Gaëtan Harter authored
`command -v first second third` only works in `bash` and not in `sh`. So replace with multiple calls to `command`. This fixes using `objcopy` when the toolchain `objcopy` is not available.
-
- Jan 23, 2019
-
-
Gaëtan Harter authored
It is only used by `Makefile.include` and should not be used by sub-make instances. This is required to prevent evaluating `LINKFLAGS` when not needed and a required step to not evaluate it on the host with for example `avr-ld` when building in docker. I checked usage with: git grep -e '(LINKFLAGS)' -e '{LINKFLAGS}' Packages may be using it but `LINKFLAGS` is a RIOT way of naming things and even if `generate-xcompile-toolchain` uses `LINK` it does not use `LINKFLAGS`.
-
- Jan 21, 2019
-
-
Dylan Laduranty authored
-
- Jan 10, 2019
-
-
Gaëtan Harter authored
arm-gcc version from ubuntu bionic repository is not supported in RIOT. Both when building with `gnu` and `llvm`. arm-none-eabi-gcc --version arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620 So detect this version and print an error if found. The check is done on the building machine and not on the host when building in docker. The error can be disabled when building with WERROR=0.
-
- Jan 07, 2019
-
-
cladmi authored
The 'build' directory should be created before starting docker. If not it will be created as root. Also add mapping for the directory in docker. Currently create the directory in the target until there is a directory creation target.
-
Sebastian Meiling authored
This introduces a new environment variable for a common directory that holds all output of the build process, such as application or package binaries. This would also allow to easily redirect output to any other location, e.g. for out-of-source builds.
-
- Jan 04, 2019
-
-
Martine Lenders authored
-
- Jan 03, 2019
-
-
Vincent Dupont authored
-
- Jan 02, 2019
-
-
Francisco Acosta authored
By erasing slot 1 header the slot gets invalidated. This is very useful while debugging, since we can force the bootloader to ignore anything on that slot.
-
Francisco Acosta authored
riotboot looks for valid, available slots and compares its version. The slot with the highest version is booted, otherwise if no valid slot is found it loops on `while(1);`
-
- Dec 21, 2018
-
-
Alexandre Abadie authored
-
- Dec 20, 2018
-
-
Schorcht authored
-
- Dec 18, 2018
-
-
Francisco Acosta authored
riotboot is introduced here and makes use of riotboot_hdr, which indentifies the images encapsulated as slots. The slot size and offset is configurable, which makes slots extendable if needed, e.g. 2 or more slots can be transparently added. Co-authored-by:
Kaspar Schleiser <kaspar@schleiser.de> Co-authored-by:
Gaëtan Harter <gaetan.harter@fu-berlin.de>
-
- Dec 07, 2018
-
-
Juan Carrano authored
make -f test-checks.mk test-ensure_value should succeed, while make -f test-checks.mk test-ensure_value-negative should fail.
-
Juan Carrano authored
A call to `$(ensure_value x,y)` will fail with message y if x is empty, and otherwise return x. This can be useto write more compact makefiles, while still producing friendly error messages.
-
Sebastian Meiling authored
Mounting `/etc/localtime` directly does not work on macOS (anymore). However, by resolving the symlink to its real path docker can handle the mount.
-
- Dec 05, 2018
-
-
Sebastian Meiling authored
-
Juan Carrano authored
When doing `make -j clean all' the directories can be cleaned after files are made. To ensure files are created after clean, those targets are made conditionally dependent on the clean target. This copies the handling done in Makefile.include.
-
Gaëtan Harter authored
Get FLASH_FILE and ELFFILE from command line instead of environment variable. The documentation was claiming ELFFILE was given as a command line argument already, but is was not.
-
Juan Carrano authored
To keep Makefile.include clean and to be consistent with other tools, the Eclipse IDE support is put in a separate file.
-
- Dec 03, 2018
-
-
Francisco Acosta authored
riotboot_hdr enables to partition the internal flash memory into "slots", each one with a header providing information about the partition. The concept for now is limited to firmware partitions, which are recognised by the riotboot bootloader. In the future the concept might be extended to represent other content. Co-authored-by:
Kaspar Schleiser <kaspar@schleiser.de>
-
- Nov 27, 2018
-
-
cladmi authored
Get BINFILE and ELFFILE from command line instead of environment variable. Rename 'HEXFILE' to 'BINFILE' in the script as the binary file is used. The documentation was already talking about 'BINFILE' but 'BINFILE' was never exported by the build system and it was using 'HEXFILE' in the implementation.
-
- Nov 15, 2018
-
-
Juan Carrano authored
USEMODULE += crypto_aes_precalculated enables the precalculated T tables (the old code). USEMODULE += crypto_aes_unroll causes loops to be unrolled.
-
- Nov 14, 2018
-
-
Gaëtan Harter authored
This makes doing 'scan-build-analyze' produce an error at execution if WERROR=1. When used from `scan-build` it will not procude an error to display the result webpage.
-
Gaëtan Harter authored
This correctly defines a `scan-build-analyze` target that does not display the result webpage. `scan-build-view` has now been moved to a private target as should not be used directly. The handling of displaying the page on the host system and implementing 'scan-build-analyze' are now explicitely done with separate targets and not double implemented target when in docker or on the host that were executed twice with different implementations.
-
Gaëtan Harter authored
-
Gaëtan Harter authored
Update the SCANBUILD_OUTPUTDIR to be per board. Also remove un-necessary export and 'CURDIR'.
-
Gaëtan Harter authored
This is required to have reference builds context using the right RIOT_VERSION_OVERRIDE=buildtest.
-
- Nov 08, 2018
-
-
Hauke Petersen authored
-
- Oct 30, 2018
-
-
Gaëtan Harter authored
When building from a worktree, the common git directory was not mounted in docker. This lead to the version not being set and issues with git-cache in ubuntu bionic that could not execute the 'git hash-object' command.
-
- Oct 24, 2018
-
-
Frits Kuipers authored
tests/driver_ds18: Add test application for DS18B20 sensor. tests/driver_ds18: Add whitelist of boards
-
cladmi authored
`clean-intermediates` should be done per board. Without this it only tries to clean the default board.
-
- Oct 23, 2018
-
-
Gaëtan Harter authored
If GIT_CACHE_DIR is a directory make it available to docker. This will allow using the system git_cache also in the docker container.
-
Gaëtan Harter authored
Currently the default value was set by `dist/tools/git/git-cache`. This moves/duplicates the default value in the build system.
-
- Oct 17, 2018
-
-
Hauke Petersen authored
-
Hauke Petersen authored
-
- Oct 16, 2018
-
-
cladmi authored
This completely removes the hardcoded/os specific path setting for includes. It directly queries gcc include directories. It takes what was already done by `makefiles/libc/llvm.inc.mk`. I replaced the `GCC_MULTI_DIR` handling by givining `CFLAGS_CPU` when searching for include directories. `CFLAGS` cannot be used as it will crash when `-target $(CPU_ARCH)` is added. It currently requires using deferred variables as `CFLAGS_CPU` can be overwritten later in the build process.
-