zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -25,7 +25,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(sw0), gpios, pin)
|
||||
/* Wakeup button */
|
||||
const u32_t sw0_config = (
|
||||
const uint32_t sw0_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -37,7 +37,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(sw1), gpios, pin)
|
||||
/* USR button */
|
||||
const u32_t sw1_config = (
|
||||
const uint32_t sw1_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -49,7 +49,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(sw2), gpios, pin)
|
||||
/* ISP button */
|
||||
const u32_t sw2_config = (
|
||||
const uint32_t sw2_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -61,7 +61,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(led0), gpios, pin)
|
||||
/* Red LED */
|
||||
const u32_t led0_config = (
|
||||
const uint32_t led0_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -73,7 +73,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(led1), gpios, pin)
|
||||
/* Green LED */
|
||||
const u32_t led1_config = (
|
||||
const uint32_t led1_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -85,7 +85,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_PHA_HAS_CELL(DT_ALIAS(led2), gpios, pin)
|
||||
/* Blue LED */
|
||||
const u32_t led2_config = (
|
||||
const uint32_t led2_config = (
|
||||
IOCON_PIO_FUNC0 |
|
||||
IOCON_PIO_INV_DI |
|
||||
IOCON_PIO_DIGITAL_EN |
|
||||
|
@ -97,7 +97,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm0), nxp_lpc_usart, okay) && CONFIG_SERIAL
|
||||
/* USART0 RX, TX */
|
||||
const u32_t port0_pin29_config = (
|
||||
const uint32_t port0_pin29_config = (
|
||||
IOCON_PIO_FUNC1 |
|
||||
IOCON_PIO_MODE_INACT |
|
||||
IOCON_PIO_INV_DI |
|
||||
|
@ -105,7 +105,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
IOCON_PIO_SLEW_STANDARD |
|
||||
IOCON_PIO_OPENDRAIN_DI
|
||||
);
|
||||
const u32_t port0_pin30_config = (
|
||||
const uint32_t port0_pin30_config = (
|
||||
IOCON_PIO_FUNC1 |
|
||||
IOCON_PIO_MODE_INACT |
|
||||
IOCON_PIO_INV_DI |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue