drivers: Replace ff hex constants with 0xff
This makes it easier to distinguish them from "true" undefined symbols. Internally, all int/hex literals are treated as undefined symbols, which always get their name as their value. The C tools work the same way. The plan is to turn references to undefined Kconfig symbols into an error later. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
2a8349950e
commit
8df42eb4dc
|
@ -82,21 +82,21 @@ if ETH_MCUX_0 && ! ETH_MCUX_0_RANDOM_MAC
|
||||||
config ETH_MCUX_0_MAC3
|
config ETH_MCUX_0_MAC3
|
||||||
hex "MAC Address Byte 3"
|
hex "MAC Address Byte 3"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 3 of the MAC address.
|
This is the byte 3 of the MAC address.
|
||||||
|
|
||||||
config ETH_MCUX_0_MAC4
|
config ETH_MCUX_0_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config ETH_MCUX_0_MAC5
|
config ETH_MCUX_0_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -61,21 +61,21 @@ if !ETH_STM32_HAL_RANDOM_MAC
|
||||||
config ETH_STM32_HAL_MAC3
|
config ETH_STM32_HAL_MAC3
|
||||||
hex "MAC Address Byte 3"
|
hex "MAC Address Byte 3"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 3 of the MAC address.
|
This is the byte 3 of the MAC address.
|
||||||
|
|
||||||
config ETH_STM32_HAL_MAC4
|
config ETH_STM32_HAL_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config ETH_STM32_HAL_MAC5
|
config ETH_STM32_HAL_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -83,28 +83,28 @@ if ! IEEE802154_UPIPE_RANDOM_MAC
|
||||||
config IEEE802154_UPIPE_MAC4
|
config IEEE802154_UPIPE_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_UPIPE_MAC5
|
config IEEE802154_UPIPE_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_UPIPE_MAC6
|
config IEEE802154_UPIPE_MAC6
|
||||||
hex "MAC Address Byte 6"
|
hex "MAC Address Byte 6"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 6 of the MAC address.
|
This is the byte 6 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_UPIPE_MAC7
|
config IEEE802154_UPIPE_MAC7
|
||||||
hex "MAC Address Byte 7"
|
hex "MAC Address Byte 7"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 7 of the MAC address.
|
This is the byte 7 of the MAC address.
|
||||||
|
|
||||||
|
|
|
@ -88,28 +88,28 @@ if ! IEEE802154_CC1200_RANDOM_MAC
|
||||||
config IEEE802154_CC1200_MAC4
|
config IEEE802154_CC1200_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC5
|
config IEEE802154_CC1200_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC6
|
config IEEE802154_CC1200_MAC6
|
||||||
hex "MAC Address Byte 6"
|
hex "MAC Address Byte 6"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 6 of the MAC address.
|
This is the byte 6 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC7
|
config IEEE802154_CC1200_MAC7
|
||||||
hex "MAC Address Byte 7"
|
hex "MAC Address Byte 7"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 7 of the MAC address.
|
This is the byte 7 of the MAC address.
|
||||||
|
|
||||||
|
|
|
@ -92,28 +92,28 @@ if ! IEEE802154_CC2520_RANDOM_MAC
|
||||||
config IEEE802154_CC2520_MAC4
|
config IEEE802154_CC2520_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC2520_MAC5
|
config IEEE802154_CC2520_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC2520_MAC6
|
config IEEE802154_CC2520_MAC6
|
||||||
hex "MAC Address Byte 6"
|
hex "MAC Address Byte 6"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 6 of the MAC address.
|
This is the byte 6 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC2520_MAC7
|
config IEEE802154_CC2520_MAC7
|
||||||
hex "MAC Address Byte 7"
|
hex "MAC Address Byte 7"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 0xff
|
||||||
help
|
help
|
||||||
This is the byte 7 of the MAC address.
|
This is the byte 7 of the MAC address.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue