YAMAMOTO Takashi
6ee85aef07
rx65n: Fix int32_t to match the compiler
...
root@212cf3f52994:/tools# rx-elf-gcc -dM -E - < /dev/null | grep "__INT.*_TYPE__"|sort
#define __INT16_TYPE__ short int
#define __INT32_TYPE__ long int
#define __INT64_TYPE__ long long int
#define __INT8_TYPE__ signed char
#define __INTMAX_TYPE__ long long int
#define __INTPTR_TYPE__ long int
#define __INT_FAST16_TYPE__ int
#define __INT_FAST32_TYPE__ int
#define __INT_FAST64_TYPE__ long long int
#define __INT_FAST8_TYPE__ int
#define __INT_LEAST16_TYPE__ short int
#define __INT_LEAST32_TYPE__ long int
#define __INT_LEAST64_TYPE__ long long int
#define __INT_LEAST8_TYPE__ signed char
root@212cf3f52994:/tools#
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
1f20f83fa0
i486: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
a462644e32
intel64: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
7eef194a93
intel64: Switch int64_t from long long to long
...
To make it match what the compiler expects.
on nuttx-ci-linux image:
root@fec5a6192c70:/tools# gcc -dM -E - < /dev/null | grep -E "UINT(32|64)_TYPE"
#define __UINT64_TYPE__ long unsigned int
#define __UINT32_TYPE__ unsigned int
root@fec5a6192c70:/tools#
on macOS:
spacetanuki% x86_64-elf-gcc -dM -E - < /dev/null | grep -E "UINT(32|64)_TYPE"
#define __UINT32_TYPE__ unsigned int
#define __UINT64_TYPE__ long unsigned int
spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
cce626b545
risc-v: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e99321bf9d
risc-v 32-bit: Fix types to match what the compiler expects
...
spacetanuki% riscv64-unknown-elf-gcc -march=rv32im -mabi=ilp32 -dM -E - < /dev/null | grep INT32_TYPE
#define __INT32_TYPE__ long int
#define __UINT32_TYPE__ long unsigned int
spacetanuki% riscv64-unknown-elf-gcc -march=rv32im -mabi=ilp32 -dM -E - < /dev/null | grep INT64_TYPE
#define __INT64_TYPE__ long long int
#define __UINT64_TYPE__ long long unsigned int
spacetanuki% riscv64-unknown-elf-gcc -dM -E - < /dev/null | grep LP64
#define __LP64__ 1
#define _LP64 1
spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
723cc14009
risc-v: Switch int64_t from long long to long
...
So that it matches what the toolchain expects.
spacetanuki% riscv64-unknown-elf-gcc --version
riscv64-unknown-elf-gcc (SiFive GCC 8.3.0-2019.08.0) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
spacetanuki% riscv64-unknown-elf-gcc -dM -E - < /dev/null | grep UINT64_TYPE
#define __UINT64_TYPE__ long unsigned int
spacetanuki%
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
9c1d235329
avr: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e3a9fe8992
avr32: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
03c332acf0
arm: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
e8a9ce4988
arm inttypes.h: Use long for 32-bit integer
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
b1ed95f29d
arm: Change _int32_t from int to long to match the compiler
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
b8e559bb2e
xtensa: Add _intmax_t and _uintmax_t
2020-11-19 00:49:56 -08:00
YAMAMOTO Takashi
c18f074830
xtensa: Change _int32_t from long to int to match the compiler
...
PRIx32 etc is already "x" etc.
2020-11-19 00:49:56 -08:00
Pavel Pisa
4d2727c193
stm32l4: correct macros STM32L4_CAN_MCR_OFFSET, etc... to match defines.
...
It seems that part of the patch
stm32l4: correct build of stm32l4_can.c to respect L4 variant
has been lost on its way to mainline.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2020-11-18 19:31:07 -08:00
Alan C. Assis
50e1a49c6e
Fix the SPIRAM_BANKSWITCH that was defined incorrectly
2020-11-18 22:21:53 +01:00
Alan C. Assis
f09d103528
xtensa/esp32: Add high memory support to work with PSRAM
2020-11-18 22:21:53 +01:00
zhongan
a396b191d4
rv32im: set compressed instruction enabled as default.
...
Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-11-17 18:53:10 -08:00
zhongan
9eae6edfde
rv32im: fix typo.
...
Signed-off-by: zhongan <zhongan@xiaomi.com>
2020-11-17 18:53:10 -08:00
Abdelatif Guettouche
2d7e063eb0
arch/xtensa/src/esp32/esp32_tim.c: Fix build when debug is enabled.
...
A non-existent variable was used.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2020-11-17 18:46:06 -08:00
Abdelatif Guettouche
fa713c09e8
arch/arm/src/stm32h7/stm32_otghost.c: Fix undeclared "ret".
2020-11-17 03:20:54 -08:00
YAMAMOTO Takashi
46f17a6f36
arch/arm/src/xmc4/xmc4_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
1a24e9c0da
arch/arm/src/nrf52/nrf52_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4bb2d92679
arch/arm/src/eoss3/eoss3_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
dbd0c4aa0b
arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
a2ee706832
arch/arm/src/samd2l2/sam_usb.c: Fix type mismatches
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ba8e40d424
arch/arm/src/max326xx/max32660/max32660_serial.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
04883b2604
arch/arm/src/lc823450/lc823450_mtd.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
c3d87ed46c
arch/arm/src/lc823450/lc823450_procfs_dvfs.c: Fix printf format warnings
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
0d0aae2f00
arch/arm/src/s32k1xx/s32k1xx_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
2341dc5180
arch/arm/src/kinetis/kinetis_sdhc.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
b4815f8fc9
arch/arm/src/kinetis/kinetis_lpserial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4a8d0d15d4
arch/arm/src/imxrt/imxrt_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
457f5f5155
arch/arm/src/samd5e5/sam_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ab6fed1021
arch/arm/src/samd2l2/sam_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
6dec360169
arch/arm/src/samv7/sam_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
41b357128d
arch/arm/src/sam34/sam_udp.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
b142c9c7cf
arch/arm/src/sama5/sam_dbgu.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4b269aaea5
arch/arm/src/lpc54xx/lpc54_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
f755d3cb3a
arch/arm/src/sama5/sam_udphs.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
fbc55c184e
arch/arm/src/sama5/sam_sdmmc.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3b9e72c898
arch/arm/src/cxd56xx/cxd56_irq.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
10a4243fcf
arch/arm/src/c5471/c5471_watchdog.c: Fix printf format warnings
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
01abc41caf
stm32: Use the consistent type for stm32_dmacapable
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
7999ff0633
arch/arm/src/stm32l4/stm32l4_sdmmc.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
bb8a7e8e83
arch/arm/src/stm32h7/stm32_sdmmc.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3051965e45
arch/arm/src/stm32f7/stm32_sdmmc.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
3661cb5709
arch/arm/src/stm32/stm32_sdio.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
56a79d7248
arch/arm/src/am335x/am335x_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
ea3aab240c
arch/arm/src/cxd56xx/cxd56_serial.c: Fix a type mismatch
2020-11-16 08:29:00 -08:00