Commit Graph
21546 Commits
Author SHA1 Message Date
Hauke Petersen 4e49fa5cc5 examples/nimble_gatt: drop build-in init calls 2019-03-07 16:47:13 +01:00
Hauke Petersen 0cca1769cc examples/nimble_gatt: unroll update_ad()
This static function was a leftover from very early stages of this
example and at the current state there is not sense in keeping it.
Having these few lines directly where the advertising is triggered
makes the code more clean and readible.
2019-03-07 16:46:00 +01:00
Hauke Petersen 8a849be118 pkg/nimble: auto initialize build-in services 2019-03-07 16:21:08 +01:00
Hauke Petersen f3257f0bfe pkg/nimble: extract own addr type during init 2019-03-07 16:20:36 +01:00
Hauke Petersen fe56b73e07 pkg/nimble: wait for host/ctrl sync during init 2019-03-07 16:19:23 +01:00
Martine Lenders 87d0757689 Merge pull request #11121 from haukepetersen/fix_random_includes
sys/random: cleanup includes
2019-03-07 11:56:14 +01:00
Martine Lenders e288c9b23f Merge pull request #10873 from kaspar030/limit_uncrustify_line_length
uncrustify: split lines at 80 chars
2019-03-07 11:46:02 +01:00
Martine Lenders f4145b3bfc Merge pull request #11120 from fjmolinas/pkg/lwip_fix_URL
pkg/lwip: update pkg_url from git:// to https://
2019-03-07 11:15:06 +01:00
Hauke Petersen 368ab65d8a sys/random: cleanup includes 2019-03-07 10:22:10 +01:00
francisco e4d5996526 pkg/lwip: update url from git:// to https:// 2019-03-07 10:03:58 +01:00
Alexandre Abadie 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
Alexandre Abadie 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
Kaspar Schleiser 7b9181ea6f Merge pull request #11072 from benpicco/samd21_pm
samd21: enable idle modes
2019-03-06 13:55:08 +01:00
Alexandre Abadie 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
Alexandre Abadie 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
Alexandre Abadie 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