Skip to content
Snippets Groups Projects
  1. Mar 05, 2019
  2. Mar 04, 2019
  3. Feb 28, 2019
    • Marian Buschsieweke's avatar
      makefiles/tools: Automatically set avrdude target · 4abc41a2
      Marian Buschsieweke authored
      The CPU variable in the boards Makefile.include file already contains the target
      CPU, so there is no reason to provide it in each board again as avrdude flag.
      
      This commit automatically sets the avrdude target from the CPU variable and
      removes the unneeded flags.
      Unverified
      4abc41a2
    • Marian Buschsieweke's avatar
      makefiles/tools: fix avrdude with ICSP programmers · 93cd8a1b
      Marian Buschsieweke authored
      Currently the flag "-P ${PORT}" is added to avrdude regardless of the programmer
      used. But this flag should only be set for programmers that operate over a
      serial port - e.g. like the various Arduino bootloaders. This commit changes
      the behaviour so that the "-P flag" is only set for only of the default
      programmers of the various AVR boards supported by RIOT. This allows to use
      ICSP programmers (e.g. like the usbtiny) like this:
      
          make BOARD=arduino-uno PROGRAMMER=usbtiny
      Unverified
      93cd8a1b
    • Gaëtan Harter's avatar
      Makefile.include: introduce FLASHFILE · 1d268c4c
      Gaëtan Harter authored
      Introduce FLASHFILE variable to start migrating boards to use it.
      
      This is the file that will be used for flashing.
      Boards do not currently use it but will migrated in upcoming PRs.
      Unverified
      1d268c4c
  4. Feb 25, 2019
  5. Feb 20, 2019
  6. Feb 05, 2019
  7. Feb 04, 2019
  8. Jan 28, 2019
  9. 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
  10. Jan 21, 2019
  11. 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
  12. 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
  13. Jan 04, 2019
  14. Jan 03, 2019
  15. 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
  16. Dec 21, 2018
  17. Dec 20, 2018
  18. Dec 18, 2018
  19. Dec 07, 2018
  20. Dec 05, 2018
  21. 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
  22. 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
  23. Nov 15, 2018
  24. Nov 14, 2018
    • Gaëtan Harter's avatar
      makefiles/scan-build: Produce an error when doing 'scan-build-analyze' · 50f58bfb
      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.
      Unverified
      50f58bfb
    • Gaëtan Harter's avatar
      makefiles/scan-build: Fix 'scan-build-analyze' target · ea3c1661
      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.
      Unverified
      ea3c1661
Loading