1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 23:12:45 +01:00
Commit Graph

197 Commits

Author SHA1 Message Date
Martine Lenders
0ef62b9690 gnrc_ndp: add support for building RDNSS option 2018-07-05 11:01:22 +02:00
4ea93f3aea
Merge pull request #8542 from OTAkeys/pr/at_oob
drivers/at: at out-of-band data support for at commands parser
2018-07-04 19:01:28 +02:00
Hauke Petersen
3ccb27d00d tools: add mosquitto.rsmb MQTT-SN broker 2018-07-04 11:36:57 +02:00
4e1f07b895
Merge pull request #8475 from aabadie/pr/common-stlink
boards/stm32: use common place of openocd config files for all boards using stlink
2018-06-28 15:13:48 +02:00
Gaëtan Harter
5e053bffe9
boards: use RIOTTOOLS variable 2018-06-28 14:05:33 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
de15af4c87 boards/common/stm32-link: add common place for stlink
- introduce common place for boards using stlink: same serial, all use openocd
- apply this to nucleos
2018-06-26 20:45:23 +02:00
Sebastian Meiling
d0a3817cb8
Merge pull request #9394 from cgundogan/pr/newlib_includes
newlib: include fixes for newlib-nano
2018-06-26 19:29:28 +02:00
Vincent Dupont
3393888cea drivers/at: add URC registering and parsing feature 2018-06-26 10:03:10 -07:00
Cenk Gündoğan
db6cb1ac65 newlib: include fixes for newlib-nano 2018-06-26 15:45:54 +02:00
Joakim Nohlgård
b36afc3964 make: Clean up WERROR handling 2018-06-26 12:50:02 +02:00
Martine Lenders
a6a7357077 shell_commands: add command for packet buffer stats
I'm using something like this command for a while now for debugging
GNRC. Usually, I just patch it into the application I'm using it with,
but I think there is a benefit to also provide it to RIOT upstream
properly.
2018-06-22 09:51:17 +02:00
Gaëtan Harter
acef97aa15
Merge pull request #9243 from cladmi/pr/warning/missing_include_dirs
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
2018-06-18 13:13:54 +02:00
Gaëtan Harter
2c9800d5d8
makefiles/vars.inc.mk: fixup indentation 2018-06-13 13:29:20 +02:00
Gaëtan Harter
08ff1b73a2
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
Warn if a user-supplied include directory does not exist.
2018-06-12 14:08:33 +02:00
Toon Stegen
f1c53794fa Revert "newlib-nano: add include directory"
This reverts commit 88aaa62364.
2018-05-30 17:41:21 +02:00
kenrabold
7d1d5e77d8 cpu/fe310: add RISC-V cpu FE310
New CPU FE310 from SiFive based on RISC-V architecture

build: add makefile for RISC-V builds

Makefile for builds using RISC-V tools
2018-05-29 15:21:45 -07:00
ea4aa1e178
Merge pull request #9134 from aabadie/pr/makefiles/riottools
makefiles/tools: use RIOTTOOLS variable
2018-05-28 17:03:00 +02:00
Toon Stegen
88aaa62364 newlib-nano: add include directory
The newlib-nano include directory can be named either newlib-nano or
nano, so we should make sure it is added in both cases.
2018-05-27 07:13:16 +02:00
f04f954a21 makefiles/tools: use RIOTTOOLS variable 2018-05-15 11:29:33 +02:00
0b0fea9a2e
Merge pull request #9101 from cladmi/pr/make/add_debug_variable
makefiles/info.inc.mk: add a info-debug-variable-% target
2018-05-14 11:47:29 +02:00
9312a711bc cpu/cortexm: explicitly set -march=armv6s-m for crotexm0(plus)
Works around a regression in gcc 8.1.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85606.
2018-05-11 23:07:25 +02:00
Gaëtan Harter
e45194d301
mcuboot.mk: use RIOTTOOLS variable 2018-05-09 18:01:51 +02:00
Gaëtan Harter
bd29ac614d
makefiles/info.inc.mk: add a info-debug-variable-% target
Add a target to print an internal variable value.

