1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples
bors[bot] 211db05401
Merge #18477 #19101 #19155
18477: gnrc_static: add static network configuration r=miri64 a=benpicco



19101: CI: update check-labels-action r=miri64 a=kaspar030



19155: Revert "sys/pm_layered: pm_(un)block add attribute optimize(3)" r=maribu a=Teufelchen1

Revert "sys/pm_layered: pm_(un)block add attribute optimize(3) -shortens hotpath"

This reverts commit 5447203921.

### Contribution description

Compiling `examples/gnrc_networking_mac` using `TOOLCHAIN=llvm` yields the following error:
```
RIOT/sys/pm_layered/pm.c:77:16: error: unknown attribute 'optimize' ignored [-Werror,-Wunknown-attributes]
__attribute__((optimize(3)))
```
As indicated, this is because the attribute `optimize` is GCC only and not present in LLVM.
Compare the manpages of [GCC](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html) and [LLVM](https://clang.llvm.org/docs/AttributeReference.html).


### Testing procedure

Since this should only affect performance and not behavior, no special testing is needed. I am not aware of any tests in RIOT which could verify that assumption.

### Issues/PRs references

Introduced in #18846

There is another instance of this attribute being used in[ shell_lock.c](6fb340d654/sys/shell_lock/shell_lock.c (L80)). Since the usage is security related, I omit it from this PR.


Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Teufelchen1 <bennet.blischke@haw-hamburg.de>
2023-01-16 14:03:15 +00:00
..
arduino_hello-world example/arduino_hello-wold: add building BOARD default 2022-02-28 22:00:21 +01:00
asymcute_mqttsn examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
benchmark_udp examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
bindist examples/bindist: cleanup and fix formatting in README 2019-01-22 07:37:36 +01:00
blinky examples/blinky: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
ccn-lite-relay examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
cord_ep gnrc_netreg: Use locks around netreg 2022-10-14 03:35:15 +02:00
cord_epsim nanocoap: make coap_request_ctx_t members internal 2022-07-17 14:32:16 +02:00
cord_lc examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
default examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
dtls-echo boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
dtls-sock boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
dtls-wolfssl boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
emcute_mqttsn examples: Remove macOS references in README 2022-11-05 11:54:51 +00:00
filesystem examples: Update Makefile.ci 2023-01-12 08:39:41 +01:00
gcoap examples/gcoap: Fix shell parameter validation 2023-01-15 22:20:39 +01:00
gcoap_block_server examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gcoap_dtls boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
gcoap_fileserver boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
gnrc_border_router Merge #18477 #19101 #19155 2023-01-16 14:03:15 +00:00
gnrc_lorawan gnrc/lorawan: add support for GNRC LoRaWAN 1.1 2022-09-29 11:25:56 +02:00
gnrc_minimal examples/gnrc_minimal: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
gnrc_networking boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
gnrc_networking_mac examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_networking_subnets examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
hello-world examples: adapt DEVELHELP switch 2017-11-28 19:25:10 +01:00
ipc_pingpong examples: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
javascript boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
lorawan gnrc/lorawan: uncrustify files 2022-09-29 11:26:04 +02:00
lua_basic boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
lua_REPL examples: Update Makefile.ci 2023-01-12 08:39:41 +01:00
micropython boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
nanocoap_server examples: check return value of coap_build_reply() 2022-11-04 20:00:51 +01:00
ndn-ping examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_gatt pkg/nimble/autoadv: add support for ext_adv 2022-04-27 08:22:58 +02:00
nimble_heart_rate_sensor pkg/nimble/autoadv: add support for ext_adv 2022-04-27 08:22:58 +02:00
nimble_scanner sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
openthread examples/openthread: adapt to update in package support 2021-11-22 15:22:27 +01:00
paho-mqtt boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
posix_select boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
posix_sockets examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
riot_and_cpp treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
rust-gcoap boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
rust-hello-world rust: Run all examples on stable 2022-11-24 11:07:45 +01:00
saul examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
senml_saul sys/senml: add SenML modules 2022-02-11 12:38:21 +01:00
skald_eddystone examples/skald_eddystone: explicitly config itvl 2022-05-24 13:02:10 +02:00
skald_ibeacon examples/skald_ibeacon: explicitly configure itvl 2022-05-24 13:02:10 +02:00
sniffer examples/sniffer: fix deprecated shell_commands 2022-10-17 15:46:23 -04:00
spectrum-scanner examples/spectrum-scanner: Fix building on PIC32 and RISC-V 2022-09-20 13:46:07 +02:00
suit_update boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
telnet_server examples/telnet_server: add stm32f7508-dk to BOARD_INSUFFICIENT_MEMORY 2022-10-10 14:06:23 +02:00
thread_duel examples/thread-duel: improve duelling threads example 2021-12-08 13:13:48 +01:00
timer_periodic_wakeup examples/timer_periodic_wakeup: switch to ztimer 2022-12-01 18:37:01 +01:00
twr_aloha boards/xg23-pk6068a: initial commit 2022-10-26 11:27:22 +02:00
usbus_minimal examples/usbus_minimal/Makefile: remove unneeded SHOULD_RUN_KCONFIG 2020-11-04 09:35:35 +01:00
wakaama boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
wasm boards/{bluepill*,blackpill*}: rename and improve doc 2023-01-02 16:23:10 +01:00
.gitignore examples,tests: ignore core dumps via .gitignore 2022-08-31 15:05:14 +02:00