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:
Ulf Magnusson 2018-06-01 06:15:55 +02:00 committed by Anas Nashif
parent 2a8349950e
commit 8df42eb4dc
5 changed files with 18 additions and 18 deletions

View file

@ -82,21 +82,21 @@ if ETH_MCUX_0 && ! ETH_MCUX_0_RANDOM_MAC
config ETH_MCUX_0_MAC3
hex "MAC Address Byte 3"
default 0
range 0 ff
range 0 0xff
help
This is the byte 3 of the MAC address.
config ETH_MCUX_0_MAC4
hex "MAC Address Byte 4"
default 0
range 0 ff
range 0 0xff
help
This is the byte 4 of the MAC address.
config ETH_MCUX_0_MAC5
hex "MAC Address Byte 5"
default 0
range 0 ff
range 0 0xff
help
This is the byte 5 of the MAC address.
endif

View file

@ -61,21 +61,21 @@ if !ETH_STM32_HAL_RANDOM_MAC
config ETH_STM32_HAL_MAC3
hex "MAC Address Byte 3"
default 0
range 0 ff
range 0 0xff
help
This is the byte 3 of the MAC address.
config ETH_STM32_HAL_MAC4
hex "MAC Address Byte 4"
default 0
range 0 ff
range 0 0xff
help
This is the byte 4 of the MAC address.
config ETH_STM32_HAL_MAC5
hex "MAC Address Byte 5"
default 0
range 0 ff
range 0 0xff
help
This is the byte 5 of the MAC address.
endif

View file

@ -83,28 +83,28 @@ if ! IEEE802154_UPIPE_RANDOM_MAC
config IEEE802154_UPIPE_MAC4
hex "MAC Address Byte 4"
default 0
range 0 ff
range 0 0xff
help
This is the byte 4 of the MAC address.
config IEEE802154_UPIPE_MAC5
hex "MAC Address Byte 5"
default 0
range 0 ff
range 0 0xff
help
This is the byte 5 of the MAC address.
config IEEE802154_UPIPE_MAC6
hex "MAC Address Byte 6"
default 0
range 0 ff
range 0 0xff
help
This is the byte 6 of the MAC address.
config IEEE802154_UPIPE_MAC7
hex "MAC Address Byte 7"
default 0
range 0 ff
range 0 0xff
help
This is the byte 7 of the MAC address.

View file

@ -88,28 +88,28 @@ if ! IEEE802154_CC1200_RANDOM_MAC
config IEEE802154_CC1200_MAC4
hex "MAC Address Byte 4"
default 0
range 0 ff
range 0 0xff
help
This is the byte 4 of the MAC address.
config IEEE802154_CC1200_MAC5
hex "MAC Address Byte 5"
default 0
range 0 ff
range 0 0xff
help
This is the byte 5 of the MAC address.
config IEEE802154_CC1200_MAC6
hex "MAC Address Byte 6"
default 0
range 0 ff
range 0 0xff
help
This is the byte 6 of the MAC address.
config IEEE802154_CC1200_MAC7
hex "MAC Address Byte 7"
default 0
range 0 ff
range 0 0xff
help
This is the byte 7 of the MAC address.

View file

@ -92,28 +92,28 @@ if ! IEEE802154_CC2520_RANDOM_MAC
config IEEE802154_CC2520_MAC4
hex "MAC Address Byte 4"
default 0
range 0 ff
range 0 0xff
help
This is the byte 4 of the MAC address.
config IEEE802154_CC2520_MAC5
hex "MAC Address Byte 5"
default 0
range 0 ff
range 0 0xff
help
This is the byte 5 of the MAC address.
config IEEE802154_CC2520_MAC6
hex "MAC Address Byte 6"
default 0
range 0 ff
range 0 0xff
help
This is the byte 6 of the MAC address.
config IEEE802154_CC2520_MAC7
hex "MAC Address Byte 7"
default 0
range 0 ff
range 0 0xff
help
This is the byte 7 of the MAC address.