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

21536 Commits

Author SHA1 Message Date
b650f355c7
nrf802154: Add rssi/lqi to received frames
LQI calculation following the instructions from the datasheet. RSSI
calculation appears to only require the offset and not the scaling
factor
2019-03-12 15:11:13 +01:00
1da26d5690
Merge pull request #11105 from aabadie/pr/boards/nrf52840-mdk-openocd-fix
boards/nrf52840-mdk: fix openocd programmer configuration
2019-03-06 21:58:34 +01:00
Hauke Petersen
601e6233d9
Merge pull request #11055 from haukepetersen/opt_nimble_makefiles
pkg/nimble: improve structure of Makefiles
2019-03-06 20:57:19 +01:00
Sebastian Meiling
b98fdac01e
Merge pull request #9917 from gschorcht/esp8266
cpu/esp8266: esp-now network device support
2019-03-06 20:28:39 +01:00
Hauke Petersen
51aa8fe407 examples/nimble_gatt: use gatt/gap svcs explicitly 2019-03-06 18:21:52 +01:00
Hauke Petersen
2f46f8c732 pkg/nimble: improve Makefile structure 2019-03-06 18:21:52 +01:00
da2f4747e8
Merge pull request #11079 from cladmi/pr/compile_and_test/bug/update_docstring
tools/compile_and_test_for_board: FIX outdated help docstring
2019-03-06 16:54:42 +01:00
Gaëtan Harter
411e98e55e
Merge pull request #11110 from jcarrano/flash_canned_recipe_conversion
riotboot,mcuboot: Use canned recipe for flashing.
2019-03-06 16:50:43 +01:00
Marian Buschsieweke
63069f9b88
Merge pull request #11058 from smlng/pr/9707/squash
tests : add periph_gpio_arduino for verifying arduino pin mappings
2019-03-06 16:22:52 +01:00
Juan I Carrano
6c7984e52d
Merge pull request #11037 from cladmi/pr/doc/remove_lesscpy
doc/doxygen: remove support for lesscpy
2019-03-06 15:25:11 +01:00
Hauke Petersen
3f95575e55
Merge pull request #10465 from HendrikVE/pr/extend_nimble_gatt_example
examples/nimble_gatt: extend application with ble characteristics
2019-03-06 14:57:37 +01:00
Gaëtan Harter
a1d47cae21
tests/compile_and_test_for_board: remove duplicate 'default' in help
Default values are given by ArgumentDefaultsHelpFormatter so no need to
duplicate 'default' value in manually anymore.
2019-03-06 14:47:45 +01:00
7b9181ea6f
Merge pull request #11072 from benpicco/samd21_pm
samd21: enable idle modes
2019-03-06 13:55:08 +01:00
c0e8a852fc
Merge pull request #11115 from fjmolinas/stm32l0_cortexm0+
cpu/stm32l0: fix CPU_ARCH definition
2019-03-06 13:52:17 +01:00
MichelRottleuthner
3427dcd168
Merge pull request #10961 from MrKevinWeiss/pr/addshellcommands
sys/app_metadata: Add a shell command to print application metadata
2019-03-06 13:36:14 +01:00
smlng
4dca51dc84 tests/periph_gpio_arduino: disable low-mem boards 2019-03-06 13:28:26 +01:00
Tom Keddie
e460065b65 tests : add periph_gpio_arduino for verifying arduino pin mappings 2019-03-06 13:26:02 +01:00
MrKevinWeiss
c36cf5743f tests/shell: Add app_metadata to shell tests
Adds app_metadata to the shell test
This both serves as a simple test to see if the module is available
and doesn't crash as well as an example
2019-03-06 13:07:57 +01:00
francisco
31e256734c cpu/stm32l0: fix CPU_ARCH definition from cortex-m0 to cortex-m0plus 2019-03-06 09:10:56 +01:00
ee44e58855
Merge pull request #11065 from cladmi/pr/board/nz32/termprog
boards/nz32-sc151: do not blindly set TERMFLAGS
2019-03-05 17:07:56 +01:00
Gunar Schorcht
00ac8ea69a cpu/esp8266: add init function in dummy lwIP
Calling the initialization function ensures that the dummy lwIP library is used instead of the real lwIP, even if the esp_wifi module for esp8266 is not used.
2019-03-05 16:43:45 +01:00
Gunar Schorcht
0ffc26919f cpu/esp_common: fix multicast version of esp_now 2019-03-05 16:43:45 +01:00
Gunar Schorcht
226e854a28 cpu/esp8266: doc fixes
The documentation had to be changed due to the relation of module `esp_now` to `esp_wifi` module. In addition, a number of corrections have been made. In the case of documentation, it is impossible to do this in various commits.
2019-03-05 16:43:45 +01:00
Gunar Schorcht
3d2df7114f cpu/esp8266: doc restructured for esp_now_netdev 2019-03-05 16:43:45 +01:00
Gunar Schorcht
cd1bd3811c cpu/esp8266: makefile support for esp_now_netdev 2019-03-05 16:43:45 +01:00
Gunar Schorcht
b6d15565be cpu/esp8266: macros required by esp_now_netdev 2019-03-05 16:43:45 +01:00
Gunar Schorcht
7c5e3a5ca2 cpu/esp: doc of esp_now_netdev changed for esp8266 2019-03-05 16:43:45 +01:00
Gunar Schorcht
84c23a1695 cpu/esp: support of esp_now_netdev for esp8266 2019-03-05 16:43:45 +01:00
Gunar Schorcht
0ddddcb13e cpu/esp: esp_now_params style fixes 2019-03-05 16:43:45 +01:00
MrKevinWeiss
7a220d16a8 sys/shell: Add shell command for app_metadata
This make an easily accessable shell command to print app_metadata
2019-03-05 16:10:06 +01:00
MrKevinWeiss
fc80ae7724 sys/app_metadata: Add app_metadata module
This allows a access to application metadata such as BOARD, CPU, etc.
It prints the contents to the stdio in a standard json form
2019-03-05 16:10:06 +01:00
Juan I Carrano
0bafe2221e
Merge pull request #11106 from benpicco/gdb-multiarch_fix
makefiles/tools: Automatically detect gdb-multiarch
2019-03-05 15:28:48 +01:00
Juan Carrano
420b2c9220 makefiles/mcuboot: use canned recipe for flashing.
The canned recipe is preferred to using $(FLASHER) $(FFLAGS) as it
allows to specify additional action actions (like what preflash is
currently doing.)
2019-03-05 14:45:48 +01:00
Juan Carrano
748bc6deee makefiles/riotboot: use canned recipe for flashing.
A canned recipe had previously been defined to perform the flashing
procedure. The canned recipe is preferred to calling $(FLASHER) $(FFLAGS)
as there might be additional steps involved in flashing (this is handled by
preflash currently but with the canned recipe we will be able to fix it.)
2019-03-05 14:39:57 +01:00
Benjamin Valentin
6e7414e220 makefiles/tools: Automatically detect gdb-multiarch
Modern versions of GDB support multiple targets with the same gdb binary.
At least Ubuntu and Debian have dropped the gdb-arm-none-eabi package in favour
of gdb-multiarch.
Here, no $(PREFIX)-gdb binary is availiable, instead gdb-multiarch should be used.

