30806 Commits

Author SHA1 Message Date
Leandro Lanzieri
8feb03c18d
doc/kconfig: update to current behaviour and used files 2020-08-07 18:17:38 +02:00
Leandro Lanzieri
4803793418
makefiles/kconfig: refactor targets and remove merged.config
Instead of the merged.config file, menuconfig operates directly on
out.config, which also is the destination of the merge of multiple
configuration sources.

Also, this introduces the autoconf.h.d file to track the Kconfig
dependencies and re-trigger the build of the header when any of the
Kconfig files change.
2020-08-07 18:17:38 +02:00
Leandro Lanzieri
9c10580ba4
dist/tools/kconfiglib: introduce own genconfig.py tool
This tool unifies multiple functionalities needed by the Kconfig
integration into one tool.
2020-08-07 18:17:37 +02:00
benpicco
574676b150
Merge pull request #14700 from fjmolinas/to_cc2538_enhance_rtt
cpu/cc2538: RTT: implement missing API functions
2020-08-07 15:11:53 +02:00
benpicco
e5e8d4f6a9
Merge pull request #14720 from jia200x/copr/14552
[take-over] boards/omote: add support for OMote board
2020-08-07 15:08:43 +02:00
Jose Alamos
e14c3ecee4 examples/lua_REPL: blacklist omote 2020-08-07 13:14:14 +02:00
Oppila-ms
cc12cb8ef3 boards/omote: add support for OMote board 2020-08-07 13:14:14 +02:00
benpicco
964d202bf1
Merge pull request #14713 from maribu/core_helper_funcs
core: Add and use helper functions for internal data
2020-08-06 23:08:34 +02:00
95ae77dd4b
Merge pull request #14695 from maribu/event_cleanup 2020-08-06 22:15:51 +02:00
Peter Kietzmann
01e6b62667
Merge pull request #14605 from JannesVolkens/ethertype_custom
sys/include/net: Add possibility to define custom ethertype
2020-08-06 18:05:45 +02:00
Marian Buschsieweke
13575b2131
core/thread_flags: Avoid using inline w/o static
Apparently clang doesn't like static variables / functions being accessed called
from inline function (-Wstatic-in-inline). This commit results in the same
binary being generated while making clang happy.
2020-08-06 17:54:32 +02:00
Martine Lenders
a5d3ad82cd
Merge pull request #14646 from miri64/gh-actions/enh/release-tests
gh-actions: add release-specs tests
2020-08-06 17:04:18 +02:00
Marian Buschsieweke
57264c5059
core: Access internal vars via helper funcs
Replace accesses to `sched_active_thread`, `sched_active_pid`, and
`sched_threads` with `thread_get_active()`, `thread_get_active_pid()`, and
`thread_get_unchecked()` where sensible.
2020-08-06 16:47:33 +02:00
Martine Lenders
b2c8270a40
Merge pull request #14715 from pokgak/riotctrl_shell/cord_ep
riotctrl_shell: provide cord_ep interactions and parser
2020-08-06 15:45:05 +02:00
Marian Buschsieweke
4a31578982
core/thread: Add/change helper access functions
- Add `thread_get_active()` to access the TCB
- Add `thread_get_unchecked()` as fast alternative to `thread_get()`
- Drop `volatile` qualifier in `thread_get()`
    - Right now every caller of this function does this. It is better to
      contain this undefined behavior to at least one place in code
