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

22596 Commits

Author SHA1 Message Date
35e083a94c
Merge pull request #11632 from miri64/tests/enh/tsrb-unittests
unittests: add tsrb tests
2019-06-05 18:13:17 +02:00
Martine Lenders
71a7dc3539 unittests: add tsrb tests 2019-06-05 17:54:56 +02:00
9b47dcb542
Merge pull request #11634 from miri64/tsrb/fix/change-api-types
tsrb: change input type to `uint8_t`
2019-06-05 17:50:16 +02:00
Martine Lenders
5dafce71be slipdev: adapt for tsrb API type change 2019-06-05 17:10:27 +02:00
Martine Lenders
31c49c58f1 ethos: adapt for tsrb API type change 2019-06-05 17:10:27 +02:00
Martine Lenders
dfc8bbd96c isrpipe: adapt for tsrb API type change 2019-06-05 17:10:27 +02:00
Martine Lenders
fb19b514f4 tsrb: remove now unnecessary cast
Both `unsigned char` and `uint8_t` are unsigned (and the same type on
most platforms) so this cast became redundant.
2019-06-05 17:10:26 +02:00
Martine Lenders
d361fc52a0 tsrb: change input type to uint8_t
Having the input type `char` makes the output of `tsrb_get_one()`
incomparable to the input of `tsrb_add_one()`. By changing it to
`uint8_t` we not only definitively fix it to an octet, but also ensure
that the input and output are the same.
2019-06-05 17:10:26 +02:00
Dylan Laduranty
e1f6b08d7a
Merge pull request #11075 from bergzand/pr/usb/auto_init
usbus: Initial simple auto init structure
2019-06-05 16:33:55 +02:00
8246b09f10
usbus_minimal: Adapt example to auto_init 2019-06-05 16:17:01 +02:00
ef68827559
auto_init_usb: initial implementation 2019-06-05 16:17:01 +02:00
Gaëtan Harter
bbb6dec054
Merge pull request #11630 from fjmolinas/pr_kinetis_ld
kinetis/ldscript: handle _rom_offset
2019-06-05 16:12:25 +02:00
Dylan Laduranty
e98376c70d
Merge pull request #10916 from bergzand/pr/usb/usbus
USBUS: Initial work towards an USB stack
2019-06-05 15:07:23 +02:00
537add6deb
USBUS: add minimal working example 2019-06-05 14:51:27 +02:00
74e0b5b85b
usbus: Initial work to a unified USB stack 2019-06-05 14:22:16 +02:00
35af9b9fb7
usb: Add generic USB structs and functions 2019-06-05 14:22:12 +02:00
Martine Lenders
b4fbfd7a7c
Merge pull request #11633 from bergzand/pr/usb/fix_usbdev_wrapper
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:59:45 +02:00
Martine Lenders
8c5433d5db
Merge pull request #11624 from acsl-mipt/pr_sys_tsrb
sys/tsrb: bug fix for tsrb_get_one()
2019-06-05 12:24:24 +02:00
20b94e9c56
usbdev: fix usbopt argument for getter/setter wrappers 2019-06-05 12:06:10 +02:00
e53b117563
Merge pull request #11625 from haukepetersen/opt_nrf51_timerrttcfg
boards/nrf51-based: split shared timer/rtt config
2019-06-05 12:00:27 +02:00
Hauke Petersen
44625ecc1b boards/nrf51-based: split shared timer/rtt config 2019-06-05 09:53:15 +02:00
Martine Lenders
c81ff3862c
Merge pull request #11628 from haukepetersen/opt_nimble_doc
pkg/nimble: cleanup doxygen groups for submodules
2019-06-05 09:29:23 +02:00
Leandro Lanzieri
8068a83edf
Merge pull request #11629 from cladmi/pr/boards/lobaro-lorabox-flashfile
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
2019-06-05 09:24:48 +02:00
Martine Lenders
fcc8427ff3
Merge pull request #11608 from haukepetersen/opt_calliope_rmfscopyflasher
board/calliope-mini: use openocd as default flasher and rm fscopy
2019-06-04 22:09:48 +02:00
francisco
1e0f44c28a kinetis/Makefile.include: cleanup unused LINKFLAGS
- _rom_start_addr, _ram_start_addr, _rom_length and _ran_length are
  already defined in cortexm_common/Makefile.included and can therefore
  be removed from kinetis/Makefile.include
- _ram_base_addr is never used and was not in commit history so
  is also removed
2019-06-04 18:11:55 +02:00
francisco
985ee95d41 tests/cortexm_common_ld_script: add kinetis to whitelist 2019-06-04 18:11:55 +02:00
francisco
f0311ce1fa kinetis/ldscript: include _rom_offset
- To be able to flash at an offset the vector table must be
  relocated accordingly to the IMAGE_OFFSET, therefore linkage
  needs to take the offset into account.
