Bas Stottelaar
47d376c5c3
sys/*: add explicit include of timex.h
2020-10-21 21:47:31 +02:00
Bas Stottelaar
ae8c700e6f
pkg/*: add explicit include of timex.h
2020-10-21 21:47:31 +02:00
Bas Stottelaar
1afeff7497
examples/*: add explicit include of timex.h
2020-10-21 21:47:31 +02:00
Bas Stottelaar
9d06bffbfb
cpu/*: add explicit include of timex.h
2020-10-21 21:42:47 +02:00
Bas Stottelaar
2e16b65da6
boards/*: add explicit include of timex.h
2020-10-21 21:42:47 +02:00
benpicco
8c514fde83
Merge pull request #15264 from fjmolinas/pr_nrf52_ieee802154_state_idle
...
cpu/nrf52/radio: change internal state to idle after rx
2020-10-21 20:01:25 +02:00
Benjamin Valentin
eb3daf4c22
drivers/at86rf215: give driver threads different names
...
Use different names for the sub-GHz and 2.4 GHz driver thread to make
it easier to tell which is which.
```
2020-10-21 19:53:50,608 # pid | name | state Q | pri | stack ( used) ( free) | base addr | current
2020-10-21 19:53:50,622 # - | isr_stack | - - | - | 512 ( 232) ( 280) | 0x20000000 | 0x200001c8
2020-10-21 19:53:50,623 # 1 | main | running Q | 7 | 1536 ( 660) ( 876) | 0x200002f8 | 0x2000075c
2020-10-21 19:53:50,639 # 2 | pktdump | bl rx _ | 6 | 1536 ( 236) ( 1300) | 0x200035a8 | 0x20003abc
2020-10-21 19:53:50,653 # 3 | 6lo | bl rx _ | 3 | 1024 ( 332) ( 692) | 0x2000420c | 0x2000450c
2020-10-21 19:53:50,655 # 4 | ipv6 | bl rx _ | 4 | 1024 ( 376) ( 648) | 0x200009d4 | 0x20000cd4
2020-10-21 19:53:50,670 # 5 | udp | bl rx _ | 5 | 1024 ( 252) ( 772) | 0x200049f0 | 0x20004cf4
2020-10-21 19:53:50,672 # 6 | at86rf215 [sub GHz] | bl rx _ | 2 | 1024 ( 536) ( 488) | 0x20001200 | 0x200014c4
2020-10-21 19:53:50,687 # 7 | at86rf215 [2.4 GHz] | bl rx _ | 2 | 1024 ( 536) ( 488) | 0x20001600 | 0x200018c4
2020-10-21 19:53:50,689 # | SUM | | | 8704 ( 3160) ( 5544)
```
2020-10-21 19:59:42 +02:00
Benjamin Valentin
671c882d4f
gnrc_netif_ieee802154_create: make name argument const
...
`gnrc_netif_create()` already expects a `const` name parameter,
also make the name parameter in `gnrc_netif_ieee802154_create()` const.
2020-10-21 19:49:34 +02:00
Benjamin Valentin
9fb90b11f5
drivers/at86rf215: fix dependency resolution for single radio
...
Let the user chose `at86rf215_subghz`/`at86rf215_24ghz` if they
only want a single radio.
2020-10-21 19:38:24 +02:00
Bas Stottelaar
62530f42c8
dist/jlink: check for minimum version
2020-10-21 18:23:02 +02:00
Hendrik van Essen
7a775ecc4c
tests/shell: better naming for test categories
...
One test was removed, because the intended test case is
already covered by check_line_exceeded
2020-10-21 17:42:55 +02:00
Hendrik van Essen
aead3162ec
sys/shell: terminate shell on Ctrl-D
...
Ctrl-D was not caught in a special case so it was interpreted as
a standard character. Handle it now the same way like EOF and
terminate the shell instance.
2020-10-21 17:40:44 +02:00
benpicco
84e7fbcebe
Merge pull request #15262 from codingninja-95/master
...
cpu/native: fix memory leak
2020-10-21 17:33:42 +02:00
benpicco
15b9f38516
Merge pull request #13100 from basilfx/feature/ikea_tradfri_spi_flash
...
boards/ikea-tradfri: add SPI NOR Flash configuration
2020-10-21 16:43:10 +02:00
05c618975e
Merge pull request #15260 from aabadie/pr/cpu/stm32_remove_clock_lse
...
cpu/stm32: remove CLOCK_LSE define, use CONFIG_BOARD_HAS_LSE instead
2020-10-21 16:20:00 +02:00
Francisco Molina
eb1cbeae1f
cpu/nrf52/radio: change internal state to idle after rx
2020-10-21 15:08:17 +02:00
Bas Stottelaar
237a24d51b
dist/jlink: do not show the GUI.
...
Since J-Link V6.74, a GUI is shown when flashing from the command line.
This steals the focus of the terminal. Adding `-nogui 1` solves the
issue, but raises the minimum supported version to V6.74 (released
around June 2020).
Note that JLinkGDBServer has a slightly different `-nogui` option.
2020-10-21 14:34:49 +02:00
Bas Stottelaar
8af4f4a60c
dist/jlink: textual improvements
...
- renamed JLink -> J-Link [1]
- fixed incomplete sentence
- fixed typo's
[1] https://wiki.segger.com/J-Link_Commander
2020-10-21 14:08:52 +02:00
Bas Stottelaar
107fd41b1a
dist/jlink: unify command line options
...
According to the documentation [1], the options are case-insensitive.
Unify all options to use a single style (lower case was the easiest).
[1] https://wiki.segger.com/J-Link_Commander
2020-10-21 14:02:28 +02:00
Bas Stottelaar
3f1d947237
boards/ikea-tradfri: expose SPI NOR Flash.
...
The ICC-1-A modules use GPIO PF3 to enable the NOR flash. It is enabled
by default (the older ICC-1 modules are less common nowadays).
2020-10-21 12:37:52 +02:00
avinash
7d21cb9bb8
cpu/native: fix memory leak
...
In make_message API in syscall.c, memory should be freed before returning
Fixes issue: #15016
Signed-off-by: avinash <avitahakiknash@gmail.com>
2020-10-21 03:16:25 -07:00
72c17588b9
boards/stm32: remove unused CLOCK_LSE define
2020-10-21 12:11:17 +02:00
9f985e8e56
cpu/stm32: use CONFIG_BOARD_HAS_LSE instead of CLOCK_LSE
2020-10-21 12:10:53 +02:00
fed1c4dbbe
Merge pull request #15259 from aabadie/pr/cpu/stm32_cleanup_disable_hsi
...
cpu/stm32: simplify stmclk_disable_hsi function
2020-10-21 11:19:30 +02:00
Francisco
ed51bd6234
Merge pull request #15257 from aabadie/pr/cpu/stm32_config_case_sensitive
...
cpu/stm32: fix name clash between cpu/stm32/Kconfig files and cpu/stm32/kconfig directory
2020-10-21 10:27:34 +02:00
84306f1122
cpu/stm32: remove unused CLOCK_HSE define
2020-10-21 10:11:46 +02:00
0480490a2b
cpu/stm32/dist: adapt gen_kconfig.py with new directory
2020-10-21 09:18:30 +02:00
2720c5526c
cpu/stm32: rename kconfig directory to kconfigs
...
The kconfig directory names clashes with Kconfig file on non case sensitive filesystems
2020-10-21 09:18:24 +02:00
Martine Lenders
94fec19f8d
Merge pull request #15153 from silkeh/pr/cleanup-contributing
...
CONTRIBUTING: cleanup and reorganize
2020-10-21 09:15:37 +02:00
benpicco
8c9bc2ada0
Merge pull request #15237 from jia200x/pr/fix_hal_nrf802154
...
radio/nrf802154: fix state transition and `off` function
2020-10-20 23:30:25 +02:00
42f71914a5
cpu/stm32: simplify stmclk_disable_hsi function
...
There is no need to check for CLOCK_HSE or to check if HSI is used as SYSCLK, this is already checked at compile time in the clock initialization code
2020-10-20 22:13:50 +02:00
bdd7a24ea5
Merge pull request #15252 from benpicco/crypto/chacha20poly1305-cleanup
...
crypto/chacha20poly1305: cleanup
2020-10-20 21:25:40 +02:00
benpicco
7d95e0843b
Merge pull request #15251 from benpicco/pkg/libhydrogen-bump
...
pkg/libhydrogen: bump version
2020-10-20 21:03:39 +02:00
Silke Hofstra
00e7fae25b
CONTRIBUTING: move 'general tips' under 'contributing code'
...
The general tips all apply to code contributions. As such,
move them to the right section.
2020-10-20 20:18:14 +02:00
Silke Hofstra
7e57cf2c8f
CONTRIBUTING: add --no-backup to uncrustify
2020-10-20 20:18:14 +02:00
Silke Hofstra
ef92773f99
CONTRIBUTING: change code block style
...
Change the code blocks to triple-backtick (` ``` `) style in order
to 1) provide a consistent indent and 2) enable syntax highlighting.
2020-10-20 20:18:14 +02:00
Silke Hofstra
a34cba3307
CONTRIBUTING: add example commit
...
Add an example commit to the *commit conventions* section.
Refer to this in the pull request steps.
2020-10-20 20:09:39 +02:00
Silke Hofstra
1cadc95142
CONTRIBUTING: move the 'writing documentation' section
...
Because the *working with git* section is quite long, it obscures the
*writing documentation* section. Move it to before the *working with
git* section.
2020-10-20 20:09:38 +02:00
Silke Hofstra
16bee2046a
CONTRIBUTING: reorganize 'contributing code' and 'pull request'
...
Having two lists that need to be read thouroughly for pull requests is
unclear. Clean this up by:
- Splitting the *pull request* steps into *coding conventions*,
*commit conventions*, and *pull requests*
- Completing the contribution steps with references to those sections.
- Reordering all steps to any contributor will encounter them in order.
- Rename and promote 'Git usage', to a 'Working with Git' section.
This is then referred to at the start of the document and in
the contribution steps.
2020-10-20 20:09:02 +02:00
Silke Hofstra
1e9ba0d0cb
CONTRIBUTING: remove 'feature request' and 'bug reports' sections
...
These have fairly clear templates in the GitHub interface.
Duplicating that here servers no purpose.
2020-10-20 20:06:41 +02:00
Martine Lenders
5d1d38d8f7
Merge pull request #15207 from chrysn-pull-requests/rpl-no-race
...
gnrc_rpl: Check for race against initializer thread
2020-10-20 19:04:14 +02:00
Martine Lenders
9e4c508ed9
Merge pull request #15218 from maribu/tsrb-fix
...
sys/tsrb: Make thread-safe
2020-10-20 18:32:49 +02:00
4723260b16
Merge pull request #14898 from aabadie/pr/cpu/stm32gx_clock_cleanup
...
cpu/stm32gx: cleanup clock initialization
2020-10-20 18:25:36 +02:00
Benjamin Valentin
abf192b39b
crypto/chacha20poly1305: use unaligned_get_u32()
2020-10-20 17:16:09 +02:00
Benjamin Valentin
97fdfba3f3
crypto/chacha20poly1305: make internal functions static
2020-10-20 17:13:48 +02:00
Benjamin Valentin
57ad2fd47c
pkg/libhydrogen: bump version
2020-10-20 16:42:33 +02:00
chrysn
7ed50c3d18
gnrc_rpl: Lock against race against initializer thread
...
When gnrc_rpl_init was called from a thread with higher priority than
the RPL thread, the initializer's call to gnrc_netreg_register would be
executed before the event loop even had a chance to set up its message
queue.
The added short-lived lock makes it work from threads of any priority.
2020-10-20 16:14:04 +02:00
d0dd196c30
boards/stm32gx: use correct clock base for CLOCK_APBx defines
2020-10-20 15:47:21 +02:00
2f053c90bd
cpu/stm32gx: improve clock initialization sequence
2020-10-20 15:47:21 +02:00
e2ae50258a
cpu/stm32gx: factorize HSE clock activation
2020-10-20 14:29:22 +02:00