2020-08-06 14:35:43 +02:00
e81d0050d1
Merge pull request #14717 from kaspar030/optim_msg_active_thread
core/msg: sched_threads[sched_active_pid] -> sched_active_thread
2020-08-06 14:18:17 +02:00
M Aiman Ismail
45546a711f riotctrl_shell: provide cord_ep interactions and parser 2020-08-06 13:51:13 +02:00
70610b3d8a
Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
Martine S. Lenders
17f7274d51
gh-actions: add release-specs tests 2020-08-06 13:30:31 +02:00
Jannes
7f0a099256 net: Add the possibility to use custom ethertype 2020-08-06 13:04:58 +02:00
Koen Zandberg
5dbcfa3391
Merge pull request #14698 from benpicco/core/bitarithm-msb_clz
core/bitarithm: use __builtin_clz() for bitarithm_msb()
2020-08-06 13:00:34 +02:00
1bb3d56bd5 core/msg: sched_threads[sched_active_pid] -> sched_active_thread
Same result, but only a single volatile read.
2020-08-06 12:46:26 +02:00
Koen Zandberg
8d50a597ee
bench_thread_yield_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
Koen Zandberg
566d838113
bench_thread_flags_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
Koen Zandberg
86035661a3
bench_mutex_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
Koen Zandberg
f2a27dd46b
bench_sched_nop: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
Koen Zandberg
cf56a2c2f4
bench_msg_pingpong: Add number of clock ticks per cycle 2020-08-06 11:53:53 +02:00
Francisco
5462323049
Merge pull request #14714 from kaspar030/fix_chronos_lostandfound
LOSTANDFOUND.md: fix chronos board removal commit hash
2020-08-06 09:12:19 +02:00
20bdc64792 LOSTANDFOUND.md: fix chronos board removal commit hash
Rebasing seems to have changed it.
2020-08-05 22:28:14 +02:00
Marian Buschsieweke
90f5d21092
Merge pull request #12457 from kaspar030/update_msp430
cpu/msp430: update to modern gcc/ELF/newlib toolchain
2020-08-05 17:46:07 +02:00
Martine Lenders
b9a4a5ead7
Merge pull request #14664 from miri64/make/feat/termlog
Makefile.include: add capability to log `make term` to file
2020-08-05 17:45:07 +02:00
Martine Lenders
f364d315ab
Merge pull request #14708 from kaspar030/murdock_disable_nrf52dk
murdock: disable nrf52dk
2020-08-05 15:49:58 +02:00
Francisco
075dcde147
Merge pull request #14701 from benpicco/openocd-adapters/raspi.inc.mk-fix
openocd-adapters/raspi.inc.mk-fix: fix typo
2020-08-05 14:53:00 +02:00
480ef3225d tests/pkg_c25519: increase test timeout (z1 needs >5min) 2020-08-05 14:32:58 +02:00
8afaf11bb5 tests/periph_gpio: bench port 1 on z1
/* Port 1:
     *  P1.0 is not assigned by default
     *  P1.1 is the bootstrap-loader (BSL) TX pin -> input, special function, default to GND
     *       THIS PIN MUST *NEVER* BE USED IN NORMAL EXECUTION, SINCE IT INTERFERES WITH UART0 !!!
     *  P1.2 receives the FIFOP interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.3 receives the FIFO/GIO0 interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.4 receives the CCA/GIO1 signal from CC2420 -> input, GPIO, default to GND
     *  P1.5 is wired to Vcc -> input, GPIO, default to Vcc
     *  P1.6 receives interrupt INT1 from accelerometer -> input, GPIO, default to GND
     *  P1.7 receives interrupt INT2 from accelerometer -> input, GPIO, default to GND
     */

(test starts indexing at 0)
2020-08-05 14:32:58 +02:00
789f10e816 cpu/msp430_common: increase THREAD_STACKSIZE_DEFAULT to 384
Both tests/pthread_tls and tests/prng_sha256prng fail without this, but
other platforms run fine with their defaults. Lets consider the higher
value a better default.
2020-08-05 14:32:58 +02:00
4f233cd7ea cpu: remove cc430
The only board with this chipset was the chronos, which has been
removed.
2020-08-05 14:32:58 +02:00
038823c731 cpu/msp430_common/vendor/README.md: add some explanation 2020-08-05 14:32:58 +02:00
b8f94c2a51 pkg/tweetnacl: blacklist for msp430 2020-08-05 14:32:58 +02:00
1298e51541 tests: update msp430 memory blacklists 2020-08-05 14:32:58 +02:00
1caff0dc94 tests/unittests/tests-rtt_rtc: fix implicit integer conversions 2020-08-05 14:32:58 +02:00
8171391d16 tests/gnrc_sock_udp: memory blacklist msb-430 msb-430h 2020-08-05 14:32:58 +02:00
e4bb06227f sys/newlib_syscalls_default: don't use static msp430 heap size 2020-08-05 14:32:58 +02:00
5a00e2e36c cpu/msp430_common: use __stack for ISR stacks 2020-08-05 14:32:58 +02:00
7fb8306553 tests/pkg_c25519: increase main stack size for msp430 2020-08-05 14:32:58 +02:00
aa2f500d51 cpu/msp430_common: update thread_stack_init to changed ABI
The old mspgcc used R15-R12 for args 0-3. The newer MSP430 EABI uses
R12-15.

See https://www.ti.com/lit/an/slaa664/slaa664.pdf for more details.
2020-08-05 14:32:58 +02:00
909d740d37 cpu/msp430_common: bump msp430-gcc-support-files to 1.210 2020-08-05 14:32:58 +02:00
ef099f9d46 cpu/msp430_common: add NOPs to irq functions
They might not be necessary, but GCC warns if they're absent.
Thus let's pay the one or two extra instructions for silencing the
warnings.
2020-08-05 14:32:58 +02:00
08c50947cc cpu/msp430_common: move newlib default module decl to Makefile.dep 2020-08-05 14:32:58 +02:00
ca0ffed03d LOSTANDFOUND.md: add chronos removal 2020-08-05 14:32:58 +02:00