Commit Graph

39727 Commits

Author SHA1 Message Date
Matias N 8a9f995d40 procfs: make array const to reduce memory use 2020-12-07 16:55:00 -05:00
Nathan Hartman c162069cd5 arch/stm32: Fix nxstyle errors (and one typo)
arch/arm/src/stm32/stm32_dma2d.h
arch/arm/src/stm32/stm32_fmc.h
arch/arm/src/stm32/stm32_freerun.h
arch/arm/src/stm32/stm32_pm.h

    * Fix nxstyle errors.

arch/arm/src/stm32/hardware/stm32g4xxxx_dmamux.h

    * Fix typo in comment.
2020-12-07 22:22:02 +01:00
Juha Niskanen b2110fc09a drivers/power/bq2425x.c: fix build error with baterr()
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-12-07 15:19:18 +01:00
raiden00pl 979a5b7fd4 stm32: convert all STM32G47X specific code to generic STM32G4 series code.
This is an initial step towards supporting other STM32G4 chips.
2020-12-06 13:37:02 -05:00
YAMAMOTO Takashi 8c748f2d23 drivers/video/ov2640.c: Avoid assuming debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 1e12c57bba boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi b18c2e6cc5 arch/arm/src/arm/arm_assert.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi c3791e7c23 arch/arm/src/armv7-m/arm_assert.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 330aa43f72 arch/arm/src/stm32/stm32_adc.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 44f88cd71a arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 065d310cf2 arch/arm/src/stm32f0l0g0/stm32_adc.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 2a2679e11a wireless/bluetooth/bt_smp.c: Avoid assuming wlinfo expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 14b7ea01ba wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi af4f81a7e1 wireless/bluetooth/bt_hcicore.c: Avoid assuming wlinfo expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi f0fc385232 libs/libc/machine/risc-v/rv64/arch_elf.c: Don't assume binfo expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi c7a2ee11ca libs/libc/machine/arm/armv6-m/arch_elf.c: Appease nxstyle
The following errors are intentionally left.
They are a part of tables which are not trivial to fix.

libs/libc/machine/arm/armv6-m/arch_elf.c:228:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:230:89: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:238:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:240:89: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:401:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:403:91: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:411:94: error: Long line found
libs/libc/machine/arm/armv6-m/arch_elf.c:413:91: error: Long line found
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi d11bcef391 arch/x86_64/src/common/up_assert.c: Avoid assuming how _alert is expanded 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 97b86d5848 fs/spiffs/src/spiffs_core.c: Don't assume finfo() is a macro 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 48c7fee534 include/debug.h: Apply sysloglike to _none 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 8d16fe7cfd include/nuttx/compiler.h: Use __syslog__ if available 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi ed1a2584f0 include/syslog.h: Sprinkle sysloglike 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi 7b39e612db include/nuttx/compiler.h: Add sysloglike macro
Right now, same as printflike.

Introduce a separate macro because syslog takes
a bit different format from printf. (ie. %m)

If it turns out that a compiler is not happy with
the difference, we can disable this selectively.
2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi faa23102fe boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi a600b2478d arch/arm/src/s32k1xx/s32k1xx_flexcan.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 60795464ef boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 1c7bdcea98 arch/arm/src/s32k1xx/s32k1xx_lpspi.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi cba6e69ccf arch/arm/src/s32k1xx/s32k1xx_lpi2c.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 46974c29bd boards/arm/sam34/sam4e-ek/src/sam_at25.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 392c2948e5 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi fbf7d7cdf9 arch/arm/src/sam34/sam_emac.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 61579ed140 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi c007f70de5 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Appease nxstyle
The following nxstyle errrors are intentionally left.
They are a part of a large table, which is not trivial to fix.

boards/arm/sam34/sam3u-ek/src/sam_lcd.c:43:87: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:44:86: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:45:87: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:46:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:47:89: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:48:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:49:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:50:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:51:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:52:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:53:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:54:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:55:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:56:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:57:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:58:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:59:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:60:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:61:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:62:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:63:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:64:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:65:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:66:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:67:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:68:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:69:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:70:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:71:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:72:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:73:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:74:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:75:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:76:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:77:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:78:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:79:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:80:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:81:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:82:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:83:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:84:84: error: Long line found
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 2829ecd18a arch/arm/src/sam34/sam_spi.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 5461bb2462 arch/arm/src/sam34/sam4s_nand.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 6c269e8360 drivers/mtd/mtd_onfi.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi fcca968c0b arch/arm/src/sam34/sam_wdt.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi f22982f7e6 arch/arm/src/sam34/sam_wdt.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 8eb0712dec arch/arm/src/sam34/sam_hsmci.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 8af7af12b3 arch/arm/src/sama5/sam_emacb.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 2d78501e9a drivers/audio/audio_null.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 3599120dbb boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi b69dbbcbcf boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 83b24f0382 arch/arm/src/armv7-a/arm_syscall.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 0117d2b2f6 libs/libc/machine/arm/armv7-a/arch_elf.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 51b6a3cd1a libs/libc/machine/arm/armv7-a/arch_elf.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 3152ee6c62 arch/arm/src/sama5/sam_emacb.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi c3bcf80a18 arch/arm/src/sama5/sam_xdmac.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi c8eb8ac9c1 arch/arm/src/sama5/sam_xdmac.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi 59dc739895 arch/arm/src/sama5/sam_ssc.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
Matias N ec83dc2ad3 nxstyle fixes 2020-12-05 21:44:49 -06:00