Open jia200x opened 5 years ago
[ ] sys/posix
- [ ] INADDRSZ (sys/posix/include/arpa/inet.h:38)
- [ ] IN6ADDRSZ (sys/posix/include/arpa/inet.h:45)
- [ ] HAVE_MALLOC_H (sys/posix/pthread/include/pthread.h:29)
I think none of those should be configurable, in the sense we aim to in this issue (exposing them via a config
doxygen group):
INADDRSZ
is always 4 byte. I think the #ifndef
exists here in case it is provided by the libc.IN6ADDRSZ
(which is always 16 byte).HAVE_MALLOC_H
typically is provided by the build system, so it can rather be seen as a module than a configuration value.
[ ] cpu/cortexm_common
- [ ] SRAM_BASE (cpu/cortexm_common/vectors_cortexm.c:39)
Those are defined unconditionally in the vendor files ;-)
(I guess we find occurences of the in many macros in cpu/
;-))
(updated with #10617 )
I wonder why GNRC_IPV6_STATIC_LLADDR was not listed here :O
added LORA configurations to this list. They were not parse by the script
@RIOT-OS/maintainers the @config
group was already added in #10571. We politely ask request for your help on:
@config
group. You can base e.g on #10617.Thanks you all! ;)
I wonder why GNRC_IPV6_STATIC_LLADDR was not listed here :O
Because it is not #ifdef
'd but only included over defined(DOXYGEN)
(so there is no default value).
Because it is not #ifdef'd but only included over defined(DOXYGEN) (so there is no default value).
I see
Also please: if you introduce new configuration macros, we would be very happy if you group them under the new config
group ;-).
should sys/auto_init
be configurable? Messing with those PRIOs can break several modules I guess
A person configuring that should know what their doing, but it should be configurable ;-).
Reviewed gcoap section -- looks good! Added sections for coap and nanocoap in the list above. The items I added are not set up presently for external override (they are just #define, not #ifndef/#define/#endif). However, I'll do that in the PR where I add the config group tags.
thanks @kb2ma for the review!
there are some options missing in loramac. I will add them in a follow-up PR. Unchecked the loramac
checkbox to reflect this ;)
[ ] sys/net/netif
- [ ] NETIF_NAMELENMAX (sys/include/net/netif.h:45)
Not sure this sure this should be configurable. In the end, the one supposed to provide the (human readable) name is the network stack, so increasing or decreasing the length of this makes no sense (or at least implementations very complicated.
Thanks for shepherding the CoAP PR's for this, @miri64!
When I started to add the compile time configurations of my CPU ports and drivers to the doc group, I was wondering whether it makes sense to structure the config
group, for example similar to the existing structure boards
, cpu
, drivers
, kernel
... Try to imagine if all modules configs are arranged directly below the top entry. The list will grow up to something that is not readable anymore.
@gschorcht currently we mainly try to collect all existing user configurable macros. This is just the first step in a major rework how configuration will work in the future. How we add substructure to the configuration we'll should also discuss in a later step.
Continued a bit further with #11415.
@jia200x @miri64 Should I edit your original message and post #11561 or just post it in a comment?
Description
This issue is a tracker of the compile time configurations. After some offline discussions with some RIOT maintainers we came to the conclusion it¡s a good idea to first identify these configurations and tag them with a Doxygen
@configurations
group. This would give a huge kick start to further work related to compile time configurations.Here's a list of identified configurations by @miri64 and me. We used lots of
grep
and scripts, so we politely request to RIOT kernel developers to:~foo~
) instead of deleting it. Also, add missing configurations@configurations
label is defined, use this tracker to add it to all configurations.Identified configurations
boards
cpu
[ ] cpu/cc26x0
[ ] cpu/cortexm_common
[ ] cpu/efm32
[ ] cpu/esp32
[ ] cpu/esp8266
[ ] cpu/native
[ ] cpu/nrf5x_common
[ ] cpu/samd21
[ ] cpu/stm32_common
drivers
[x] drivers/adcxx1c
[ ] drivers/ads101x
[ ] drivers/at86rf2xx
[ ] drivers/at
[ ] drivers/cc110x
[ ] drivers/ds1307
[ ] drivers/ethos
[ ] drivers/fxos8700
[ ] drivers/hdc1000
[ ] drivers/hts221
[ ] drivers/kw2xrf
[ ] drivers/mag3110
[ ] drivers/mma8x5x
[ ] drivers/mtd_sdcard
[ ] drivers/mtd_spi_nor
[ ] drivers/nrf24l01p
[ ] drivers/pir
[ ] drivers/pn532
[ ] drivers/rn2xx3
[ ] drivers/servo
[ ] drivers/slipdev
[ ] drivers/soft_spi
[ ] drivers/tcs37727
[ ] drivers/tmp006
[ ] drivers/uart_half_duplex
pkg
[ ] pkg/emb6
[ ] pkg/lwip
[ ] pkg/nimble
[ ] pkg/semtech-loramac
[ ] pkg/spiffs
sys
[ ] sys/auto_init
[ ] sys/can
[ ] sys/ecc/repetition
[ ] sys/embUnit/stdImpl
[ ] sys/fmt
[ ] sys/luid
[ ] sys/phydat
[ ] sys/pm_layered
[x] sys/posix
INADDRSZ (sys/posix/include/arpa/inet.h:38)IN6ADDRSZ(sys/posix/include/arpa/inet.h:45)HAVE_MALLOC_H (sys/posix/pthread/include/pthread.h:29)[ ] sys/puf_sram
[ ] sys/random
[ ] sys/stdio_rtt
[ ] sys/xtimer
sys/net
[x] sys/net/coap
[ ] sys/net/cord
[ ] sys/net/csma_sender
[x] sys/net/gcoap (#10676)
[ ] sys/net/gnrc/gomach
[x] sys/net/gnrc/ipv6/blacklist (#10617)
[x] sys/net/gnrc/ipv6/nib (#10617)
[x] sys/net/gnrc/ipv6 (#10617)
[x] sys/net/gnrc/ipv6/whitelist (#10617)
[ ] sys/net/gnrc/lwmac
[ ] sys/net/gnrc/mac
[ ] sys/net/gnrc/netif
[ ] sys/net/gnrc/nettest
[ ] sys/net/gnrc/pktbuf
[ ] sys/net/gnrc/pktdump
[ ] sys/net/gnrc/rpl/dodag
[ ] sys/net/gnrc/rpl/p2p_dodag
[ ] sys/net/gnrc/rpl
[x] sys/net/gnrc/sixlowpan/nd/border_router
[x] sys/net/gnrc/sixlowpan
[ ] sys/net/gnrc/tcp
[ ] sys/net/gnrc/tftp
[ ] sys/net/gnrc/udp
[x] sys/net/ieee802154 (#10626 )
[ ] sys/net/l2filter
[x] sys/net/lora (#10623)
[x] sys/net/loramac (#10623)
[x] sys/net/nanocoap
[ ] sys/net/netif
[ ] sys/net/skald
[ ] sys/net