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
Benjamin Valentin
8c95198cbb
periph/gpio: clarify behavior of gpio_irq_enable()
...
What happens with events that occured after `gpio_irq_disable()` is
currently not defined.
If they are not cleared, they will generate an interrupt on `gpio_irq_enable()`.
This does not seem like the intended behavior, so make the documentation more
explicit.
2020-08-05 17:41:27 +02:00
Benjamin Valentin
39d71ac671
cpu/sam0_common: GPIO: ignore interrupts when interrupts are disabled
...
If we disable an external interrupt, GPIO events that would generate an interrupt will still set the interrupt flag.
That means once we enable the interrupt again, a stale interrupt will be triggered.
This is surprising and probably not what the user wants, unfortunately the API documentation is not very clear about what to expect.
There is however no way to drop those intermediate interrupts with the current API.
Ignoring the events that occurred while the GPIO interrupt were disabled is probably the right (and expected) thing to.
2020-08-05 16:57:05 +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
acd47f0c1f
gnrc_tcp: abs() -> labs() for int32_t
...
Fixes compilation on msp430 and probably avr.
2020-08-05 14:32:58 +02:00
5dd24e12bf
tests/c11_atomics_cpp_compat: remove msp430 special case
2020-08-05 14:32:58 +02:00
fd335d30ee
cpu/msp430: re-create c11_atomics_compat_cpu.hpp using msp430-elf-gcc
2020-08-05 14:32:58 +02:00
6fe7a47563
tests: remove obsolete msp430 blacklists
2020-08-05 14:32:58 +02:00
f08f582f1a
tests, examples: remove chronos references
2020-08-05 14:32:58 +02:00
ed3887ac5c
boards: remove chronos support
2020-08-05 14:32:58 +02:00
e09383d343
sys/newlib_syscalls_default: mark _exit as used
2020-08-05 14:32:58 +02:00
9f7bfde27e
tests: update msp430 memory blacklists
2020-08-05 14:32:57 +02:00
10213057b1
cpu/msp430: update deps, move to Makefile.dep
2020-08-05 14:32:57 +02:00
c9883cebfd
core/atomic_c11: fix I2 typedef for 16bit platforms
2020-08-05 14:32:57 +02:00
26c915dcb3
tools: print_toolchain_versions.sh: update to msp430-elf
2020-08-05 14:29:07 +02:00
260ec3666f
cpu/msp430: select newlib_nano module if newlib is used
2020-08-05 14:29:07 +02:00
be4d5a33e3
tests: update msp430 BOARD_INSUFFICIENT_MEMORY entries
2020-08-05 14:29:07 +02:00
8753457e45
cpu/msp430_common: use default newlib heap_stats
2020-08-05 14:29:07 +02:00
c722b4f861
boards/chronos: remove UART config
2020-08-05 14:29:07 +02:00
9db23b6c3d
cpu/cc430: update to new support headers
2020-08-05 14:29:07 +02:00
d95a938809
boards/chronos: display.h: add missing stdint.h include
2020-08-05 14:29:07 +02:00
f0457bf8dd
boards/common/msb-430: configure reset target
2020-08-05 14:29:07 +02:00
5392b8c72d
boards/z1, telosb: remove obsolete stdio_init() calls
2020-08-05 14:29:07 +02:00
a0bf7f74ce
boards/common/msp-430: remove obsolete stdio_init() call
2020-08-05 14:29:07 +02:00
ebee55acd0
boards/common/msp-430: remove obsolete gdb --tui
2020-08-05 14:29:07 +02:00
dbcf59f196
cpu/msp430: call newlib _init() in startup script
2020-08-05 14:29:07 +02:00
23efdcc786
sys/newlib: explicitly define heap for msp430
2020-08-05 14:29:07 +02:00
83f13b8b22
sys/newlib: provide msp430 specific linker symbol names
2020-08-05 14:29:07 +02:00