Usage: make info-debug-variable-VARIABLENAME

Example:

    make info-debug-variable-ELFFILE
    /path/to/riot/examples/hello-world/bin/native/hello-world.elf
2018-05-08 18:19:03 +02:00
smlng
a83d53f2d9
make: add and export RIOTTOOLS directory
Replacing usage will come in further commits/PRs.
2018-05-03 15:56:00 +02:00
Josarn
1dd7ac0575 Makefile.include: add SIZEFLAGS 2018-04-27 12:23:06 +02:00
cladmi
3f145413f5 boards/makefiles: Remove '-Otype' from OFLAGS
* Remove '-Oihex' and '-Obinary' from OFLAGS for all boards
  It is now provided by the Makefile.include rule.
2018-04-09 17:32:46 +02:00
Hauke Petersen
108284670c net: added RD client for simplified registration 2018-04-09 10:37:10 +02:00
Hauke Petersen
49bd85d00a sys/net: added Skald
Skald is a very small and simple, TX-only BLE stack that supports
sending advertisements only. It is useful for building all kinds
of BLE beacons with very minimal memory footprints.
2018-04-06 11:18:53 +02:00
16ff8a51bd
Merge pull request #8795 from gebart/pr/newlib-rm-lnosys
newlib: link without -lnosys
2018-04-04 10:51:09 +02:00
Gaëtan Harter
b502637f60
Merge pull request #8509 from smlng/cmake/xcompile
pkg: fix cross compiling with cmake on macOS
2018-03-29 14:20:11 +02:00
58a0fd8eb6 murdock: add support for running tests on hardware 2018-03-28 18:28:54 +02:00
35c73c83d0 make: add test-murdock target 2018-03-28 18:28:42 +02:00
Gaëtan Harter
fff5810191 Makefile.include: FIX .DEFAULT_GOAL not being all
.DEFAULT_GOAL was reset many times which removed 'all' from being the default
goal.
By chance it was then set to `link` so was working by some magic.
2018-03-28 16:59:00 +02:00
smlng
069f920466 make: export RANLIB tool with prefix 2018-03-27 19:00:28 +02:00
Gaëtan Harter
72ddc72f2b make: cleanup HEXFILE/ELFFILE/BINFILE
* Use the existing variable when possible
* Remove duplicate definition
* Remove unused BINFILE variable
2018-03-27 16:02:48 +02:00
61f1b941ce make: replace curly braces with parenthesis 2018-03-22 20:43:15 +01:00
Joakim Nohlgård
2060492cf9 bindist: remove APPLICATION_MODULE duplicate
Fix APPLICATION_MODULE being duplicated in the command line during link.

This error is currently silently ignored by the linker.
2018-03-22 14:32:24 +01:00
Joakim Nohlgård
30f6f0033f newlib: No need to link with -lnosys 2018-03-18 09:58:17 +01:00
136ba53639 cpu/cortexm: move -mno-thumb-interwork from CFLAGS_CPU to CFLAGS
CFLAGS_CPU is used in ASFLAGS, but assembler doesn't know that
parameter. Moving to CFLAGS uses it only for the C compiler.
2018-03-14 21:27:14 +01:00
3a6a3b8b14 drivers/si114x: initial basic support 2018-03-08 14:07:28 +01:00
Gaëtan Harter
1c816a9601 info-build: add INCLUDES to the output
Add INCLUDES to the output of info-build
2018-03-01 15:21:16 +01:00
Francisco Acosta
2e066e8693
Merge pull request #8492 from cladmi/pr/prepend_app_module_by_application
makefiles: Add an APPLICATION_MODULE variable
2018-02-28 12:13:14 +01:00
Sören Tempel
55b026b349 Makefile.include: Introduce LINKXX variable
This variable can be used to specify the linker which should be used to
link C++ object files. This is needed in order to use g++ for linking
with TOOLCHAIN=llvm.
2018-02-21 12:26:20 +01:00
Sören Tempel
18f99ef708 makefiles: always link with gcc even if TOOLCHAIN is set to LLVM
Fixes #8356
2018-02-21 12:26:20 +01:00
28a0ffca37 tools: edbg: use for resetting 2018-02-16 15:32:58 +01:00
Joakim Nohlgård
0cf3f63b6f
Merge pull request #8292 from cladmi/pr/deprecated/feature_macros
makefiles/modules.inc.mk: remove setting deprecated FEATURE_PERIPH_ macros
2018-02-09 10:32:12 +01:00
3bfe4b6986 make: mcuboot: add MCUBOOT_ namespacing 2018-02-06 16:41:48 +01:00
Bas Stottelaar
e4d699ad46
Merge pull request #8471 from cladmi/pr/fix_tradfri_module_name_conflict
cpu/efm32: fix 'cpu' module name conflict
2018-02-01 08:41:03 +01:00
Gaëtan Harter
d724e71a26 makefiles: Add an APPLICATION_MODULE variable
Set the application module name with APPLICATION_MODULE.
The default module name is "application_$(APPLICATION)".

