zephyr/subsys/net/lib
Andrzej Głąbek 20202902f2 dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig
These changes were obtained by running a script  created by
Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> for the following
specification:

1. Read the contents of all dts_fixup.h files in Zephyr
2. Check the left-hand side of the #define macros (i.e. the X in
   #define X Y)
3. Check if that name is also the name of a Kconfig option
   3.a If it is, then do nothing
   3.b If it is not, then replace CONFIG_ with DT_ or add DT_ if it
       has neither of these two prefixes
4. Replace the use of the changed #define in the code itself
   (.c, .h, .ld)

Additionally, some tweaks had to be added to this script to catch some
of the macros used in the code in a parameterized form, e.g.:
- CONFIG_GPIO_STM32_GPIO##__SUFFIX##_BASE_ADDRESS
- CONFIG_UART_##idx##_TX_PIN
- I2C_SBCON_##_num##_BASE_ADDR
and to prevent adding DT_ prefix to the following symbols:
- FLASH_START
- FLASH_SIZE
- SRAM_START
- SRAM_SIZE
- _ROM_ADDR
- _ROM_SIZE
- _RAM_ADDR
- _RAM_SIZE
which are surprisingly also defined in some dts_fixup.h files.

Finally, some manual corrections had to be done as well:
- name##_IRQ -> DT_##name##_IRQ in uart_stm32.c

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2018-11-13 10:44:42 -06:00
..
app net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
coap net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
coap_sock net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
config net: lib: init: Remove remaining SYS_LOG usage 2018-10-22 11:11:35 +03:00
dns net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
http logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
lwm2m net: lwm2m: fix compile warning related to Logger changes 2018-10-19 17:32:36 -04:00
mqtt net: lib: Convert mqtt library to use log level 2018-10-04 14:13:57 +03:00
openthread dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
sntp sys_clock: Make clock_always_on true by default 2018-10-16 15:03:10 -04:00
sockets lib: fdtable: FD method tables should be const. 2018-11-08 09:47:46 -08:00
tls_credentials coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
websocket net: Make Kconfig template variables prettier 2018-10-05 09:01:37 -04:00
CMakeLists.txt net: coap: CoAP library support over sockets 2018-10-31 19:44:25 -04:00
Kconfig net: coap: CoAP library support over sockets 2018-10-31 19:44:25 -04:00