Gunar Schorcht
649bce4a46
cpu/esp*: cleanup the log level for init functions
...
The log level for normal information should be LOG_DEBUG.
2019-12-20 16:25:41 +01:00
Gunar Schorcht
7bf5bba564
cpu/esp_common: LOG_TAG macro for DEBUG_ALL
...
LOG_TAG macro is required for LOG_VERBOSE level in ESP SDK log output handling.
2019-12-20 16:25:41 +01:00
Gunar Schorcht
40b878ebfa
cpu/esp32: unify esp_wifi log output
2019-12-20 16:25:41 +01:00
Francisco
c9955f9c74
Merge pull request #12917 from aabadie/pr/cpu/fe310_uart_rework
...
cpu/fe310: slightly rework the uart driver
2019-12-20 16:20:18 +01:00
Leandro Lanzieri
b00ad3080a
Merge pull request #12923 from leandrolanzieri/pr/kconfig_migrate/gnrc/lorawan
...
Kconfig: Expose gnrc/lorawan configurations
2019-12-20 15:59:01 +01:00
876824201c
boards/hifive1*: apply new UART configuration scheme
2019-12-20 15:22:09 +01:00
e5c64c739a
cpu/fe310: rework uart driver implem/config
2019-12-20 15:22:09 +01:00
Martine S. Lenders
5cf26f1adf
shell_commands: make 6Lo compression contexts configurable on non-6LBR
2019-12-20 14:55:55 +01:00
Leandro Lanzieri
b58b5792e9
Kconfig: Expose gnrc/lorawan configurations
2019-12-20 14:14:32 +01:00
Leandro Lanzieri
449da7602d
gnrc/lorawan: Express timer drift in per mille instead of percentage
2019-12-20 14:12:43 +01:00
José Alamos
7d4082a6a3
Merge pull request #12922 from leandrolanzieri/pr/kconfig_migrate/gnrc/ipv6_blacklisting
...
Kconfig: Expose gnrc/ipv6/blacklist configurations
2019-12-20 11:32:46 +01:00
05ac137174
Merge pull request #10838 from aabadie/pr/tools/compile_test_board_globbing
...
tools/compile_and_test_for_board.py: allow use of wildcards for applications selection
2019-12-20 10:44:15 +01:00
Martine Lenders
f7d6dd2337
Merge pull request #12966 from gschorcht/tests/lwip_ipv4
...
tests/lwip: enable IPv4
2019-12-20 09:29:25 +01:00
Gunar Schorcht
d536235f05
tests/lwip: enable IPv4
2019-12-20 06:51:34 +01:00
benpicco
6eac8df10f
Merge pull request #12986 from gschorcht/cpu/esp8266/esp_wifi/fix_send
...
cpu/esp8266: fix of esp_wifi_send function
2019-12-20 00:54:23 +01:00
Cenk Gündoğan
0d9d496618
Merge pull request #12913 from leandrolanzieri/pr/kconfig_include_config
...
makefiles/kconfig: Include configuration symbols to build system
2019-12-19 16:04:05 +01:00
ac33697af7
tools/compile_test_board: allow use of wildcards for applications
2019-12-19 15:58:47 +01:00
Leandro Lanzieri
707ad8d083
makefiles/kconfig: Include configuration symbols
...
If the generated configuration file is present include it. That way one
can check if certain symbols are being configured using Kconfig.
2019-12-19 15:35:21 +01:00
Martine Lenders
501e700a3d
Merge pull request #12981 from miri64/native/feat/stdio
...
stdio_native: initial import
2019-12-19 15:14:15 +01:00
326d570b11
Merge pull request #12990 from fjmolinas/pr_b-l475e-iot01a_assert_srst
...
boards/b-l475e-iot01a: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
2019-12-19 15:10:08 +01:00
70e6e0aedf
Merge pull request #12862 from fjmolinas/pr_dont_reset_sync
...
dist/pythonlibs/testrunner: reset before term
2019-12-19 14:42:46 +01:00
Francisco Molina
b4a8cf8351
boards/b-l475e-iot01a: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
...
b-l475e-iot01a can become unflashable when hardfaults occure.
To make sure flashing succeeds `connect_assert_srst` is called
before connecting to flash through openocd.
2019-12-19 14:21:27 +01:00
Francisco Molina
ebd5acc2fa
examples: set TESTRUNNER_RESET_AFTER_TERM for examples/%/tests
2019-12-19 09:32:37 +01:00
Francisco Molina
a77594a348
dist/pythonlibs/testrunner: reset before term
...
For some boards `make reset` is only possible if a serial connection
is not already open or its execution might disrupt it. This
causes some tests to fail since before running a test the board
is reset.
`make reset` is currently used as a synchronization mechanism between
the application and the test script. With `test_utils_interactive_sync`
this is no longer needed so call `make reset` before `cleanterm` instead
of after when `test_utils_interactive_sync` is used.
Allow setting TESTRUNNER_RESET_AFTER_TERM=1 to keep the previous
behaviour for `examples/%/tests`.
2019-12-19 09:32:37 +01:00
Gunar Schorcht
0194d7f44b
cpu/esp8266: fix of esp_wifi_send
...
In case of succes, the esp_wifi_send function returned a 0 instead of sent bytes.
2019-12-18 21:52:25 +01:00
Hauke Petersen
d9e9e4e288
Merge pull request #12985 from haukepetersen/opt_nimble_autoconnusercb
...
pkg/nimble/autoconn: add user event callback
2019-12-18 17:50:22 +01:00
Hauke Petersen
210b1b2f75
sys/shell/sc_nimble_netif: adapt event callback
2019-12-18 17:06:57 +01:00
Hauke Petersen
0676fc4ba1
pkg/nimble/autoconn: improve debug output
2019-12-18 17:06:57 +01:00
Hauke Petersen
16468acadc
pkg/nimble/autoconn: add user event callback
2019-12-18 17:05:48 +01:00
Hauke Petersen
49491bee3c
pkt/nimble/netif: pass BLE addr to event callback
2019-12-18 17:05:48 +01:00
Hauke Petersen
dd8eb4b7cd
Merge pull request #12984 from haukepetersen/opt_nimble_autoconnstartup
...
pkg/nimble/autoconn: add startup delay
2019-12-18 17:04:52 +01:00
Martine Lenders
00ab7ad387
Merge pull request #12983 from miri64/gnrc_sixlowpan_frag_stats/enh/actualize
...
gnrc_sixlowpan_frag_stats: actualize pseudo-module
2019-12-18 16:47:08 +01:00
Hauke Petersen
fe2293b601
pkg/nimble/autoconn: add startup delay
2019-12-18 16:27:33 +01:00
Martine S. Lenders
e1ae44b536
gnrc_sixlowpan_frag_stats: actualize pseudo-module
...
Having the definitions sit in the `net/gnrc/sixlowpan/frag.h` header
does not make much sense, when using Selective Fragment Forwarding
(and the fragmentation buffer already includes a
`net/gnrc/sixlowpan/frag/stats.h` header), so they are moved to their
own header. Since with this change it makes more sense to have the
statistics stored in their own sub-module, the pseudo-module is also
actualized.
2019-12-18 15:45:03 +01:00
Dylan Laduranty
bd7f105428
Merge pull request #12978 from smlng/pr_freebsd_osprint
...
tools: correctly detect and print FreeBSD OS
2019-12-18 14:56:57 +01:00
Martine S. Lenders
0957b6301b
stdio_native: initial import
2019-12-18 14:15:40 +01:00
Martine S. Lenders
13d5f6e6b4
tests: provide test for vfs
+fmt
corner-case
...
On `native` when using `vfs` the `fmt` print functions do not work.
This is because the `fmt` module uses the `write()` system call which
is bend by the `native_vfs` module to use `vfs_write()`. However,
`native` does not use a `stdio` module to print. Instead, it just
writes to the hosts standard I/O directly. As such, STDIN, STDOUT, and
STDERR are never initialized for `vfs` so `vfs` does not recognize
`STDIN_FILENO`, `STDOUT_FILENO` and `STDERR_FILENO` as valid file
descriptors.
This test case showcases this bug.
2019-12-18 14:15:40 +01:00
benpicco
b35ef08094
Merge pull request #12901 from benpicco/lpc2387-stacks
...
cpu/lpc2387: use the same default stack sizes as cortexm_common
2019-12-18 14:12:58 +01:00
6be1698b7d
Merge pull request #12980 from haukepetersen/opt_nrf52840dk_disableuarthwfc
...
boards/nrf52840dk: disable UART HWFC
2019-12-18 12:24:17 +01:00
benpicco
f7cb0a096e
Merge pull request #12899 from benpicco/lpc2387-micropython
...
cpu/lpc2387: align lpc2387.ld with cortexm_base.ld, provide thread_isr_stack_*() - enables MicroPython
2019-12-18 12:08:12 +01:00
Hauke Petersen
3330676fd5
boards/nrf52840dk: disable UART HWFC
2019-12-18 11:53:26 +01:00
Francisco
33b1f9ecf7
Merge pull request #12939 from smlng/pr_export_vars
...
makefiles: move some exported vars to vars.inc.mk
2019-12-18 10:49:09 +01:00
Sebastian Meiling
c185307025
tools: correctly detect and print FreeBSD OS
...
Currently the `print_toolchain_versions` script only supports Linux
and Apple macOS when printing OS name and version. This adds support
for FreeBSD.
2019-12-18 10:25:29 +01:00
Sebastian Meiling
737635573a
makefiles: add export for OS variable
...
Export the OS variable for proper multi-OS support.
Currently only needed by 'pkg/jerryscript')
2019-12-18 10:07:55 +01:00
Sebastian Meiling
5eee821f6e
makefiles: move exports to vars.inc.mk
2019-12-18 10:07:50 +01:00
Leandro Lanzieri
9c8b7a064b
makefiles/kconfig: Only run Kconfig if could generate configurations
...
This adds a check to decide if Kconfig should run on a build. It will
run if any of the following conditions is true:
- A file with '.config' extension is present in the application folder
- A 'Kconfig' file is present in the application folder
- A previous configuration file is present (e.g. from a previous call to
menuconfig)
- menuconfig is being called
This assumes that Kconfig will not generate any default configurations
just from the Kconfig files outside the application folder (i.e. module
configuration via Kconfig is disabled by default). Should this change,
the check would not longer be valid, and Kconfig would have to run on
every build.
2019-12-18 09:46:43 +01:00
benpicco
4f4e7cde16
Merge pull request #12965 from gschorcht/pkg/lwip/ipv4_dhcp
...
pkg/lwip: start DHCP for a netif with lwip_dhcp
2019-12-18 09:21:29 +01:00
Gunar Schorcht
ff506ccf07
pkg/lwip: start DHCP for a netif with lwip_dhcp
...
The NETDEV_EVENT_LINK_UP is used to start DHCP for a network interface
2019-12-18 07:16:41 +01:00
benpicco
cfeb2a3843
Merge pull request #12949 from gschorcht/cpu/esp8266/enable_lwip
...
cpu/esp8266: enable lwIP for ESP8266
2019-12-17 13:39:35 +01:00
Benjamin Valentin
071917cf56
pkg/micropython: remove arch_arm7 from blacklist
...
arm7 now provides ISR_STACKSIZE and thread_isr_stack_start()
so there is no longer a reason to blacklist it.
2019-12-17 13:37:32 +01:00