2019-06-04 18:05:35 +02:00
francisco
43182bd8f7 cortexm_common/ldscript: use cortexm_rom_offset.ld 2019-06-04 18:05:35 +02:00
francisco
1e5a485539 cortexm_common/ldscript: add common script for rom_offset calculation 2019-06-04 18:05:35 +02:00
Martine Lenders
6b582fd5d0
Merge pull request #11593 from miri64/ipv6_ext/feat/frag
ipv6_ext: add fragmentation extension definitions
2019-06-04 17:12:51 +02:00
Martine Lenders
413c6d15e7
Merge pull request #11627 from cladmi/pr/native/toolchain_duplication
boards/native: remove toolchain variables duplication
2019-06-04 16:39:44 +02:00
Gaëtan Harter
84d7e37b11
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-04 16:37:32 +02:00
bfeabb3ad9
Merge pull request #11609 from haukepetersen/opt_microbit_rmfscopyflasher
board/microbit: use openocd and remove fscopy
2019-06-04 16:25:27 +02:00
Martine Lenders
3e6cfcdb8c tests: provide unittests for ipv6_ext_frag 2019-06-04 16:24:28 +02:00
Martine Lenders
2434197837 ipv6_ext: add fragmentation extension definitions 2019-06-04 16:24:28 +02:00
Hauke Petersen
5d96471abf pkg/nimble: cleanup doxygen groups for submodules 2019-06-04 16:14:41 +02:00
Gaëtan Harter
eb3398d294
Merge pull request #11619 from cladmi/pr/make/exports/port_linux_darwin
board: remove exporting PORT_LINUX|PORT_DARWIN
2019-06-04 16:02:11 +02:00
Gaëtan Harter
9c5688ea27
boards/native: remove toolchain variables duplication
The toolchain variables were overwritten anyway in
`makefiles/toolchain/gnu|llvm.inc.mk` as they use `=` affectation,
except for `OBJCOPY`.

On my Linux ubuntu bionic machine, the only difference for `info-build`
with both gnu/llvm and also with LTO=1
is that it now uses an absolute path for `objcopy`

    -OBJCOPY: objcopy
    +OBJCOPY: /usr/bin/objcopy

On the OSX 17.7.0 I tested, there was no difference.
2019-06-04 16:00:24 +02:00
Hauke Petersen
7c369e9fb3
Merge pull request #11622 from miri64/gnrc_ipv6_ext/fix/nettype
gnrc_ipv6_ext: fix packet snip type for header build function
2019-06-04 15:33:46 +02:00
Hauke Petersen
f163162454 boards/microbit: remove fscopy shell script 2019-06-04 15:27:58 +02:00
Hauke Petersen
cd998f6a2d boards/microbit: use openocd as default programmer 2019-06-04 15:27:58 +02:00
Martine Lenders
236cfffc28
Merge pull request #11296 from haukepetersen/add_nimble_ipsp
ble/nimble: add support for build-in IPSS service
2019-06-04 15:15:04 +02:00
Hauke Petersen
9428254b72 boards/calliope: remove fscopy script 2019-06-04 15:10:14 +02:00
Hauke Petersen
8d03a83c2a boards/calliope: use openocd as default programmer 2019-06-04 15:10:14 +02:00
Hauke Petersen
fb3febab7f ble/nimble: add support for build-in IPSS service 2019-06-04 14:48:42 +02:00
korotkoves
ecd64faeb4 tsrb: bug fix for tsrb_get_one() 2019-06-04 12:34:10 +03:00
Martine Lenders
731ef19970 gnrc_ipv6_ext: fix packet snip type
The `pkt->type` of an extension header should be
`GNRC_NETTYPE_IPV6_EXT` so it can be parsed properly as an extension
after building.
2019-06-04 10:47:02 +02:00
Gaëtan Harter
fcd7f2233a
Merge pull request #11615 from cladmi/pr/cpu/atmega_common/ldscripts_compat/doc
cpu/atmega*/ldscripts_compat: add command to generate ldscript
2019-06-03 16:49:38 +02:00
Gaëtan Harter
6c529458f1
dist/tools/buildsystem_sanity_check/: check no PORT_ exports
Add sanity check for removed exports.
2019-06-03 16:24:48 +02:00
Gaëtan Harter
675bd5eec0
board: remove exporting PORT_LINUX|PORT_DARWIN
PORT_LINUX and PORT_DARWIN are evaluated by
`makefiles/tools/serial.inc.mk` and some boards Makefile.include.
Their value does not need to be exported.

This also globally removes the line saying that the exports are needed
for flash rule.
2019-06-03 16:21:28 +02:00