This should fix name conflicts where an application/test has the same name as
an existing module and so both write to the same archive.
2018-01-30 17:27:03 +01:00
Gaëtan Harter
a3bc341878 cortexm.inc.mk: allow configuring vectors.o path
This allows providing 'vectors.o' by another module than 'cpu' by overwriting
VECTORS_O variable.
2018-01-30 11:55:05 +01:00
Gaëtan Harter
5cbfb378a8 makefiles/vars.inc.mk: UNDEF fix variable doc
Despite its name, UNDEF are files that must be included during linking even if
the linker would not by default.
2018-01-26 19:38:51 +01:00
Hauke Petersen
09dab1a9fb drivers: add support for STM lis2dh12 accelerometer 2018-01-18 18:39:43 +01:00
b63412efa1 drivers: add rn2xx3 LoRa module driver 2018-01-18 10:46:54 +01:00
Gaëtan Harter
e554a19756 makefiles/modules.inc.mk: remove deprecated FEATURE_PERIPH_ macros
`#ifdef FEATURE_PERIPH_NAME` usage should now be replaced by
`#ifdef MODULE_PERIPH_NAME`.

This deprecation was started by pull requests #8226 and #8227.
2018-01-18 09:24:17 +01:00
4c4e10fb31 makefiles: add lora pseudomodule 2017-12-14 15:01:09 +01:00
Cenk Gündoğan
b6581289a2 pkg: ccn-lite: adapt to v2 2017-12-01 16:14:27 +01:00
3367840fa2 sys/net/nanocoap: use submodules 2017-12-01 12:55:45 +01:00
Hauke Petersen
a1d5e0fe13 make/info-global: adapt for common board folder 2017-11-30 10:26:36 +01:00
Martine Lenders
16e2829258
Merge pull request #7959 from antmicro/feature/renode-integration
makefiles: tools/renode: add support for Renode
2017-11-24 18:43:31 +01:00
Joakim Nohlgård
697f0b00f3 edbg: Use DEBUG_ADAPTER_ID to select which USB programmer to use 2017-11-17 10:03:05 +01:00
Joakim Nohlgård
57de166ea1 makefiles: Refactor openocd tool handling
Attempt to decouple board configuration from debugger interface
configuration by specifying the DEBUG_IFACE variable for the debug
hardware interface to use.
2017-11-17 10:03:05 +01:00
Xavier Clive
c6af3f733d make: Do not attempt to use color if the terminal cannot support it 2017-11-16 20:04:18 +01:00
86665b71bf cpu: adapt to COREIF_NG removal 2017-11-16 14:40:16 +01:00
3e4e3d261f sys/posix: factor inet_*to* from header into .c file 2017-11-15 23:01:56 +01:00
Peter Kietzmann
a2721c03c9 sys/od: add ASCII representation to memory dump 2017-11-14 09:22:02 +01:00
fd1b0bdea5 makefiles: docker: make docker call non-interactive
prevents "the input device is not a TTY"
2017-11-13 12:34:51 +01:00
Piotr Zierhoffer
b424274a72 makefiles: tools/renode: add support for Renode 2017-11-08 12:43:09 +01:00
e7646781e4 make: mcuboot: prefix mcuboot make targets 2017-11-07 12:44:38 +01:00
268e763d63 make: move mcuboot related stuff to makefiles/mcuboot.mk 2017-11-07 12:28:41 +01:00
Hauke Petersen
9c386716a9
Merge pull request #7241 from kaspar030/make_periph_use_submodules
make: use submodules for periph
2017-11-06 14:28:04 +01:00
Martine Lenders
0954dba17d
Merge pull request #6000 from kaspar030/add_event_system
sys: add asynchronous event system
2017-11-06 14:25:18 +01:00
0e09213e53 sys/event: initial commit of handler-based event system 2017-11-06 14:19:31 +01:00
3ec8126c84 cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
8965e9e26c make: make features available to Makefile.include 2017-11-06 12:01:19 +01:00
d69291c3a1 make: handle optional features in Makefile.dep 2017-11-06 12:01:19 +01:00
46d824b6b1 make: add Makefile.periph 2017-11-06 12:01:01 +01:00
c348a89c91 make: add NO_PSEUDOMODULES variable 2017-11-06 12:01:01 +01:00
6f43e98b95 drivers/si70xx: cleanup and use pseudomodules 2017-11-05 18:13:19 +01:00
66bd9b0295
Merge pull request #7809 from smlng/makefiles/fix_info_targets
makefiles: fix (and add) info targets
2017-11-02 16:10:14 +01:00
Joakim Nohlgård
b80cdd81d8
Merge pull request #7798 from kaspar030/fix_buildsizes_diff
make: fix info-buildsizes-diff
2017-10-30 07:41:19 +01:00
Francisco Acosta
a6cb09cfa6 Merge pull request #7783 from kYc0o/fix_cbor_arm
sys/cbor: fix compilation with newlib
2017-10-24 16:21:44 +02:00
Martine Lenders
af5760977d newlib: use RIOT dependency system for _GNU_SOURCE instead 2017-10-24 16:01:24 +02:00
smlng
de6691f523 makefiles: add targets for list of features provided and features required 2017-10-24 14:09:20 +02:00
smlng
fe1a99e1b1 makefiles: fix duplicate for missing features 2017-10-24 14:08:52 +02:00
bbae3f32c2 make: fix info-buildsizes-diff 2017-10-23 23:02:07 +02:00
Martine Lenders
e3e1abb368
make: prefix TERMINAL macro
Fixes #7767
2017-10-23 15:19:32 +02:00
0718898cc0 Merge pull request #7758 from haukepetersen/opt_make_termprog
make: tools: serial: allow for using picocom as term prog
2017-10-19 10:20:01 +02:00
Hauke Petersen
cd5fa2690e make.serial: allow for using picocom as term prog 2017-10-19 09:57:19 +02:00
Joakim Nohlgård
0ad0a39a40 makefiles: Split GDB settings from toolchain 2017-10-18 14:34:20 +02:00
Joakim Nohlgård
7713bede99 openocd: Refactor openocd.sh script
- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.
2017-10-18 14:34:20 +02:00
Vincent Dupont
be588c2f0e cpu/stm32_common: use pseudomodule for UART HW FC 2017-10-10 14:09:05 +02:00
Martine Lenders
d30216dcbe gnrc_ipv6_nib: add configuration pseudo-modules 2017-10-06 23:21:18 +02:00
e5fc70ae57 makefiles: cleanup indentation 2017-09-28 21:29:08 +02:00
625d2449d8 make: fix nproc for buildtest 2017-09-20 21:07:11 +02:00
daa277b36e make: refactor info- and buildtest targets 2017-09-14 13:15:53 +02:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
Hauke Petersen
27361a5c73 Merge pull request #6690 from lebrush/fix/export-features
make: fix export features
2017-09-08 11:35:21 +02:00
bc928eac17 Merge pull request #7507 from smlng/enh/makefiles
makefiles, build tests: omit recursive make
2017-09-08 11:13:52 +02:00
88433cba2f sys: random: make use of submodules in Makefile 2017-08-30 23:49:30 +02:00