This patch tries to automatically detect the presense of gdb-multiarch and uses it
instead of arm-none-eabi-gdb.
2019-03-05 14:31:22 +01:00
Francisco Acosta
52d2851747
Merge pull request #11089 from cladmi/pr/riotboot/use_flashfile
tests/riotboot: use FLASHFILE for the generated file
2019-03-05 14:29:02 +01:00
MrKevinWeiss
0738084657 Makefile: add APPLICATION to macro defines
This allows the application code to know what application it is running
2019-03-05 14:00:41 +01:00
Gaëtan Harter
7a88bb4c1f
riotboot: prepare for when FLASHFILE is used
This currently does nothing but setting FLASHFILE when flashing.
This will allow passing the variable when flasher will use the FLASHFILE
variable.
2019-03-05 12:04:15 +01:00
840a096ce6
boards/nrf52840-mdk: fix openocd programmer configuration
For nrf52 based boards, the default adapter is JLink and nrf52840-mdk
uses dap.
2019-03-05 11:48:16 +01:00
Gaëtan Harter
13e852c58c
tests/riotboot: use FLASHFILE for the generated file
FLASHFILE is now a generated file when doing `make all`.
This prepares also for when flashers will use `FLASHFILE` as a file to
be flashed.

It currently still needs the hack below for openocd and edbg.

This also fixes the issue when building 'riotboot' in docker that was
being built with the host toolchain.
2019-03-05 11:22:11 +01:00
Gaëtan Harter
240e4a3fe2
makefiles/riotboot.mk: slots only need to depend on BASELIBS
Using 'link' was working too but will introduce a circular dependency
when FLASHFILE is one of the slot files.

This trims down to the minimal required dependency to work. It is now
the same as `ELFFILE` dependencies.
2019-03-05 11:22:11 +01:00
Gaëtan Harter
ecfdece104
Makefile.include: include 'riotboot.mk' before using FLASHFILE
Include the 'riotboot.mk' file before using FLASHFILE/ELFFILE/HEXFILE
variables. This will allow setting variables to values from riotboot.mk
like `FLASHFILE = $(RIOTBOOT_COMBINED_BIN)` before it is evaluated in
Makefile.include.

It should be included after defining 'BINFILE' for 'riotboot.bin'
handling.
2019-03-05 11:22:11 +01:00
Gaëtan Harter
60f71a1c15
tests/riotboot: use 'RIOTBOOT_COMBINED_BIN' variable
Use the new variable instead of the composed name.
2019-03-05 11:22:11 +01:00
5355f6a7be
Merge pull request #11062 from jcarrano/picocom-no-echo
serial.inc.mk: disable local echo in picocom.
2019-03-05 09:58:59 +01:00
e863adaca2
Merge pull request #11100 from haukepetersen/opt_nrf802154_addrgen
cpu/nrf52/nrf802154: unify address generation
2019-03-04 23:27:37 +01:00
1bed56847a
Merge pull request #11097 from cladmi/pr/murdock/flashfile
makefiles/murdock.inc.mk: do not overwrite FLASHFILE if set
2019-03-04 22:28:59 +01:00
HendrikVE
b5dacb6534 examples/nimble_gatt: extend application with ble characteristics
Extend this application with 2 custom BLE characteristics. One is
read-only and returns a string including a random number and the
second one is writable. In addition, two characteristics for device
information were added (model and manufacturer). Access to the
characteristics produces output on the terminal.
2019-03-04 17:28:19 +01:00
Hauke Petersen
824fcf3c9d cpu/nrf52/nrf802154: unify address generation 2019-03-04 17:12:06 +01:00
Hauke Petersen
7cb1049eef
Merge pull request #10268 from SemjonKerner/add_nrf154
cpu/nrf52/radio: initial support for nrf52's ieee802.15.4 radio
2019-03-04 16:18:43 +01:00
Gaëtan Harter
7467d1be75
makefiles/murdock.inc.mk: do not overwrite FLASHFILE if set
If FLASHFILE is set keep the original value.

It changes the variable from an immediate to a deferred variable but if
murdocks keeps working there is no issue.
2019-03-04 15:52:35 +01:00