Skip to content
Snippets Groups Projects
  1. Feb 05, 2019
  2. Feb 04, 2019
  3. Jan 28, 2019
  4. Jan 23, 2019
    • Gaëtan Harter's avatar
      makefiles/vars.inc.mk: do not export LINKFLAGS · be75f734
      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`.
      Unverified
      be75f734
  5. Jan 21, 2019
  6. Jan 10, 2019
    • Gaëtan Harter's avatar
      cortexm.inc.mk: detect 'arm-none-eabi-gcc' from ubuntu bionic · 89d7e2ec
      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.
      Unverified
      89d7e2ec
  7. Jan 07, 2019
    • cladmi's avatar
      makefiles/docker.inc.mk: handle 'build' directory · ed179863
      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.
      ed179863
    • Sebastian Meiling's avatar
      make: introduce BUILDOUT_DIR · 5b3d2645
      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.
      5b3d2645
  8. Jan 04, 2019
  9. Jan 03, 2019
  10. Jan 02, 2019
    • Francisco Acosta's avatar
      riotboot: allow to overwrite slot 1 · 8a0a0be4
      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.
      8a0a0be4
    • Francisco Acosta's avatar
      riotboot: add support for multislot · ec24ea49
      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);`
      ec24ea49
  11. Dec 21, 2018
  12. Dec 20, 2018
  13. Dec 18, 2018
  14. Dec 07, 2018
  15. Dec 05, 2018
  16. Dec 03, 2018
    • Francisco Acosta's avatar
      sys: add riotboot_hdr submodule · 00adbd69
      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: default avatarKaspar Schleiser <kaspar@schleiser.de>
      00adbd69
  17. Nov 27, 2018
    • cladmi's avatar
      jlink: get flash and debug files from cli · 5fcc1210
      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.
      Unverified
      5fcc1210
  18. Nov 15, 2018
  19. Nov 14, 2018
  20. Nov 08, 2018
  21. Oct 30, 2018
  22. Oct 24, 2018
  23. Oct 23, 2018
  24. Oct 17, 2018
  25. Oct 16, 2018
    • cladmi's avatar
      llvm.inc.mk: completely replace detection of GCC includes · 1802e775
      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.
      Unverified
      1802e775
Loading