From 80277d1630f5f17176a0e73c1c668c3e52de0063 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 31 Jan 2020 10:07:39 -0800 Subject: [PATCH] Refine the preprocessor conditional guard style (#190) --- arch/arm/include/cxd56xx/adc.h | 2 +- arch/arm/include/cxd56xx/crashdump.h | 2 +- arch/arm/include/cxd56xx/scu.h | 2 +- arch/arm/include/cxd56xx/timer.h | 2 +- arch/arm/include/setjmp.h | 2 +- arch/arm/include/tls.h | 2 +- arch/arm/src/am335x/am335x_gpio.h | 2 +- arch/arm/src/arm/arm.h | 2 +- arch/arm/src/armv6-m/exc_return.h | 2 +- arch/arm/src/armv6-m/psr.h | 2 +- arch/arm/src/armv6-m/svcall.h | 2 +- arch/arm/src/armv7-a/addrenv.h | 4 +- arch/arm/src/armv7-a/arm.h | 2 +- arch/arm/src/armv7-a/barriers.h | 2 +- arch/arm/src/armv7-a/cp15_cacheops.h | 2 +- arch/arm/src/armv7-a/fpu.h | 2 +- arch/arm/src/armv7-a/l2cc.h | 2 +- arch/arm/src/armv7-a/mmu.h | 2 +- arch/arm/src/armv7-a/sctlr.h | 2 +- arch/arm/src/armv7-a/smp.h | 6 +- arch/arm/src/armv7-a/svcall.h | 2 +- arch/arm/src/armv7-m/barriers.h | 2 +- arch/arm/src/armv7-m/exc_return.h | 2 +- arch/arm/src/armv7-m/mpu.h | 4 +- arch/arm/src/armv7-m/psr.h | 2 +- arch/arm/src/armv7-m/ram_vectors.h | 2 +- arch/arm/src/armv7-m/svcall.h | 2 +- arch/arm/src/armv7-m/up_cache.c | 8 +-- arch/arm/src/armv7-r/arm.h | 2 +- arch/arm/src/armv7-r/barriers.h | 2 +- arch/arm/src/armv7-r/cp15_cacheops.h | 2 +- arch/arm/src/armv7-r/fpu.h | 2 +- arch/arm/src/armv7-r/l2cc.h | 2 +- arch/arm/src/armv7-r/mpu.h | 4 +- arch/arm/src/armv7-r/sctlr.h | 2 +- arch/arm/src/armv7-r/svcall.h | 2 +- arch/arm/src/c5471/chip.h | 2 +- arch/arm/src/common/up_arch.h | 2 +- arch/arm/src/common/up_internal.h | 2 +- arch/arm/src/cxd56xx/cxd56_gnss.c | 2 +- arch/arm/src/dm320/chip.h | 2 +- arch/arm/src/dm320/dm320_ahb.h | 2 +- arch/arm/src/dm320/dm320_busc.h | 2 +- arch/arm/src/dm320/dm320_clkc.h | 2 +- arch/arm/src/dm320/dm320_emif.h | 2 +- arch/arm/src/dm320/dm320_gio.h | 2 +- arch/arm/src/dm320/dm320_intc.h | 2 +- arch/arm/src/dm320/dm320_memorymap.h | 2 +- arch/arm/src/dm320/dm320_osd.h | 2 +- arch/arm/src/dm320/dm320_timer.h | 2 +- arch/arm/src/dm320/dm320_uart.h | 2 +- arch/arm/src/dm320/dm320_usb.h | 2 +- arch/arm/src/dm320/dm320_usbdev.c | 2 +- arch/arm/src/imx1/chip.h | 2 +- arch/arm/src/imx1/imx_aitc.h | 2 +- arch/arm/src/imx1/imx_cspi.h | 2 +- arch/arm/src/imx1/imx_dma.h | 2 +- arch/arm/src/imx1/imx_eim.h | 2 +- arch/arm/src/imx1/imx_gpio.h | 4 +- arch/arm/src/imx1/imx_i2c.h | 2 +- arch/arm/src/imx1/imx_memorymap.h | 2 +- arch/arm/src/imx1/imx_rtc.h | 2 +- arch/arm/src/imx1/imx_system.h | 2 +- arch/arm/src/imx1/imx_timer.h | 2 +- arch/arm/src/imx1/imx_uart.h | 2 +- arch/arm/src/imx1/imx_usbd.h | 2 +- arch/arm/src/imx1/imx_wdog.h | 2 +- arch/arm/src/imx6/hardware/imx_ecspi.h | 2 +- arch/arm/src/imx6/hardware/imx_uart.h | 2 +- arch/arm/src/imx6/imx_config.h | 2 +- arch/arm/src/imx6/imx_ecspi.h | 2 +- arch/arm/src/imx6/imx_gpio.h | 2 +- arch/arm/src/imxrt/hardware/imxrt_daisy.h | 2 +- arch/arm/src/imxrt/hardware/imxrt_flexpwm.h | 8 +-- .../src/imxrt/hardware/rt102x/imxrt102x_ccm.h | 6 +- .../src/imxrt/hardware/rt105x/imxrt105x_ccm.h | 6 +- .../src/imxrt/hardware/rt106x/imxrt106x_ccm.h | 6 +- arch/arm/src/imxrt/imxrt_edma.c | 4 +- arch/arm/src/imxrt/imxrt_edma.h | 2 +- arch/arm/src/imxrt/imxrt_gpio.h | 2 +- arch/arm/src/imxrt/imxrt_usdhc.c | 2 +- .../kinetis/hardware/kinetis_k20k40k60fmc.h | 2 +- .../src/kinetis/hardware/kinetis_k28k66fmc.h | 2 +- .../arm/src/kinetis/hardware/kinetis_k64fmc.h | 2 +- arch/arm/src/kinetis/kinetis_i2c.c | 2 +- arch/arm/src/kinetis/kinetis_usbdev.c | 4 +- arch/arm/src/kl/hardware/kl_fmc.h | 2 +- arch/arm/src/lc823450/chip.h | 2 +- arch/arm/src/lc823450/lc823450_dma.h | 2 +- arch/arm/src/lc823450/lc823450_i2c.c | 2 +- arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c | 2 +- arch/arm/src/lpc214x/chip.h | 2 +- arch/arm/src/lpc214x/lpc214x_apb.h | 2 +- arch/arm/src/lpc214x/lpc214x_i2c.h | 2 +- arch/arm/src/lpc214x/lpc214x_pinsel.h | 2 +- arch/arm/src/lpc214x/lpc214x_pll.h | 2 +- arch/arm/src/lpc214x/lpc214x_power.h | 2 +- arch/arm/src/lpc214x/lpc214x_spi.h | 2 +- arch/arm/src/lpc214x/lpc214x_timer.h | 2 +- arch/arm/src/lpc214x/lpc214x_uart.h | 2 +- arch/arm/src/lpc214x/lpc214x_usbdev.c | 2 +- arch/arm/src/lpc214x/lpc214x_vic.h | 2 +- arch/arm/src/lpc2378/chip.h | 2 +- arch/arm/src/lpc2378/lpc23xx_gpio.h | 2 +- arch/arm/src/lpc2378/lpc23xx_pinsel.h | 2 +- arch/arm/src/lpc2378/lpc23xx_scb.h | 2 +- arch/arm/src/lpc2378/lpc23xx_timer.h | 2 +- arch/arm/src/lpc2378/lpc23xx_uart.h | 2 +- arch/arm/src/lpc2378/lpc23xx_vic.h | 2 +- arch/arm/src/lpc31xx/lpc31_usbdev.c | 2 +- arch/arm/src/lpc43xx/lpc43_usb0dev.c | 2 +- arch/arm/src/nrf52/hardware/nrf52_rng.h | 2 +- arch/arm/src/nrf52/nrf52_spi.c | 2 +- arch/arm/src/s32k1xx/s32k1xx_edma.c | 4 +- arch/arm/src/s32k1xx/s32k1xx_edma.h | 2 +- arch/arm/src/sam34/hardware/sam4l_pinmap.h | 2 +- arch/arm/src/sam34/hardware/sam_smc.h | 2 +- arch/arm/src/sama5/sam_config.h | 2 +- arch/arm/src/sama5/sam_dbgu.h | 2 +- arch/arm/src/samd2l2/hardware/saml_aes.h | 4 +- arch/arm/src/samd2l2/sam_sercom.c | 2 +- arch/arm/src/samd5e5/hardware/sam_aes.h | 4 +- .../arm/src/samd5e5/hardware/samd5e5_pinmap.h | 2 +- arch/arm/src/samv7/hardware/sam_smc.h | 2 +- arch/arm/src/stm32/stm32_adc.c | 40 ++++++------- arch/arm/src/stm32/stm32_adc.h | 4 +- arch/arm/src/stm32/stm32_comp.c | 8 +-- arch/arm/src/stm32/stm32_dac.c | 20 +++---- arch/arm/src/stm32/stm32_dma.h | 2 +- arch/arm/src/stm32/stm32_dma_v1.c | 2 +- arch/arm/src/stm32/stm32_dma_v2.c | 2 +- arch/arm/src/stm32/stm32_hciuart.c | 4 +- arch/arm/src/stm32/stm32_hrtim.c | 18 +++--- arch/arm/src/stm32/stm32_opamp.c | 8 +-- arch/arm/src/stm32/stm32_opamp.h | 2 +- arch/arm/src/stm32/stm32_pwm.c | 58 +++++++++---------- arch/arm/src/stm32/stm32_pwm.h | 2 +- arch/arm/src/stm32/stm32f10xxx_rcc.c | 2 +- arch/arm/src/stm32/stm32f30xxx_rcc.c | 2 +- arch/arm/src/stm32/stm32f33xxx_rcc.c | 2 +- arch/arm/src/stm32/stm32f37xxx_rcc.c | 2 +- arch/arm/src/stm32/stm32f40xxx_i2c.c | 2 +- arch/arm/src/stm32/stm32f40xxx_rcc.c | 2 +- arch/arm/src/stm32/stm32l15xxx_rcc.c | 2 +- arch/arm/src/stm32f0l0g0/stm32_adc.c | 14 ++--- arch/arm/src/stm32f0l0g0/stm32_adc.h | 4 +- arch/arm/src/stm32f0l0g0/stm32_dma.h | 2 +- arch/arm/src/stm32f0l0g0/stm32_dma_v1.c | 2 +- arch/arm/src/stm32f0l0g0/stm32_pwm.c | 6 +- arch/arm/src/stm32f0l0g0/stm32f0_rcc.c | 4 +- arch/arm/src/stm32f0l0g0/stm32g0_rcc.c | 2 +- arch/arm/src/stm32f0l0g0/stm32l0_rcc.c | 4 +- arch/arm/src/stm32f7/stm32_otgdev.c | 6 +- arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c | 2 +- arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c | 2 +- arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c | 2 +- arch/arm/src/stm32h7/stm32_dma.c | 10 ++-- arch/arm/src/stm32h7/stm32_pwm.c | 52 ++++++++--------- arch/arm/src/stm32h7/stm32_pwm.h | 2 +- arch/arm/src/stm32h7/stm32_spi.c | 18 +++--- arch/arm/src/stm32l4/stm32l4_pwm.c | 36 ++++++------ arch/arm/src/stm32l4/stm32l4_pwm.h | 2 +- arch/arm/src/stm32l4/stm32l4xrxx_dma.c | 2 +- arch/avr/src/avr/avr.h | 2 +- arch/avr/src/avr32/avr32.h | 2 +- arch/avr/src/common/up_internal.h | 2 +- arch/hc/src/common/up_arch.h | 2 +- arch/hc/src/common/up_internal.h | 2 +- arch/mips/src/common/up_arch.h | 2 +- arch/mips/src/common/up_internal.h | 2 +- arch/mips/src/pic32mx/pic32mx-ethernet.c | 2 +- arch/mips/src/pic32mx/pic32mx-usbdev.c | 4 +- arch/misoc/include/minerva/syscall.h | 4 +- arch/misoc/include/minerva/types.h | 4 +- arch/misoc/src/lm32/chip.h | 2 +- arch/misoc/src/lm32/lm32_swint.c | 2 +- arch/misoc/src/minerva/chip.h | 4 +- arch/misoc/src/minerva/minerva.h | 4 +- arch/misoc/src/minerva/minerva_config.h | 2 +- arch/misoc/src/minerva/minerva_dumpstate.c | 2 +- arch/or1k/src/common/up_arch.h | 2 +- arch/or1k/src/common/up_internal.h | 2 +- arch/or1k/src/mor1kx/mor1kx_start.h | 2 +- arch/renesas/include/rx65n/iodefine.h | 2 +- arch/renesas/include/rx65n/irq.h | 4 +- arch/renesas/src/common/up_arch.h | 2 +- arch/renesas/src/common/up_internal.h | 2 +- arch/renesas/src/rx65n/rx65n_definitions.h | 2 +- arch/renesas/src/rx65n/rx65n_sci.c | 50 ++++++++-------- arch/renesas/src/rx65n/rx65n_sci.h | 2 +- arch/renesas/src/rx65n/rx65n_vector.S | 6 +- arch/renesas/src/rx65n/rx65n_vector_table.c | 14 ++--- arch/risc-v/include/rv32im/irq.h | 2 +- arch/risc-v/include/rv64gc/irq.h | 2 +- arch/risc-v/src/common/up_arch.h | 2 +- arch/risc-v/src/fe310/fe310_memorymap.h | 2 +- arch/risc-v/src/fe310/hardware/fe310_uart.h | 2 +- arch/risc-v/src/gap8/gap8.h | 2 +- arch/risc-v/src/k210/hardware/k210_uart.h | 2 +- arch/risc-v/src/k210/k210_memorymap.h | 2 +- .../src/nr5m100/hardware/nr5m1xx_epic.h | 2 +- .../src/nr5m100/hardware/nr5m1xx_timer.h | 2 +- .../src/nr5m100/hardware/nr5m1xx_uart.h | 2 +- arch/risc-v/src/nr5m100/nr5_memorymap.h | 2 +- arch/risc-v/src/nr5m100/nr5_uart.h | 2 +- arch/risc-v/src/rv32im/up_swint.c | 2 +- arch/sim/include/tls.h | 2 +- arch/x86/src/common/up_arch.h | 2 +- arch/x86/src/common/up_internal.h | 2 +- arch/xtensa/src/common/xtensa.h | 2 +- arch/xtensa/src/common/xtensa_abi.h | 4 +- arch/xtensa/src/common/xtensa_int_handlers.S | 2 +- arch/xtensa/src/common/xtensa_timer.h | 2 +- arch/xtensa/src/esp32/chip_macros.h | 2 +- arch/xtensa/src/esp32/esp32_cpuint.h | 2 +- arch/xtensa/src/esp32/hardware/esp32_iomux.h | 2 +- arch/z16/src/common/up_arch.h | 2 +- arch/z16/src/common/up_internal.h | 2 +- arch/z16/src/z16f/chip.h | 2 +- arch/z80/include/z80/chip.h | 2 +- arch/z80/src/common/up_arch.h | 2 +- arch/z80/src/common/z80_internal.h | 2 +- arch/z80/src/ez80/chip.h | 2 +- arch/z80/src/ez80/ez80f91.h | 2 +- arch/z80/src/ez80/ez80f91_emac.h | 2 +- arch/z80/src/ez80/ez80f91_i2c.h | 2 +- arch/z80/src/ez80/ez80f91_spi.h | 2 +- arch/z80/src/ez80/switch.h | 2 +- arch/z80/src/ez80/up_mem.h | 2 +- arch/z80/src/z180/chip.h | 2 +- arch/z80/src/z180/switch.h | 2 +- arch/z80/src/z180/up_mem.h | 2 +- arch/z80/src/z8/chip.h | 2 +- arch/z80/src/z8/switch.h | 2 +- arch/z80/src/z8/up_mem.h | 2 +- arch/z80/src/z80/chip.h | 2 +- arch/z80/src/z80/switch.h | 2 +- arch/z80/src/z80/up_mem.h | 2 +- audio/audio.c | 4 +- boards/arm/a1x/pcduino-a10/include/board.h | 2 +- .../a1x/pcduino-a10/include/board_memorymap.h | 2 +- .../am335x/beaglebone-black/include/board.h | 2 +- .../include/board_memorymap.h | 2 +- boards/arm/c5471/c5471evm/include/board.h | 2 +- boards/arm/cxd56xx/spresense/include/board.h | 2 +- .../spresense/include/board_pinconfig.h | 2 +- .../spresense/include/cxd56_imageproc.h | 2 +- boards/arm/dm320/ntosd-dm320/include/board.h | 2 +- .../sabre-6quad/include/board_memorymap.h | 2 +- .../arm/kinetis/freedom-k28f/include/board.h | 2 +- .../arm/kinetis/freedom-k64f/include/board.h | 2 +- .../arm/kinetis/freedom-k66f/include/board.h | 2 +- .../arm/kinetis/kwikstik-k40/include/board.h | 2 +- boards/arm/kinetis/teensy-3.x/include/board.h | 2 +- .../arm/kinetis/twr-k60n512/include/board.h | 2 +- .../arm/kinetis/twr-k64f120m/include/board.h | 2 +- boards/arm/kl/freedom-kl25z/include/board.h | 2 +- boards/arm/kl/freedom-kl26z/include/board.h | 2 +- boards/arm/kl/teensy-lc/include/board.h | 2 +- .../lpc17xx_40xx/lincoln60/include/board.h | 2 +- .../lpc4088-devkit/include/board.h | 2 +- .../lpc4088-quickstart/include/board.h | 2 +- .../lpcxpresso-lpc1768/include/board.h | 2 +- .../arm/lpc17xx_40xx/lx_cpu/include/board.h | 2 +- boards/arm/lpc17xx_40xx/mbed/include/board.h | 2 +- .../arm/lpc17xx_40xx/mcb1700/include/board.h | 2 +- .../olimex-lpc1766stk/include/board.h | 2 +- .../arm/lpc17xx_40xx/open1788/include/board.h | 2 +- .../lpc17xx_40xx/pnev5180b/include/board.h | 2 +- .../lpc17xx_40xx/u-blox-c027/include/board.h | 2 +- .../zkit-arm-1769/include/board.h | 2 +- .../lpc214x/mcu123-lpc214x/include/board.h | 2 +- boards/arm/lpc214x/zp214xpa/include/board.h | 2 +- .../lpc2378/olimex-lpc2378/include/board.h | 2 +- boards/arm/lpc31xx/ea3131/include/board.h | 2 +- .../lpc31xx/ea3131/include/board_memorymap.h | 2 +- boards/arm/lpc31xx/ea3152/include/board.h | 2 +- .../lpc31xx/ea3152/include/board_memorymap.h | 2 +- .../lpc31xx/olimex-lpc-h3131/include/board.h | 2 +- .../include/board_memorymap.h | 2 +- .../arm/lpc43xx/bambino-200e/include/board.h | 2 +- .../lpc43xx/lpc4330-xplorer/include/board.h | 2 +- boards/arm/lpc43xx/lpc4337-ws/include/board.h | 2 +- .../arm/lpc43xx/lpc4357-evb/include/board.h | 2 +- .../arm/lpc43xx/lpc4370-link2/include/board.h | 2 +- .../lpcxpresso-lpc54628/include/board.h | 2 +- boards/arm/moxart/moxa/include/board.h | 2 +- .../arm/nrf52/nrf52-feather/include/board.h | 2 +- boards/arm/nrf52/nrf52832-dk/include/board.h | 2 +- boards/arm/nrf52/nrf52840-dk/include/board.h | 2 +- .../arm/nrf52/nrf52840-dk/src/nrf52_bringup.c | 8 +-- .../arm/nrf52/nrf52840-dongle/include/board.h | 2 +- .../arm/nuc1xx/nutiny-nuc120/include/board.h | 2 +- boards/arm/s32k1xx/s32k118evb/include/board.h | 2 +- boards/arm/s32k1xx/s32k146evb/include/board.h | 2 +- boards/arm/s32k1xx/s32k148evb/include/board.h | 2 +- boards/arm/sam34/arduino-due/include/board.h | 2 +- .../sam34/flipnclick-sam3x/include/board.h | 2 +- boards/arm/sam34/sam3u-ek/include/board.h | 2 +- boards/arm/sam34/sam4e-ek/include/board.h | 2 +- .../arm/sam34/sam4l-xplained/include/board.h | 2 +- .../sam34/sam4s-xplained-pro/include/board.h | 2 +- .../arm/sam34/sam4s-xplained/include/board.h | 2 +- boards/arm/sama5/sama5d2-xult/include/board.h | 2 +- .../sama5/sama5d2-xult/include/board_384mhz.h | 2 +- .../sama5/sama5d2-xult/include/board_396mhz.h | 2 +- .../sama5/sama5d2-xult/include/board_528mhz.h | 2 +- .../sama5d2-xult/include/board_memorymap.h | 2 +- .../sama5/sama5d2-xult/include/board_sdram.h | 2 +- .../sama5/sama5d3-xplained/include/board.h | 2 +- .../sama5d3-xplained/include/board_384mhz.h | 2 +- .../sama5d3-xplained/include/board_396mhz.h | 2 +- .../sama5d3-xplained/include/board_528mhz.h | 2 +- .../include/board_memorymap.h | 2 +- .../sama5d3-xplained/include/board_sdram.h | 2 +- boards/arm/sama5/sama5d3x-ek/include/board.h | 2 +- .../sama5/sama5d3x-ek/include/board_384mhz.h | 2 +- .../sama5/sama5d3x-ek/include/board_396mhz.h | 2 +- .../sama5/sama5d3x-ek/include/board_528mhz.h | 2 +- .../sama5d3x-ek/include/board_memorymap.h | 2 +- .../sama5/sama5d3x-ek/include/board_sdram.h | 2 +- boards/arm/sama5/sama5d4-ek/include/board.h | 2 +- .../sama5/sama5d4-ek/include/board_384mhz.h | 2 +- .../sama5/sama5d4-ek/include/board_396mhz.h | 2 +- .../sama5/sama5d4-ek/include/board_528mhz.h | 2 +- .../sama5d4-ek/include/board_memorymap.h | 2 +- .../sama5/sama5d4-ek/include/board_sdram.h | 2 +- boards/arm/samd2l2/arduino-m0/include/board.h | 2 +- .../samd2l2/samd20-xplained/include/board.h | 2 +- .../samd2l2/samd21-xplained/include/board.h | 2 +- .../samd2l2/saml21-xplained/include/board.h | 2 +- boards/arm/samd5e5/metro-m4/include/board.h | 2 +- .../same54-xplained-pro/include/board.h | 2 +- .../arm/stm32/clicker2-stm32/include/board.h | 2 +- .../stm32/clicker2-stm32/src/clicker2-stm32.h | 2 +- boards/arm/stm32/cloudctrl/include/board.h | 2 +- boards/arm/stm32/fire-stm32v2/include/board.h | 2 +- .../arm/stm32/hymini-stm32v/include/board.h | 2 +- boards/arm/stm32/maple/include/board.h | 2 +- .../arm/stm32/mikroe-stm32f4/include/board.h | 4 +- .../arm/stm32/nucleo-f103rb/src/stm32_adc.c | 6 +- .../arm/stm32/nucleo-f207zg/src/stm32_adc.c | 6 +- .../arm/stm32/nucleo-f302r8/include/board.h | 4 +- .../stm32/nucleo-f302r8/src/stm32_highpri.c | 2 +- .../arm/stm32/nucleo-f303ze/src/stm32_adc.c | 6 +- .../arm/stm32/nucleo-f334r8/include/board.h | 8 +-- .../arm/stm32/nucleo-f334r8/src/stm32_adc.c | 6 +- .../stm32/nucleo-f334r8/src/stm32_highpri.c | 4 +- .../arm/stm32/nucleo-f334r8/src/stm32_spwm.c | 14 ++--- .../arm/stm32/nucleo-f410rb/include/board.h | 2 +- .../arm/stm32/nucleo-f446re/include/board.h | 2 +- .../nucleo-f446re/include/nucleo-f446re.h | 2 +- .../arm/stm32/nucleo-f4x1re/include/board.h | 2 +- .../nucleo-f4x1re/include/nucleo-f401re.h | 2 +- .../nucleo-f4x1re/include/nucleo-f411re.h | 2 +- .../stm32/olimex-stm32-e407/include/board.h | 2 +- .../olimex-stm32-e407/src/olimex-stm32-e407.h | 2 +- .../stm32/olimex-stm32-h405/include/board.h | 2 +- .../olimex-stm32-h405/src/olimex-stm32-h405.h | 2 +- .../stm32/olimex-stm32-h407/include/board.h | 2 +- .../olimex-stm32-h407/src/olimex-stm32-h407.h | 2 +- .../stm32/olimex-stm32-p107/include/board.h | 2 +- .../olimex-stm32-p107/src/olimex-stm32-p107.h | 2 +- .../stm32/olimex-stm32-p207/include/board.h | 2 +- .../olimex-stm32-p207/src/olimex-stm32-p207.h | 2 +- .../stm32/olimex-stm32-p407/include/board.h | 2 +- .../olimex-stm32-p407/src/olimex-stm32-p407.h | 2 +- boards/arm/stm32/omnibusf4/include/board.h | 2 +- boards/arm/stm32/photon/include/board.h | 2 +- boards/arm/stm32/photon/src/stm32_wdt.c | 2 +- boards/arm/stm32/shenzhou/include/board.h | 2 +- .../arm/stm32/stm3210e-eval/include/board.h | 2 +- .../arm/stm32/stm3220g-eval/include/board.h | 2 +- .../arm/stm32/stm3240g-eval/include/board.h | 2 +- boards/arm/stm32/stm32_tiny/include/board.h | 2 +- .../arm/stm32/stm32butterfly2/include/board.h | 2 +- .../stm32butterfly2/src/stm32_butterfly2.h | 2 +- .../stm32/stm32f103-minimum/include/board.h | 2 +- .../arm/stm32/stm32f334-disco/include/board.h | 4 +- .../arm/stm32/stm32f334-disco/src/stm32_adc.c | 6 +- .../stm32/stm32f3discovery/include/board.h | 2 +- .../stm32/stm32f411e-disco/include/board.h | 2 +- .../stm32/stm32f429i-disco/include/board.h | 6 +- .../stm32/stm32f429i-disco/src/stm32_adc.c | 6 +- .../stm32f429i-disco/src/stm32_highpri.c | 2 +- .../stm32/stm32f429i-disco/src/stm32_l3gd20.c | 2 +- .../stm32/stm32f4discovery/include/board.h | 2 +- .../stm32f4discovery/src/stm32_bringup.c | 2 +- .../arm/stm32/stm32ldiscovery/include/board.h | 2 +- .../stm32/stm32vldiscovery/include/board.h | 2 +- .../include/board-stm32f103vct6.h | 2 +- .../include/board-stm32f107vct6.h | 2 +- .../stm32/viewtool-stm32f107/include/board.h | 2 +- .../src/viewtool_stm32f107.h | 2 +- .../b-l072z-lrwan1/src/stm32_bringup.c | 2 +- .../b-l072z-lrwan1/src/stm32_spi.c | 6 +- .../stm32f0l0g0/nucleo-f072rb/include/board.h | 2 +- .../stm32f0l0g0/nucleo-f091rc/include/board.h | 2 +- .../nucleo-f091rc/src/stm32_bringup.c | 2 +- .../stm32f0l0g0/nucleo-f091rc/src/stm32_spi.c | 6 +- .../nucleo-g071rb/src/stm32_bringup.c | 6 +- .../nucleo-l073rz/src/stm32_bringup.c | 6 +- .../stm32f0l0g0/nucleo-l073rz/src/stm32_spi.c | 8 +-- .../stm32f051-discovery/include/board.h | 2 +- .../stm32f072-discovery/include/board.h | 2 +- boards/arm/stm32f7/nucleo-144/include/board.h | 2 +- .../arm/stm32f7/stm32f746-ws/include/board.h | 2 +- .../stm32f7/stm32f746g-disco/include/board.h | 2 +- .../stm32f7/stm32f769i-disco/include/board.h | 2 +- .../arm/stm32h7/nucleo-h743zi/include/board.h | 2 +- .../stm32h7/nucleo-h743zi/src/stm32_bringup.c | 18 +++--- .../stm32h7/stm32h747i-disco/include/board.h | 2 +- .../stm32h747i-disco/src/stm32_bringup.c | 8 +-- .../include/b-l475e-iot01a_clock.h | 2 +- .../stm32l4/b-l475e-iot01a/include/board.h | 2 +- .../arm/stm32l4/nucleo-l432kc/include/board.h | 2 +- .../nucleo-l432kc/include/nucleo-l432kc.h | 2 +- .../stm32l4/nucleo-l432kc/src/stm32_spwm.c | 8 +-- .../arm/stm32l4/nucleo-l452re/include/board.h | 2 +- .../nucleo-l452re/include/nucleo-l452re.h | 2 +- .../arm/stm32l4/nucleo-l476rg/include/board.h | 2 +- .../nucleo-l476rg/include/nucleo-l476rg.h | 2 +- .../arm/stm32l4/nucleo-l496zg/include/board.h | 2 +- .../arm/stm32l4/stm32l476-mdk/include/board.h | 2 +- .../include/stm32l476-mdk-clocking.h | 2 +- .../stm32l4/stm32l476vg-disco/include/board.h | 2 +- .../stm32l476vg-disco/include/boardctl.h | 2 +- .../include/stm32l476vg-disco-clocking.h | 2 +- .../stm32l4/stm32l4r9ai-disco/include/board.h | 2 +- .../stm32l4r9ai-disco/include/boardctl.h | 2 +- .../include/stm32l4r9ai-disco-clocking.h | 2 +- .../arm/str71x/olimex-strp711/include/board.h | 2 +- boards/arm/tiva/dk-tm4c129x/include/board.h | 2 +- boards/arm/tiva/eagle100/include/board.h | 2 +- boards/arm/tiva/ekk-lm3s9b96/include/board.h | 2 +- .../launchxl-cc1310/src/cc1310_pinconfig.c | 2 +- .../launchxl-cc1312r1/src/cc1312_pinconfig.c | 2 +- boards/arm/tiva/lm3s6432-s2e/include/board.h | 2 +- boards/arm/tiva/lm3s6965-ek/include/board.h | 2 +- boards/arm/tiva/lm3s8962-ek/include/board.h | 2 +- .../tiva/lm4f120-launchpad/include/board.h | 2 +- .../tiva/tm4c123g-launchpad/include/board.h | 2 +- .../tiva/tm4c1294-launchpad/include/board.h | 2 +- .../tms570/launchxl-tms57004/include/board.h | 2 +- .../tms570ls31x-usb-kit/include/board.h | 2 +- boards/arm/xmc4/xmc4500-relax/include/board.h | 2 +- boards/avr/at32uc3/avr32dev1/include/board.h | 2 +- boards/hc/m9s12/demo9s12ne64/include/board.h | 2 +- boards/hc/m9s12/ne64badge/include/board.h | 2 +- boards/or1k/mor1kx/or1k/include/board.h | 2 +- boards/or1k/mor1kx/or1k/src/or1k.h | 2 +- boards/renesas/m16c/skp16c26/include/board.h | 2 +- boards/renesas/m16c/skp16c26/src/skp16c26.h | 2 +- .../rx65n/rx65n-grrose/include/board.h | 2 +- .../rx65n/rx65n-rsk1mb/include/board.h | 2 +- .../rx65n/rx65n-rsk2mb/include/board.h | 2 +- boards/renesas/rx65n/rx65n/include/board.h | 2 +- boards/renesas/sh1/us7032evb1/include/board.h | 2 +- boards/renesas/sh1/us7032evb1/shterm/shterm.c | 2 +- .../nr5m100/nr5m100-nexys4/include/board.h | 2 +- boards/x86/qemu/qemu-i486/include/board.h | 2 +- .../z16/z16f/z16f2800100zcog/include/board.h | 2 +- .../z80/ez80/ez80f910200kitg/include/board.h | 2 +- .../z80/ez80/ez80f910200zco/include/board.h | 2 +- .../ez80/ez80f910200zco/src/ez80f910200zco.h | 2 +- boards/z80/ez80/makerlisp/include/board.h | 2 +- boards/z80/ez80/makerlisp/src/makerlisp.h | 2 +- boards/z80/z180/p112/include/board.h | 2 +- boards/z80/z8/z8encore000zco/include/board.h | 2 +- boards/z80/z8/z8f64200100kit/include/board.h | 2 +- boards/z80/z80/z80sim/include/board.h | 2 +- drivers/audio/audio_null.c | 4 +- drivers/audio/cs43l22.c | 4 +- drivers/audio/cs43l22.h | 4 +- drivers/audio/vs1053.c | 14 ++--- drivers/audio/wm8776.c | 2 +- drivers/audio/wm8776.h | 4 +- drivers/audio/wm8904.c | 4 +- drivers/audio/wm8904.h | 4 +- drivers/can/mcp2515.h | 2 +- drivers/contactless/mfrc522.h | 2 +- drivers/contactless/pn532.h | 2 +- drivers/lcd/lcd_framebuffer.c | 4 +- drivers/lcd/ssd1306.h | 2 +- drivers/modem/altair/altmdm_spi.c | 2 +- drivers/mtd/smart.c | 36 ++++++------ drivers/net/encx24j600.h | 2 +- drivers/power/greedy_governor.h | 2 +- drivers/sensors/lsm303agr.c | 2 +- drivers/sensors/vl53l1x.c | 2 +- drivers/usbdev/cdcacm.h | 2 +- drivers/usbdev/composite.h | 2 +- drivers/usbdev/pl2303.c | 2 +- drivers/usbdev/usbmsc.h | 2 +- drivers/usbhost/usbhost_cdcacm.c | 2 +- drivers/usbhost/usbhost_hub.c | 2 +- drivers/usbhost/usbhost_storage.c | 2 +- drivers/video/isx012.c | 2 +- drivers/video/video_framebuff.h | 2 +- .../wireless/ieee80211/bcm43xxx/bcmf_core.c | 2 +- .../ieee80211/bcm43xxx/bcmf_sdio_regs.h | 4 +- .../wireless/ieee80211/bcm43xxx/mmc_sdio.c | 2 +- drivers/wireless/lpwan/sx127x/sx127x.c | 34 +++++------ drivers/wireless/lpwan/sx127x/sx127x.h | 2 +- fs/cromfs/cromfs.h | 2 +- fs/smartfs/smartfs_smart.c | 8 +-- fs/smartfs/smartfs_utils.c | 8 +-- fs/spiffs/src/spiffs.h | 2 +- fs/spiffs/src/spiffs_cache.h | 2 +- fs/spiffs/src/spiffs_check.h | 2 +- fs/spiffs/src/spiffs_gc.h | 2 +- fs/spiffs/src/spiffs_mtd.h | 2 +- graphics/nxbe/nxbe_flush.c | 2 +- graphics/nxmu/nxmu.h | 2 +- include/debug.h | 6 +- include/lzf.h | 2 +- include/net/ethernet.h | 6 +- include/netpacket/bluetooth.h | 6 +- include/netpacket/ieee802154.h | 6 +- include/netpacket/netlink.h | 6 +- include/netpacket/packet.h | 4 +- include/nuttx/addrenv.h | 2 +- include/nuttx/crypto/aes.h | 4 +- include/nuttx/crypto/tea.h | 2 +- include/nuttx/eeprom/i2c_xx24xx.h | 2 +- include/nuttx/eeprom/spi_xx25xx.h | 2 +- include/nuttx/input/ioctl.h | 2 +- include/nuttx/input/nunchuck.h | 2 +- include/nuttx/net/bluetooth.h | 6 +- include/nuttx/net/ieee802154.h | 6 +- include/nuttx/net/slip.h | 2 +- include/nuttx/net/tun.h | 2 +- include/nuttx/nx/nxmu.h | 2 +- include/nuttx/power/relay.h | 2 +- include/nuttx/timers/cs2100-cp.h | 4 +- include/nuttx/timers/ds3231.h | 2 +- include/nuttx/timers/mcp794xx.h | 2 +- include/nuttx/timers/pcf85263.h | 2 +- include/nuttx/timers/timer.h | 2 +- include/nuttx/timers/watchdog.h | 2 +- include/nuttx/video/ov2640.h | 2 +- include/nuttx/video/rfb.h | 2 +- include/nuttx/video/vesagtf.h | 2 +- include/nuttx/video/vnc.h | 2 +- include/nuttx/wireless/bluetooth/bt_buf.h | 2 +- include/nuttx/wireless/bluetooth/bt_core.h | 2 +- include/nuttx/wireless/bluetooth/bt_driver.h | 2 +- include/nuttx/wireless/bluetooth/bt_gatt.h | 2 +- include/nuttx/wireless/bluetooth/bt_hci.h | 2 +- include/nuttx/wireless/bluetooth/bt_ioctl.h | 2 +- include/nuttx/wireless/bluetooth/bt_null.h | 2 +- include/nuttx/wireless/bluetooth/bt_uart.h | 2 +- include/nuttx/wireless/bluetooth/bt_uuid.h | 2 +- include/time.h | 2 +- libs/libc/lzf/lzf.h | 2 +- libs/libc/pthread/pthread_spinlock.c | 2 +- mm/iob/iob.h | 2 +- net/neighbor/neighbor_snapshot.c | 2 +- net/route/cacheroute.h | 2 +- net/route/fileroute.h | 2 +- net/route/ramroute.h | 2 +- net/route/romroute.h | 2 +- net/sixlowpan/sixlowpan_utils.c | 2 +- sched/group/group_exitinfo.c | 2 +- sched/group/group_free.c | 2 +- sched/group/group_malloc.c | 2 +- sched/group/group_waiter.c | 2 +- sched/group/group_zalloc.c | 2 +- wireless/bluetooth/bt_atomic.h | 2 +- wireless/bluetooth/bt_att.h | 2 +- wireless/bluetooth/bt_buf.h | 2 +- wireless/bluetooth/bt_conn.h | 2 +- wireless/bluetooth/bt_hcicore.h | 2 +- wireless/bluetooth/bt_ioctl.h | 2 +- wireless/bluetooth/bt_l2cap.h | 2 +- wireless/bluetooth/bt_queue.h | 2 +- wireless/bluetooth/bt_smp.h | 2 +- 577 files changed, 904 insertions(+), 904 deletions(-) diff --git a/arch/arm/include/cxd56xx/adc.h b/arch/arm/include/cxd56xx/adc.h index 5586a65898..3608425f6a 100644 --- a/arch/arm/include/cxd56xx/adc.h +++ b/arch/arm/include/cxd56xx/adc.h @@ -93,4 +93,4 @@ int cxd56_adcinitialize(void); -#endif /* __ARCH_ARM_INCLUDE_CXD56XX_ADC_H */ +#endif /* __ARCH_ARM_INCLUDE_CXD56XX_ADC_H */ diff --git a/arch/arm/include/cxd56xx/crashdump.h b/arch/arm/include/cxd56xx/crashdump.h index c4a3ee50e6..a5fe1fc5e0 100644 --- a/arch/arm/include/cxd56xx/crashdump.h +++ b/arch/arm/include/cxd56xx/crashdump.h @@ -162,4 +162,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_INCLUDE_CXD56XX_CRASHDUMP_H */ +#endif /* __ARCH_ARM_INCLUDE_CXD56XX_CRASHDUMP_H */ diff --git a/arch/arm/include/cxd56xx/scu.h b/arch/arm/include/cxd56xx/scu.h index 450044bd87..c4b5a28fd2 100644 --- a/arch/arm/include/cxd56xx/scu.h +++ b/arch/arm/include/cxd56xx/scu.h @@ -557,4 +557,4 @@ void scu_initialize(void); void scu_uninitialize(void); -#endif /* __ARCH_ARM_INCLUDE_CXD56XX_SCU_H */ +#endif /* __ARCH_ARM_INCLUDE_CXD56XX_SCU_H */ diff --git a/arch/arm/include/cxd56xx/timer.h b/arch/arm/include/cxd56xx/timer.h index 5a33ea18e9..6929c6f15c 100644 --- a/arch/arm/include/cxd56xx/timer.h +++ b/arch/arm/include/cxd56xx/timer.h @@ -63,4 +63,4 @@ struct timer_sethandler_s CODE tccb_t handler; /* The timer interrupt handler */ }; -#endif /* __ARCH_ARM_INCLUDE_CXD56XX_TIMER_H */ +#endif /* __ARCH_ARM_INCLUDE_CXD56XX_TIMER_H */ diff --git a/arch/arm/include/setjmp.h b/arch/arm/include/setjmp.h index d7854d0635..2b25067a7b 100644 --- a/arch/arm/include/setjmp.h +++ b/arch/arm/include/setjmp.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_ARM_INCLUDE_SETJUMP_H -#define __ARCH_ARM_INCLUDE_SETJUMP_H 1 +#define __ARCH_ARM_INCLUDE_SETJUMP_H /**************************************************************************** * Included Files diff --git a/arch/arm/include/tls.h b/arch/arm/include/tls.h index 0678647510..97e0d9c1e3 100644 --- a/arch/arm/include/tls.h +++ b/arch/arm/include/tls.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_ARM_INCLUDE_TLS_H -#define __ARCH_ARM_INCLUDE_TLS_H 1 +#define __ARCH_ARM_INCLUDE_TLS_H /**************************************************************************** * Included Files diff --git a/arch/arm/src/am335x/am335x_gpio.h b/arch/arm/src/am335x/am335x_gpio.h index cf2c8b0434..e0114a8eaf 100644 --- a/arch/arm/src/am335x/am335x_gpio.h +++ b/arch/arm/src/am335x/am335x_gpio.h @@ -314,4 +314,4 @@ gpio_pinset_t am335x_periph_gpio(gpio_pinset_t pinset); #if defined(__cplusplus) } #endif -#endif /* __ARCH_ARM_SRC_AM335X_AM335X_GPIO_H */ +#endif /* __ARCH_ARM_SRC_AM335X_AM335X_GPIO_H */ diff --git a/arch/arm/src/arm/arm.h b/arch/arm/src/arm/arm.h index a58bbbd04a..29b3a0a189 100644 --- a/arch/arm/src/arm/arm.h +++ b/arch/arm/src/arm/arm.h @@ -443,4 +443,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_COMMON_ARM_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARM_H */ diff --git a/arch/arm/src/armv6-m/exc_return.h b/arch/arm/src/armv6-m/exc_return.h index ced08659cf..85fd4d9a94 100644 --- a/arch/arm/src/armv6-m/exc_return.h +++ b/arch/arm/src/armv6-m/exc_return.h @@ -100,4 +100,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_ARMV6_M_EXC_RETURN_H */ +#endif /* __ARCH_ARM_SRC_ARMV6_M_EXC_RETURN_H */ diff --git a/arch/arm/src/armv6-m/psr.h b/arch/arm/src/armv6-m/psr.h index eeb541a005..13e4e18b73 100644 --- a/arch/arm/src/armv6-m/psr.h +++ b/arch/arm/src/armv6-m/psr.h @@ -74,4 +74,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_COMMON_ARMV6_M_PSR_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV6_M_PSR_H */ diff --git a/arch/arm/src/armv6-m/svcall.h b/arch/arm/src/armv6-m/svcall.h index f08d078739..b3d11d8747 100644 --- a/arch/arm/src/armv6-m/svcall.h +++ b/arch/arm/src/armv6-m/svcall.h @@ -142,4 +142,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_ARMV6_M_SVCALL_H */ +#endif /* __ARCH_ARM_SRC_ARMV6_M_SVCALL_H */ diff --git a/arch/arm/src/armv7-a/addrenv.h b/arch/arm/src/armv7-a/addrenv.h index 653be5e269..0dd119b59a 100644 --- a/arch/arm/src/armv7-a/addrenv.h +++ b/arch/arm/src/armv7-a/addrenv.h @@ -121,5 +121,5 @@ void arm_addrenv_destroy_region(FAR uintptr_t **list, unsigned int listlen, #endif #endif /* __ASSEMBLY__ */ -#endif /* CONFIG_ARCH_ADDRENV */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_ADDRENV_H */ +#endif /* CONFIG_ARCH_ADDRENV */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_ADDRENV_H */ diff --git a/arch/arm/src/armv7-a/arm.h b/arch/arm/src/armv7-a/arm.h index 5d8d582289..47e9254a72 100644 --- a/arch/arm/src/armv7-a/arm.h +++ b/arch/arm/src/armv7-a/arm.h @@ -130,4 +130,4 @@ void arm_data_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_ARM_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_ARM_H */ diff --git a/arch/arm/src/armv7-a/barriers.h b/arch/arm/src/armv7-a/barriers.h index d137ba5d3f..9823894a71 100644 --- a/arch/arm/src/armv7-a/barriers.h +++ b/arch/arm/src/armv7-a/barriers.h @@ -54,4 +54,4 @@ #define ARM_ISB() arm_isb(15) #define ARM_DMB() arm_dmb(15) -#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_A_BARRIERS_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_A_BARRIERS_H */ diff --git a/arch/arm/src/armv7-a/cp15_cacheops.h b/arch/arm/src/armv7-a/cp15_cacheops.h index dbe0bf201e..40a89452a2 100644 --- a/arch/arm/src/armv7-a/cp15_cacheops.h +++ b/arch/arm/src/armv7-a/cp15_cacheops.h @@ -1080,4 +1080,4 @@ void cp15_flush_dcache(uintptr_t start, uintptr_t end); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_CP15_CACHEOPS_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_CP15_CACHEOPS_H */ diff --git a/arch/arm/src/armv7-a/fpu.h b/arch/arm/src/armv7-a/fpu.h index 075ade1cff..9c68c369a7 100644 --- a/arch/arm/src/armv7-a/fpu.h +++ b/arch/arm/src/armv7-a/fpu.h @@ -90,4 +90,4 @@ void arm_fpuconfig(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_FPU_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_FPU_H */ diff --git a/arch/arm/src/armv7-a/l2cc.h b/arch/arm/src/armv7-a/l2cc.h index f43ae9b653..47b23ee3a5 100644 --- a/arch/arm/src/armv7-a/l2cc.h +++ b/arch/arm/src/armv7-a/l2cc.h @@ -255,4 +255,4 @@ void l2cc_flush(uint32_t startaddr, uint32_t endaddr); # define l2cc_flush(s,e) #endif /* CONFIG_ARCH_L2CACHE */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_L2CC_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_L2CC_H */ diff --git a/arch/arm/src/armv7-a/mmu.h b/arch/arm/src/armv7-a/mmu.h index 61b881348a..f93ed5dba2 100644 --- a/arch/arm/src/armv7-a/mmu.h +++ b/arch/arm/src/armv7-a/mmu.h @@ -1510,4 +1510,4 @@ void mmu_invalidate_region(uint32_t vstart, size_t size); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_MMU_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_MMU_H */ diff --git a/arch/arm/src/armv7-a/sctlr.h b/arch/arm/src/armv7-a/sctlr.h index a7bb42bcbb..c77407b394 100644 --- a/arch/arm/src/armv7-a/sctlr.h +++ b/arch/arm/src/armv7-a/sctlr.h @@ -416,4 +416,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_SCTLR_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_SCTLR_H */ diff --git a/arch/arm/src/armv7-a/smp.h b/arch/arm/src/armv7-a/smp.h index 1ae2bbfad8..7f3e37539b 100644 --- a/arch/arm/src/armv7-a/smp.h +++ b/arch/arm/src/armv7-a/smp.h @@ -140,6 +140,6 @@ void __cpu3_start(void); void arm_cpu_boot(int cpu); -#endif /* __ASSEMBLY__ */ -#endif /* CONFIG_SMP */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_SMP_H */ +#endif /* __ASSEMBLY__ */ +#endif /* CONFIG_SMP */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_SMP_H */ diff --git a/arch/arm/src/armv7-a/svcall.h b/arch/arm/src/armv7-a/svcall.h index 9e3c679e89..6b2933f46b 100644 --- a/arch/arm/src/armv7-a/svcall.h +++ b/arch/arm/src/armv7-a/svcall.h @@ -127,4 +127,4 @@ ************************************************************************************/ #endif /* CONFIG_LIB_SYSCALL */ -#endif /* __ARCH_ARM_SRC_ARMV7_A_SVCALL_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_A_SVCALL_H */ diff --git a/arch/arm/src/armv7-m/barriers.h b/arch/arm/src/armv7-m/barriers.h index 89c672211b..8bd5072c9c 100644 --- a/arch/arm/src/armv7-m/barriers.h +++ b/arch/arm/src/armv7-m/barriers.h @@ -54,4 +54,4 @@ #define ARM_ISB() arm_isb(15) #define ARM_DMB() arm_dmb(15) -#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_BARRIERS_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_BARRIERS_H */ diff --git a/arch/arm/src/armv7-m/exc_return.h b/arch/arm/src/armv7-m/exc_return.h index 3abc81a39f..2aaa729327 100644 --- a/arch/arm/src/armv7-m/exc_return.h +++ b/arch/arm/src/armv7-m/exc_return.h @@ -116,4 +116,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_ARMV7_M_EXC_RETURN_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_M_EXC_RETURN_H */ diff --git a/arch/arm/src/armv7-m/mpu.h b/arch/arm/src/armv7-m/mpu.h index 3044cb76fa..bcc3c0ccd4 100644 --- a/arch/arm/src/armv7-m/mpu.h +++ b/arch/arm/src/armv7-m/mpu.h @@ -499,5 +499,5 @@ static inline void mpu_user_peripheral(uintptr_t base, size_t size) } #endif -#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7M_MPU_H */ +#endif /* __ASSEMBLY__ */ +#endif /* __ARCH_ARM_SRC_ARMV7M_MPU_H */ diff --git a/arch/arm/src/armv7-m/psr.h b/arch/arm/src/armv7-m/psr.h index b8b33c80f6..a0c7610770 100644 --- a/arch/arm/src/armv7-m/psr.h +++ b/arch/arm/src/armv7-m/psr.h @@ -84,4 +84,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_PSR_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_PSR_H */ diff --git a/arch/arm/src/armv7-m/ram_vectors.h b/arch/arm/src/armv7-m/ram_vectors.h index a87dfa9fcc..59be9c0137 100644 --- a/arch/arm/src/armv7-m/ram_vectors.h +++ b/arch/arm/src/armv7-m/ram_vectors.h @@ -115,4 +115,4 @@ void exception_common(void); int up_ramvec_attach(int irq, up_vector_t vector); #endif /* CONFIG_ARCH_RAMVECTORS */ -#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_RAM_VECTORS_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_M_RAM_VECTORS_H */ diff --git a/arch/arm/src/armv7-m/svcall.h b/arch/arm/src/armv7-m/svcall.h index cc2b2716b2..408a3e82b1 100644 --- a/arch/arm/src/armv7-m/svcall.h +++ b/arch/arm/src/armv7-m/svcall.h @@ -142,4 +142,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_ARMV7_M_SVCALL_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_M_SVCALL_H */ diff --git a/arch/arm/src/armv7-m/up_cache.c b/arch/arm/src/armv7-m/up_cache.c index 03416e1afe..c7bdc19923 100644 --- a/arch/arm/src/armv7-m/up_cache.c +++ b/arch/arm/src/armv7-m/up_cache.c @@ -283,7 +283,7 @@ void up_enable_dcache(void) ARM_DSB(); ARM_ISB(); } -#endif /* CONFIG_ARMV7M_DCACHE */ +#endif /* CONFIG_ARMV7M_DCACHE */ /**************************************************************************** * Name: up_disable_dcache @@ -356,7 +356,7 @@ void up_disable_dcache(void) ARM_DSB(); ARM_ISB(); } -#endif /* CONFIG_ARMV7M_DCACHE */ +#endif /* CONFIG_ARMV7M_DCACHE */ /**************************************************************************** * Name: up_invalidate_dcache @@ -427,7 +427,7 @@ void up_invalidate_dcache(uintptr_t start, uintptr_t end) ARM_DSB(); ARM_ISB(); } -#endif /* CONFIG_ARMV7M_DCACHE */ +#endif /* CONFIG_ARMV7M_DCACHE */ /**************************************************************************** * Name: up_invalidate_dcache_all @@ -493,7 +493,7 @@ void up_invalidate_dcache_all(void) ARM_DSB(); ARM_ISB(); } -#endif /* CONFIG_ARMV7M_DCACHE */ +#endif /* CONFIG_ARMV7M_DCACHE */ /**************************************************************************** * Name: up_clean_dcache diff --git a/arch/arm/src/armv7-r/arm.h b/arch/arm/src/armv7-r/arm.h index 7bee4a0287..4168da4799 100644 --- a/arch/arm/src/armv7-r/arm.h +++ b/arch/arm/src/armv7-r/arm.h @@ -167,4 +167,4 @@ void arm_data_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_CPSR_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_CPSR_H */ diff --git a/arch/arm/src/armv7-r/barriers.h b/arch/arm/src/armv7-r/barriers.h index e7c7d7e6ed..d2a5b67eda 100644 --- a/arch/arm/src/armv7-r/barriers.h +++ b/arch/arm/src/armv7-r/barriers.h @@ -54,4 +54,4 @@ #define ARM_ISB() arm_isb(15) #define ARM_DMB() arm_dmb(15) -#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_R_BARRIERS_H */ +#endif /* __ARCH_ARM_SRC_COMMON_ARMV7_R_BARRIERS_H */ diff --git a/arch/arm/src/armv7-r/cp15_cacheops.h b/arch/arm/src/armv7-r/cp15_cacheops.h index 0c0c4924c3..c7e239db03 100644 --- a/arch/arm/src/armv7-r/cp15_cacheops.h +++ b/arch/arm/src/armv7-r/cp15_cacheops.h @@ -1088,4 +1088,4 @@ void cp15_flush_dcache(uintptr_t start, uintptr_t end); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_CP15_CACHEOPS_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_CP15_CACHEOPS_H */ diff --git a/arch/arm/src/armv7-r/fpu.h b/arch/arm/src/armv7-r/fpu.h index 1f8fdfdba1..f7e4408243 100644 --- a/arch/arm/src/armv7-r/fpu.h +++ b/arch/arm/src/armv7-r/fpu.h @@ -90,4 +90,4 @@ void arm_fpuconfig(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_FPU_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_FPU_H */ diff --git a/arch/arm/src/armv7-r/l2cc.h b/arch/arm/src/armv7-r/l2cc.h index 05a69ab94d..23fcf887a2 100644 --- a/arch/arm/src/armv7-r/l2cc.h +++ b/arch/arm/src/armv7-r/l2cc.h @@ -255,4 +255,4 @@ void l2cc_flush(uint32_t startaddr, uint32_t endaddr); # define l2cc_flush(s,e) #endif /* CONFIG_ARCH_L2CACHE */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_L2CC_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_L2CC_H */ diff --git a/arch/arm/src/armv7-r/mpu.h b/arch/arm/src/armv7-r/mpu.h index 501011ce06..5d8c6c4158 100644 --- a/arch/arm/src/armv7-r/mpu.h +++ b/arch/arm/src/armv7-r/mpu.h @@ -828,5 +828,5 @@ static inline void mpu_user_intsram_wb(uintptr_t base, size_t size) } #endif -#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7R_MPU_H */ +#endif /* __ASSEMBLY__ */ +#endif /* __ARCH_ARM_SRC_ARMV7R_MPU_H */ diff --git a/arch/arm/src/armv7-r/sctlr.h b/arch/arm/src/armv7-r/sctlr.h index 76ab8081df..e68397fd6d 100644 --- a/arch/arm/src/armv7-r/sctlr.h +++ b/arch/arm/src/armv7-r/sctlr.h @@ -542,4 +542,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_SCTLR_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_SCTLR_H */ diff --git a/arch/arm/src/armv7-r/svcall.h b/arch/arm/src/armv7-r/svcall.h index 8ee1ec2730..3c371b2a4c 100644 --- a/arch/arm/src/armv7-r/svcall.h +++ b/arch/arm/src/armv7-r/svcall.h @@ -127,4 +127,4 @@ ************************************************************************************/ #endif /* CONFIG_LIB_SYSCALL */ -#endif /* __ARCH_ARM_SRC_ARMV7_R_SVCALL_H */ +#endif /* __ARCH_ARM_SRC_ARMV7_R_SVCALL_H */ diff --git a/arch/arm/src/c5471/chip.h b/arch/arm/src/c5471/chip.h index e1f40e58d3..17860089f1 100644 --- a/arch/arm/src/c5471/chip.h +++ b/arch/arm/src/c5471/chip.h @@ -368,4 +368,4 @@ * Public Function Prototypes ****************************************************************************/ -#endif /* __ARCH_ARM_SRC_C5471_CHIP_H */ +#endif /* __ARCH_ARM_SRC_C5471_CHIP_H */ diff --git a/arch/arm/src/common/up_arch.h b/arch/arm/src/common/up_arch.h index c5fbc90237..e43ecb0aac 100644 --- a/arch/arm/src/common/up_arch.h +++ b/arch/arm/src/common/up_arch.h @@ -83,4 +83,4 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_ARM_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_ARM_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/arm/src/common/up_internal.h b/arch/arm/src/common/up_internal.h index b3909338a9..dbfc4744be 100644 --- a/arch/arm/src/common/up_internal.h +++ b/arch/arm/src/common/up_internal.h @@ -540,4 +540,4 @@ void up_stack_color(FAR void *stackbase, size_t nbytes); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_SRC_COMMON_UP_INTERNAL_H */ +#endif /* __ARCH_ARM_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/arm/src/cxd56xx/cxd56_gnss.c b/arch/arm/src/cxd56xx/cxd56_gnss.c index c16aef7c4f..0c0e206e35 100644 --- a/arch/arm/src/cxd56xx/cxd56_gnss.c +++ b/arch/arm/src/cxd56xx/cxd56_gnss.c @@ -95,7 +95,7 @@ extern int PM_SleepCpu(int cpuid, int mode); #endif #define CXD56_GNSS_GPS_CPUID 1 -#ifdef CONFIG_CXD56_GNSS_FW_RTK +#ifdef CONFIG_CXD56_GNSS_FW_RTK # define CXD56_GNSS_FWNAME "gnssfwrtk" #else # define CXD56_GNSS_FWNAME "gnssfw" diff --git a/arch/arm/src/dm320/chip.h b/arch/arm/src/dm320/chip.h index 20c722ab6a..fd87268d05 100644 --- a/arch/arm/src/dm320/chip.h +++ b/arch/arm/src/dm320/chip.h @@ -58,4 +58,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_CHIP_H */ +#endif /* __ARCH_ARM_SRC_DM320_CHIP_H */ diff --git a/arch/arm/src/dm320/dm320_ahb.h b/arch/arm/src/dm320/dm320_ahb.h index 6a3654666b..2221e01478 100644 --- a/arch/arm/src/dm320/dm320_ahb.h +++ b/arch/arm/src/dm320/dm320_ahb.h @@ -56,4 +56,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_AHB_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_AHB_H */ diff --git a/arch/arm/src/dm320/dm320_busc.h b/arch/arm/src/dm320/dm320_busc.h index 8c35909467..eb6afa3663 100644 --- a/arch/arm/src/dm320/dm320_busc.h +++ b/arch/arm/src/dm320/dm320_busc.h @@ -55,4 +55,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_BUSC_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_BUSC_H */ diff --git a/arch/arm/src/dm320/dm320_clkc.h b/arch/arm/src/dm320/dm320_clkc.h index 7019b11dce..b81a1af8fd 100644 --- a/arch/arm/src/dm320/dm320_clkc.h +++ b/arch/arm/src/dm320/dm320_clkc.h @@ -78,4 +78,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_CLKC_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_CLKC_H */ diff --git a/arch/arm/src/dm320/dm320_emif.h b/arch/arm/src/dm320/dm320_emif.h index 72d4e8947d..36b03b6961 100644 --- a/arch/arm/src/dm320/dm320_emif.h +++ b/arch/arm/src/dm320/dm320_emif.h @@ -105,4 +105,4 @@ #endif -#endif /* __ARCH_ARM_SRC_DM320_DM320_EMIF_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_EMIF_H */ diff --git a/arch/arm/src/dm320/dm320_gio.h b/arch/arm/src/dm320/dm320_gio.h index 5c0fdc73c3..10bbb947ae 100644 --- a/arch/arm/src/dm320/dm320_gio.h +++ b/arch/arm/src/dm320/dm320_gio.h @@ -173,4 +173,4 @@ #endif -#endif /* __DM320_DM320_GIO_H */ +#endif /* __DM320_DM320_GIO_H */ diff --git a/arch/arm/src/dm320/dm320_intc.h b/arch/arm/src/dm320/dm320_intc.h index 57bc5c1f34..1e5ab99377 100644 --- a/arch/arm/src/dm320/dm320_intc.h +++ b/arch/arm/src/dm320/dm320_intc.h @@ -98,4 +98,4 @@ #endif -#endif /* __ARCH_ARM_SRC_DM320_DM320_INTC_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_INTC_H */ diff --git a/arch/arm/src/dm320/dm320_memorymap.h b/arch/arm/src/dm320/dm320_memorymap.h index 9cf47ea922..881e911b1d 100644 --- a/arch/arm/src/dm320/dm320_memorymap.h +++ b/arch/arm/src/dm320/dm320_memorymap.h @@ -261,4 +261,4 @@ #endif -#endif /* __ARCH_ARM_SRC_DM320_DM320_MEMORYMAP_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_MEMORYMAP_H */ diff --git a/arch/arm/src/dm320/dm320_osd.h b/arch/arm/src/dm320/dm320_osd.h index 199651e692..8ee736c0ca 100644 --- a/arch/arm/src/dm320/dm320_osd.h +++ b/arch/arm/src/dm320/dm320_osd.h @@ -111,4 +111,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_OSD_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_OSD_H */ diff --git a/arch/arm/src/dm320/dm320_timer.h b/arch/arm/src/dm320/dm320_timer.h index 5b1830b98c..39790f5421 100644 --- a/arch/arm/src/dm320/dm320_timer.h +++ b/arch/arm/src/dm320/dm320_timer.h @@ -105,4 +105,4 @@ #endif -#endif /* __ARCH_ARM_SRC_DM320_DM320_TIMER_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_TIMER_H */ diff --git a/arch/arm/src/dm320/dm320_uart.h b/arch/arm/src/dm320/dm320_uart.h index af9c1df91f..478ef69d48 100644 --- a/arch/arm/src/dm320/dm320_uart.h +++ b/arch/arm/src/dm320/dm320_uart.h @@ -173,4 +173,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_UART_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_UART_H */ diff --git a/arch/arm/src/dm320/dm320_usb.h b/arch/arm/src/dm320/dm320_usb.h index 6db7aef3d6..29314173ba 100644 --- a/arch/arm/src/dm320/dm320_usb.h +++ b/arch/arm/src/dm320/dm320_usb.h @@ -246,4 +246,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_DM320_DM320_USB_H */ +#endif /* __ARCH_ARM_SRC_DM320_DM320_USB_H */ diff --git a/arch/arm/src/dm320/dm320_usbdev.c b/arch/arm/src/dm320/dm320_usbdev.c index ced1c3dec1..55c5b422b5 100644 --- a/arch/arm/src/dm320/dm320_usbdev.c +++ b/arch/arm/src/dm320/dm320_usbdev.c @@ -67,7 +67,7 @@ /* Configuration ************************************************************/ -#ifndef CONFIG_USBDEV_MAXPOWER +#ifndef CONFIG_USBDEV_MAXPOWER # define CONFIG_USBDEV_MAXPOWER 100 /* mA */ #endif diff --git a/arch/arm/src/imx1/chip.h b/arch/arm/src/imx1/chip.h index 24d8f05a9a..d2c301b931 100644 --- a/arch/arm/src/imx1/chip.h +++ b/arch/arm/src/imx1/chip.h @@ -62,4 +62,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_CHIP_H */ +#endif /* __ARCH_ARM_IMX_CHIP_H */ diff --git a/arch/arm/src/imx1/imx_aitc.h b/arch/arm/src/imx1/imx_aitc.h index 5a72ed2a32..967922aa1e 100644 --- a/arch/arm/src/imx1/imx_aitc.h +++ b/arch/arm/src/imx1/imx_aitc.h @@ -116,4 +116,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_AITC_H */ +#endif /* __ARCH_ARM_IMX_AITC_H */ diff --git a/arch/arm/src/imx1/imx_cspi.h b/arch/arm/src/imx1/imx_cspi.h index fb47201ddb..167cde6212 100644 --- a/arch/arm/src/imx1/imx_cspi.h +++ b/arch/arm/src/imx1/imx_cspi.h @@ -236,4 +236,4 @@ int imx_spicmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd); #endif /* __cplusplus */ #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_IMX_CSPI_H */ +#endif /* __ARCH_ARM_IMX_CSPI_H */ diff --git a/arch/arm/src/imx1/imx_dma.h b/arch/arm/src/imx1/imx_dma.h index 00deeae838..9e039fed6f 100644 --- a/arch/arm/src/imx1/imx_dma.h +++ b/arch/arm/src/imx1/imx_dma.h @@ -247,4 +247,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_DMA_H */ +#endif /* __ARCH_ARM_IMX_DMA_H */ diff --git a/arch/arm/src/imx1/imx_eim.h b/arch/arm/src/imx1/imx_eim.h index f48434982c..c141294767 100644 --- a/arch/arm/src/imx1/imx_eim.h +++ b/arch/arm/src/imx1/imx_eim.h @@ -82,4 +82,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_EIM_H */ +#endif /* __ARCH_ARM_IMX_EIM_H */ diff --git a/arch/arm/src/imx1/imx_gpio.h b/arch/arm/src/imx1/imx_gpio.h index 14e911ddf4..75e229ab69 100644 --- a/arch/arm/src/imx1/imx_gpio.h +++ b/arch/arm/src/imx1/imx_gpio.h @@ -184,7 +184,7 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_IMX1_IMX_GPIO_H */ +#endif /* __ARCH_ARM_SRC_IMX1_IMX_GPIO_H */ #ifndef __ASSEMBLY__ @@ -558,4 +558,4 @@ void imxgpio_configpfinput(int port, int bit); #endif -#endif /* __ARCH_ARM_IMX_GPIOHELPERS_H */ +#endif /* __ARCH_ARM_IMX_GPIOHELPERS_H */ diff --git a/arch/arm/src/imx1/imx_i2c.h b/arch/arm/src/imx1/imx_i2c.h index b9a3aca661..108bdd9ec9 100644 --- a/arch/arm/src/imx1/imx_i2c.h +++ b/arch/arm/src/imx1/imx_i2c.h @@ -66,4 +66,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_I2C_H */ +#endif /* __ARCH_ARM_IMX_I2C_H */ diff --git a/arch/arm/src/imx1/imx_memorymap.h b/arch/arm/src/imx1/imx_memorymap.h index 9db1324556..f53ab20895 100644 --- a/arch/arm/src/imx1/imx_memorymap.h +++ b/arch/arm/src/imx1/imx_memorymap.h @@ -256,4 +256,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_MEMORYMAP_H */ +#endif /* __ARCH_ARM_IMX_MEMORYMAP_H */ diff --git a/arch/arm/src/imx1/imx_rtc.h b/arch/arm/src/imx1/imx_rtc.h index 4434119230..fbc873ec9c 100644 --- a/arch/arm/src/imx1/imx_rtc.h +++ b/arch/arm/src/imx1/imx_rtc.h @@ -82,4 +82,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_RTC_H */ +#endif /* __ARCH_ARM_IMX_RTC_H */ diff --git a/arch/arm/src/imx1/imx_system.h b/arch/arm/src/imx1/imx_system.h index 4d4f5596e1..82733dca78 100644 --- a/arch/arm/src/imx1/imx_system.h +++ b/arch/arm/src/imx1/imx_system.h @@ -184,4 +184,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_SYSTEM_H */ +#endif /* __ARCH_ARM_IMX_SYSTEM_H */ diff --git a/arch/arm/src/imx1/imx_timer.h b/arch/arm/src/imx1/imx_timer.h index 1a7e33e60f..92b0a4d032 100644 --- a/arch/arm/src/imx1/imx_timer.h +++ b/arch/arm/src/imx1/imx_timer.h @@ -101,4 +101,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_TIMER_H */ +#endif /* __ARCH_ARM_IMX_TIMER_H */ diff --git a/arch/arm/src/imx1/imx_uart.h b/arch/arm/src/imx1/imx_uart.h index 17be84f371..cc78ea22a5 100644 --- a/arch/arm/src/imx1/imx_uart.h +++ b/arch/arm/src/imx1/imx_uart.h @@ -224,4 +224,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_IMX1_CHIP_IMX_UART_H */ +#endif /* __ARCH_ARM_SRC_IMX1_CHIP_IMX_UART_H */ diff --git a/arch/arm/src/imx1/imx_usbd.h b/arch/arm/src/imx1/imx_usbd.h index b07b4c82d3..f4b2873a95 100644 --- a/arch/arm/src/imx1/imx_usbd.h +++ b/arch/arm/src/imx1/imx_usbd.h @@ -317,4 +317,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_USBD_H */ +#endif /* __ARCH_ARM_IMX_USBD_H */ diff --git a/arch/arm/src/imx1/imx_wdog.h b/arch/arm/src/imx1/imx_wdog.h index 1336c76c66..b7e5caccee 100644 --- a/arch/arm/src/imx1/imx_wdog.h +++ b/arch/arm/src/imx1/imx_wdog.h @@ -78,4 +78,4 @@ * Inline Functions ************************************************************************************/ -#endif /* __ARCH_ARM_IMX_WDOG_H */ +#endif /* __ARCH_ARM_IMX_WDOG_H */ diff --git a/arch/arm/src/imx6/hardware/imx_ecspi.h b/arch/arm/src/imx6/hardware/imx_ecspi.h index 62ad9eaaac..0c1ed9948e 100644 --- a/arch/arm/src/imx6/hardware/imx_ecspi.h +++ b/arch/arm/src/imx6/hardware/imx_ecspi.h @@ -287,4 +287,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_IMX6_HARDWARE_ECSPI_H */ +#endif /* __ARCH_ARM_SRC_IMX6_HARDWARE_ECSPI_H */ diff --git a/arch/arm/src/imx6/hardware/imx_uart.h b/arch/arm/src/imx6/hardware/imx_uart.h index 9a3db18911..a40f862973 100644 --- a/arch/arm/src/imx6/hardware/imx_uart.h +++ b/arch/arm/src/imx6/hardware/imx_uart.h @@ -364,4 +364,4 @@ #define UART_UMCR_SLADDR_MASK (0xff << UART_UMCR_SLADDR_SHIFT) # define UART_UMCR_SLADDR(n) ((uint32_t)(n) << UART_UMCR_SLADDR_SHIFT) -#endif /* __ARCH_ARM_SRC_IMX6_HARDWARE_IMX_UART_H */ +#endif /* __ARCH_ARM_SRC_IMX6_HARDWARE_IMX_UART_H */ diff --git a/arch/arm/src/imx6/imx_config.h b/arch/arm/src/imx6/imx_config.h index a2214e7003..d9cbbe189e 100644 --- a/arch/arm/src/imx6/imx_config.h +++ b/arch/arm/src/imx6/imx_config.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H -#define __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H 1 +#define __ARCH_ARM_SRC_IMX6_IMX_CONFIG_H /**************************************************************************** * Included Files diff --git a/arch/arm/src/imx6/imx_ecspi.h b/arch/arm/src/imx6/imx_ecspi.h index 2a8cb1013f..abd671119b 100644 --- a/arch/arm/src/imx6/imx_ecspi.h +++ b/arch/arm/src/imx6/imx_ecspi.h @@ -162,4 +162,4 @@ int imx_spi5cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd); #endif /* __cplusplus */ #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_ARM_IMX6_ECSPI_H */ +#endif /* __ARCH_ARM_IMX6_ECSPI_H */ diff --git a/arch/arm/src/imx6/imx_gpio.h b/arch/arm/src/imx6/imx_gpio.h index 2cb9d40733..088a6c2dc4 100644 --- a/arch/arm/src/imx6/imx_gpio.h +++ b/arch/arm/src/imx6/imx_gpio.h @@ -298,4 +298,4 @@ int imx_dump_gpio(uint32_t pinset, const char *msg); #if defined(__cplusplus) } #endif -#endif /* __ARCH_ARM_SRC_IMX6_IMX_GPIO_H */ +#endif /* __ARCH_ARM_SRC_IMX6_IMX_GPIO_H */ diff --git a/arch/arm/src/imxrt/hardware/imxrt_daisy.h b/arch/arm/src/imxrt/hardware/imxrt_daisy.h index b5f335f693..a0645acadf 100644 --- a/arch/arm/src/imxrt/hardware/imxrt_daisy.h +++ b/arch/arm/src/imxrt/hardware/imxrt_daisy.h @@ -58,4 +58,4 @@ void imxrt_daisy_select(unsigned int index, unsigned int alt); -#endif /* __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_DAISY_H */ +#endif /* __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_DAISY_H */ diff --git a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h index a1b9ce99dc..857cfaa862 100644 --- a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h +++ b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h @@ -1678,10 +1678,10 @@ #define MCTRL_CLDOK_SHIFT (4) /* Bits: 4-7 Clear Load Okay */ #define MCTRL_CLDOK_MASK (15 << MCTRL_CLDOK_SHIFT) # define MCTRL_CLDOK(n) ((uint32_t)(n) << MCTRL_CLDOK_SHIFT) -# define MCTRL_CLDOK_SM0 (1 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 0 */ -# define MCTRL_CLDOK_SM1 (2 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 1 */ -# define MCTRL_CLDOK_SM2 (4 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 2 */ -# define MCTRL_CLDOK_SM3 (8 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 3 */ +# define MCTRL_CLDOK_SM0 (1 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 0 */ +# define MCTRL_CLDOK_SM1 (2 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 1 */ +# define MCTRL_CLDOK_SM2 (4 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 2 */ +# define MCTRL_CLDOK_SM3 (8 << MCTRL_CLDOK_SHIFT) /* Clear Load Okay of submodule 3 */ #define MCTRL_RUN_SHIFT (8) /* Bits: 8-11 Run */ #define MCTRL_RUN_MASK (15 << MCTRL_RUN_SHIFT) # define MCTRL_RUN(n) ((uint32_t)(n) << MCTRL_RUN_SHIFT) diff --git a/arch/arm/src/imxrt/hardware/rt102x/imxrt102x_ccm.h b/arch/arm/src/imxrt/hardware/rt102x/imxrt102x_ccm.h index 642127a7cc..fb0310ce55 100644 --- a/arch/arm/src/imxrt/hardware/rt102x/imxrt102x_ccm.h +++ b/arch/arm/src/imxrt/hardware/rt102x/imxrt102x_ccm.h @@ -343,7 +343,7 @@ /* Bits 27-31: Reserved */ # define CCM_CSCDR1_TRACE_PODF(n) ((uint32_t)(n) << CCM_CSCDR1_TRACE_PODF_SHIFT) -/* Clock Divider Register 1 */ +/* Clock Divider Register 1 */ #define CCM_CS1CDR_SAI1_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai1 clock podf */ #define CCM_CS1CDR_SAI1_CLK_PODF_MASK (0x3f << CCM_CS1CDR_SAI1_CLK_PODF_SHIFT) @@ -365,7 +365,7 @@ #define CCM_CS1CDR_FLEXIO2_CLK_PODF_MASK (0x7 << CCM_CS1CDR_FLEXIO2_CLK_PODF_SHIFT) # define CCM_CS1CDR_FLEXIO2_CLK_PODF(n) ((uint32_t)(n) << CCM_CS1CDR_FLEXIO2_CLK_PODF_SHIFT) /* Bits 28-31: Reserved */ -/* Clock Divider Register 2 */ +/* Clock Divider Register 2 */ #define CCM_CS2CDR_SAI2_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai2 clock podf */ #define CCM_CS2CDR_SAI2_CLK_PODF_MASK (0x3f << CCM_CS2CDR_SAI2_CLK_PODF_SHIFT) @@ -471,7 +471,7 @@ #define CCM_CIMR_MASK_ARM_PODF_LOADED (1 << 26) /* Bit 26: mask interrupt generation due to frequency change of arm_podf */ /* Bits 27-31: Reserved */ -/* Clock Output Source Register */ +/* Clock Output Source Register */ #define CCM_CCOSR_CLKO1_SEL_SHIFT (0) /* Bits 0-3: Selection of the clock to be generated on CCM_CLKO1 */ #define CCM_CCOSR_CLKO1_SEL_MASK (0xF << CCM_CCOSR_CLKO1_SEL_SHIFT) diff --git a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_ccm.h b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_ccm.h index 40bd07a635..c154ea067c 100644 --- a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_ccm.h +++ b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_ccm.h @@ -359,7 +359,7 @@ # define CCM_CSCDR1_TRACE_PODF(n) ((uint32_t)(n) << CCM_CSCDR1_TRACE_PODF_SHIFT) /* Bits 28-31: Reserved */ -/* Clock Divider Register 1 */ +/* Clock Divider Register 1 */ #define CCM_CS1CDR_SAI1_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai1 clock podf */ #define CCM_CS1CDR_SAI1_CLK_PODF_MASK (0x3f << CCM_CS1CDR_SAI1_CLK_PODF_SHIFT) @@ -382,7 +382,7 @@ # define CCM_CS1CDR_FLEXIO2_CLK_PODF(n) ((uint32_t)(n) << CCM_CS1CDR_FLEXIO2_CLK_PODF_SHIFT) /* Bits 28-31: Reserved */ -/* Clock Divider Register 2 */ +/* Clock Divider Register 2 */ #define CCM_CS2CDR_SAI2_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai2 clock podf */ #define CCM_CS2CDR_SAI2_CLK_PODF_MASK (0x3f << CCM_CS2CDR_SAI2_CLK_PODF_SHIFT) @@ -537,7 +537,7 @@ #define CCM_CIMR_MASK_ARM_PODF_LOADED (1 << 26) /* Bit 26: mask interrupt generation due to frequency change of arm_podf */ /* Bits 27-31: Reserved */ -/* Clock Output Source Register */ +/* Clock Output Source Register */ #define CCM_CCOSR_CLKO1_SEL_SHIFT (0) /* Bits 0-3: Selection of the clock to be generated on CCM_CLKO1 */ #define CCM_CCOSR_CLKO1_SEL_MASK (0xF << CCM_CCOSR_CLKO1_SEL_SHIFT) diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_ccm.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_ccm.h index 1196f0a1aa..39b4fb20d4 100644 --- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_ccm.h +++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_ccm.h @@ -359,7 +359,7 @@ # define CCM_CSCDR1_TRACE_PODF(n) ((uint32_t)(n) << CCM_CSCDR1_TRACE_PODF_SHIFT) /* Bits 28-31: Reserved */ -/* Clock Divider Register 1 */ +/* Clock Divider Register 1 */ #define CCM_CS1CDR_SAI1_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai1 clock podf */ #define CCM_CS1CDR_SAI1_CLK_PODF_MASK (0x3f << CCM_CS1CDR_SAI1_CLK_PODF_SHIFT) @@ -382,7 +382,7 @@ # define CCM_CS1CDR_FLEXIO2_CLK_PODF(n) ((uint32_t)(n) << CCM_CS1CDR_FLEXIO2_CLK_PODF_SHIFT) /* Bits 28-31: Reserved */ -/* Clock Divider Register 2 */ +/* Clock Divider Register 2 */ #define CCM_CS2CDR_SAI2_CLK_PODF_SHIFT (0) /* Bits 0-5: Divider for sai2 clock podf */ #define CCM_CS2CDR_SAI2_CLK_PODF_MASK (0x3f << CCM_CS2CDR_SAI2_CLK_PODF_SHIFT) @@ -537,7 +537,7 @@ #define CCM_CIMR_MASK_ARM_PODF_LOADED (1 << 26) /* Bit 26: mask interrupt generation due to frequency change of arm_podf */ /* Bits 27-31: Reserved */ -/* Clock Output Source Register */ +/* Clock Output Source Register */ #define CCM_CCOSR_CLKO1_SEL_SHIFT (0) /* Bits 0-3: Selection of the clock to be generated on CCM_CLKO1 */ #define CCM_CCOSR_CLKO1_SEL_MASK (0xF << CCM_CCOSR_CLKO1_SEL_SHIFT) diff --git a/arch/arm/src/imxrt/imxrt_edma.c b/arch/arm/src/imxrt/imxrt_edma.c index 932c1e7db6..7d69c4a712 100644 --- a/arch/arm/src/imxrt/imxrt_edma.c +++ b/arch/arm/src/imxrt/imxrt_edma.c @@ -745,10 +745,10 @@ void weak_function up_dma_initialize(void) regval |= EDMA_CR_HOE; /* Halt On Error */ #endif #ifdef CONFIG_IMXRT_EDMA_CLM - regval |= EDMA_CR_CLM; /* Continuous Link Mode */ + regval |= EDMA_CR_CLM; /* Continuous Link Mode */ #endif #ifdef CONFIG_IMXRT_EDMA_EMLIM - regval |= EDMA_CR_EMLM; /* Enable Minor Loop Mapping */ + regval |= EDMA_CR_EMLM; /* Enable Minor Loop Mapping */ #endif putreg32(regval, IMXRT_EDMA_CR); diff --git a/arch/arm/src/imxrt/imxrt_edma.h b/arch/arm/src/imxrt/imxrt_edma.h index 41c114bd5b..ac3aef4be1 100644 --- a/arch/arm/src/imxrt/imxrt_edma.h +++ b/arch/arm/src/imxrt/imxrt_edma.h @@ -117,7 +117,7 @@ #define EDMA_CONFIG_LINKTYPE_MASK (3 << EDMA_CONFIG_LINKTYPE_SHIFT) # define EDMA_CONFIG_LINKTYPE_LINKNONE (0 << EDMA_CONFIG_LINKTYPE_SHIFT) /* No channel link */ # define EDMA_CONFIG_LINKTYPE_MINORLINK (1 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link after each minor loop */ -# define EDMA_CONFIG_LINKTYPE_MAJORLINK (2 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link when major loop count exhausted */ +# define EDMA_CONFIG_LINKTYPE_MAJORLINK (2 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link when major loop count exhausted */ /************************************************************************************ * Public Types diff --git a/arch/arm/src/imxrt/imxrt_gpio.h b/arch/arm/src/imxrt/imxrt_gpio.h index 825523836d..d54c09d012 100644 --- a/arch/arm/src/imxrt/imxrt_gpio.h +++ b/arch/arm/src/imxrt/imxrt_gpio.h @@ -368,4 +368,4 @@ int imxrt_dump_gpio(uint32_t pinset, const char *msg); #if defined(__cplusplus) } #endif -#endif /* __ARCH_ARM_SRC_IMXRT_IMXRT_GPIO_H */ +#endif /* __ARCH_ARM_SRC_IMXRT_IMXRT_GPIO_H */ diff --git a/arch/arm/src/imxrt/imxrt_usdhc.c b/arch/arm/src/imxrt/imxrt_usdhc.c index a138a152e5..4debdd378a 100644 --- a/arch/arm/src/imxrt/imxrt_usdhc.c +++ b/arch/arm/src/imxrt/imxrt_usdhc.c @@ -3168,4 +3168,4 @@ FAR struct sdio_dev_s *imxrt_usdhc_initialize(int slotno) return &g_sdhcdev[slotno].dev; } -#endif /* CONFIG_IMXRT_USDHC */ +#endif /* CONFIG_IMXRT_USDHC */ diff --git a/arch/arm/src/kinetis/hardware/kinetis_k20k40k60fmc.h b/arch/arm/src/kinetis/hardware/kinetis_k20k40k60fmc.h index a8cf0ac283..9e4b825e4a 100644 --- a/arch/arm/src/kinetis/hardware/kinetis_k20k40k60fmc.h +++ b/arch/arm/src/kinetis/hardware/kinetis_k20k40k60fmc.h @@ -173,7 +173,7 @@ #define KINETIS_FMC_PFB0CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB0CR_OFFSET) #define KINETIS_FMC_PFB1CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB1CR_OFFSET) -/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ +/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ #define KINETIS_FMC_TAGVD(w,s) (KINETIS_FMC_BASE+KINETIS_FMC_TAGVD_OFFSET(w,s)) diff --git a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h index f4efeb6415..569547634e 100644 --- a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h +++ b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h @@ -160,7 +160,7 @@ #define KINETIS_FMC_PFB01CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB01CR_OFFSET) #define KINETIS_FMC_PFB23CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB23CR_OFFSET) -/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ +/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ #define KINETIS_FMC_TAGVD(w,s) (KINETIS_FMC_BASE+KINETIS_FMC_TAGVD_OFFSET(w,s)) diff --git a/arch/arm/src/kinetis/hardware/kinetis_k64fmc.h b/arch/arm/src/kinetis/hardware/kinetis_k64fmc.h index 5aec3d34ec..c8d1490823 100644 --- a/arch/arm/src/kinetis/hardware/kinetis_k64fmc.h +++ b/arch/arm/src/kinetis/hardware/kinetis_k64fmc.h @@ -125,7 +125,7 @@ #define KINETIS_FMC_PFB0CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB0CR_OFFSET) #define KINETIS_FMC_PFB1CR (KINETIS_FMC_BASE+KINETIS_FMC_PFB1CR_OFFSET) -/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ +/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ #define KINETIS_FMC_TAGVD(w,s) (KINETIS_FMC_BASE+KINETIS_FMC_TAGVD_OFFSET(w,s)) diff --git a/arch/arm/src/kinetis/kinetis_i2c.c b/arch/arm/src/kinetis/kinetis_i2c.c index fd708ad039..cefd92e2c4 100644 --- a/arch/arm/src/kinetis/kinetis_i2c.c +++ b/arch/arm/src/kinetis/kinetis_i2c.c @@ -1348,7 +1348,7 @@ out: kinetis_i2c_sem_post(priv); return ret; } -#endif /* CONFIG_I2C_RESET */ +#endif /* CONFIG_I2C_RESET */ /**************************************************************************** * Public Functions diff --git a/arch/arm/src/kinetis/kinetis_usbdev.c b/arch/arm/src/kinetis/kinetis_usbdev.c index a6f7a49da4..4d2ac7614c 100644 --- a/arch/arm/src/kinetis/kinetis_usbdev.c +++ b/arch/arm/src/kinetis/kinetis_usbdev.c @@ -2833,7 +2833,7 @@ static int khci_interrupt(int irq, void *context, FAR void *arg) goto interrupt_exit; } -#ifdef CONFIG_KINETIS_USBOTG +#ifdef CONFIG_KINETIS_USBOTG /* Check if the ID Pin Changed State */ if ((otgir & USB_OTGISTAT_IDCHG) != 0) @@ -2965,7 +2965,7 @@ static int khci_interrupt(int irq, void *context, FAR void *arg) interrupt_exit: kinetis_clrpend(KINETIS_IRQ_USBOTG); -#ifdef CONFIG_KINETIS_USBOTG +#ifdef CONFIG_KINETIS_USBOTG usbtrace(TRACE_INTEXIT(KHCI_TRACEINTID_INTERRUPT), usbir | otgir); #else usbtrace(TRACE_INTEXIT(KHCI_TRACEINTID_INTERRUPT), usbir); diff --git a/arch/arm/src/kl/hardware/kl_fmc.h b/arch/arm/src/kl/hardware/kl_fmc.h index 4d19623570..0913bfe8d2 100644 --- a/arch/arm/src/kl/hardware/kl_fmc.h +++ b/arch/arm/src/kl/hardware/kl_fmc.h @@ -173,7 +173,7 @@ #define KL_FMC_PFB0CR (KL_FMC_BASE+KL_FMC_PFB0CR_OFFSET) #define KL_FMC_PFB1CR (KL_FMC_BASE+KL_FMC_PFB1CR_OFFSET) -/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ +/* Cache Directory Storage for way=w and set=s, w=0..3, s=0..7 */ #define KL_FMC_TAGVD(w,s) (KL_FMC_BASE+KL_FMC_TAGVD_OFFSET(w,s)) diff --git a/arch/arm/src/lc823450/chip.h b/arch/arm/src/lc823450/chip.h index c729dcc95d..cff9ad5010 100644 --- a/arch/arm/src/lc823450/chip.h +++ b/arch/arm/src/lc823450/chip.h @@ -173,4 +173,4 @@ static inline uintptr_t up_intstack_base(void) #endif /* !__ASSEMBLY__ */ -#endif /* _ARCH_ARM_SRC_LC823450_CHIP_H */ +#endif /* _ARCH_ARM_SRC_LC823450_CHIP_H */ diff --git a/arch/arm/src/lc823450/lc823450_dma.h b/arch/arm/src/lc823450/lc823450_dma.h index 7643a73981..e4698b236f 100644 --- a/arch/arm/src/lc823450/lc823450_dma.h +++ b/arch/arm/src/lc823450/lc823450_dma.h @@ -159,4 +159,4 @@ int lc823450_dmaremain(DMA_HANDLE handle); } #endif -#endif /* __ARCH_ARM_SRC_LC823450_LC823450_DMA_H */ +#endif /* __ARCH_ARM_SRC_LC823450_LC823450_DMA_H */ diff --git a/arch/arm/src/lc823450/lc823450_i2c.c b/arch/arm/src/lc823450/lc823450_i2c.c index 8d898d9b57..62e1ed34ae 100644 --- a/arch/arm/src/lc823450/lc823450_i2c.c +++ b/arch/arm/src/lc823450/lc823450_i2c.c @@ -492,7 +492,7 @@ static int lc823450_i2c_reset(FAR struct i2c_master_s *dev) modifyreg32(priv->config->base + I2CCTL, I2C_CTL_FMODE, I2C_CTL_FMODE); return OK; } -#endif /* CONFIG_I2C_RESET */ +#endif /* CONFIG_I2C_RESET */ /**************************************************************************** * Name: lc823450_i2c_enableirq diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c index fe7b6a4ac0..deac2c6861 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c @@ -75,7 +75,7 @@ # define CONFIG_LPC17_40_USBDEV_EP0_MAXSIZE 64 #endif -#ifndef CONFIG_USBDEV_MAXPOWER +#ifndef CONFIG_USBDEV_MAXPOWER # define CONFIG_USBDEV_MAXPOWER 100 /* mA */ #endif diff --git a/arch/arm/src/lpc214x/chip.h b/arch/arm/src/lpc214x/chip.h index 1e7c8b219b..eccd6baf35 100644 --- a/arch/arm/src/lpc214x/chip.h +++ b/arch/arm/src/lpc214x/chip.h @@ -346,4 +346,4 @@ * Public Function Prototypes ****************************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_CHIP_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_CHIP_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_apb.h b/arch/arm/src/lpc214x/lpc214x_apb.h index 93f9ebdf7a..4919f39dbe 100644 --- a/arch/arm/src/lpc214x/lpc214x_apb.h +++ b/arch/arm/src/lpc214x/lpc214x_apb.h @@ -69,4 +69,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_APB_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_APB_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_i2c.h b/arch/arm/src/lpc214x/lpc214x_i2c.h index d12f1ff4ee..b5d5eb8a25 100644 --- a/arch/arm/src/lpc214x/lpc214x_i2c.h +++ b/arch/arm/src/lpc214x/lpc214x_i2c.h @@ -138,4 +138,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_I2C_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_I2C_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_pinsel.h b/arch/arm/src/lpc214x/lpc214x_pinsel.h index 0cb2c58f9b..c7c84d7262 100644 --- a/arch/arm/src/lpc214x/lpc214x_pinsel.h +++ b/arch/arm/src/lpc214x/lpc214x_pinsel.h @@ -256,4 +256,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_PINSEL_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_PINSEL_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_pll.h b/arch/arm/src/lpc214x/lpc214x_pll.h index f8f9a25ad8..51e29ce0c9 100644 --- a/arch/arm/src/lpc214x/lpc214x_pll.h +++ b/arch/arm/src/lpc214x/lpc214x_pll.h @@ -102,4 +102,4 @@ * Public Function Prototypes ****************************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_PLL_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_PLL_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_power.h b/arch/arm/src/lpc214x/lpc214x_power.h index 09d89c92ce..fcab5a1caf 100644 --- a/arch/arm/src/lpc214x/lpc214x_power.h +++ b/arch/arm/src/lpc214x/lpc214x_power.h @@ -87,4 +87,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_POWER_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_POWER_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_spi.h b/arch/arm/src/lpc214x/lpc214x_spi.h index 7380f834c2..da3aa11bee 100644 --- a/arch/arm/src/lpc214x/lpc214x_spi.h +++ b/arch/arm/src/lpc214x/lpc214x_spi.h @@ -173,4 +173,4 @@ struct spi_dev_s; /* Forward reference */ FAR struct spi_dev_s *lpc214x_spibus_initialize(int port); -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_SPI_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_SPI_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_timer.h b/arch/arm/src/lpc214x/lpc214x_timer.h index df0287d449..d592ecd80b 100644 --- a/arch/arm/src/lpc214x/lpc214x_timer.h +++ b/arch/arm/src/lpc214x/lpc214x_timer.h @@ -149,4 +149,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_TIMER_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_TIMER_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_uart.h b/arch/arm/src/lpc214x/lpc214x_uart.h index 3c85c3a065..f35ab0eebd 100644 --- a/arch/arm/src/lpc214x/lpc214x_uart.h +++ b/arch/arm/src/lpc214x/lpc214x_uart.h @@ -139,4 +139,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_UART_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_UART_H */ diff --git a/arch/arm/src/lpc214x/lpc214x_usbdev.c b/arch/arm/src/lpc214x/lpc214x_usbdev.c index c34021a098..e81641eb7c 100644 --- a/arch/arm/src/lpc214x/lpc214x_usbdev.c +++ b/arch/arm/src/lpc214x/lpc214x_usbdev.c @@ -74,7 +74,7 @@ # define CONFIG_USBDEV_EP0_MAXSIZE 64 #endif -#ifndef CONFIG_USBDEV_MAXPOWER +#ifndef CONFIG_USBDEV_MAXPOWER # define CONFIG_USBDEV_MAXPOWER 100 /* mA */ #endif diff --git a/arch/arm/src/lpc214x/lpc214x_vic.h b/arch/arm/src/lpc214x/lpc214x_vic.h index 4f3b821a84..ff294a261b 100644 --- a/arch/arm/src/lpc214x/lpc214x_vic.h +++ b/arch/arm/src/lpc214x/lpc214x_vic.h @@ -67,4 +67,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_VIC_H */ +#endif /* __ARCH_ARM_SRC_LPC214X_LPC214X_VIC_H */ diff --git a/arch/arm/src/lpc2378/chip.h b/arch/arm/src/lpc2378/chip.h index 0902ae2cad..4110a03c78 100644 --- a/arch/arm/src/lpc2378/chip.h +++ b/arch/arm/src/lpc2378/chip.h @@ -1003,4 +1003,4 @@ are for LPC24xx only. */ * Public Function Prototypes ****************************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_CHIP_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_CHIP_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_gpio.h b/arch/arm/src/lpc2378/lpc23xx_gpio.h index b8be696609..b9915cfed5 100644 --- a/arch/arm/src/lpc2378/lpc23xx_gpio.h +++ b/arch/arm/src/lpc2378/lpc23xx_gpio.h @@ -68,4 +68,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_GPIO_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_GPIO_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_pinsel.h b/arch/arm/src/lpc2378/lpc23xx_pinsel.h index be34810fdc..c55c58a929 100644 --- a/arch/arm/src/lpc2378/lpc23xx_pinsel.h +++ b/arch/arm/src/lpc2378/lpc23xx_pinsel.h @@ -789,4 +789,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_PINSEL_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_PINSEL_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_scb.h b/arch/arm/src/lpc2378/lpc23xx_scb.h index 09004f3f26..877a594a20 100644 --- a/arch/arm/src/lpc2378/lpc23xx_scb.h +++ b/arch/arm/src/lpc2378/lpc23xx_scb.h @@ -131,4 +131,4 @@ * Public Function Prototypes ****************************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_SCB_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_SCB_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_timer.h b/arch/arm/src/lpc2378/lpc23xx_timer.h index fe30b6b358..0cd8ffe378 100644 --- a/arch/arm/src/lpc2378/lpc23xx_timer.h +++ b/arch/arm/src/lpc2378/lpc23xx_timer.h @@ -160,4 +160,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_TIMER_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_TIMER_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_uart.h b/arch/arm/src/lpc2378/lpc23xx_uart.h index ccdd26f9e6..41a9e235b9 100644 --- a/arch/arm/src/lpc2378/lpc23xx_uart.h +++ b/arch/arm/src/lpc2378/lpc23xx_uart.h @@ -228,4 +228,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_UART_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_UART_H */ diff --git a/arch/arm/src/lpc2378/lpc23xx_vic.h b/arch/arm/src/lpc2378/lpc23xx_vic.h index 82a7995fbe..6906bc57b0 100644 --- a/arch/arm/src/lpc2378/lpc23xx_vic.h +++ b/arch/arm/src/lpc2378/lpc23xx_vic.h @@ -73,4 +73,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_VIC_H */ +#endif /* __ARCH_ARM_SRC_LPC2378_LPC23XX_VIC_H */ diff --git a/arch/arm/src/lpc31xx/lpc31_usbdev.c b/arch/arm/src/lpc31xx/lpc31_usbdev.c index 90f877a189..5e33ee13a1 100644 --- a/arch/arm/src/lpc31xx/lpc31_usbdev.c +++ b/arch/arm/src/lpc31xx/lpc31_usbdev.c @@ -79,7 +79,7 @@ # define CONFIG_LPC31_USBDEV_EP0_MAXSIZE 64 #endif -#ifndef CONFIG_USBDEV_MAXPOWER +#ifndef CONFIG_USBDEV_MAXPOWER # define CONFIG_USBDEV_MAXPOWER 100 /* mA */ #endif diff --git a/arch/arm/src/lpc43xx/lpc43_usb0dev.c b/arch/arm/src/lpc43xx/lpc43_usb0dev.c index a19cf56ce5..64ee5c5add 100644 --- a/arch/arm/src/lpc43xx/lpc43_usb0dev.c +++ b/arch/arm/src/lpc43xx/lpc43_usb0dev.c @@ -86,7 +86,7 @@ # define CONFIG_USBDEV_EP0_MAXSIZE 64 #endif -#ifndef CONFIG_USBDEV_MAXPOWER +#ifndef CONFIG_USBDEV_MAXPOWER # define CONFIG_USBDEV_MAXPOWER 100 /* mA */ #endif diff --git a/arch/arm/src/nrf52/hardware/nrf52_rng.h b/arch/arm/src/nrf52/hardware/nrf52_rng.h index 726000e921..3ec4a13bf0 100644 --- a/arch/arm/src/nrf52/hardware/nrf52_rng.h +++ b/arch/arm/src/nrf52/hardware/nrf52_rng.h @@ -82,4 +82,4 @@ #define RNG_CONFIG_DERCEN (1 << 0) /* Bit 0: Bias correction */ -#endif /* __ARCH_ARM_SRC_NRF52_HARDWARE_STM32_RNG_H */ +#endif /* __ARCH_ARM_SRC_NRF52_HARDWARE_STM32_RNG_H */ diff --git a/arch/arm/src/nrf52/nrf52_spi.c b/arch/arm/src/nrf52/nrf52_spi.c index 9b67e84115..c5a1aaabee 100644 --- a/arch/arm/src/nrf52/nrf52_spi.c +++ b/arch/arm/src/nrf52/nrf52_spi.c @@ -924,7 +924,7 @@ static void nrf52_spi_recvblock(FAR struct spi_dev_s *dev, spiinfo("txbuffer=%p nwords=%d\n", txbuffer, nwords); return nrf52_spi_exchange(dev, txbuffer, NULL, nwords); } -#endif /* CONFIG_SPI_EXCHANGE */ +#endif /* CONFIG_SPI_EXCHANGE */ /**************************************************************************** * Public Functions diff --git a/arch/arm/src/s32k1xx/s32k1xx_edma.c b/arch/arm/src/s32k1xx/s32k1xx_edma.c index e9ddc85ab2..2efaf4be7c 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_edma.c +++ b/arch/arm/src/s32k1xx/s32k1xx_edma.c @@ -713,10 +713,10 @@ void weak_function up_dma_initialize(void) regval |= EDMA_CR_HOE; /* Halt On Error */ #endif #ifdef CONFIG_S32K1XX_EDMA_CLM - regval |= EDMA_CR_CLM; /* Continuous Link Mode */ + regval |= EDMA_CR_CLM; /* Continuous Link Mode */ #endif #ifdef CONFIG_S32K1XX_EDMA_EMLIM - regval |= EDMA_CR_EMLM; /* Enable Minor Loop Mapping */ + regval |= EDMA_CR_EMLM; /* Enable Minor Loop Mapping */ #endif putreg32(regval, S32K1XX_EDMA_CR); diff --git a/arch/arm/src/s32k1xx/s32k1xx_edma.h b/arch/arm/src/s32k1xx/s32k1xx_edma.h index 5cfcdab07c..19288d864e 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_edma.h +++ b/arch/arm/src/s32k1xx/s32k1xx_edma.h @@ -117,7 +117,7 @@ #define EDMA_CONFIG_LINKTYPE_MASK (3 << EDMA_CONFIG_LINKTYPE_SHIFT) # define EDMA_CONFIG_LINKTYPE_LINKNONE (0 << EDMA_CONFIG_LINKTYPE_SHIFT) /* No channel link */ # define EDMA_CONFIG_LINKTYPE_MINORLINK (1 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link after each minor loop */ -# define EDMA_CONFIG_LINKTYPE_MAJORLINK (2 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link when major loop count exhausted */ +# define EDMA_CONFIG_LINKTYPE_MAJORLINK (2 << EDMA_CONFIG_LINKTYPE_SHIFT) /* Channel link when major loop count exhausted */ /************************************************************************************ * Public Types diff --git a/arch/arm/src/sam34/hardware/sam4l_pinmap.h b/arch/arm/src/sam34/hardware/sam4l_pinmap.h index 476bdeeaba..93a8316ddb 100644 --- a/arch/arm/src/sam34/hardware/sam4l_pinmap.h +++ b/arch/arm/src/sam34/hardware/sam4l_pinmap.h @@ -118,7 +118,7 @@ #define GPIO_ADCIFE_AD14 (GPIO_FUNCA | GPIO_PORTC | GPIO_PIN14) #define GPIO_ADCIFE_TRIGGER (GPIO_FUNCE | GPIO_PORTA | GPIO_PIN5) -/* Capacitive Touch Module B */ +/* Capacitive Touch Module B */ #define GPIO_CATB_DIS_1 (GPIO_FUNCG | GPIO_PORTA | GPIO_PIN12) #define GPIO_CATB_DIS_2 (GPIO_FUNCG | GPIO_PORTA | GPIO_PIN2) diff --git a/arch/arm/src/sam34/hardware/sam_smc.h b/arch/arm/src/sam34/hardware/sam_smc.h index a1b396baf2..26817ab36f 100644 --- a/arch/arm/src/sam34/hardware/sam_smc.h +++ b/arch/arm/src/sam34/hardware/sam_smc.h @@ -568,7 +568,7 @@ #endif #if defined(CONFIG_ARCH_CHIP_SAM4S) || defined(CONFIG_ARCH_CHIP_SAM4E) -# define SMC_OCMS_CSSE(n) (1 << ((n)+16)) /* Chip Select (n=0-3) Scrambling Enable */ +# define SMC_OCMS_CSSE(n) (1 << ((n)+16)) /* Chip Select (n=0-3) Scrambling Enable */ # define SMC_OCMS_CS0SE (1 << 16) /* Bit 16: Chip Select 0 Scrambling Enable */ # define SMC_OCMS_CS1SE (1 << 17) /* Bit 17: Chip Select 1 Scrambling Enable */ # define SMC_OCMS_CS2SE (1 << 18) /* Bit 18: Chip Select 2 Scrambling Enable */ diff --git a/arch/arm/src/sama5/sam_config.h b/arch/arm/src/sama5/sam_config.h index 14ab9b8dcf..bf5b261ccf 100644 --- a/arch/arm/src/sama5/sam_config.h +++ b/arch/arm/src/sama5/sam_config.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H -#define __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H 1 +#define __ARCH_ARM_SRC_SAMA5_SAM_CONFIG_H /**************************************************************************** * Included Files diff --git a/arch/arm/src/sama5/sam_dbgu.h b/arch/arm/src/sama5/sam_dbgu.h index f85ecbe55d..3f5cc1f35e 100644 --- a/arch/arm/src/sama5/sam_dbgu.h +++ b/arch/arm/src/sama5/sam_dbgu.h @@ -105,5 +105,5 @@ void sam_dbgu_register(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* CONFIG_SAMA5_DBGU */ +#endif /* CONFIG_SAMA5_DBGU */ #endif /* __ARCH_ARM_SRC_SAMA5_SAM_DBGU_H */ diff --git a/arch/arm/src/samd2l2/hardware/saml_aes.h b/arch/arm/src/samd2l2/hardware/saml_aes.h index 3b1610f6bb..2c6f791bfd 100644 --- a/arch/arm/src/samd2l2/hardware/saml_aes.h +++ b/arch/arm/src/samd2l2/hardware/saml_aes.h @@ -56,7 +56,7 @@ /* AES register offsets ********************************************************************/ #define SAM_AES_CTRLA_OFFSET 0x0000 /* Control A Register */ -#define SAM_AES_CTRLB_OFFSET 0x0004 /* Control B Register */ +#define SAM_AES_CTRLB_OFFSET 0x0004 /* Control B Register */ #define SAM_AES_INTENCLR_OFFSET 0x0005 /* Interrupt Enable Clear Register */ #define SAM_AES_INTENSET_OFFSET 0x0006 /* Interrupt Enable Set Register */ #define SAM_AES_INTENFLAG_OFFSET 0x0007 /* Interrupt Flag Status and Clear Register */ @@ -164,7 +164,7 @@ # define AES_CTRLA_CTYPE_CTYPE3 (4 << AES_CTRLA_CTYPE_SHIFT) /* Countermeasure 3 enabled */ # define AES_CTRLA_CTYPE_CTYPE4 (8 << AES_CTRLA_CTYPE_SHIFT) /* Countermeasure 4 enabled */ -/* Control B Register */ +/* Control B Register */ #define AES_CTRLB_START (1 << 0) /* Bit 0: Start encryption/decryption */ #define AES_CTRLB_NEWMSG (1 << 1) /* Bit 1: New message */ diff --git a/arch/arm/src/samd2l2/sam_sercom.c b/arch/arm/src/samd2l2/sam_sercom.c index 331b8d4600..fc9d505421 100644 --- a/arch/arm/src/samd2l2/sam_sercom.c +++ b/arch/arm/src/samd2l2/sam_sercom.c @@ -213,7 +213,7 @@ void sercom_slowclk_configure(int sercom, int gclkgen) } #endif break; -#endif /* HAVE_SERCOM0_4 */ +#endif /* HAVE_SERCOM0_4 */ #ifdef CONFIG_SAMD2L2_SERCOM5 case 5: diff --git a/arch/arm/src/samd5e5/hardware/sam_aes.h b/arch/arm/src/samd5e5/hardware/sam_aes.h index fc087e5714..a0e79616e2 100644 --- a/arch/arm/src/samd5e5/hardware/sam_aes.h +++ b/arch/arm/src/samd5e5/hardware/sam_aes.h @@ -51,7 +51,7 @@ /* AES register offsets ********************************************************************/ #define SAM_AES_CTRLA_OFFSET 0x0000 /* Control A Register */ -#define SAM_AES_CTRLB_OFFSET 0x0004 /* Control B Register */ +#define SAM_AES_CTRLB_OFFSET 0x0004 /* Control B Register */ #define SAM_AES_INTENCLR_OFFSET 0x0005 /* Interrupt Enable Clear Register */ #define SAM_AES_INTENSET_OFFSET 0x0006 /* Interrupt Enable Set Register */ #define SAM_AES_INTENFLAG_OFFSET 0x0007 /* Interrupt Flag Status and Clear Register */ @@ -165,7 +165,7 @@ # define AES_CTRLA_CTYPE4_DISAB (0 << AES_CTRLA_CTYPE_SHIFT) /* Countermeasure 4 disabled */ # define AES_CTRLA_CTYPE4_ENAB (8 << AES_CTRLA_CTYPE_SHIFT) /* Countermeasure 4 enabled */ -/* Control B Register */ +/* Control B Register */ #define AES_CTRLB_START (1 << 0) /* Bit 0: Start encryption/decryption */ #define AES_CTRLB_NEWMSG (1 << 1) /* Bit 1: New message */ diff --git a/arch/arm/src/samd5e5/hardware/samd5e5_pinmap.h b/arch/arm/src/samd5e5/hardware/samd5e5_pinmap.h index 59133ffccc..5fe0fdec97 100644 --- a/arch/arm/src/samd5e5/hardware/samd5e5_pinmap.h +++ b/arch/arm/src/samd5e5/hardware/samd5e5_pinmap.h @@ -132,7 +132,7 @@ #define PORT_CAN1_TX_1 (PORT_FUNCH | PORTB | PORT_PIN12) #define PORT_CAN1_TX_2 (PORT_FUNCH | PORTB | PORT_PIN14) -/* Configurable Custom Logic (CCL) */ +/* Configurable Custom Logic (CCL) */ #define PORT_CCL_IN0_1 (PORT_FUNCN | PORTA | PORT_PIN16) #define PORT_CCL_IN0_2 (PORT_FUNCN | PORTA | PORT_PIN4) diff --git a/arch/arm/src/samv7/hardware/sam_smc.h b/arch/arm/src/samv7/hardware/sam_smc.h index ab9a094752..90f059680f 100644 --- a/arch/arm/src/samv7/hardware/sam_smc.h +++ b/arch/arm/src/samv7/hardware/sam_smc.h @@ -177,7 +177,7 @@ /* SMC OCMS Mode Register */ #define SMC_OCMS_SMSE (1 << 0) /* Bit 0: Static Memory Controller Scrambling Enable */ -#define SMC_OCMS_CSSE(n) (1 << ((n)+16)) /* Chip Select (n=0-3) Scrambling Enable */ +#define SMC_OCMS_CSSE(n) (1 << ((n)+16)) /* Chip Select (n=0-3) Scrambling Enable */ # define SMC_OCMS_CS0SE (1 << 16) /* Bit 16: Chip Select 0 Scrambling Enable */ # define SMC_OCMS_CS1SE (1 << 17) /* Bit 17: Chip Select 1 Scrambling Enable */ # define SMC_OCMS_CS2SE (1 << 18) /* Bit 18: Chip Select 2 Scrambling Enable */ diff --git a/arch/arm/src/stm32/stm32_adc.c b/arch/arm/src/stm32/stm32_adc.c index a903eec375..f1f3cf3512 100644 --- a/arch/arm/src/stm32/stm32_adc.c +++ b/arch/arm/src/stm32/stm32_adc.c @@ -610,7 +610,7 @@ static int adc4_interrupt(int irq, FAR void *context, FAR void *arg); # if defined(STM32_IRQ_ADC) static int adc123_interrupt(int irq, FAR void *context, FAR void *arg); # endif -#endif /* CONFIG_STM32_ADC_NOIRQ */ +#endif /* CONFIG_STM32_ADC_NOIRQ */ /* ADC Driver Methods */ @@ -796,8 +796,8 @@ struct adccmn_data_s g_adc34_cmn = }; # endif -# endif /* !HAVE_IP_ADC_V1 */ -#endif /* HAVE_ADC_CMN_DATA */ +# endif /* !HAVE_IP_ADC_V1 */ +#endif /* HAVE_ADC_CMN_DATA */ /* ADC1 state */ @@ -820,7 +820,7 @@ static struct stm32_dev_s g_adcpriv1 = # else # error "No STM32_IRQ_ADC1 STM32_IRQ_ADC12 or STM32_IRQ_ADC defined for CONFIG_STM32_ADC1" # endif -#endif /* CONFIG_STM32_ADC_NOIRQ */ +#endif /* CONFIG_STM32_ADC_NOIRQ */ #ifdef HAVE_ADC_CMN_DATA .cmn = &ADC1CMN_DATA, #endif @@ -875,7 +875,7 @@ static struct stm32_dev_s g_adcpriv2 = # else # error "No STM32_IRQ_ADC12 or STM32_IRQ_ADC defined for CONFIG_STM32_ADC2" # endif -#endif /* CONFIG_STM32_ADC_NOIRQ */ +#endif /* CONFIG_STM32_ADC_NOIRQ */ #ifdef HAVE_ADC_CMN_DATA .cmn = &ADC2CMN_DATA, #endif @@ -930,7 +930,7 @@ static struct stm32_dev_s g_adcpriv3 = # else # error "No STM32_IRQ_ADC3 or STM32_IRQ_ADC defined for CONFIG_STM32_ADC3" # endif -#endif /* CONFIG_STM32_ADC_NOIRQ */ +#endif /* CONFIG_STM32_ADC_NOIRQ */ #ifdef HAVE_ADC_CMN_DATA .cmn = &ADC3CMN_DATA, #endif @@ -1174,7 +1174,7 @@ static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) return getreg32(base + offset); } # endif -#endif /* HAVE_ADC_CMN_REGS */ +#endif /* HAVE_ADC_CMN_REGS */ /**************************************************************************** * Name: tim_getreg @@ -1848,7 +1848,7 @@ static void adc_inj_startconv(FAR struct stm32_dev_s *priv, bool enable) # error TODO #endif -#endif /* ADC_HAVE_INJECTED */ +#endif /* ADC_HAVE_INJECTED */ /**************************************************************************** * Name: adccmn_lock @@ -2619,7 +2619,7 @@ static void adc_common_cfg(FAR struct stm32_dev_s *priv) clrbits |= ADC_CCR_MULTI_MASK | ADC_CCR_DELAY_MASK | ADC_CCR_DDS | ADC_CCR_DMA_MASK | ADC_CCR_VBATEN; setbits |= ADC_CCR_MULTI_NONE | ADC_CCR_DMA_DISABLED; -#endif /* !defined(CONFIG_STM32_STM32L15XX) */ +#endif /* !defined(CONFIG_STM32_STM32L15XX) */ adccmn_modifyreg(priv, STM32_ADC_CCR_OFFSET, clrbits, setbits); } @@ -2727,7 +2727,7 @@ static void adc_dma_start(FAR struct adc_dev_s *dev) stm32_dmastart(priv->dma, adc_dmaconvcallback, dev, false); #endif } -#endif /* ADC_HAVE_DMA */ +#endif /* ADC_HAVE_DMA */ /**************************************************************************** * Name: adc_configure @@ -3174,7 +3174,7 @@ static void adc_ioc_enable_tvref_register(FAR struct adc_dev_s *dev, ainfo("STM32_ADC_CCR value: 0x%08x\n", adccmn_getreg(priv, STM32_ADC_CCR_OFFSET)); #endif } -#endif /* HAVE_IP_ADC_V1 */ +#endif /* HAVE_IP_ADC_V1 */ /**************************************************************************** * Name: adc_resolution_set @@ -4206,7 +4206,7 @@ static int adc123_interrupt(int irq, FAR void *context, FAR void *arg) return OK; } #endif -#endif /* CONFIG_STM32_ADC_NOIRQ */ +#endif /* CONFIG_STM32_ADC_NOIRQ */ #ifdef CONFIG_STM32_ADC_LL_OPS @@ -4317,7 +4317,7 @@ static int adc_regbufregister(FAR struct stm32_adc_dev_s *dev, uint16_t *buffer, return OK; } -#endif /* ADC_HAVE_DMA */ +#endif /* ADC_HAVE_DMA */ /**************************************************************************** * Name: adc_inj_get @@ -4354,7 +4354,7 @@ static void adc_llops_inj_startconv(FAR struct stm32_adc_dev_s *dev, bool enable adc_inj_startconv(priv, enable); } -#endif /* ADC_HAVE_INJECTED */ +#endif /* ADC_HAVE_INJECTED */ /**************************************************************************** * Name: adc_sampletime_write @@ -4498,7 +4498,7 @@ void adc_sampletime_set(FAR struct stm32_adc_dev_s *dev, } } } -#endif /* CONFIG_STM32_ADC_CHANGE_SAMPLETIME */ +#endif /* CONFIG_STM32_ADC_CHANGE_SAMPLETIME */ /**************************************************************************** * Name: adc_llops_dumpregs @@ -4511,7 +4511,7 @@ static void adc_llops_dumpregs(FAR struct stm32_adc_dev_s *dev) adc_dumpregs(priv); } -#endif /* CONFIG_STM32_ADC_LL_OPS */ +#endif /* CONFIG_STM32_ADC_LL_OPS */ /**************************************************************************** * Public Functions @@ -4594,7 +4594,7 @@ struct adc_dev_s *stm32_adcinitialize(int intf, FAR const uint8_t *chanlist, break; } -#endif /* CONFIG_STM32_ADC1 */ +#endif /* CONFIG_STM32_ADC1 */ #ifdef CONFIG_STM32_ADC2 case 2: { @@ -4611,7 +4611,7 @@ struct adc_dev_s *stm32_adcinitialize(int intf, FAR const uint8_t *chanlist, break; } -#endif /* CONFIG_STM32_ADC2 */ +#endif /* CONFIG_STM32_ADC2 */ #ifdef CONFIG_STM32_ADC3 case 3: { @@ -4628,7 +4628,7 @@ struct adc_dev_s *stm32_adcinitialize(int intf, FAR const uint8_t *chanlist, break; } -#endif /* CONFIG_STM32_ADC3 */ +#endif /* CONFIG_STM32_ADC3 */ #ifdef CONFIG_STM32_ADC4 case 4: { @@ -4645,7 +4645,7 @@ struct adc_dev_s *stm32_adcinitialize(int intf, FAR const uint8_t *chanlist, break; } -#endif /* CONFIG_STM32_ADC4 */ +#endif /* CONFIG_STM32_ADC4 */ default: { aerr("ERROR: No ADC interface defined\n"); diff --git a/arch/arm/src/stm32/stm32_adc.h b/arch/arm/src/stm32/stm32_adc.h index 18fcd0967a..a86cf32cc6 100644 --- a/arch/arm/src/stm32/stm32_adc.h +++ b/arch/arm/src/stm32/stm32_adc.h @@ -2008,7 +2008,7 @@ struct adc_sample_time_s * same value of the sample time */ uint8_t all_ch_sample_time:3; /* Sample time for all channels */ }; -#endif /* CONFIG_STM32_ADC_CHANGE_SAMPLETIME */ +#endif /* CONFIG_STM32_ADC_CHANGE_SAMPLETIME */ /* This structure provides the publicly visable representation of the * "lower-half" ADC driver structure. @@ -2084,7 +2084,7 @@ struct stm32_adc_ops_s void (*dump_regs)(FAR struct stm32_adc_dev_s *dev); }; -#endif /* CONFIG_STM32_ADC_LL_OPS */ +#endif /* CONFIG_STM32_ADC_LL_OPS */ /************************************************************************************ * Public Function Prototypes diff --git a/arch/arm/src/stm32/stm32_comp.c b/arch/arm/src/stm32/stm32_comp.c index 32d580e222..7425b48c8a 100644 --- a/arch/arm/src/stm32/stm32_comp.c +++ b/arch/arm/src/stm32/stm32_comp.c @@ -1075,8 +1075,8 @@ FAR struct comp_dev_s* stm32_compinitialize(int intf) return dev; } -#endif /* CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F33XX || - * CONFIG_STM32_STM32F37XX*/ +#endif /* CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F33XX || + * CONFIG_STM32_STM32F37XX*/ -#endif /* CONFIG_STM32_COMP2 || CONFIG_STM32_COMP4 || - * CONFIG_STM32_COMP6 */ +#endif /* CONFIG_STM32_COMP2 || CONFIG_STM32_COMP4 || + * CONFIG_STM32_COMP6 */ diff --git a/arch/arm/src/stm32/stm32_dac.c b/arch/arm/src/stm32/stm32_dac.c index 46204a838c..41e7b4660a 100644 --- a/arch/arm/src/stm32/stm32_dac.c +++ b/arch/arm/src/stm32/stm32_dac.c @@ -664,7 +664,7 @@ static struct dac_dev_s g_dac1ch1dev = .ad_ops = &g_dacops, .ad_priv = &g_dac1ch1priv, }; -#endif /* CONFIG_STM32_DAC1CH1 */ +#endif /* CONFIG_STM32_DAC1CH1 */ #ifdef CONFIG_STM32_DAC1CH2 /* Channel 2: DAC1 channel 2 */ @@ -705,9 +705,9 @@ static struct dac_dev_s g_dac1ch2dev = .ad_ops = &g_dacops, .ad_priv = &g_dac1ch2priv, }; -#endif /* CONFIG_STM32_DAC1CH2 */ +#endif /* CONFIG_STM32_DAC1CH2 */ -#endif /* CONFIG_STM32_DAC1 */ +#endif /* CONFIG_STM32_DAC1 */ #ifdef CONFIG_STM32_DAC2 #ifdef CONFIG_STM32_DAC2CH1 @@ -749,8 +749,8 @@ static struct dac_dev_s g_dac2ch1dev = .ad_ops = &g_dacops, .ad_priv = &g_dac2ch1priv, }; -#endif /* CONFIG_STM32_DAC2CH1 */ -#endif /* CONFIG_STM32_DAC2 */ +#endif /* CONFIG_STM32_DAC2CH1 */ +#endif /* CONFIG_STM32_DAC2 */ static struct stm32_dac_s g_dacblock; @@ -857,7 +857,7 @@ static void tim_modifyreg(FAR struct stm32_chan_s *chan, int offset, { modifyreg32(chan->tbase + offset, clearbits, setbits); } -#endif /* HAVE_TIMER */ +#endif /* HAVE_TIMER */ /**************************************************************************** * Name: dac_interrupt @@ -1370,7 +1370,7 @@ static int dac_timinit(FAR struct stm32_chan_s *chan) return OK; } #endif -#endif /* HAVE_DMA */ +#endif /* HAVE_DMA */ /**************************************************************************** * Name: dac_chaninit @@ -1576,7 +1576,7 @@ FAR struct dac_dev_s *stm32_dacinitialize(int intf) dev = &g_dac1ch1dev; } else -#endif /* CONFIG_STM32_DAC1CH1 */ +#endif /* CONFIG_STM32_DAC1CH1 */ #ifdef CONFIG_STM32_DAC1CH2 if (intf == 2) { @@ -1584,7 +1584,7 @@ FAR struct dac_dev_s *stm32_dacinitialize(int intf) dev = &g_dac1ch2dev; } else -#endif /* CONFIG_STM32_DAC1CH2 */ +#endif /* CONFIG_STM32_DAC1CH2 */ #ifdef CONFIG_STM32_DAC2CH1 if (intf == 3) { @@ -1592,7 +1592,7 @@ FAR struct dac_dev_s *stm32_dacinitialize(int intf) dev = &g_dac2ch1dev; } else -#endif /* CONFIG_STM32_DAC2CH1 */ +#endif /* CONFIG_STM32_DAC2CH1 */ { aerr("ERROR: No such DAC interface: %d\n", intf); return NULL; diff --git a/arch/arm/src/stm32/stm32_dma.h b/arch/arm/src/stm32/stm32_dma.h index 0817eedd9e..f14fbc4530 100644 --- a/arch/arm/src/stm32/stm32_dma.h +++ b/arch/arm/src/stm32/stm32_dma.h @@ -348,7 +348,7 @@ uint32_t stm32_dma_intget(unsigned int chndx); uint8_t stm32_dma_intget(unsigned int controller, uint8_t stream); #endif -#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ +#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ #undef EXTERN #if defined(__cplusplus) diff --git a/arch/arm/src/stm32/stm32_dma_v1.c b/arch/arm/src/stm32/stm32_dma_v1.c index 7dce110ad9..600b07502e 100644 --- a/arch/arm/src/stm32/stm32_dma_v1.c +++ b/arch/arm/src/stm32/stm32_dma_v1.c @@ -801,4 +801,4 @@ uint32_t stm32_dma_intget(unsigned int chndx) return dmabase_getreg(dmach, STM32_DMA_ISR_OFFSET) & DMA_ISR_CHAN_MASK(dmach->chan); } -#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ +#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ diff --git a/arch/arm/src/stm32/stm32_dma_v2.c b/arch/arm/src/stm32/stm32_dma_v2.c index 311e43c814..d8c9723aea 100644 --- a/arch/arm/src/stm32/stm32_dma_v2.c +++ b/arch/arm/src/stm32/stm32_dma_v2.c @@ -1105,4 +1105,4 @@ uint8_t stm32_dma_intget(unsigned int controller, uint8_t stream) return (uint8_t)regval; } -#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ +#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ diff --git a/arch/arm/src/stm32/stm32_hciuart.c b/arch/arm/src/stm32/stm32_hciuart.c index a69c7ce9fa..bf0ec808fb 100644 --- a/arch/arm/src/stm32/stm32_hciuart.c +++ b/arch/arm/src/stm32/stm32_hciuart.c @@ -970,7 +970,7 @@ static uint16_t hciuart_rxinuse(const struct hciuart_config_s *config) static void hciuart_rxflow_enable(const struct hciuart_config_s *config) { -#ifdef CONFIG_STM32_HCIUART_SW_RXFLOW +#ifdef CONFIG_STM32_HCIUART_SW_RXFLOW struct hciuart_state_s *state; DEBUGASSERT(config != NULL && config->state != NULL); @@ -1007,7 +1007,7 @@ static void hciuart_rxflow_enable(const struct hciuart_config_s *config) static void hciuart_rxflow_disable(const struct hciuart_config_s *config) { -#ifdef CONFIG_STM32_HCIUART_SW_RXFLOW +#ifdef CONFIG_STM32_HCIUART_SW_RXFLOW struct hciuart_state_s *state; DEBUGASSERT(config != NULL && config->state != NULL); diff --git a/arch/arm/src/stm32/stm32_hrtim.c b/arch/arm/src/stm32/stm32_hrtim.c index 98d1166aa5..c5081eb1fa 100644 --- a/arch/arm/src/stm32/stm32_hrtim.c +++ b/arch/arm/src/stm32/stm32_hrtim.c @@ -803,7 +803,7 @@ static const struct file_operations hrtim_fops = , NULL /* unlink */ #endif }; -#endif /* CONFIG_STM32_HRTIM_DISABLE_CHARDRV */ +#endif /* CONFIG_STM32_HRTIM_DISABLE_CHARDRV */ /* Master Timer data */ @@ -3517,7 +3517,7 @@ static int hrtim_dma_cfg(FAR struct stm32_hrtim_s *priv) return OK; } -#endif /* CONFIG_STM32_HRTIM_DAM */ +#endif /* CONFIG_STM32_HRTIM_DAM */ #ifdef CONFIG_STM32_HRTIM_DEADTIME /**************************************************************************** @@ -3755,7 +3755,7 @@ static int hrtim_deadtime_config(FAR struct stm32_hrtim_s *priv) return OK; } -#endif /* CONFIG_STM32_HRTIM_DEADTIME */ +#endif /* CONFIG_STM32_HRTIM_DEADTIME */ #ifdef CONFIG_STM32_HRTIM_CHOPPER /**************************************************************************** @@ -4608,7 +4608,7 @@ static int hrtim_events_config(FAR struct stm32_hrtim_s *priv) return OK; } -#endif /* CONFIG_STM32_HRTIM_FAULTS */ +#endif /* CONFIG_STM32_HRTIM_FAULTS */ #ifdef CONFIG_STM32_HRTIM_INTERRUPTS @@ -4727,7 +4727,7 @@ static uint16_t hrtim_irq_get(FAR struct hrtim_dev_s *dev, uint8_t timer) return (uint16_t)regval; } -#endif /* CONFIG_STM32_HRTIM_INTERRUPTS */ +#endif /* CONFIG_STM32_HRTIM_INTERRUPTS */ /**************************************************************************** * Name: hrtim_tim_mode_set @@ -5783,7 +5783,7 @@ static int stm32_hrtimconfig(FAR struct stm32_hrtim_s *priv) regval |= HRTIM_MCR_TECEN; # endif -#endif /* CONFIG_STM32_HRTIM_NO_ENABLE_TIMERS */ +#endif /* CONFIG_STM32_HRTIM_NO_ENABLE_TIMERS */ /* Write enable bits at once */ @@ -5904,7 +5904,7 @@ int hrtim_register(FAR const char *path, FAR struct hrtim_dev_s *dev) return ret; } -#endif /* CONFIG_STM32_HRTIM_DISABLE_CHARDRV */ +#endif /* CONFIG_STM32_HRTIM_DISABLE_CHARDRV */ -#endif /* CONFIG_STM32_STM32F33XX */ -#endif /* CONFIG_STM32_HRTIM1 */ +#endif /* CONFIG_STM32_STM32F33XX */ +#endif /* CONFIG_STM32_HRTIM1 */ diff --git a/arch/arm/src/stm32/stm32_opamp.c b/arch/arm/src/stm32/stm32_opamp.c index 712c2e59b7..6603e47b51 100644 --- a/arch/arm/src/stm32/stm32_opamp.c +++ b/arch/arm/src/stm32/stm32_opamp.c @@ -1408,10 +1408,10 @@ FAR struct opamp_dev_s* stm32_opampinitialize(int intf) return dev; } -#endif /* CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F33XX*/ +#endif /* CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F33XX*/ -#endif /* CONFIG_STM32_OPAMP1 || CONFIG_STM32_OPAMP2 || - * CONFIG_STM32_OPAMP3 || CONFIG_STM32_OPAMP4 - */ +#endif /* CONFIG_STM32_OPAMP1 || CONFIG_STM32_OPAMP2 || + * CONFIG_STM32_OPAMP3 || CONFIG_STM32_OPAMP4 + */ #endif /* CONFIG_STM32_OPAMP */ diff --git a/arch/arm/src/stm32/stm32_opamp.h b/arch/arm/src/stm32/stm32_opamp.h index a579d33be6..61099360f3 100644 --- a/arch/arm/src/stm32/stm32_opamp.h +++ b/arch/arm/src/stm32/stm32_opamp.h @@ -227,5 +227,5 @@ FAR struct opamp_dev_s* stm32_opampinitialize(int intf); #endif #endif /* __ASSEMBLY__ */ -#endif /* CONFIG_STM32_OPAMP */ +#endif /* CONFIG_STM32_OPAMP */ #endif /* __ARCH_ARM_SRC_STM32_STM32_OPAMP_H */ diff --git a/arch/arm/src/stm32/stm32_pwm.c b/arch/arm/src/stm32/stm32_pwm.c index bfb33240ff..ef0232a3ef 100644 --- a/arch/arm/src/stm32/stm32_pwm.c +++ b/arch/arm/src/stm32/stm32_pwm.c @@ -718,7 +718,7 @@ static struct stm32_pwmtimer_s g_pwm1dev = .base = STM32_TIM1_BASE, .pclk = TIMCLK_TIM1, }; -#endif /* CONFIG_STM32_TIM1_PWM */ +#endif /* CONFIG_STM32_TIM1_PWM */ #ifdef CONFIG_STM32_TIM2_PWM @@ -817,7 +817,7 @@ static struct stm32_pwmtimer_s g_pwm2dev = .base = STM32_TIM2_BASE, .pclk = TIMCLK_TIM2, }; -#endif /* CONFIG_STM32_TIM2_PWM */ +#endif /* CONFIG_STM32_TIM2_PWM */ #ifdef CONFIG_STM32_TIM3_PWM @@ -916,7 +916,7 @@ static struct stm32_pwmtimer_s g_pwm3dev = .base = STM32_TIM3_BASE, .pclk = TIMCLK_TIM3, }; -#endif /* CONFIG_STM32_TIM3_PWM */ +#endif /* CONFIG_STM32_TIM3_PWM */ #ifdef CONFIG_STM32_TIM4_PWM @@ -1015,7 +1015,7 @@ static struct stm32_pwmtimer_s g_pwm4dev = .base = STM32_TIM4_BASE, .pclk = TIMCLK_TIM4, }; -#endif /* CONFIG_STM32_TIM4_PWM */ +#endif /* CONFIG_STM32_TIM4_PWM */ #ifdef CONFIG_STM32_TIM5_PWM @@ -1112,7 +1112,7 @@ static struct stm32_pwmtimer_s g_pwm5dev = .base = STM32_TIM5_BASE, .pclk = TIMCLK_TIM5, }; -#endif /* CONFIG_STM32_TIM5_PWM */ +#endif /* CONFIG_STM32_TIM5_PWM */ #ifdef CONFIG_STM32_TIM8_PWM @@ -1278,7 +1278,7 @@ static struct stm32_pwmtimer_s g_pwm8dev = .base = STM32_TIM8_BASE, .pclk = TIMCLK_TIM8, }; -#endif /* CONFIG_STM32_TIM8_PWM */ +#endif /* CONFIG_STM32_TIM8_PWM */ #ifdef CONFIG_STM32_TIM9_PWM @@ -1345,7 +1345,7 @@ static struct stm32_pwmtimer_s g_pwm9dev = .base = STM32_TIM9_BASE, .pclk = TIMCLK_TIM9, }; -#endif /* CONFIG_STM32_TIM9_PWM */ +#endif /* CONFIG_STM32_TIM9_PWM */ #ifdef CONFIG_STM32_TIM10_PWM @@ -1396,7 +1396,7 @@ static struct stm32_pwmtimer_s g_pwm10dev = .base = STM32_TIM10_BASE, .pclk = TIMCLK_TIM10, }; -#endif /* CONFIG_STM32_TIM10_PWM */ +#endif /* CONFIG_STM32_TIM10_PWM */ #ifdef CONFIG_STM32_TIM11_PWM @@ -1447,7 +1447,7 @@ static struct stm32_pwmtimer_s g_pwm11dev = .base = STM32_TIM11_BASE, .pclk = TIMCLK_TIM11, }; -#endif /* CONFIG_STM32_TIM11_PWM */ +#endif /* CONFIG_STM32_TIM11_PWM */ #ifdef CONFIG_STM32_TIM12_PWM @@ -1514,7 +1514,7 @@ static struct stm32_pwmtimer_s g_pwm12dev = .base = STM32_TIM12_BASE, .pclk = TIMCLK_TIM12, }; -#endif /* CONFIG_STM32_TIM12_PWM */ +#endif /* CONFIG_STM32_TIM12_PWM */ #ifdef CONFIG_STM32_TIM13_PWM @@ -1565,7 +1565,7 @@ static struct stm32_pwmtimer_s g_pwm13dev = .base = STM32_TIM13_BASE, .pclk = TIMCLK_TIM13, }; -#endif /* CONFIG_STM32_TIM13_PWM */ +#endif /* CONFIG_STM32_TIM13_PWM */ #ifdef CONFIG_STM32_TIM14_PWM @@ -1616,7 +1616,7 @@ static struct stm32_pwmtimer_s g_pwm14dev = .base = STM32_TIM14_BASE, .pclk = TIMCLK_TIM14, }; -#endif /* CONFIG_STM32_TIM14_PWM */ +#endif /* CONFIG_STM32_TIM14_PWM */ #ifdef CONFIG_STM32_TIM15_PWM @@ -1701,7 +1701,7 @@ static struct stm32_pwmtimer_s g_pwm15dev = .base = STM32_TIM15_BASE, .pclk = TIMCLK_TIM15, }; -#endif /* CONFIG_STM32_TIM15_PWM */ +#endif /* CONFIG_STM32_TIM15_PWM */ #ifdef CONFIG_STM32_TIM16_PWM @@ -1770,7 +1770,7 @@ static struct stm32_pwmtimer_s g_pwm16dev = .base = STM32_TIM16_BASE, .pclk = TIMCLK_TIM16, }; -#endif /* CONFIG_STM32_TIM16_PWM */ +#endif /* CONFIG_STM32_TIM16_PWM */ #ifdef CONFIG_STM32_TIM17_PWM @@ -1839,7 +1839,7 @@ static struct stm32_pwmtimer_s g_pwm17dev = .base = STM32_TIM17_BASE, .pclk = TIMCLK_TIM17, }; -#endif /* CONFIG_STM32_TIM17_PWM */ +#endif /* CONFIG_STM32_TIM17_PWM */ /* TODO: support for TIM19,20,21,22 */ @@ -2233,7 +2233,7 @@ static uint32_t pwm_ccr_get(FAR struct pwm_lowerhalf_s *dev, uint8_t index) return pwm_getreg(priv, offset); } -#endif /* CONFIG_STM32_PWM_LL_OPS */ +#endif /* CONFIG_STM32_PWM_LL_OPS */ /**************************************************************************** * Name: pwm_arr_update @@ -2859,7 +2859,7 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, { ccer &= ~(ATIM_CCER_CC1NP << ((channel-1)*4)); } -#endif /* HAVE_PWM_COMPLEMENTARY */ +#endif /* HAVE_PWM_COMPLEMENTARY */ #ifdef HAVE_IP_TIMERS_V2 /* TODO: OIS5 and OIS6 */ @@ -2869,12 +2869,12 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, /* TODO: CC5P and CC6P */ ccer &= ~(ATIM_CCER_CC5P | ATIM_CCER_CC6P); -#endif /* HAVE_IP_TIMERS_V2 */ +#endif /* HAVE_IP_TIMERS_V2 */ } #ifdef HAVE_GTIM_CCXNP else -#endif /* HAVE_GTIM_CCXNP */ -#endif /* HAVE_ADVTIM */ +#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_ADVTIM */ #ifdef HAVE_GTIM_CCXNP { /* CCxNP must be cleared if not ADVANCED timer. @@ -2885,7 +2885,7 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, ccer &= ~(GTIM_CCER_CC1NP << ((channel-1)*4)); } -#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_GTIM_CCXNP */ /* Write registers */ @@ -3188,8 +3188,8 @@ static int pwm_break_dt_configure(FAR struct stm32_pwmtimer_s *priv) bdtr |= (priv->brk.flt2 << ATIM_BDTR_BK2F_SHIFT); } -#endif /* HAVE_IP_TIMERS_V2 */ -#endif /* HAVE_BREAK */ +#endif /* HAVE_IP_TIMERS_V2 */ +#endif /* HAVE_BREAK */ /* Clear the OSSI and OSSR bits in the BDTR register. * @@ -3745,7 +3745,7 @@ static int pwm_timer(FAR struct pwm_lowerhalf_s *dev, errout: return ret; } -#endif /* CONFIG_PWM_PULSECOUNT */ +#endif /* CONFIG_PWM_PULSECOUNT */ #ifdef HAVE_PWM_INTERRUPT @@ -3850,14 +3850,14 @@ static int pwm_tim1interrupt(int irq, void *context, FAR void *arg) { return pwm_interrupt((FAR struct pwm_lowerhalf_s *)&g_pwm1dev); } -#endif /* CONFIG_STM32_TIM1_PWM */ +#endif /* CONFIG_STM32_TIM1_PWM */ #ifdef CONFIG_STM32_TIM8_PWM static int pwm_tim8interrupt(int irq, void *context, FAR void *arg) { return pwm_interrupt((FAR struct pwm_lowerhalf_s *)&g_pwm8dev); } -#endif /* CONFIG_STM32_TIM8_PWM */ +#endif /* CONFIG_STM32_TIM8_PWM */ /**************************************************************************** * Name: pwm_pulsecount @@ -3905,7 +3905,7 @@ static uint8_t pwm_pulsecount(uint32_t count) return (uint8_t)ATIM_RCR_REP_MAX; } } -#endif /* HAVE_PWM_INTERRUPT */ +#endif /* HAVE_PWM_INTERRUPT */ /**************************************************************************** * Name: pwm_set_apb_clock @@ -4319,7 +4319,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev, } #else ret = pwm_duty_update(dev, priv->channels[0].channel, info->duty); -#endif /* CONFIG_PWM_MULTICHAN */ +#endif /* CONFIG_PWM_MULTICHAN */ } else { @@ -4335,7 +4335,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev, return ret; } -#endif /* CONFIG_PWM_PULSECOUNT */ +#endif /* CONFIG_PWM_PULSECOUNT */ /**************************************************************************** * Name: pwm_stop diff --git a/arch/arm/src/stm32/stm32_pwm.h b/arch/arm/src/stm32/stm32_pwm.h index bfc054cd1c..1762a3e77e 100644 --- a/arch/arm/src/stm32/stm32_pwm.h +++ b/arch/arm/src/stm32/stm32_pwm.h @@ -1107,7 +1107,7 @@ struct stm32_pwm_ops_s #endif }; -#endif /* CONFIG_STM32_PWM_LL_OPS */ +#endif /* CONFIG_STM32_PWM_LL_OPS */ /************************************************************************************ * Public Data diff --git a/arch/arm/src/stm32/stm32f10xxx_rcc.c b/arch/arm/src/stm32/stm32f10xxx_rcc.c index cabc0e5ec5..b194fc9c7a 100644 --- a/arch/arm/src/stm32/stm32f10xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f10xxx_rcc.c @@ -362,7 +362,7 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32/stm32f30xxx_rcc.c b/arch/arm/src/stm32/stm32f30xxx_rcc.c index 25bedd3921..b30a145702 100644 --- a/arch/arm/src/stm32/stm32f30xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f30xxx_rcc.c @@ -309,7 +309,7 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32/stm32f33xxx_rcc.c b/arch/arm/src/stm32/stm32f33xxx_rcc.c index a2685a937d..22ae3583e1 100644 --- a/arch/arm/src/stm32/stm32f33xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f33xxx_rcc.c @@ -247,7 +247,7 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32/stm32f37xxx_rcc.c b/arch/arm/src/stm32/stm32f37xxx_rcc.c index 5c1d026f11..41cb1869de 100644 --- a/arch/arm/src/stm32/stm32f37xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f37xxx_rcc.c @@ -331,7 +331,7 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32/stm32f40xxx_i2c.c b/arch/arm/src/stm32/stm32f40xxx_i2c.c index 90a3e1148a..90b6c105ac 100644 --- a/arch/arm/src/stm32/stm32f40xxx_i2c.c +++ b/arch/arm/src/stm32/stm32f40xxx_i2c.c @@ -1852,7 +1852,7 @@ static int stm32_i2c_isr_process(struct stm32_i2c_priv_s *priv) * N, N-1, N-2 will be read with BTF: */ -#ifndef CONFIG_I2C_POLLED +#ifndef CONFIG_I2C_POLLED if (priv->dcnt < 5) { stm32_i2c_modifyreg(priv, STM32_I2C_CR2_OFFSET, I2C_CR2_ITBUFEN, 0); diff --git a/arch/arm/src/stm32/stm32f40xxx_rcc.c b/arch/arm/src/stm32/stm32f40xxx_rcc.c index 02da518931..257f673398 100644 --- a/arch/arm/src/stm32/stm32f40xxx_rcc.c +++ b/arch/arm/src/stm32/stm32f40xxx_rcc.c @@ -224,7 +224,7 @@ static inline void rcc_enableahb1(void) regval |= RCC_AHB1ENR_OTGHSEN; #endif -#endif /* CONFIG_STM32_OTGHS */ +#endif /* CONFIG_STM32_OTGHS */ #ifdef CONFIG_STM32_DMA2D /* DMA2D clock */ diff --git a/arch/arm/src/stm32/stm32l15xxx_rcc.c b/arch/arm/src/stm32/stm32l15xxx_rcc.c index 6631b304b8..c3c92c0c9f 100644 --- a/arch/arm/src/stm32/stm32l15xxx_rcc.c +++ b/arch/arm/src/stm32/stm32l15xxx_rcc.c @@ -366,7 +366,7 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32f0l0g0/stm32_adc.c b/arch/arm/src/stm32f0l0g0/stm32_adc.c index 0adae5a6d8..ef8019edb5 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_adc.c +++ b/arch/arm/src/stm32f0l0g0/stm32_adc.c @@ -298,7 +298,7 @@ static void adc_rccreset(FAR struct stm32_dev_s *priv, bool reset); #ifndef CONFIG_STM32F0L0G0_ADC_NOIRQ static int adc_interrupt(FAR struct adc_dev_s *dev); static int adc1_interrupt(int irq, FAR void *context, FAR void *arg); -#endif /* CONFIG_STM32F0L0G0_ADC_NOIRQ */ +#endif /* CONFIG_STM32F0L0G0_ADC_NOIRQ */ /* ADC Driver Methods */ @@ -417,7 +417,7 @@ static struct stm32_dev_s g_adcpriv1 = #ifndef CONFIG_STM32F0L0G0_ADC_NOIRQ .irq = STM32_IRQ_ADC, .isr = adc1_interrupt, -#endif /* CONFIG_STM32F0L0G0_ADC_NOIRQ */ +#endif /* CONFIG_STM32F0L0G0_ADC_NOIRQ */ #ifdef HAVE_ADC_CMN_DATA .cmn = &ADC1CMN_DATA, #endif @@ -596,7 +596,7 @@ static uint32_t adccmn_getreg(FAR struct stm32_dev_s *priv, uint32_t offset) return getreg32(base+offset); } # endif -#endif /* HAVE_ADC_CMN_REGS */ +#endif /* HAVE_ADC_CMN_REGS */ /**************************************************************************** * Name: tim_getreg @@ -1236,7 +1236,7 @@ static void adc_dma_start(FAR struct adc_dev_s *dev) stm32_dmastart(priv->dma, adc_dmaconvcallback, dev, false); } -#endif /* ADC_HAVE_DMA */ +#endif /* ADC_HAVE_DMA */ /**************************************************************************** * Name: adc_configure @@ -2256,7 +2256,7 @@ static int adc_llops_regbufregister(FAR struct stm32_adc_dev_s *dev, return OK; } -#endif /* ADC_HAVE_DMA */ +#endif /* ADC_HAVE_DMA */ /**************************************************************************** * Name: adc_sampletime_write @@ -2302,7 +2302,7 @@ void adc_sampletime_set(FAR struct stm32_adc_dev_s *dev, { #error TODO adc_sampletime_write } -#endif /* CONFIG_STM32F0L0G0_ADC_CHANGE_SAMPLETIME */ +#endif /* CONFIG_STM32F0L0G0_ADC_CHANGE_SAMPLETIME */ /**************************************************************************** * Name: adc_llops_dumpregs @@ -2315,7 +2315,7 @@ static void adc_llops_dumpregs(FAR struct stm32_adc_dev_s *dev) adc_dumpregs(priv); } -#endif /* CONFIG_STM32F0L0G0_ADC_LL_OPS */ +#endif /* CONFIG_STM32F0L0G0_ADC_LL_OPS */ /**************************************************************************** * Public Functions diff --git a/arch/arm/src/stm32f0l0g0/stm32_adc.h b/arch/arm/src/stm32f0l0g0/stm32_adc.h index 69f201bfe6..9b3a32ee6c 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_adc.h +++ b/arch/arm/src/stm32f0l0g0/stm32_adc.h @@ -230,7 +230,7 @@ struct adc_sample_time_s * same value of the sample time */ uint8_t all_ch_sample_time:3; /* Sample time for all channels */ }; -#endif /* CONFIG_STM32F0L0G0_ADC_CHANGE_SAMPLETIME */ +#endif /* CONFIG_STM32F0L0G0_ADC_CHANGE_SAMPLETIME */ /* This structure provides the publicly visable representation of the * "lower-half" ADC driver structure. @@ -291,7 +291,7 @@ struct stm32_adc_ops_s void (*dump_regs)(FAR struct stm32_adc_dev_s *dev); }; -#endif /* CONFIG_STM32F0L0G0_ADC_LL_OPS */ +#endif /* CONFIG_STM32F0L0G0_ADC_LL_OPS */ /************************************************************************************ * Public Function Prototypes diff --git a/arch/arm/src/stm32f0l0g0/stm32_dma.h b/arch/arm/src/stm32f0l0g0/stm32_dma.h index 2744931924..d4981bbb63 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_dma.h +++ b/arch/arm/src/stm32f0l0g0/stm32_dma.h @@ -323,7 +323,7 @@ uint32_t stm32_dma_intget(unsigned int chndx); uint8_t stm32_dma_intget(unsigned int controller, uint8_t stream); #endif -#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ +#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ #undef EXTERN #if defined(__cplusplus) diff --git a/arch/arm/src/stm32f0l0g0/stm32_dma_v1.c b/arch/arm/src/stm32f0l0g0/stm32_dma_v1.c index c779682b53..6ff4061fe8 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_dma_v1.c +++ b/arch/arm/src/stm32f0l0g0/stm32_dma_v1.c @@ -804,4 +804,4 @@ uint32_t stm32_dma_intget(unsigned int chndx) return dmabase_getreg(dmach, STM32_DMA_ISR_OFFSET) & DMA_ISR_CHAN_MASK(dmach->chan); } -#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ +#endif /* CONFIG_ARCH_HIPRI_INTERRUPT */ diff --git a/arch/arm/src/stm32f0l0g0/stm32_pwm.c b/arch/arm/src/stm32f0l0g0/stm32_pwm.c index a92d9d10be..7de3d0b31b 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_pwm.c +++ b/arch/arm/src/stm32f0l0g0/stm32_pwm.c @@ -228,7 +228,7 @@ static int stm32pwm_tim1interrupt(int irq, void *context, FAR void *arg); static int stm32pwm_tim8interrupt(int irq, void *context, FAR void *arg); # endif static uint8_t stm32pwm_pulsecount(uint32_t count); -#endif /* CONFIG_PWM_PULSECOUNT && CONFIG_STM32F0L0G0_TIM{1,8}_PWM */ +#endif /* CONFIG_PWM_PULSECOUNT && CONFIG_STM32F0L0G0_TIM{1,8}_PWM */ /* PWM driver methods */ @@ -821,8 +821,8 @@ static int stm32pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, ccer &= ~(ATIM_CCER_CC1NP << ((channel - 1) * 4)); } -#endif /* HAVE_PWM_COMPLEMENTARY */ -#endif /* HAVE_ADVTIM */ +#endif /* HAVE_PWM_COMPLEMENTARY */ +#endif /* HAVE_ADVTIM */ stm32pwm_modifyreg(priv, STM32_GTIM_CR2_OFFSET, 0, cr2); stm32pwm_modifyreg(priv, STM32_GTIM_CCER_OFFSET, 0, ccer); diff --git a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c index 477fb6ad2d..21dba67ee3 100644 --- a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c +++ b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c @@ -287,13 +287,13 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32F0L0G0_CRS - /* Clock recovery system clock enable */ + /* Clock recovery system clock enable */ regval |= RCC_APB1ENR_CRSEN; #endif #ifdef CONFIG_STM32F0L0G0_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32f0l0g0/stm32g0_rcc.c b/arch/arm/src/stm32f0l0g0/stm32g0_rcc.c index b944b83888..7db9d6b546 100644 --- a/arch/arm/src/stm32f0l0g0/stm32g0_rcc.c +++ b/arch/arm/src/stm32f0l0g0/stm32g0_rcc.c @@ -269,7 +269,7 @@ static inline void rcc_enableapb1(void) #endif #endif #ifdef CONFIG_STM32F0L0G0_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32f0l0g0/stm32l0_rcc.c b/arch/arm/src/stm32f0l0g0/stm32l0_rcc.c index 1d15e6f241..860bbb2afa 100644 --- a/arch/arm/src/stm32f0l0g0/stm32l0_rcc.c +++ b/arch/arm/src/stm32f0l0g0/stm32l0_rcc.c @@ -297,13 +297,13 @@ static inline void rcc_enableapb1(void) #endif #ifdef CONFIG_STM32F0L0G0_CRS - /* Clock recovery system clock enable */ + /* Clock recovery system clock enable */ regval |= RCC_APB1ENR_CRSEN; #endif #ifdef CONFIG_STM32F0L0G0_PWR - /* Power interface clock enable */ + /* Power interface clock enable */ regval |= RCC_APB1ENR_PWREN; #endif diff --git a/arch/arm/src/stm32f7/stm32_otgdev.c b/arch/arm/src/stm32f7/stm32_otgdev.c index 22edbe65e7..38b6834ee0 100644 --- a/arch/arm/src/stm32f7/stm32_otgdev.c +++ b/arch/arm/src/stm32f7/stm32_otgdev.c @@ -5356,9 +5356,9 @@ static void stm32_hwinitialize(FAR struct stm32_usbdev_s *priv) up_udelay(2000); -# endif /* CONFIG_STM32F7_INTERNAL_ULPI */ -# endif /* CONFIG_STM32F7_NO_ULPI */ -# endif /* CONFIG_STM32F7_OTGFSHS */ +# endif /* CONFIG_STM32F7_INTERNAL_ULPI */ +# endif /* CONFIG_STM32F7_NO_ULPI */ +# endif /* CONFIG_STM32F7_OTGFSHS */ /* Common USB OTG core initialization */ /* Reset after a PHY select and set Host mode. First, wait for AHB master diff --git a/arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c b/arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c index bdead95143..08b7aa3e28 100644 --- a/arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c +++ b/arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c @@ -237,7 +237,7 @@ static inline void rcc_enableahb1(void) regval |= RCC_AHB1ENR_OTGHSEN; #endif -#endif /* CONFIG_STM32F7_OTGFSHS */ +#endif /* CONFIG_STM32F7_OTGFSHS */ putreg32(regval, STM32_RCC_AHB1ENR); /* Enable peripherals */ } diff --git a/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c b/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c index 693b7423f0..ae553ab246 100644 --- a/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c +++ b/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c @@ -241,7 +241,7 @@ static inline void rcc_enableahb1(void) regval |= RCC_AHB1ENR_OTGHSEN; #endif -#endif /* CONFIG_STM32F7_OTGFSHS */ +#endif /* CONFIG_STM32F7_OTGFSHS */ putreg32(regval, STM32_RCC_AHB1ENR); /* Enable peripherals */ } diff --git a/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c b/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c index cf89f52da1..d78c3ddd89 100644 --- a/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c +++ b/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c @@ -246,7 +246,7 @@ static inline void rcc_enableahb1(void) regval |= RCC_AHB1ENR_OTGHSEN; #endif -#endif /* CONFIG_STM32F7_OTGFSHS */ +#endif /* CONFIG_STM32F7_OTGFSHS */ putreg32(regval, STM32_RCC_AHB1ENR); /* Enable peripherals */ } diff --git a/arch/arm/src/stm32h7/stm32_dma.c b/arch/arm/src/stm32h7/stm32_dma.c index 7b1b448bd8..a83430d03c 100644 --- a/arch/arm/src/stm32h7/stm32_dma.c +++ b/arch/arm/src/stm32h7/stm32_dma.c @@ -1038,7 +1038,7 @@ static void stm32_mdma_dump(DMA_HANDLE handle, const char *msg) } #endif -#endif /* CONFIG_STM32H7_MDMA */ +#endif /* CONFIG_STM32H7_MDMA */ /**************************************************************************** * Standard DMA functions @@ -1662,7 +1662,7 @@ static void stm32_sdma_dump(DMA_HANDLE handle, const char *msg) } #endif -#endif /* CONFIG_STM32H7_DMA1 || CONFIG_STM32H7_DMA2 */ +#endif /* CONFIG_STM32H7_DMA1 || CONFIG_STM32H7_DMA2 */ /**************************************************************************** * Basic DMA functions @@ -1903,7 +1903,7 @@ static void stm32_bdma_dump(DMA_HANDLE handle, const char *msg) } #endif -#endif /* CONFIG_STM32H7_BDMA */ +#endif /* CONFIG_STM32H7_BDMA */ /**************************************************************************** * Name: stm32_dmamux_dump @@ -1998,7 +1998,7 @@ void weak_function up_dma_initialize(void) up_prioritize_irq(dmachan->irq, CONFIG_DMA_PRI); break; } -#endif /* CONFIG_STM32H7_DMA1 && CONFIG_STM32H7_DMA2 */ +#endif /* CONFIG_STM32H7_DMA1 && CONFIG_STM32H7_DMA2 */ #ifdef CONFIG_STM32H7_MDMA case MDMA: @@ -2014,7 +2014,7 @@ void weak_function up_dma_initialize(void) up_prioritize_irq(dmachan->irq, CONFIG_BDMA_PRI); break; } -#endif /* CONFIG_STM32H7_BDMA */ +#endif /* CONFIG_STM32H7_BDMA */ default: { diff --git a/arch/arm/src/stm32h7/stm32_pwm.c b/arch/arm/src/stm32h7/stm32_pwm.c index 62b588b5c6..20a7b36941 100644 --- a/arch/arm/src/stm32h7/stm32_pwm.c +++ b/arch/arm/src/stm32h7/stm32_pwm.c @@ -605,7 +605,7 @@ static struct stm32_pwmtimer_s g_pwm1dev = .base = STM32_TIM1_BASE, .pclk = TIMCLK_TIM1, }; -#endif /* CONFIG_STM32H7_TIM1_PWM */ +#endif /* CONFIG_STM32H7_TIM1_PWM */ #ifdef CONFIG_STM32H7_TIM2_PWM @@ -704,7 +704,7 @@ static struct stm32_pwmtimer_s g_pwm2dev = .base = STM32_TIM2_BASE, .pclk = TIMCLK_TIM2, }; -#endif /* CONFIG_STM32H7_TIM2_PWM */ +#endif /* CONFIG_STM32H7_TIM2_PWM */ #ifdef CONFIG_STM32H7_TIM3_PWM @@ -803,7 +803,7 @@ static struct stm32_pwmtimer_s g_pwm3dev = .base = STM32_TIM3_BASE, .pclk = TIMCLK_TIM3, }; -#endif /* CONFIG_STM32H7_TIM3_PWM */ +#endif /* CONFIG_STM32H7_TIM3_PWM */ #ifdef CONFIG_STM32H7_TIM4_PWM @@ -902,7 +902,7 @@ static struct stm32_pwmtimer_s g_pwm4dev = .base = STM32_TIM4_BASE, .pclk = TIMCLK_TIM4, }; -#endif /* CONFIG_STM32H7_TIM4_PWM */ +#endif /* CONFIG_STM32H7_TIM4_PWM */ #ifdef CONFIG_STM32H7_TIM5_PWM @@ -999,7 +999,7 @@ static struct stm32_pwmtimer_s g_pwm5dev = .base = STM32_TIM5_BASE, .pclk = TIMCLK_TIM5, }; -#endif /* CONFIG_STM32H7_TIM5_PWM */ +#endif /* CONFIG_STM32H7_TIM5_PWM */ #ifdef CONFIG_STM32H7_TIM8_PWM @@ -1165,7 +1165,7 @@ static struct stm32_pwmtimer_s g_pwm8dev = .base = STM32_TIM8_BASE, .pclk = TIMCLK_TIM8, }; -#endif /* CONFIG_STM32H7_TIM8_PWM */ +#endif /* CONFIG_STM32H7_TIM8_PWM */ #ifdef CONFIG_STM32H7_TIM12_PWM @@ -1232,7 +1232,7 @@ static struct stm32_pwmtimer_s g_pwm12dev = .base = STM32_TIM12_BASE, .pclk = TIMCLK_TIM12, }; -#endif /* CONFIG_STM32H7_TIM12_PWM */ +#endif /* CONFIG_STM32H7_TIM12_PWM */ #ifdef CONFIG_STM32H7_TIM13_PWM @@ -1283,7 +1283,7 @@ static struct stm32_pwmtimer_s g_pwm13dev = .base = STM32_TIM13_BASE, .pclk = TIMCLK_TIM13, }; -#endif /* CONFIG_STM32H7_TIM13_PWM */ +#endif /* CONFIG_STM32H7_TIM13_PWM */ #ifdef CONFIG_STM32H7_TIM14_PWM @@ -1334,7 +1334,7 @@ static struct stm32_pwmtimer_s g_pwm14dev = .base = STM32_TIM14_BASE, .pclk = TIMCLK_TIM14, }; -#endif /* CONFIG_STM32H7_TIM14_PWM */ +#endif /* CONFIG_STM32H7_TIM14_PWM */ #ifdef CONFIG_STM32H7_TIM15_PWM @@ -1419,7 +1419,7 @@ static struct stm32_pwmtimer_s g_pwm15dev = .base = STM32_TIM15_BASE, .pclk = TIMCLK_TIM15, }; -#endif /* CONFIG_STM32H7_TIM15_PWM */ +#endif /* CONFIG_STM32H7_TIM15_PWM */ #ifdef CONFIG_STM32H7_TIM16_PWM @@ -1488,7 +1488,7 @@ static struct stm32_pwmtimer_s g_pwm16dev = .base = STM32_TIM16_BASE, .pclk = TIMCLK_TIM16, }; -#endif /* CONFIG_STM32H7_TIM16_PWM */ +#endif /* CONFIG_STM32H7_TIM16_PWM */ #ifdef CONFIG_STM32H7_TIM17_PWM @@ -1557,7 +1557,7 @@ static struct stm32_pwmtimer_s g_pwm17dev = .base = STM32_TIM17_BASE, .pclk = TIMCLK_TIM17, }; -#endif /* CONFIG_STM32H7_TIM17_PWM */ +#endif /* CONFIG_STM32H7_TIM17_PWM */ /* TODO: support for TIM19,20,21,22 */ @@ -1951,7 +1951,7 @@ static uint32_t pwm_ccr_get(FAR struct pwm_lowerhalf_s *dev, uint8_t index) return pwm_getreg(priv, offset); } -#endif /* CONFIG_STM32H7_PWM_LL_OPS */ +#endif /* CONFIG_STM32H7_PWM_LL_OPS */ /**************************************************************************** * Name: pwm_arr_update @@ -2577,7 +2577,7 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, { ccer &= ~(ATIM_CCER_CC1NP << ((channel-1)*4)); } -#endif /* HAVE_PWM_COMPLEMENTARY */ +#endif /* HAVE_PWM_COMPLEMENTARY */ #ifdef HAVE_IP_TIMERS_V2 /* TODO: OIS5 and OIS6 */ @@ -2587,12 +2587,12 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, /* TODO: CC5P and CC6P */ ccer &= ~(ATIM_CCER_CC5P | ATIM_CCER_CC6P); -#endif /* HAVE_IP_TIMERS_V2 */ +#endif /* HAVE_IP_TIMERS_V2 */ } #ifdef HAVE_GTIM_CCXNP else -#endif /* HAVE_GTIM_CCXNP */ -#endif /* HAVE_ADVTIM */ +#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_ADVTIM */ #ifdef HAVE_GTIM_CCXNP { /* CCxNP must be cleared if not ADVANCED timer. @@ -2603,7 +2603,7 @@ static int pwm_output_configure(FAR struct stm32_pwmtimer_s *priv, ccer &= ~(GTIM_CCER_CC1NP << ((channel-1)*4)); } -#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_GTIM_CCXNP */ /* Write registers */ @@ -2906,8 +2906,8 @@ static int pwm_break_dt_configure(FAR struct stm32_pwmtimer_s *priv) bdtr |= (priv->brk.flt2 << ATIM_BDTR_BK2F_SHIFT); } -#endif /* HAVE_IP_TIMERS_V2 */ -#endif /* HAVE_BREAK */ +#endif /* HAVE_IP_TIMERS_V2 */ +#endif /* HAVE_BREAK */ /* Clear the OSSI and OSSR bits in the BDTR register. * @@ -3465,7 +3465,7 @@ static int pwm_timer(FAR struct pwm_lowerhalf_s *dev, errout: return ret; } -#endif /* CONFIG_PWM_PULSECOUNT */ +#endif /* CONFIG_PWM_PULSECOUNT */ #ifdef HAVE_PWM_INTERRUPT @@ -3570,14 +3570,14 @@ static int pwm_tim1interrupt(int irq, void *context, FAR void *arg) { return pwm_interrupt((FAR struct pwm_lowerhalf_s *)&g_pwm1dev); } -#endif /* CONFIG_STM32H7_TIM1_PWM */ +#endif /* CONFIG_STM32H7_TIM1_PWM */ #ifdef CONFIG_STM32H7_TIM8_PWM static int pwm_tim8interrupt(int irq, void *context, FAR void *arg) { return pwm_interrupt((FAR struct pwm_lowerhalf_s *)&g_pwm8dev); } -#endif /* CONFIG_STM32H7_TIM8_PWM */ +#endif /* CONFIG_STM32H7_TIM8_PWM */ /**************************************************************************** * Name: pwm_pulsecount @@ -3625,7 +3625,7 @@ static uint8_t pwm_pulsecount(uint32_t count) return (uint8_t)ATIM_RCR_REP_MAX; } } -#endif /* HAVE_PWM_INTERRUPT */ +#endif /* HAVE_PWM_INTERRUPT */ /**************************************************************************** * Name: pwm_set_apb_clock @@ -4012,7 +4012,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev, } #else ret = pwm_duty_update(dev, priv->channels[0].channel, info->duty); -#endif /* CONFIG_PWM_MULTICHAN */ +#endif /* CONFIG_PWM_MULTICHAN */ } else { @@ -4028,7 +4028,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev, return ret; } -#endif /* CONFIG_PWM_PULSECOUNT */ +#endif /* CONFIG_PWM_PULSECOUNT */ /**************************************************************************** * Name: pwm_stop diff --git a/arch/arm/src/stm32h7/stm32_pwm.h b/arch/arm/src/stm32h7/stm32_pwm.h index 1ed2ec3a26..0ca6664e3d 100644 --- a/arch/arm/src/stm32h7/stm32_pwm.h +++ b/arch/arm/src/stm32h7/stm32_pwm.h @@ -1009,7 +1009,7 @@ struct stm32_pwm_ops_s #endif }; -#endif /* CONFIG_STM32H7_PWM_LL_OPS */ +#endif /* CONFIG_STM32H7_PWM_LL_OPS */ /************************************************************************************ * Public Data diff --git a/arch/arm/src/stm32h7/stm32_spi.c b/arch/arm/src/stm32h7/stm32_spi.c index a119a732de..b14220317b 100644 --- a/arch/arm/src/stm32h7/stm32_spi.c +++ b/arch/arm/src/stm32h7/stm32_spi.c @@ -156,7 +156,7 @@ # if SPI123_KERNEL_CLOCK_FREQ > 200000000 # error Not supported SPI123 frequency # endif -#endif /* SPI123 */ +#endif /* SPI123 */ #if defined(CONFIG_STM32H7_SPI4) || defined(CONFIG_STM32H7_SPI5) # if STM32_RCC_D2CCIP1R_SPI45SRC == RCC_D2CCIP1R_SPI45SEL_APB @@ -169,7 +169,7 @@ # if SPI45_KERNEL_CLOCK_FREQ > 100000000 # error Not supported SPI45 frequency # endif -#endif /* SPI45 */ +#endif /* SPI45 */ #if defined(CONFIG_STM32H7_SPI6) # if STM32_RCC_D3CCIPR_SPI6SRC == RCC_D3CCIPR_SPI6SEL_PCLK4 @@ -182,7 +182,7 @@ # if SPI6_KERNEL_CLOCK_FREQ > 100000000 # error Not supported SPI6 frequency # endif -#endif /* SPI6 */ +#endif /* SPI6 */ /************************************************************************************ * Private Types @@ -349,7 +349,7 @@ static struct stm32_spidev_s g_spi1dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI1 */ +#endif /* CONFIG_STM32H7_SPI1 */ #ifdef CONFIG_STM32H7_SPI2 static const struct spi_ops_s g_sp2iops = @@ -402,7 +402,7 @@ static struct stm32_spidev_s g_spi2dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI2 */ +#endif /* CONFIG_STM32H7_SPI2 */ #ifdef CONFIG_STM32H7_SPI3 static const struct spi_ops_s g_sp3iops = @@ -455,7 +455,7 @@ static struct stm32_spidev_s g_spi3dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI3 */ +#endif /* CONFIG_STM32H7_SPI3 */ #ifdef CONFIG_STM32H7_SPI4 static const struct spi_ops_s g_sp4iops = @@ -508,7 +508,7 @@ static struct stm32_spidev_s g_spi4dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI4 */ +#endif /* CONFIG_STM32H7_SPI4 */ #ifdef CONFIG_STM32H7_SPI5 static const struct spi_ops_s g_sp5iops = @@ -561,7 +561,7 @@ static struct stm32_spidev_s g_spi5dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI5 */ +#endif /* CONFIG_STM32H7_SPI5 */ #ifdef CONFIG_STM32H7_SPI6 static const struct spi_ops_s g_sp6iops = @@ -614,7 +614,7 @@ static struct stm32_spidev_s g_spi6dev = .pm_cb.prepare = spi_pm_prepare, #endif }; -#endif /* CONFIG_STM32H7_SPI6 */ +#endif /* CONFIG_STM32H7_SPI6 */ /************************************************************************************ * Private Functions diff --git a/arch/arm/src/stm32l4/stm32l4_pwm.c b/arch/arm/src/stm32l4/stm32l4_pwm.c index c3a5e6198f..dde1339fac 100644 --- a/arch/arm/src/stm32l4/stm32l4_pwm.c +++ b/arch/arm/src/stm32l4/stm32l4_pwm.c @@ -518,7 +518,7 @@ static struct stm32l4_pwmtimer_s g_pwm1dev = .base = STM32L4_TIM1_BASE, .pclk = STM32L4_APB2_TIM1_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM1_PWM */ +#endif /* CONFIG_STM32L4_TIM1_PWM */ #ifdef CONFIG_STM32L4_TIM2_PWM @@ -618,7 +618,7 @@ static struct stm32l4_pwmtimer_s g_pwm2dev = .pclk = STM32L4_APB1_TIM2_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM2_PWM */ +#endif /* CONFIG_STM32L4_TIM2_PWM */ #ifdef CONFIG_STM32L4_TIM3_PWM @@ -717,7 +717,7 @@ static struct stm32l4_pwmtimer_s g_pwm3dev = .base = STM32L4_TIM3_BASE, .pclk = STM32L4_APB1_TIM3_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM3_PWM */ +#endif /* CONFIG_STM32L4_TIM3_PWM */ #ifdef CONFIG_STM32L4_TIM4_PWM @@ -816,7 +816,7 @@ static struct stm32l4_pwmtimer_s g_pwm4dev = .base = STM32L4_TIM4_BASE, .pclk = STM32L4_APB1_TIM4_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM4_PWM */ +#endif /* CONFIG_STM32L4_TIM4_PWM */ #ifdef CONFIG_STM32L4_TIM5_PWM @@ -913,7 +913,7 @@ static struct stm32l4_pwmtimer_s g_pwm5dev = .base = STM32L4_TIM5_BASE, .pclk = STM32L4_APB1_TIM5_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM5_PWM */ +#endif /* CONFIG_STM32L4_TIM5_PWM */ #ifdef CONFIG_STM32L4_TIM8_PWM @@ -1079,7 +1079,7 @@ static struct stm32l4_pwmtimer_s g_pwm8dev = .base = STM32L4_TIM8_BASE, .pclk = STM32L4_APB2_TIM8_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM8_PWM */ +#endif /* CONFIG_STM32L4_TIM8_PWM */ #ifdef CONFIG_STM32L4_TIM15_PWM @@ -1164,7 +1164,7 @@ static struct stm32l4_pwmtimer_s g_pwm15dev = .base = STM32L4_TIM15_BASE, .pclk = STM32L4_APB2_TIM15_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM15_PWM */ +#endif /* CONFIG_STM32L4_TIM15_PWM */ #ifdef CONFIG_STM32L4_TIM16_PWM @@ -1233,7 +1233,7 @@ static struct stm32l4_pwmtimer_s g_pwm16dev = .base = STM32L4_TIM16_BASE, .pclk = STM32L4_APB2_TIM16_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM16_PWM */ +#endif /* CONFIG_STM32L4_TIM16_PWM */ #ifdef CONFIG_STM32L4_TIM17_PWM @@ -1302,7 +1302,7 @@ static struct stm32l4_pwmtimer_s g_pwm17dev = .base = STM32L4_TIM17_BASE, .pclk = STM32L4_APB2_TIM17_CLKIN, }; -#endif /* CONFIG_STM32L4_TIM17_PWM */ +#endif /* CONFIG_STM32L4_TIM17_PWM */ #ifdef CONFIG_STM32L4_LPTIM1_PWM @@ -1361,7 +1361,7 @@ static struct stm32l4_pwmtimer_s g_pwmlp1dev = .pclk = STM32L4_HSI_FREQUENCY, #endif }; -#endif /* CONFIG_STM32L4_LPTIM1_PWM */ +#endif /* CONFIG_STM32L4_LPTIM1_PWM */ #ifdef CONFIG_STM32L4_LPTIM2_PWM @@ -1420,7 +1420,7 @@ static struct stm32l4_pwmtimer_s g_pwmlp2dev = .pclk = STM32L4_HSI_FREQUENCY, #endif }; -#endif /* CONFIG_STM32L4_LPTIM2_PWM */ +#endif /* CONFIG_STM32L4_LPTIM2_PWM */ /**************************************************************************** * Private Functions @@ -1748,7 +1748,7 @@ static uint32_t pwm_ccr_get(FAR struct pwm_lowerhalf_s *dev, uint8_t index) return pwm_getreg(priv, offset); } -#endif /* CONFIG_STM32L4_PWM_LL_OPS */ +#endif /* CONFIG_STM32L4_PWM_LL_OPS */ /**************************************************************************** * Name: pwm_arr_update @@ -2484,7 +2484,7 @@ static int pwm_output_configure(FAR struct stm32l4_pwmtimer_s *priv, { ccer &= ~(ATIM_CCER_CC1NP << ((channel - 1) * 4)); } -#endif /* HAVE_PWM_COMPLEMENTARY */ +#endif /* HAVE_PWM_COMPLEMENTARY */ /* TODO: OIS5 and OIS6 */ @@ -2496,8 +2496,8 @@ static int pwm_output_configure(FAR struct stm32l4_pwmtimer_s *priv, } #ifdef HAVE_GTIM_CCXNP else -#endif /* HAVE_GTIM_CCXNP */ -#endif /* HAVE_ADVTIM */ +#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_ADVTIM */ #ifdef HAVE_GTIM_CCXNP { /* CCxNP must be cleared if not ADVANCED timer. @@ -2508,7 +2508,7 @@ static int pwm_output_configure(FAR struct stm32l4_pwmtimer_s *priv, ccer &= ~(GTIM_CCER_CC1NP << ((channel - 1) * 4)); } -#endif /* HAVE_GTIM_CCXNP */ +#endif /* HAVE_GTIM_CCXNP */ /* Write registers */ @@ -2777,7 +2777,7 @@ static int pwm_break_dt_configure(FAR struct stm32l4_pwmtimer_s *priv) bdtr |= (priv->brk.flt2 << ATIM_BDTR_BK2F_SHIFT); } -#endif /* HAVE_BREAK */ +#endif /* HAVE_BREAK */ /* Clear the OSSI and OSSR bits in the BDTR register. * @@ -3330,7 +3330,7 @@ errout: } #endif /* HAVE_LPTIM */ -#endif /* CONFIG_PWM_PULSECOUNT */ +#endif /* CONFIG_PWM_PULSECOUNT */ #ifdef HAVE_PWM_INTERRUPT diff --git a/arch/arm/src/stm32l4/stm32l4_pwm.h b/arch/arm/src/stm32l4/stm32l4_pwm.h index 01832e2279..72068576f9 100644 --- a/arch/arm/src/stm32l4/stm32l4_pwm.h +++ b/arch/arm/src/stm32l4/stm32l4_pwm.h @@ -1015,7 +1015,7 @@ struct stm32l4_pwm_ops_s #endif }; -#endif /* CONFIG_STM32L4_PWM_LL_OPS */ +#endif /* CONFIG_STM32L4_PWM_LL_OPS */ /**************************************************************************** * Public Data diff --git a/arch/arm/src/stm32l4/stm32l4xrxx_dma.c b/arch/arm/src/stm32l4/stm32l4xrxx_dma.c index 8b495a5044..5cd1daa867 100644 --- a/arch/arm/src/stm32l4/stm32l4xrxx_dma.c +++ b/arch/arm/src/stm32l4/stm32l4xrxx_dma.c @@ -873,7 +873,7 @@ static void stm32l4_dma12_dump(DMA_HANDLE handle, } #endif -#endif /* CONFIG_STM32L4_DMA1 || CONFIG_STM32L4_DMA2 */ +#endif /* CONFIG_STM32L4_DMA1 || CONFIG_STM32L4_DMA2 */ /**************************************************************************** * Name: stm32l4_dmamux_sample diff --git a/arch/avr/src/avr/avr.h b/arch/avr/src/avr/avr.h index 4e5f72e1e5..2687fdea1d 100644 --- a/arch/avr/src/avr/avr.h +++ b/arch/avr/src/avr/avr.h @@ -190,4 +190,4 @@ int avr_spicmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_AVR_SRC_AVR_AVR_H */ +#endif /* __ARCH_AVR_SRC_AVR_AVR_H */ diff --git a/arch/avr/src/avr32/avr32.h b/arch/avr/src/avr32/avr32.h index 384bb49ad4..94f55cf5f0 100644 --- a/arch/avr/src/avr32/avr32.h +++ b/arch/avr/src/avr32/avr32.h @@ -135,4 +135,4 @@ void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); uint32_t *up_doirq(int irq, uint32_t *regs); #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_AVR_SRC_AVR32_AVR32_H */ +#endif /* __ARCH_AVR_SRC_AVR32_AVR32_H */ diff --git a/arch/avr/src/common/up_internal.h b/arch/avr/src/common/up_internal.h index 889ec40468..09def06cca 100644 --- a/arch/avr/src/common/up_internal.h +++ b/arch/avr/src/common/up_internal.h @@ -191,4 +191,4 @@ void up_usbuninitialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __UP_INTERNAL_H */ +#endif /* __UP_INTERNAL_H */ diff --git a/arch/hc/src/common/up_arch.h b/arch/hc/src/common/up_arch.h index b788ecdf29..5ab0fd8b48 100644 --- a/arch/hc/src/common/up_arch.h +++ b/arch/hc/src/common/up_arch.h @@ -90,4 +90,4 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_HC_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_HC_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/hc/src/common/up_internal.h b/arch/hc/src/common/up_internal.h index f2b8d3e23c..6922270a72 100644 --- a/arch/hc/src/common/up_internal.h +++ b/arch/hc/src/common/up_internal.h @@ -214,4 +214,4 @@ void up_usbuninitialize(void); #endif /* __ASSEMBLY__ */ -#endif /* __UP_INTERNAL_H */ +#endif /* __UP_INTERNAL_H */ diff --git a/arch/mips/src/common/up_arch.h b/arch/mips/src/common/up_arch.h index 8b1ee01e81..aad859ea47 100644 --- a/arch/mips/src/common/up_arch.h +++ b/arch/mips/src/common/up_arch.h @@ -87,4 +87,4 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_MIPS_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_MIPS_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/mips/src/common/up_internal.h b/arch/mips/src/common/up_internal.h index fcdf9a34e8..d4ccdb1624 100644 --- a/arch/mips/src/common/up_internal.h +++ b/arch/mips/src/common/up_internal.h @@ -284,4 +284,4 @@ void up_usbuninitialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_MIPS_SRC_COMMON_UP_INTERNAL_H */ +#endif /* __ARCH_MIPS_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/mips/src/pic32mx/pic32mx-ethernet.c b/arch/mips/src/pic32mx/pic32mx-ethernet.c index 3ecfe5efb6..3c2a5a0219 100644 --- a/arch/mips/src/pic32mx/pic32mx-ethernet.c +++ b/arch/mips/src/pic32mx/pic32mx-ethernet.c @@ -2245,7 +2245,7 @@ static int pic32mx_ifup(struct net_driver_s *dev) pic32mx_putreg(CONFIG_NET_ETH_PKTSIZE, PIC32MX_EMAC1_MAXF); - /* Configure the MAC station address in the EMAC1SA0, EMAC1SA1 and + /* Configure the MAC station address in the EMAC1SA0, EMAC1SA1 and * EMAC1SA2 registers (these registers are loaded at reset from the * factory preprogrammed station address). */ diff --git a/arch/mips/src/pic32mx/pic32mx-usbdev.c b/arch/mips/src/pic32mx/pic32mx-usbdev.c index ea99c9a634..68b01cbe0c 100644 --- a/arch/mips/src/pic32mx/pic32mx-usbdev.c +++ b/arch/mips/src/pic32mx/pic32mx-usbdev.c @@ -2708,7 +2708,7 @@ static int pic32mx_interrupt(int irq, void *context, FAR void *arg) priv->devstate = DEVSTATE_POWERED; } -#ifdef CONFIG_USBOTG +#ifdef CONFIG_USBOTG /* Check if the ID Pin Changed State */ if (otgir & USBOTG_INT_ID) != 0) @@ -2780,7 +2780,7 @@ static int pic32mx_interrupt(int irq, void *context, FAR void *arg) { usbtrace(TRACE_INTDECODE(PIC32MX_TRACEINTID_IDLE), usbir); -#ifdef CONFIG_USBOTG +#ifdef CONFIG_USBOTG /* If Suspended, Try to switch to Host */ #warning "Missing logic" #else diff --git a/arch/misoc/include/minerva/syscall.h b/arch/misoc/include/minerva/syscall.h index e1f5fa81cb..da234ac377 100644 --- a/arch/misoc/include/minerva/syscall.h +++ b/arch/misoc/include/minerva/syscall.h @@ -204,5 +204,5 @@ uintptr_t sys_call5(unsigned int nbr, uintptr_t parm1, uintptr_t parm2, } #endif -#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_MISOC_INCLUDE_MINERVA_SYSCALL_H */ +#endif /* __ASSEMBLY__ */ +#endif /* __ARCH_MISOC_INCLUDE_MINERVA_SYSCALL_H */ diff --git a/arch/misoc/include/minerva/types.h b/arch/misoc/include/minerva/types.h index 625a542c0b..061d9ea822 100644 --- a/arch/misoc/include/minerva/types.h +++ b/arch/misoc/include/minerva/types.h @@ -90,5 +90,5 @@ typedef unsigned int irqstate_t; * Public Function Prototypes ****************************************************************************/ -#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_MISOC_INCLUDE_MINERVA_TYPES_H */ +#endif /* __ASSEMBLY__ */ +#endif /* __ARCH_MISOC_INCLUDE_MINERVA_TYPES_H */ diff --git a/arch/misoc/src/lm32/chip.h b/arch/misoc/src/lm32/chip.h index 4606198515..f49eb756c5 100644 --- a/arch/misoc/src/lm32/chip.h +++ b/arch/misoc/src/lm32/chip.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_MISOC_SRC_LM32_CHIP_H -#define __ARCH_MISOC_SRC_LM32_CHIP_H 1 +#define __ARCH_MISOC_SRC_LM32_CHIP_H /**************************************************************************** * Inline Functions diff --git a/arch/misoc/src/lm32/lm32_swint.c b/arch/misoc/src/lm32/lm32_swint.c index edab9a714d..a5970f5b72 100644 --- a/arch/misoc/src/lm32/lm32_swint.c +++ b/arch/misoc/src/lm32/lm32_swint.c @@ -105,7 +105,7 @@ static void dispatch_syscall(void) # error "Missing logic" /* Refer to arch/arm/src/armv7-m/up_svcall.h for how this is done for ARM */ -/* __asm__ __volatile__ */ +/* __asm__ __volatile__ */ /* ( */ /* Save registers */ /* Get the base of the stub lookup table */ diff --git a/arch/misoc/src/minerva/chip.h b/arch/misoc/src/minerva/chip.h index ceddbcb246..f6cdb8efba 100644 --- a/arch/misoc/src/minerva/chip.h +++ b/arch/misoc/src/minerva/chip.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_MISOC_SRC_MINERVA_CHIP_H -#define __ARCH_MISOC_SRC_MINERVA_CHIP_H 1 +#define __ARCH_MISOC_SRC_MINERVA_CHIP_H /**************************************************************************** * Inline Functions @@ -135,4 +135,4 @@ static inline unsigned int irq_pending(void) * Public Function Prototypes ****************************************************************************/ -#endif /* __ARCH_MISOC_SRC_MINERVA_CHIP_H */ +#endif /* __ARCH_MISOC_SRC_MINERVA_CHIP_H */ diff --git a/arch/misoc/src/minerva/minerva.h b/arch/misoc/src/minerva/minerva.h index 508025d05f..63e2014dea 100644 --- a/arch/misoc/src/minerva/minerva.h +++ b/arch/misoc/src/minerva/minerva.h @@ -166,5 +166,5 @@ void minerva_flush_icache(void); void minerva_dumpstate(void); -#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_H */ +#endif /* __ASSEMBLY__ */ +#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_H */ diff --git a/arch/misoc/src/minerva/minerva_config.h b/arch/misoc/src/minerva/minerva_config.h index af62235c28..f03c4a8fba 100644 --- a/arch/misoc/src/minerva/minerva_config.h +++ b/arch/misoc/src/minerva/minerva_config.h @@ -79,4 +79,4 @@ # undef HAVE_SERIAL_CONSOLE #endif -#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_CONFIG_H */ +#endif /* __ARCH_MISOC_SRC_MINERVA_MINERVA_CONFIG_H */ diff --git a/arch/misoc/src/minerva/minerva_dumpstate.c b/arch/misoc/src/minerva/minerva_dumpstate.c index 72eedfc60c..f02f2dd4c0 100644 --- a/arch/misoc/src/minerva/minerva_dumpstate.c +++ b/arch/misoc/src/minerva/minerva_dumpstate.c @@ -228,4 +228,4 @@ void minerva_dumpstate(void) } } -#endif /* CONFIG_ARCH_STACKDUMP */ +#endif /* CONFIG_ARCH_STACKDUMP */ diff --git a/arch/or1k/src/common/up_arch.h b/arch/or1k/src/common/up_arch.h index 0ee5462197..321affa96b 100644 --- a/arch/or1k/src/common/up_arch.h +++ b/arch/or1k/src/common/up_arch.h @@ -83,4 +83,4 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_OR1K_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_OR1K_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/or1k/src/common/up_internal.h b/arch/or1k/src/common/up_internal.h index 5104a2d8f1..1e1abc1172 100644 --- a/arch/or1k/src/common/up_internal.h +++ b/arch/or1k/src/common/up_internal.h @@ -386,4 +386,4 @@ void up_stack_color(FAR void *stackbase, size_t nbytes); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_OR1K_SRC_COMMON_UP_INTERNAL_H */ +#endif /* __ARCH_OR1K_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/or1k/src/mor1kx/mor1kx_start.h b/arch/or1k/src/mor1kx/mor1kx_start.h index 02d5c9c734..da23192741 100644 --- a/arch/or1k/src/mor1kx/mor1kx_start.h +++ b/arch/or1k/src/mor1kx/mor1kx_start.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H -#define __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H 1 +#define __ARCH_OR1K_SRC_MOR1KX_MOR1KX_START_H /**************************************************************************** * Included Files diff --git a/arch/renesas/include/rx65n/iodefine.h b/arch/renesas/include/rx65n/iodefine.h index 44139ba7d9..915d86a91a 100644 --- a/arch/renesas/include/rx65n/iodefine.h +++ b/arch/renesas/include/rx65n/iodefine.h @@ -18045,5 +18045,5 @@ typedef struct st_cmtw #pragma pack() -#endif /* __ASSEMBLER__ */ +#endif /* __ASSEMBLER__ */ #endif diff --git a/arch/renesas/include/rx65n/irq.h b/arch/renesas/include/rx65n/irq.h index 8cf9d0d9d1..48cebb2f6a 100644 --- a/arch/renesas/include/rx65n/irq.h +++ b/arch/renesas/include/rx65n/irq.h @@ -1071,6 +1071,6 @@ static inline void up_irq_restore(irqstate_t flags) } } -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ -#endif /* __ARCH_RENESAS_INCLUDE_RX65N_IRQ_H */ +#endif /* __ARCH_RENESAS_INCLUDE_RX65N_IRQ_H */ diff --git a/arch/renesas/src/common/up_arch.h b/arch/renesas/src/common/up_arch.h index 5637ddf5a2..a828ad7dee 100644 --- a/arch/renesas/src/common/up_arch.h +++ b/arch/renesas/src/common/up_arch.h @@ -67,4 +67,4 @@ #endif -#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/renesas/src/common/up_internal.h b/arch/renesas/src/common/up_internal.h index e49c2b5017..171f4fc8a2 100644 --- a/arch/renesas/src/common/up_internal.h +++ b/arch/renesas/src/common/up_internal.h @@ -227,4 +227,4 @@ void up_dumpstate(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_INTERNAL_H */ +#endif /* ___ARCH_RENESAS_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/renesas/src/rx65n/rx65n_definitions.h b/arch/renesas/src/rx65n/rx65n_definitions.h index 8fbf431322..22b23783c4 100644 --- a/arch/renesas/src/rx65n/rx65n_definitions.h +++ b/arch/renesas/src/rx65n/rx65n_definitions.h @@ -499,6 +499,6 @@ enum E_RX_SCI RX_SCI_RDRHL_OFFSET, RX_SCI_MDDR_OFFSET }; -#endif /* __ASSEMBLER__ */ +#endif /* __ASSEMBLER__ */ #endif /* __ARCH_RENESAS_SRC_RX65N_RX65N_DEFINITIONS_H */ diff --git a/arch/renesas/src/rx65n/rx65n_sci.c b/arch/renesas/src/rx65n/rx65n_sci.c index 138257bc5e..c82e68a99e 100644 --- a/arch/renesas/src/rx65n/rx65n_sci.c +++ b/arch/renesas/src/rx65n/rx65n_sci.c @@ -50,7 +50,7 @@ * Public Data ****************************************************************************/ -#ifdef CONFIG_RX65N_SCI0 +#ifdef CONFIG_RX65N_SCI0 /* SCI0 transmit buffer address */ volatile uint8_t *gp_sci0_tx_address; @@ -94,7 +94,7 @@ volatile uint16_t g_sci1_rx_count; volatile uint16_t g_sci1_rx_length; #endif -#ifdef CONFIG_RX65N_SCI2 +#ifdef CONFIG_RX65N_SCI2 /* SCI2 transmit buffer address */ volatile uint8_t *gp_sci2_tx_address; @@ -116,7 +116,7 @@ volatile uint16_t g_sci2_rx_count; volatile uint16_t g_sci2_rx_length; #endif -#ifdef CONFIG_RX65N_SCI3 +#ifdef CONFIG_RX65N_SCI3 /* SCI3 transmit buffer address */ volatile uint8_t *gp_sci3_tx_address; @@ -389,7 +389,7 @@ static inline void rx_mpc_disable(void) * SCI0 Initialization ****************************************************************************/ -#ifdef CONFIG_RX65N_SCI0 +#ifdef CONFIG_RX65N_SCI0 static inline void sci0_init_port(void) { #ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE @@ -404,7 +404,7 @@ static inline void sci0_init_port(void) MPC.P20PFS.BYTE = 0x0au; PORT2.PDR.BIT.BT0 = 1u; PORT2.PMR.BIT.BT0 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -418,7 +418,7 @@ static inline void sci0_init_port(void) #ifdef CONFIG_RX65N_SCI1 static inline void sci1_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB +#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB /* Set RXD1 pin (PF2) */ MPC.PF2PFS.BYTE = 0x0au; @@ -431,9 +431,9 @@ static inline void sci1_init_port(void) PORTF.PDR.BIT.B1 = 1u; PORTF.PMR.BIT.B1 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ +#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ -#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE +#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD1 pin (P30) */ MPC.P30PFS.BYTE = 0x0au; @@ -445,7 +445,7 @@ static inline void sci1_init_port(void) MPC.P26PFS.BYTE = 0x0au; PORT2.PDR.BIT.B6 = 1u; PORT2.PMR.BIT.B6 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -459,7 +459,7 @@ static inline void sci1_init_port(void) #ifdef CONFIG_RX65N_SCI2 static inline void sci2_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_RSK1MB +#ifdef CONFIG_ARCH_BOARD_RX65N_RSK1MB /* Set RXD2 pin (P52) */ MPC.P52PFS.BYTE = 0x0au; @@ -471,9 +471,9 @@ static inline void sci2_init_port(void) MPC.P50PFS.BYTE = 0x0au; PORT5.PDR.BIT.BT0 = 1u; PORT5.PMR.BIT.BT0 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_RSK1MB */ +#endif /* CONFIG_ARCH_BOARD_RX65N_RSK1MB */ -#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB +#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB /* Set RXD2 pin (P52) */ MPC.P52PFS.BYTE = 0x0au; @@ -485,9 +485,9 @@ static inline void sci2_init_port(void) MPC.P50PFS.BYTE = 0x0au; PORT5.PDR.BIT.BT0 = 1u; PORT5.PMR.BIT.BT0 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ +#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ -#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE +#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD2 pin (P12) */ MPC.P12PFS.BYTE = 0x0au; @@ -499,7 +499,7 @@ static inline void sci2_init_port(void) MPC.P13PFS.BYTE = 0x0au; PORT1.PDR.BIT.B3 = 1u; PORT1.PMR.BIT.B3 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -523,7 +523,7 @@ static inline void sci3_init_port(void) * PORTX.PMR.BIT.BX = 1u; */ -#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE +#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD2 pin (P25) */ MPC.P25PFS.BYTE = 0x0au; @@ -535,7 +535,7 @@ static inline void sci3_init_port(void) MPC.P23PFS.BYTE = 0x0au; PORT2.PDR.BIT.B3 = 1u; PORT2.PMR.BIT.B3 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -571,7 +571,7 @@ static inline void sci4_init_port(void) #ifdef CONFIG_RX65N_SCI5 static inline void sci5_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE +#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD3 pin (PC2) */ @@ -584,7 +584,7 @@ static inline void sci5_init_port(void) MPC.PC3PFS.BYTE = 0x0au; PORTC.PDR.BIT.B3 = 1u; PORTC.PMR.BIT.B3 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -598,7 +598,7 @@ static inline void sci5_init_port(void) #ifdef CONFIG_RX65N_SCI6 static inline void sci6_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE +#ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD6 pin (P33) */ @@ -611,7 +611,7 @@ static inline void sci6_init_port(void) MPC.P32PFS.BYTE = 0x0au; PORT3.PDR.BIT.B2 = 1u; PORT3.PMR.BIT.B2 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -647,7 +647,7 @@ static inline void sci7_init_port(void) #ifdef CONFIG_RX65N_SCI8 static inline void sci8_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB +#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB /* Set RXD8 pin (PJ1) */ MPC.PJ1PFS.BYTE = 0x0au; @@ -659,7 +659,7 @@ static inline void sci8_init_port(void) MPC.PJ2PFS.BYTE = 0x0au; PORTJ.PDR.BIT.B2 = 1u; PORTJ.PMR.BIT.B2 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ +#endif /* CONFIG_ARCH_BOARD_RX65N_RSK2MB */ #ifdef CONFIG_ARCH_BOARD_RX65N_GRROSE /* Set RXD8 pin (PC6) */ @@ -673,7 +673,7 @@ static inline void sci8_init_port(void) MPC.PC7PFS.BYTE = 0x0au; PORTC.PDR.BIT.B7 = 1u; PORTC.PMR.BIT.B7 = 1u; -#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ +#endif /* CONFIG_ARCH_BOARD_RX65N_GRROSE */ } #endif @@ -753,7 +753,7 @@ static inline void sci11_init_port(void) #ifdef CONFIG_RX65N_SCI12 static inline void sci12_init_port(void) { -#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB +#ifdef CONFIG_ARCH_BOARD_RX65N_RSK2MB /* Set RXD12 pin */ diff --git a/arch/renesas/src/rx65n/rx65n_sci.h b/arch/renesas/src/rx65n/rx65n_sci.h index 751bc6da97..73c37c6706 100644 --- a/arch/renesas/src/rx65n/rx65n_sci.h +++ b/arch/renesas/src/rx65n/rx65n_sci.h @@ -1395,4 +1395,4 @@ void r_sci12_start(void); void r_sci12_stop(void); -#endif /* __ARCH_RENESAS_SRC_RX65N_SCI_H */ +#endif /* __ARCH_RENESAS_SRC_RX65N_SCI_H */ diff --git a/arch/renesas/src/rx65n/rx65n_vector.S b/arch/renesas/src/rx65n/rx65n_vector.S index 5d9adfb55e..607a8d116c 100644 --- a/arch/renesas/src/rx65n/rx65n_vector.S +++ b/arch/renesas/src/rx65n/rx65n_vector.S @@ -196,7 +196,7 @@ _up_num_irq: _up_vector: SETPSW I /* Re-enable interrupts. */ PUSHREGS -#ifdef RX65N_INTERRUPT_IPL +#ifdef RX65N_INTERRUPT_IPL /* Ensure the interrupt mask is set to the syscall priority while the kernel * structures are being accessed. @@ -220,7 +220,7 @@ _up_vector: SMOVF /* while(R3 > 0) {*R1++ = *R2++; R3--; } */ NOP .lint_contextswitch: -#ifdef RX65N_INTERRUPT_IPL +#ifdef RX65N_INTERRUPT_IPL /* Reset the interrupt mask as no more data structure access is required. */ @@ -597,7 +597,7 @@ _uprx65_groupal1_handler: RTE NOP -#endif /* CONFIG_RX65N_IRQ_GROUP */ +#endif /* CONFIG_RX65N_IRQ_GROUP */ #ifdef CONFIG_RX65N_SCI11 trampoline RX65N_RXI11_IRQ, _uprx65_rxi11_handler diff --git a/arch/renesas/src/rx65n/rx65n_vector_table.c b/arch/renesas/src/rx65n/rx65n_vector_table.c index e820bbd0b0..2a3f897172 100644 --- a/arch/renesas/src/rx65n/rx65n_vector_table.c +++ b/arch/renesas/src/rx65n/rx65n_vector_table.c @@ -107,7 +107,7 @@ const unsigned long __ofs1reg OFS_REG = 0xffffffff; /* OFS1 register */ void r_undefined_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -121,7 +121,7 @@ void r_undefined_exception(void) void r_reserved_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -135,7 +135,7 @@ void r_reserved_exception(void) void r_nmi_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -149,7 +149,7 @@ void r_nmi_exception(void) void r_brk_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -163,7 +163,7 @@ void r_brk_exception(void) void r_privileged_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -177,7 +177,7 @@ void r_privileged_exception(void) void r_access_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } @@ -190,7 +190,7 @@ void r_access_exception(void) void r_floatingpoint_exception(void) { -#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS +#ifdef __USE_DEBUG_NOP_FOR_BREAKPOINTS __asm("nop"); #endif } diff --git a/arch/risc-v/include/rv32im/irq.h b/arch/risc-v/include/rv32im/irq.h index 7694175849..7b3c4d6ec5 100644 --- a/arch/risc-v/include/rv32im/irq.h +++ b/arch/risc-v/include/rv32im/irq.h @@ -344,7 +344,7 @@ struct xcptcontext uint32_t regs[XCPTCONTEXT_REGS]; }; -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ /**************************************************************************** * Public Variables diff --git a/arch/risc-v/include/rv64gc/irq.h b/arch/risc-v/include/rv64gc/irq.h index a39a0ac5fc..939c43f910 100644 --- a/arch/risc-v/include/rv64gc/irq.h +++ b/arch/risc-v/include/rv64gc/irq.h @@ -339,7 +339,7 @@ struct xcptcontext uint64_t regs[XCPTCONTEXT_REGS]; }; -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ /**************************************************************************** * Public Variables diff --git a/arch/risc-v/src/common/up_arch.h b/arch/risc-v/src/common/up_arch.h index 9184acccae..8720fdfcf2 100644 --- a/arch/risc-v/src/common/up_arch.h +++ b/arch/risc-v/src/common/up_arch.h @@ -85,4 +85,4 @@ void modifyreg32(uintptr_t addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_ARM_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_ARM_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/risc-v/src/fe310/fe310_memorymap.h b/arch/risc-v/src/fe310/fe310_memorymap.h index 43b9bf23bd..7cd52ace1c 100644 --- a/arch/risc-v/src/fe310/fe310_memorymap.h +++ b/arch/risc-v/src/fe310/fe310_memorymap.h @@ -59,4 +59,4 @@ #define FE310_IDLESTACK_SIZE (CONFIG_IDLETHREAD_STACKSIZE & ~3) #define FE310_IDLESTACK_TOP (FE310_IDLESTACK_BASE + FE310_IDLESTACK_SIZE) -#endif /* _ARCH_RISCV_SRC_FE310_FE310_MEMORYMAP_H */ +#endif /* _ARCH_RISCV_SRC_FE310_FE310_MEMORYMAP_H */ diff --git a/arch/risc-v/src/fe310/hardware/fe310_uart.h b/arch/risc-v/src/fe310/hardware/fe310_uart.h index 9a3a98d578..ace716d748 100644 --- a/arch/risc-v/src/fe310/hardware/fe310_uart.h +++ b/arch/risc-v/src/fe310/hardware/fe310_uart.h @@ -69,4 +69,4 @@ #define UART_IP_TXWM (1 << 0) /* TX wartermark pending (in IP) */ #define UART_IP_RXWM (1 << 1) /* RX wartermark pending (in IP) */ -#endif /* _ARCH_RISCV_SRC_FE310_CHIP_FE310_UART_H */ +#endif /* _ARCH_RISCV_SRC_FE310_CHIP_FE310_UART_H */ diff --git a/arch/risc-v/src/gap8/gap8.h b/arch/risc-v/src/gap8/gap8.h index e6cc5aee1a..c4fa99dede 100644 --- a/arch/risc-v/src/gap8/gap8.h +++ b/arch/risc-v/src/gap8/gap8.h @@ -2025,4 +2025,4 @@ typedef struct #endif -#endif /* __ARCH_RISC_V_SRC_GAP8_GAP8_H */ +#endif /* __ARCH_RISC_V_SRC_GAP8_GAP8_H */ diff --git a/arch/risc-v/src/k210/hardware/k210_uart.h b/arch/risc-v/src/k210/hardware/k210_uart.h index cbd694a567..a25918a508 100644 --- a/arch/risc-v/src/k210/hardware/k210_uart.h +++ b/arch/risc-v/src/k210/hardware/k210_uart.h @@ -69,4 +69,4 @@ #define UART_IP_TXWM (1 << 0) /* TX wartermark pending (in IP) */ #define UART_IP_RXWM (1 << 1) /* RX wartermark pending (in IP) */ -#endif /* _ARCH_RISCV_SRC_K210_CHIP_K210_UART_H */ +#endif /* _ARCH_RISCV_SRC_K210_CHIP_K210_UART_H */ diff --git a/arch/risc-v/src/k210/k210_memorymap.h b/arch/risc-v/src/k210/k210_memorymap.h index bec13c8810..6fe608e0cd 100644 --- a/arch/risc-v/src/k210/k210_memorymap.h +++ b/arch/risc-v/src/k210/k210_memorymap.h @@ -61,4 +61,4 @@ #define K210_IDLESTACK_TOP (K210_IDLESTACK1_TOP) -#endif /* _ARCH_RISCV_SRC_K210_K210_MEMORYMAP_H */ +#endif /* _ARCH_RISCV_SRC_K210_K210_MEMORYMAP_H */ diff --git a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_epic.h b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_epic.h index 3aa3756f99..a4111add3b 100644 --- a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_epic.h +++ b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_epic.h @@ -38,4 +38,4 @@ #define NR5_EPIC_PRI3_REG 0x7E3 #define NR5_EPIC_STAT_REG 0x7E4 -#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_EPIC_H */ +#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_EPIC_H */ diff --git a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_timer.h b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_timer.h index 99cafd55f3..15c1280f22 100644 --- a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_timer.h +++ b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_timer.h @@ -186,4 +186,4 @@ # define TIMERA_TAIV_TACCR2 (2 << TIMERA_TAIV_TAIV_SHIFT) # define TIMERA_TAIV_TAIFG (5 << TIMERA_TAIV_TAIV_SHIFT) -#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_TIMERA_H */ +#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_TIMERA_H */ diff --git a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_uart.h b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_uart.h index ba9b728652..6805f19cf2 100644 --- a/arch/risc-v/src/nr5m100/hardware/nr5m1xx_uart.h +++ b/arch/risc-v/src/nr5m100/hardware/nr5m1xx_uart.h @@ -72,4 +72,4 @@ #define NR5_UART_CTRL_ENABLE_RX_IRQ 0x01 #define NR5_UART_CTRL_ENABLE_TX_IRQ 0x02 -#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_UART_H */ +#endif /* _ARCH_RISCV_SRC_NR5M100_CHIP_NR5M1XX_UART_H */ diff --git a/arch/risc-v/src/nr5m100/nr5_memorymap.h b/arch/risc-v/src/nr5m100/nr5_memorymap.h index 22f7ea2b9a..b51a07efb7 100644 --- a/arch/risc-v/src/nr5m100/nr5_memorymap.h +++ b/arch/risc-v/src/nr5m100/nr5_memorymap.h @@ -39,4 +39,4 @@ #include "hardware/nr5m1xx_memorymap.h" #endif -#endif /* _ARCH_RISCV_SRC_NR5M100_NR5_MEMORYMAP_H */ +#endif /* _ARCH_RISCV_SRC_NR5M100_NR5_MEMORYMAP_H */ diff --git a/arch/risc-v/src/nr5m100/nr5_uart.h b/arch/risc-v/src/nr5m100/nr5_uart.h index a2aafd979a..d95f5be484 100644 --- a/arch/risc-v/src/nr5m100/nr5_uart.h +++ b/arch/risc-v/src/nr5m100/nr5_uart.h @@ -45,4 +45,4 @@ int nr5_uart_test_rx_avail(void); int nr5_uart_test_tx_empty(void); void nr5_uart_put_tx(uint8_t ch); -#endif /* _ARCH_RISCV_SRC_NR5_NR5_UART_H */ +#endif /* _ARCH_RISCV_SRC_NR5_NR5_UART_H */ diff --git a/arch/risc-v/src/rv32im/up_swint.c b/arch/risc-v/src/rv32im/up_swint.c index 2527062517..6f6b559fda 100644 --- a/arch/risc-v/src/rv32im/up_swint.c +++ b/arch/risc-v/src/rv32im/up_swint.c @@ -103,7 +103,7 @@ static void dispatch_syscall(void) # error "Missing logic" /* Refer to arch/arm/src/armv7-m/up_svcall.h for how this is done for ARM */ -/* __asm__ __volatile__ */ +/* __asm__ __volatile__ */ /* ( */ /* Save registers */ /* Get the base of the stub lookup table */ diff --git a/arch/sim/include/tls.h b/arch/sim/include/tls.h index 6df7505714..1f768b1f07 100644 --- a/arch/sim/include/tls.h +++ b/arch/sim/include/tls.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_SIM_INCLUDE_TLS_H -#define __ARCH_SIM_INCLUDE_TLS_H 1 +#define __ARCH_SIM_INCLUDE_TLS_H /**************************************************************************** * Included Files diff --git a/arch/x86/src/common/up_arch.h b/arch/x86/src/common/up_arch.h index b3c316e889..3cf27a8320 100644 --- a/arch/x86/src/common/up_arch.h +++ b/arch/x86/src/common/up_arch.h @@ -88,4 +88,4 @@ void modifyreg32(unsigned int addr, uint32_t clearbits, uint32_t setbits); #endif #endif /* __ASSEMBLY__ */ -#endif /* ___ARCH_X86_SRC_COMMON_UP_ARCH_H */ +#endif /* ___ARCH_X86_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/x86/src/common/up_internal.h b/arch/x86/src/common/up_internal.h index 7d3159c03a..8da9f3cb86 100644 --- a/arch/x86/src/common/up_internal.h +++ b/arch/x86/src/common/up_internal.h @@ -245,4 +245,4 @@ void up_usbuninitialize(void); #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_X86_SRC_COMMON_UP_INTERNAL_H */ +#endif /* __ARCH_X86_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/xtensa/src/common/xtensa.h b/arch/xtensa/src/common/xtensa.h index 81c0102696..d895444933 100644 --- a/arch/xtensa/src/common/xtensa.h +++ b/arch/xtensa/src/common/xtensa.h @@ -357,4 +357,4 @@ void up_usbuninitialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_XTENSA_SRC_COMMON_XTENSA_H */ +#endif /* __ARCH_XTENSA_SRC_COMMON_XTENSA_H */ diff --git a/arch/xtensa/src/common/xtensa_abi.h b/arch/xtensa/src/common/xtensa_abi.h index db5ab5d552..e135c1fb78 100644 --- a/arch/xtensa/src/common/xtensa_abi.h +++ b/arch/xtensa/src/common/xtensa_abi.h @@ -32,7 +32,7 @@ ****************************************************************************/ #ifndef __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H -#define __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H 1 +#define __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H /* Windowed ABI * @@ -160,6 +160,6 @@ #define LOCAL_OFFSET(n) ((n) << 2) /* n = 1 .. ((size >> 2) - 1) */ -#endif /* __ASSEMBLY_ */ +#endif /* __ASSEMBLY_ */ #endif /* __ARCH_XTENSA_SRC_COMMON_XTENSA_ABI_H */ diff --git a/arch/xtensa/src/common/xtensa_int_handlers.S b/arch/xtensa/src/common/xtensa_int_handlers.S index f84992d212..520056cef0 100644 --- a/arch/xtensa/src/common/xtensa_int_handlers.S +++ b/arch/xtensa/src/common/xtensa_int_handlers.S @@ -698,7 +698,7 @@ _xtensa_level2_handler: rfi 2 #endif -#endif /* XCHAL_INT_NLEVELS >=2 && XCHAL_EXCM_LEVEL < 2 && XCHAL_DEBUGLEVEL !=2 */ +#endif /* XCHAL_INT_NLEVELS >=2 && XCHAL_EXCM_LEVEL < 2 && XCHAL_DEBUGLEVEL !=2 */ #if XCHAL_INT_NLEVELS >=3 && XCHAL_EXCM_LEVEL < 3 && XCHAL_DEBUGLEVEL !=3 .section HANDLER_SECTION, "ax" diff --git a/arch/xtensa/src/common/xtensa_timer.h b/arch/xtensa/src/common/xtensa_timer.h index f44c1738ad..b4542ddba3 100644 --- a/arch/xtensa/src/common/xtensa_timer.h +++ b/arch/xtensa/src/common/xtensa_timer.h @@ -145,4 +145,4 @@ extern unsigned _xt_tick_divisor; void _xt_tick_divisor_init(void); #endif -#endif /* __ARCH_XTENSA_SRC_COMMON_XTENSA_TIMER_H */ +#endif /* __ARCH_XTENSA_SRC_COMMON_XTENSA_TIMER_H */ diff --git a/arch/xtensa/src/esp32/chip_macros.h b/arch/xtensa/src/esp32/chip_macros.h index 62add87fa2..44a993b00c 100644 --- a/arch/xtensa/src/esp32/chip_macros.h +++ b/arch/xtensa/src/esp32/chip_macros.h @@ -31,7 +31,7 @@ ****************************************************************************/ #ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H -#define __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H 1 +#define __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H /**************************************************************************** * Included Files diff --git a/arch/xtensa/src/esp32/esp32_cpuint.h b/arch/xtensa/src/esp32/esp32_cpuint.h index 0132ce8071..efa41bde1e 100644 --- a/arch/xtensa/src/esp32/esp32_cpuint.h +++ b/arch/xtensa/src/esp32/esp32_cpuint.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H -#define __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H 1 +#define __ARCH_XTENSA_SRC_ESP32_ESP32_CPUINT_H /**************************************************************************** * Included Files diff --git a/arch/xtensa/src/esp32/hardware/esp32_iomux.h b/arch/xtensa/src/esp32/hardware/esp32_iomux.h index a741eb4b98..f3268d1608 100644 --- a/arch/xtensa/src/esp32/hardware/esp32_iomux.h +++ b/arch/xtensa/src/esp32/hardware/esp32_iomux.h @@ -25,7 +25,7 @@ ****************************************************************************/ #ifndef __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H -#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H 1 +#define __ARCH_XTENSA_SRC_ESP32_HARDWARE_ESP32_MUX_H /**************************************************************************** * Included Files diff --git a/arch/z16/src/common/up_arch.h b/arch/z16/src/common/up_arch.h index 159344a424..fc17e640b3 100644 --- a/arch/z16/src/common/up_arch.h +++ b/arch/z16/src/common/up_arch.h @@ -49,4 +49,4 @@ * Pre-processor Definitions ************************************************************************************/ -#endif /* __ARCH_Z16_SRC_COMMON_UP_ARCH_H */ +#endif /* __ARCH_Z16_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/z16/src/common/up_internal.h b/arch/z16/src/common/up_internal.h index 04ec35c14e..530fcf2f2e 100644 --- a/arch/z16/src/common/up_internal.h +++ b/arch/z16/src/common/up_internal.h @@ -200,4 +200,4 @@ void up_registerdump(void); #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_Z16_SRC_COMMON_UP_INTERNAL_H */ +#endif /* __ARCH_Z16_SRC_COMMON_UP_INTERNAL_H */ diff --git a/arch/z16/src/z16f/chip.h b/arch/z16/src/z16f/chip.h index 3c68677fb9..b6847f2f5f 100644 --- a/arch/z16/src/z16f/chip.h +++ b/arch/z16/src/z16f/chip.h @@ -704,4 +704,4 @@ int z16f_espi_cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd); #endif #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_Z16_SRC_Z16F_CHIP_H */ +#endif /* __ARCH_Z16_SRC_Z16F_CHIP_H */ diff --git a/arch/z80/include/z80/chip.h b/arch/z80/include/z80/chip.h index ae4ad2891c..07d2761faf 100644 --- a/arch/z80/include/z80/chip.h +++ b/arch/z80/include/z80/chip.h @@ -77,4 +77,4 @@ extern "C" #endif #endif -#endif /* __ARCH_Z80_INCLUDE_Z80_CHIP_H */ +#endif /* __ARCH_Z80_INCLUDE_Z80_CHIP_H */ diff --git a/arch/z80/src/common/up_arch.h b/arch/z80/src/common/up_arch.h index bba55ba4d7..e4e2a07b0f 100644 --- a/arch/z80/src/common/up_arch.h +++ b/arch/z80/src/common/up_arch.h @@ -49,4 +49,4 @@ * Pre-processor Definitions ************************************************************************************/ -#endif /* __ARCH_Z80_SRC_COMMON_UP_ARCH_H */ +#endif /* __ARCH_Z80_SRC_COMMON_UP_ARCH_H */ diff --git a/arch/z80/src/common/z80_internal.h b/arch/z80/src/common/z80_internal.h index 67317d016f..acd271295e 100644 --- a/arch/z80/src/common/z80_internal.h +++ b/arch/z80/src/common/z80_internal.h @@ -217,4 +217,4 @@ void up_stackdump(void); #endif #endif -#endif /* __ARCH_Z80_SRC_COMMON_Z80_INTERNAL_H */ +#endif /* __ARCH_Z80_SRC_COMMON_Z80_INTERNAL_H */ diff --git a/arch/z80/src/ez80/chip.h b/arch/z80/src/ez80/chip.h index a3c04736e5..839916a2eb 100644 --- a/arch/z80/src/ez80/chip.h +++ b/arch/z80/src/ez80/chip.h @@ -95,4 +95,4 @@ EXTERN uint32_t ez80_systemclock; #endif #endif -#endif /* __ARCH_Z80_SRC_EZ80_CHIP_H */ +#endif /* __ARCH_Z80_SRC_EZ80_CHIP_H */ diff --git a/arch/z80/src/ez80/ez80f91.h b/arch/z80/src/ez80/ez80f91.h index 87a7cc472a..213add29d7 100644 --- a/arch/z80/src/ez80/ez80f91.h +++ b/arch/z80/src/ez80/ez80f91.h @@ -498,4 +498,4 @@ extern "C" #endif #endif -#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_H */ +#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_H */ diff --git a/arch/z80/src/ez80/ez80f91_emac.h b/arch/z80/src/ez80/ez80f91_emac.h index 48aa33e3ca..720f8470b1 100644 --- a/arch/z80/src/ez80/ez80f91_emac.h +++ b/arch/z80/src/ez80/ez80f91_emac.h @@ -286,4 +286,4 @@ extern "C" #endif /* __cplusplus */ #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_EMAC_H */ +#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_EMAC_H */ diff --git a/arch/z80/src/ez80/ez80f91_i2c.h b/arch/z80/src/ez80/ez80f91_i2c.h index bb199ccae4..4bea24616e 100644 --- a/arch/z80/src/ez80/ez80f91_i2c.h +++ b/arch/z80/src/ez80/ez80f91_i2c.h @@ -183,4 +183,4 @@ int ez80_i2cbus_uninitialize(FAR struct i2c_master_s *dev); #endif /* __cplusplus */ #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_I2C_H */ +#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_I2C_H */ diff --git a/arch/z80/src/ez80/ez80f91_spi.h b/arch/z80/src/ez80/ez80f91_spi.h index c26ec4be72..9e8da0f6fa 100644 --- a/arch/z80/src/ez80/ez80f91_spi.h +++ b/arch/z80/src/ez80/ez80f91_spi.h @@ -154,4 +154,4 @@ int ez80_spicmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd); #endif /* __cplusplus */ #endif /* __ASSEMBLY__ */ -#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_SPI_H */ +#endif /* __ARCH_Z80_SRC_EZ80_EZ80F91_SPI_H */ diff --git a/arch/z80/src/ez80/switch.h b/arch/z80/src/ez80/switch.h index 97e70624bf..699c7ed841 100644 --- a/arch/z80/src/ez80/switch.h +++ b/arch/z80/src/ez80/switch.h @@ -167,4 +167,4 @@ void ez80_registerdump(void); #endif #endif -#endif /* __ARCH_Z80_SRC_EZ80_SWITCH_H */ +#endif /* __ARCH_Z80_SRC_EZ80_SWITCH_H */ diff --git a/arch/z80/src/ez80/up_mem.h b/arch/z80/src/ez80/up_mem.h index a64bddb73b..3dc0674a90 100644 --- a/arch/z80/src/ez80/up_mem.h +++ b/arch/z80/src/ez80/up_mem.h @@ -86,4 +86,4 @@ extern "C" #endif #endif -#endif /* __ARCH_Z80_SRC_EZ80_UP_MEM_H */ +#endif /* __ARCH_Z80_SRC_EZ80_UP_MEM_H */ diff --git a/arch/z80/src/z180/chip.h b/arch/z80/src/z180/chip.h index b766654f66..e788301859 100644 --- a/arch/z80/src/z180/chip.h +++ b/arch/z80/src/z180/chip.h @@ -51,4 +51,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_Z80_SRC_Z180_CHIP_H */ +#endif /* __ARCH_Z80_SRC_Z180_CHIP_H */ diff --git a/arch/z80/src/z180/switch.h b/arch/z80/src/z180/switch.h index cb7acdcfa3..73fbe5e204 100644 --- a/arch/z80/src/z180/switch.h +++ b/arch/z80/src/z180/switch.h @@ -234,4 +234,4 @@ void z180_registerdump(void); #endif #endif -#endif /* __ARCH_Z80_SRC_Z180_SWITCH_H */ +#endif /* __ARCH_Z80_SRC_Z180_SWITCH_H */ diff --git a/arch/z80/src/z180/up_mem.h b/arch/z80/src/z180/up_mem.h index 8a1389ee22..c55c71e786 100644 --- a/arch/z80/src/z180/up_mem.h +++ b/arch/z80/src/z180/up_mem.h @@ -72,4 +72,4 @@ extern const uint16_t g_heapbase; -#endif /* __ARCH_Z80_SRC_Z180_UP_MEM_H */ +#endif /* __ARCH_Z80_SRC_Z180_UP_MEM_H */ diff --git a/arch/z80/src/z8/chip.h b/arch/z80/src/z8/chip.h index 20d4477246..bc43bbe0cc 100644 --- a/arch/z80/src/z8/chip.h +++ b/arch/z80/src/z8/chip.h @@ -236,4 +236,4 @@ extern "C" #endif #endif -#endif /* __ARCH_Z80_SRC_Z8_CHIP_H */ +#endif /* __ARCH_Z80_SRC_Z8_CHIP_H */ diff --git a/arch/z80/src/z8/switch.h b/arch/z80/src/z8/switch.h index 06eb75decf..10ef514ae3 100644 --- a/arch/z80/src/z8/switch.h +++ b/arch/z80/src/z8/switch.h @@ -255,4 +255,4 @@ void z8_registerdump(void); #endif #endif -#endif /* __ARCH_Z80_SRC_Z8_SWITCH_H */ +#endif /* __ARCH_Z80_SRC_Z8_SWITCH_H */ diff --git a/arch/z80/src/z8/up_mem.h b/arch/z80/src/z8/up_mem.h index ffe3b2210e..08812a182c 100644 --- a/arch/z80/src/z8/up_mem.h +++ b/arch/z80/src/z8/up_mem.h @@ -86,4 +86,4 @@ extern "C" #endif #endif -#endif /* __ARCH_Z80_SRC_Z8_UP_MEM_H */ +#endif /* __ARCH_Z80_SRC_Z8_UP_MEM_H */ diff --git a/arch/z80/src/z80/chip.h b/arch/z80/src/z80/chip.h index a216d71ef7..f2ee2463ab 100644 --- a/arch/z80/src/z80/chip.h +++ b/arch/z80/src/z80/chip.h @@ -51,4 +51,4 @@ * Public Function Prototypes ************************************************************************************/ -#endif /* __ARCH_Z80_SRC_Z80_CHIP_H */ +#endif /* __ARCH_Z80_SRC_Z80_CHIP_H */ diff --git a/arch/z80/src/z80/switch.h b/arch/z80/src/z80/switch.h index bb9f8d49f1..3e90740f94 100644 --- a/arch/z80/src/z80/switch.h +++ b/arch/z80/src/z80/switch.h @@ -162,4 +162,4 @@ void z80_registerdump(void); #endif #endif -#endif /* __ARCH_Z80_SRC_Z80_SWITCH_H */ +#endif /* __ARCH_Z80_SRC_Z80_SWITCH_H */ diff --git a/arch/z80/src/z80/up_mem.h b/arch/z80/src/z80/up_mem.h index af2ee81a07..d7254dadd6 100644 --- a/arch/z80/src/z80/up_mem.h +++ b/arch/z80/src/z80/up_mem.h @@ -72,4 +72,4 @@ extern const uint16_t g_heapbase; -#endif /* __ARCH_Z80_SRC_COMMON_UP_MEM_H */ +#endif /* __ARCH_Z80_SRC_COMMON_UP_MEM_H */ diff --git a/audio/audio.c b/audio/audio.c index 31e98d1c98..dc624b9af0 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -465,7 +465,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_STOP */ +#endif /* CONFIG_AUDIO_EXCLUDE_STOP */ /* AUDIOIOC_PAUSE - Pause the audio stream. * @@ -513,7 +513,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; -#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ /* AUDIOIOC_ALLOCBUFFER - Allocate an audio buffer * diff --git a/boards/arm/a1x/pcduino-a10/include/board.h b/boards/arm/a1x/pcduino-a10/include/board.h index 02c17c80a6..236ad885ab 100644 --- a/boards/arm/a1x/pcduino-a10/include/board.h +++ b/boards/arm/a1x/pcduino-a10/include/board.h @@ -162,4 +162,4 @@ .macro config_sdram .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_A1X_PCDUINO_A10_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_A1X_PCDUINO_A10_INCLUDE_BOARD_H */ diff --git a/boards/arm/a1x/pcduino-a10/include/board_memorymap.h b/boards/arm/a1x/pcduino-a10/include/board_memorymap.h index 228cc8bacd..ebe52799df 100644 --- a/boards/arm/a1x/pcduino-a10/include/board_memorymap.h +++ b/boards/arm/a1x/pcduino-a10/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_A1X_PCDUINO_A10_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_A1X_PCDUINO_A10_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/am335x/beaglebone-black/include/board.h b/boards/arm/am335x/beaglebone-black/include/board.h index 380640ee58..23712bd1cd 100644 --- a/boards/arm/am335x/beaglebone-black/include/board.h +++ b/boards/arm/am335x/beaglebone-black/include/board.h @@ -155,4 +155,4 @@ .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_AM335X_BEAGLEBONE_BLACK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_AM335X_BEAGLEBONE_BLACK_INCLUDE_BOARD_H */ diff --git a/boards/arm/am335x/beaglebone-black/include/board_memorymap.h b/boards/arm/am335x/beaglebone-black/include/board_memorymap.h index 7173d63d94..2e77e05d91 100644 --- a/boards/arm/am335x/beaglebone-black/include/board_memorymap.h +++ b/boards/arm/am335x/beaglebone-black/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_AM335X_BEAGLEBONE_BLACK_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_AM335X_BEAGLEBONE_BLACK_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/c5471/c5471evm/include/board.h b/boards/arm/c5471/c5471evm/include/board.h index c9d9c3a39f..e78924024d 100644 --- a/boards/arm/c5471/c5471evm/include/board.h +++ b/boards/arm/c5471/c5471evm/include/board.h @@ -63,4 +63,4 @@ * Inline Functions ****************************************************************************/ -#endif /* __BOARDS_ARM_C5471_C5471EVM_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_C5471_C5471EVM_INCLUDE_BOARD_H */ diff --git a/boards/arm/cxd56xx/spresense/include/board.h b/boards/arm/cxd56xx/spresense/include/board.h index 90df77a863..037a279988 100644 --- a/boards/arm/cxd56xx/spresense/include/board.h +++ b/boards/arm/cxd56xx/spresense/include/board.h @@ -293,4 +293,4 @@ void cxd56_boardinitialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_BOARD_H */ diff --git a/boards/arm/cxd56xx/spresense/include/board_pinconfig.h b/boards/arm/cxd56xx/spresense/include/board_pinconfig.h index 75ac6289bd..f79bcae014 100644 --- a/boards/arm/cxd56xx/spresense/include/board_pinconfig.h +++ b/boards/arm/cxd56xx/spresense/include/board_pinconfig.h @@ -118,4 +118,4 @@ #undef PINCONF_SDIO_CD_GPIO #define PINCONF_SDIO_CD_GPIO PINCONF(PIN_SDIO_CD, 0, 0, 0, PINCONF_PULLUP) -#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_BOARD_PINCONFIG_H */ +#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_BOARD_PINCONFIG_H */ diff --git a/boards/arm/cxd56xx/spresense/include/cxd56_imageproc.h b/boards/arm/cxd56xx/spresense/include/cxd56_imageproc.h index 93ccd7b346..bd86880069 100644 --- a/boards/arm/cxd56xx/spresense/include/cxd56_imageproc.h +++ b/boards/arm/cxd56xx/spresense/include/cxd56_imageproc.h @@ -148,4 +148,4 @@ extern "C" } #endif -#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_CXD56_IMAGEPROC_H */ +#endif /* __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_CXD56_IMAGEPROC_H */ diff --git a/boards/arm/dm320/ntosd-dm320/include/board.h b/boards/arm/dm320/ntosd-dm320/include/board.h index f3e7744bb5..98b6b7f4dd 100644 --- a/boards/arm/dm320/ntosd-dm320/include/board.h +++ b/boards/arm/dm320/ntosd-dm320/include/board.h @@ -144,4 +144,4 @@ #ifndef __ASSEMBLY__ #endif -#endif /* __BOARDS_ARM_DM320_NTOSD_DM320_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_DM320_NTOSD_DM320_INCLUDE_BOARD_H */ diff --git a/boards/arm/imx6/sabre-6quad/include/board_memorymap.h b/boards/arm/imx6/sabre-6quad/include/board_memorymap.h index 51fe2272c9..da71a5873c 100644 --- a/boards/arm/imx6/sabre-6quad/include/board_memorymap.h +++ b/boards/arm/imx6/sabre-6quad/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_IMX6_SABRE_6QUAD_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_IMX6_SABRE_6QUAD_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/kinetis/freedom-k28f/include/board.h b/boards/arm/kinetis/freedom-k28f/include/board.h index 6f43b71230..a17c39dd61 100644 --- a/boards/arm/kinetis/freedom-k28f/include/board.h +++ b/boards/arm/kinetis/freedom-k28f/include/board.h @@ -481,4 +481,4 @@ #define BUTTON_SW2_BIT (1 << BUTTON_SW2) #define BUTTON_SW3_BIT (1 << BUTTON_SW3) -#endif /* __BOARDS_ARM_KINETIS_FREEDOM_K28F_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KINETIS_FREEDOM_K28F_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/freedom-k64f/include/board.h b/boards/arm/kinetis/freedom-k64f/include/board.h index a0c6f08f1d..276633aacc 100644 --- a/boards/arm/kinetis/freedom-k64f/include/board.h +++ b/boards/arm/kinetis/freedom-k64f/include/board.h @@ -268,4 +268,4 @@ #define PIN_UART3_RX PIN_UART3_RX_2 #define PIN_UART3_TX PIN_UART3_TX_2 -#endif /* __BOARDS_ARM_FREEDOM_K64F_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_FREEDOM_K64F_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/freedom-k66f/include/board.h b/boards/arm/kinetis/freedom-k66f/include/board.h index cfa24fad4b..f6792f321d 100644 --- a/boards/arm/kinetis/freedom-k66f/include/board.h +++ b/boards/arm/kinetis/freedom-k66f/include/board.h @@ -419,4 +419,4 @@ #define PIN_RMII0_MDIO PIN_RMII0_MDIO_1 #define PIN_RMII0_MDC PIN_RMII0_MDC_1 -#endif /* __BOARDS_ARM_KINETIS_FREEDOM_K66F_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KINETIS_FREEDOM_K66F_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/kwikstik-k40/include/board.h b/boards/arm/kinetis/kwikstik-k40/include/board.h index bb785dea29..b0a550427d 100644 --- a/boards/arm/kinetis/kwikstik-k40/include/board.h +++ b/boards/arm/kinetis/kwikstik-k40/include/board.h @@ -253,4 +253,4 @@ #define PIN_I2C1_SCL PIN_I2C1_SCL_2 #define PIN_I2C1_SDA PIN_I2C1_SDA_2 -#endif /* __BOARDS_ARM_KINETIS_KWIKSTIK-K40_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KINETIS_KWIKSTIK-K40_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/teensy-3.x/include/board.h b/boards/arm/kinetis/teensy-3.x/include/board.h index 7d3e97d79c..5131f5bee0 100644 --- a/boards/arm/kinetis/teensy-3.x/include/board.h +++ b/boards/arm/kinetis/teensy-3.x/include/board.h @@ -305,4 +305,4 @@ #endif #endif -#endif /* __BOARDS_ARM_KINETIS_TEENSY_3X_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KINETIS_TEENSY_3X_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/twr-k60n512/include/board.h b/boards/arm/kinetis/twr-k60n512/include/board.h index ef9065dae0..ed869f7986 100644 --- a/boards/arm/kinetis/twr-k60n512/include/board.h +++ b/boards/arm/kinetis/twr-k60n512/include/board.h @@ -375,4 +375,4 @@ * B80 EBI_D0 PTC15 */ -#endif /* __BOARDS_ARM_KINETIS_TWR-K60N512_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KINETIS_TWR-K60N512_INCLUDE_BOARD_H */ diff --git a/boards/arm/kinetis/twr-k64f120m/include/board.h b/boards/arm/kinetis/twr-k64f120m/include/board.h index 4787a83497..9968e52913 100644 --- a/boards/arm/kinetis/twr-k64f120m/include/board.h +++ b/boards/arm/kinetis/twr-k64f120m/include/board.h @@ -162,4 +162,4 @@ # define CONFIG_KINETIS_NENET 1 #endif -#endif /* __BOARDS_ARM_KINETIS_TWR_K64F120M_INCLUDE_BOARCH_H */ +#endif /* __BOARDS_ARM_KINETIS_TWR_K64F120M_INCLUDE_BOARCH_H */ diff --git a/boards/arm/kl/freedom-kl25z/include/board.h b/boards/arm/kl/freedom-kl25z/include/board.h index 721546d016..0323d0db60 100644 --- a/boards/arm/kl/freedom-kl25z/include/board.h +++ b/boards/arm/kl/freedom-kl25z/include/board.h @@ -276,4 +276,4 @@ void kl_tsi_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_KL_FREEDOM_KL25Z_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KL_FREEDOM_KL25Z_INCLUDE_BOARD_H */ diff --git a/boards/arm/kl/freedom-kl26z/include/board.h b/boards/arm/kl/freedom-kl26z/include/board.h index 5b04c052e7..14f510a12f 100644 --- a/boards/arm/kl/freedom-kl26z/include/board.h +++ b/boards/arm/kl/freedom-kl26z/include/board.h @@ -266,4 +266,4 @@ void kl_tsi_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_KL_FREEDOM_KL26Z_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KL_FREEDOM_KL26Z_INCLUDE_BOARD_H */ diff --git a/boards/arm/kl/teensy-lc/include/board.h b/boards/arm/kl/teensy-lc/include/board.h index ed55de3f4e..a60824e4ef 100644 --- a/boards/arm/kl/teensy-lc/include/board.h +++ b/boards/arm/kl/teensy-lc/include/board.h @@ -145,4 +145,4 @@ #define PIN_SPI1_MISO (PIN_SPI1_MISO_2 | PIN_ALT2_PULLUP) // Pin 1: PTB17 #define PIN_SPI1_MOSI (PIN_SPI0_MOSI_1 | PIN_ALT2_PULLUP) // Pin 0: PTB16 -#endif /* __BOARDS_ARM_KL_TEENSY_LC_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_KL_TEENSY_LC_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/lincoln60/include/board.h b/boards/arm/lpc17xx_40xx/lincoln60/include/board.h index 9bcc956ce0..ae383afeb4 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/include/board.h +++ b/boards/arm/lpc17xx_40xx/lincoln60/include/board.h @@ -221,4 +221,4 @@ void lpc17_40_led(int lednum, int state); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_LINCOLN60_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_LINCOLN60_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/include/board.h b/boards/arm/lpc17xx_40xx/lpc4088-devkit/include/board.h index 7f9c45c238..e8473cf35f 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/include/board.h +++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/include/board.h @@ -450,4 +450,4 @@ #define GPIO_SSP1_SCK GPIO_SSP1_SCK_2 #endif -#endif /* __BOARDS_ARM_LPC17XX_40XX_LPC4088_DEVKIT_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_LPC4088_DEVKIT_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/include/board.h b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/include/board.h index 6666ee688d..2db94a3470 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/include/board.h +++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/include/board.h @@ -384,4 +384,4 @@ #define GPIO_SSP1_SCK GPIO_SSP1_SCK_2 #endif -#endif /* __BOARDS_ARM_LPC17XX_40XX_LPC4088_QUICKSTART_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_LPC4088_QUICKSTART_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/include/board.h b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/include/board.h index a48906c915..ed8348fa85 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/include/board.h +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/include/board.h @@ -255,4 +255,4 @@ * P4[29]/TX-MCLK/MAT2.1/RXD3 PAD16 N/A */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_LPCXPRESSO_LPC1768_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_LPCXPRESSO_LPC1768_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/include/board.h b/boards/arm/lpc17xx_40xx/lx_cpu/include/board.h index 3558b5c198..e7b4976209 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/include/board.h +++ b/boards/arm/lpc17xx_40xx/lx_cpu/include/board.h @@ -489,4 +489,4 @@ struct nuttx_ulan_chip_data_s int nuttx_ulan_get_chip_data(int minor, struct nuttx_ulan_chip_data_s *chip_data); -#endif /* __BOARDS_ARM_LX_CPU_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LX_CPU_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/mbed/include/board.h b/boards/arm/lpc17xx_40xx/mbed/include/board.h index c29a4d25ca..e4ffda6dc2 100644 --- a/boards/arm/lpc17xx_40xx/mbed/include/board.h +++ b/boards/arm/lpc17xx_40xx/mbed/include/board.h @@ -323,4 +323,4 @@ void lpc17_40_led(int lednum, int state); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_MBED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_MBED_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/mcb1700/include/board.h b/boards/arm/lpc17xx_40xx/mcb1700/include/board.h index 0402718fc4..d3e7d3098c 100644 --- a/boards/arm/lpc17xx_40xx/mcb1700/include/board.h +++ b/boards/arm/lpc17xx_40xx/mcb1700/include/board.h @@ -320,4 +320,4 @@ void lpc17_40_led(int lednum, int state); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_MCB1700_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_MCB1700_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/include/board.h b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/include/board.h index 82b68308f4..a93011c2b3 100644 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/include/board.h +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/include/board.h @@ -358,4 +358,4 @@ * P1[31]/SCK1/AD0[5] 20 AIN5 */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_OLIMEX_LPC1766STK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_OLIMEX_LPC1766STK_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/open1788/include/board.h b/boards/arm/lpc17xx_40xx/open1788/include/board.h index 4542046905..c53ebf53f6 100644 --- a/boards/arm/lpc17xx_40xx/open1788/include/board.h +++ b/boards/arm/lpc17xx_40xx/open1788/include/board.h @@ -442,4 +442,4 @@ #define GPIO_SSP1_MOSI GPIO_SSP1_MOSI_2 #define GPIO_SSP1_SCK GPIO_SSP1_SCK_2 -#endif /* __BOARDS_ARM_LPC17XX_40XX_OPEN1788_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_OPEN1788_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/include/board.h b/boards/arm/lpc17xx_40xx/pnev5180b/include/board.h index c060b8044c..6a643562f1 100644 --- a/boards/arm/lpc17xx_40xx/pnev5180b/include/board.h +++ b/boards/arm/lpc17xx_40xx/pnev5180b/include/board.h @@ -234,4 +234,4 @@ void lpc17_40_led(int lednum, int state); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_PNEV5180_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_PNEV5180_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/u-blox-c027/include/board.h b/boards/arm/lpc17xx_40xx/u-blox-c027/include/board.h index efacd94621..d336d304dd 100644 --- a/boards/arm/lpc17xx_40xx/u-blox-c027/include/board.h +++ b/boards/arm/lpc17xx_40xx/u-blox-c027/include/board.h @@ -260,4 +260,4 @@ #define GPIO_PWM1p5 GPIO_PWM1p5_2 #define GPIO_PWM1p6 GPIO_PWM1p6_2 -#endif /* __BOARDS_ARM_LPC17XX_40XX_U_BLOX_C027_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_U_BLOX_C027_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc17xx_40xx/zkit-arm-1769/include/board.h b/boards/arm/lpc17xx_40xx/zkit-arm-1769/include/board.h index 1cddf95ff6..8092613281 100644 --- a/boards/arm/lpc17xx_40xx/zkit-arm-1769/include/board.h +++ b/boards/arm/lpc17xx_40xx/zkit-arm-1769/include/board.h @@ -360,4 +360,4 @@ void lpc17_40_led(int lednum, int state); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC17XX_40XX_ZKIT_ARM_1769_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC17XX_40XX_ZKIT_ARM_1769_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc214x/mcu123-lpc214x/include/board.h b/boards/arm/lpc214x/mcu123-lpc214x/include/board.h index 300fee6d67..aecb5b0584 100644 --- a/boards/arm/lpc214x/mcu123-lpc214x/include/board.h +++ b/boards/arm/lpc214x/mcu123-lpc214x/include/board.h @@ -76,4 +76,4 @@ * Inline Functions ****************************************************************************/ -#endif /* __BOARDS_ARM_LPC214X_MCU123_LPC214X_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC214X_MCU123_LPC214X_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc214x/zp214xpa/include/board.h b/boards/arm/lpc214x/zp214xpa/include/board.h index 0788d5c133..17b9c256cb 100644 --- a/boards/arm/lpc214x/zp214xpa/include/board.h +++ b/boards/arm/lpc214x/zp214xpa/include/board.h @@ -65,4 +65,4 @@ * Inline Functions ****************************************************************************/ -#endif /* __BOARDS_ARM_LPC214X_ZP214XPA_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC214X_ZP214XPA_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc2378/olimex-lpc2378/include/board.h b/boards/arm/lpc2378/olimex-lpc2378/include/board.h index b510d35443..897fcf309d 100644 --- a/boards/arm/lpc2378/olimex-lpc2378/include/board.h +++ b/boards/arm/lpc2378/olimex-lpc2378/include/board.h @@ -84,4 +84,4 @@ * Inline Functions ****************************************************************************/ -#endif /* __BOARDS_ARM_LPC2348_OLIMEX_LPC2378_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC2348_OLIMEX_LPC2378_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc31xx/ea3131/include/board.h b/boards/arm/lpc31xx/ea3131/include/board.h index 160a95cd95..19b6158b58 100644 --- a/boards/arm/lpc31xx/ea3131/include/board.h +++ b/boards/arm/lpc31xx/ea3131/include/board.h @@ -114,4 +114,4 @@ /* Button definitions *******************************************************/ -#endif /* __BOARDS_ARM_LPC31XX_EA3131_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC31XX_EA3131_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc31xx/ea3131/include/board_memorymap.h b/boards/arm/lpc31xx/ea3131/include/board_memorymap.h index 0d306dded0..3fd9ed583f 100644 --- a/boards/arm/lpc31xx/ea3131/include/board_memorymap.h +++ b/boards/arm/lpc31xx/ea3131/include/board_memorymap.h @@ -115,4 +115,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC31XX_EA3131_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_LPC31XX_EA3131_MEMORYMAP_H */ diff --git a/boards/arm/lpc31xx/ea3152/include/board.h b/boards/arm/lpc31xx/ea3152/include/board.h index 054d96e091..f0b344b648 100644 --- a/boards/arm/lpc31xx/ea3152/include/board.h +++ b/boards/arm/lpc31xx/ea3152/include/board.h @@ -114,4 +114,4 @@ /* Button definitions *******************************************************/ -#endif /* __BOARDS_ARM_LPC31XX_EA3152_INCLUDE__BOARD_H */ +#endif /* __BOARDS_ARM_LPC31XX_EA3152_INCLUDE__BOARD_H */ diff --git a/boards/arm/lpc31xx/ea3152/include/board_memorymap.h b/boards/arm/lpc31xx/ea3152/include/board_memorymap.h index f1042f77fd..4fbf272e79 100644 --- a/boards/arm/lpc31xx/ea3152/include/board_memorymap.h +++ b/boards/arm/lpc31xx/ea3152/include/board_memorymap.h @@ -115,4 +115,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC31XX_EA3152_INCLUDE_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_LPC31XX_EA3152_INCLUDE_MEMORYMAP_H */ diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/include/board.h b/boards/arm/lpc31xx/olimex-lpc-h3131/include/board.h index 2cff932a6e..c471e824fc 100644 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/include/board.h +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/include/board.h @@ -193,4 +193,4 @@ int lpc31_setup_overcurrent(xcpt_t handler, void *arg); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC31XX_OLIMEX_LPC_H3131_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC31XX_OLIMEX_LPC_H3131_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/include/board_memorymap.h b/boards/arm/lpc31xx/olimex-lpc-h3131/include/board_memorymap.h index dc9b944338..7be071cc03 100644 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/include/board_memorymap.h +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/include/board_memorymap.h @@ -114,4 +114,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC31XX_OLIMEX_LPC_H3131_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_LPC31XX_OLIMEX_LPC_H3131_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/lpc43xx/bambino-200e/include/board.h b/boards/arm/lpc43xx/bambino-200e/include/board.h index ba11dc2403..a2af6e0c88 100644 --- a/boards/arm/lpc43xx/bambino-200e/include/board.h +++ b/boards/arm/lpc43xx/bambino-200e/include/board.h @@ -405,4 +405,4 @@ #define GPIO_SD_CMD PINCONF_SD_CMD_1 #define GPIO_SD_CLK CLKCONF_SD_CLK_2 -#endif /* __BOARDS_ARM_LPC43XX_BAMBINO_200E_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC43XX_BAMBINO_200E_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc43xx/lpc4330-xplorer/include/board.h b/boards/arm/lpc43xx/lpc4330-xplorer/include/board.h index ad3d188ba3..81d3e32cf9 100644 --- a/boards/arm/lpc43xx/lpc4330-xplorer/include/board.h +++ b/boards/arm/lpc43xx/lpc4330-xplorer/include/board.h @@ -350,4 +350,4 @@ #define PINCONF_ENET_MDC PINCONF_ENET_MDC_3 #define PINCONF_ENET_TX_EN PINCONF_ENET_TX_EN_1 -#endif /* __BOARDS_ARM_LPC43XX_LPC4330_XPLORER_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC43XX_LPC4330_XPLORER_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc43xx/lpc4337-ws/include/board.h b/boards/arm/lpc43xx/lpc4337-ws/include/board.h index 847307985c..fdb5f6ada3 100644 --- a/boards/arm/lpc43xx/lpc4337-ws/include/board.h +++ b/boards/arm/lpc43xx/lpc4337-ws/include/board.h @@ -322,4 +322,4 @@ #define PINCONF_SSP1_MOSI PINCONF_SSP1_MOSI_1 #define PINCONF_SSP1_SCK PINCONF_SSP1_SCK_2 -#endif /* __BOARDS_ARM_LPC43XX_LPC4337_WS_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC43XX_LPC4337_WS_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc43xx/lpc4357-evb/include/board.h b/boards/arm/lpc43xx/lpc4357-evb/include/board.h index dbd0e99704..4f5f8be3bc 100644 --- a/boards/arm/lpc43xx/lpc4357-evb/include/board.h +++ b/boards/arm/lpc43xx/lpc4357-evb/include/board.h @@ -293,4 +293,4 @@ #define PINCONF_U3_RXD PINCONF_U3_RXD_4 #define PINCONF_U3_DIR PINCONF_U3_DIR_3 -#endif /* __BOARDS_ARM_LPC43XX_LPC4357_EVB_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC43XX_LPC4357_EVB_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc43xx/lpc4370-link2/include/board.h b/boards/arm/lpc43xx/lpc4370-link2/include/board.h index 2ea3405f9e..ef6dfadb2e 100644 --- a/boards/arm/lpc43xx/lpc4370-link2/include/board.h +++ b/boards/arm/lpc43xx/lpc4370-link2/include/board.h @@ -318,4 +318,4 @@ #define PINCONF_SSP1_SCK PINCONF_SSP1_SCK_1 #define PINCONF_SSP1_SSEL PINCONF_SSP1_SSEL_1 -#endif /* __BOARDS_ARM_LPC43XX_LPC4357_LINK2_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC43XX_LPC4357_LINK2_INCLUDE_BOARD_H */ diff --git a/boards/arm/lpc54xx/lpcxpresso-lpc54628/include/board.h b/boards/arm/lpc54xx/lpcxpresso-lpc54628/include/board.h index f7dd9f823d..e6db6d08d9 100644 --- a/boards/arm/lpc54xx/lpcxpresso-lpc54628/include/board.h +++ b/boards/arm/lpc54xx/lpcxpresso-lpc54628/include/board.h @@ -530,4 +530,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_LPC54XX_LPCXPRESSO_LPC54628_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_LPC54XX_LPCXPRESSO_LPC54628_INCLUDE_BOARD_H */ diff --git a/boards/arm/moxart/moxa/include/board.h b/boards/arm/moxart/moxa/include/board.h index ab6118c550..2552f323aa 100644 --- a/boards/arm/moxart/moxa/include/board.h +++ b/boards/arm/moxart/moxa/include/board.h @@ -231,4 +231,4 @@ inline void ftintc010_set_trig_level(int irq, int level); } #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_MOXART_MOXA_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_MOXART_MOXA_INCLUDE_BOARD_H */ diff --git a/boards/arm/nrf52/nrf52-feather/include/board.h b/boards/arm/nrf52/nrf52-feather/include/board.h index 6a69b9a35a..06c88d1fca 100644 --- a/boards/arm/nrf52/nrf52-feather/include/board.h +++ b/boards/arm/nrf52/nrf52-feather/include/board.h @@ -106,4 +106,4 @@ #define BOARD_UART0_RX_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(8)) #define BOARD_UART0_TX_PIN (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN(6)) -#endif /* __BOARDS_ARM_NRF52_NRF52_FEATHER_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_NRF52_NRF52_FEATHER_INCLUDE_BOARD_H */ diff --git a/boards/arm/nrf52/nrf52832-dk/include/board.h b/boards/arm/nrf52/nrf52832-dk/include/board.h index 2031729365..cb51a94a73 100644 --- a/boards/arm/nrf52/nrf52832-dk/include/board.h +++ b/boards/arm/nrf52/nrf52832-dk/include/board.h @@ -122,4 +122,4 @@ #define BOARD_UART0_RX_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(8)) #define BOARD_UART0_TX_PIN (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN(6)) -#endif /* __BOARDS_ARM_NRF52_NRF52_FEATHER_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_NRF52_NRF52_FEATHER_INCLUDE_BOARD_H */ diff --git a/boards/arm/nrf52/nrf52840-dk/include/board.h b/boards/arm/nrf52/nrf52840-dk/include/board.h index 6916d3b1f5..c873dfecd7 100644 --- a/boards/arm/nrf52/nrf52840-dk/include/board.h +++ b/boards/arm/nrf52/nrf52840-dk/include/board.h @@ -152,4 +152,4 @@ #define BOARD_I2C0_SCL_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(27)) #define BOARD_I2C0_SDA_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(26)) -#endif /* __BOARDS_ARM_NRF52_NRF52840_DK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_NRF52_NRF52840_DK_INCLUDE_BOARD_H */ diff --git a/boards/arm/nrf52/nrf52840-dk/src/nrf52_bringup.c b/boards/arm/nrf52/nrf52840-dk/src/nrf52_bringup.c index 50ca453225..124c8789f3 100644 --- a/boards/arm/nrf52/nrf52840-dk/src/nrf52_bringup.c +++ b/boards/arm/nrf52/nrf52840-dk/src/nrf52_bringup.c @@ -142,7 +142,7 @@ int nrf52_bringup(void) "ERROR: Failed to initialize LSM6DSL driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_LSM6DSL */ +#endif /* CONFIG_SENSORS_LSM6DSL */ #ifdef CONFIG_SENSORS_LSM303AGR ret = nrf52_lsm303agr_initialize("/dev/lsm303agr0"); @@ -152,7 +152,7 @@ int nrf52_bringup(void) "ERROR: Failed to initialize LSM303AGR driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_LSM303AGR */ +#endif /* CONFIG_SENSORS_LSM303AGR */ #ifdef CONFIG_SENSORS_HTS221 ret = nrf52_hts221_initialize("/dev/hts2210"); @@ -162,7 +162,7 @@ int nrf52_bringup(void) "ERROR: Failed to initialize HTS221 driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_HTS221 */ +#endif /* CONFIG_SENSORS_HTS221 */ #ifdef CONFIG_LPWAN_SX127X ret = nrf52_lpwaninitialize(); @@ -172,7 +172,7 @@ int nrf52_bringup(void) "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ UNUSED(ret); return OK; diff --git a/boards/arm/nrf52/nrf52840-dongle/include/board.h b/boards/arm/nrf52/nrf52840-dongle/include/board.h index 105223fdc5..b31fdc005d 100644 --- a/boards/arm/nrf52/nrf52840-dongle/include/board.h +++ b/boards/arm/nrf52/nrf52840-dongle/include/board.h @@ -109,4 +109,4 @@ #define BOARD_UART0_RX_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(13)) #define BOARD_UART0_TX_PIN (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN(15)) -#endif /* __BOARDS_ARM_NRF52_NRF52840_DONGLE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_NRF52_NRF52840_DONGLE_INCLUDE_BOARD_H */ diff --git a/boards/arm/nuc1xx/nutiny-nuc120/include/board.h b/boards/arm/nuc1xx/nutiny-nuc120/include/board.h index a75b4e650d..8188bffc2c 100644 --- a/boards/arm/nuc1xx/nutiny-nuc120/include/board.h +++ b/boards/arm/nuc1xx/nutiny-nuc120/include/board.h @@ -138,4 +138,4 @@ #define NUM_BUTTONS 0 -#endif /* __BOARDS_ARM_NUC1XX_NUTINY_NUC12_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_NUC1XX_NUTINY_NUC12_INCLUDE_BOARD_H */ diff --git a/boards/arm/s32k1xx/s32k118evb/include/board.h b/boards/arm/s32k1xx/s32k118evb/include/board.h index 41f59e0fe1..065edbaf0e 100644 --- a/boards/arm/s32k1xx/s32k118evb/include/board.h +++ b/boards/arm/s32k1xx/s32k118evb/include/board.h @@ -137,4 +137,4 @@ /* DMA Channel/Stream Selections ********************************************/ -#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/s32k1xx/s32k146evb/include/board.h b/boards/arm/s32k1xx/s32k146evb/include/board.h index 0e458ee405..da991a11b6 100644 --- a/boards/arm/s32k1xx/s32k146evb/include/board.h +++ b/boards/arm/s32k1xx/s32k146evb/include/board.h @@ -137,4 +137,4 @@ /* DMA Channel/Stream Selections ********************************************/ -#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/s32k1xx/s32k148evb/include/board.h b/boards/arm/s32k1xx/s32k148evb/include/board.h index 63f3048f88..d8ae4d9a98 100644 --- a/boards/arm/s32k1xx/s32k148evb/include/board.h +++ b/boards/arm/s32k1xx/s32k148evb/include/board.h @@ -137,4 +137,4 @@ /* DMA Channel/Stream Selections ********************************************/ -#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F4DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/arduino-due/include/board.h b/boards/arm/sam34/arduino-due/include/board.h index 6f71b04f47..73c3793fc8 100644 --- a/boards/arm/sam34/arduino-due/include/board.h +++ b/boards/arm/sam34/arduino-due/include/board.h @@ -232,4 +232,4 @@ # define GPIO_UART0_RXD (GPIO_PERIPHA | GPIO_CFG_DEFAULT | GPIO_PORT_PIOA | \ GPIO_PIN8 | GPIO_CFG_PULLUP) #endif -#endif /* __BOARDS_ARM_SAM34_ARDUINO_DUE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_ARDUINO_DUE_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/flipnclick-sam3x/include/board.h b/boards/arm/sam34/flipnclick-sam3x/include/board.h index c8c6e1904f..6afc40a495 100644 --- a/boards/arm/sam34/flipnclick-sam3x/include/board.h +++ b/boards/arm/sam34/flipnclick-sam3x/include/board.h @@ -336,4 +336,4 @@ * There are no alternative pin selections for TWI0 and TWI1. */ -#endif /* __BOARDS_ARM_SAM34_FLIPNCLICK_SAM3X_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_FLIPNCLICK_SAM3X_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/sam3u-ek/include/board.h b/boards/arm/sam34/sam3u-ek/include/board.h index c79c0012e7..ac5c797c48 100644 --- a/boards/arm/sam34/sam3u-ek/include/board.h +++ b/boards/arm/sam34/sam3u-ek/include/board.h @@ -157,4 +157,4 @@ #define BUTTON1 1 /* Bit 0: Button 1 */ #define BUTTON2 2 /* Bit 1: Button 2 */ -#endif /* __BOARDS_ARM_SAM34_SAM3U_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_SAM3U_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/sam4e-ek/include/board.h b/boards/arm/sam34/sam4e-ek/include/board.h index 680ef72daa..2c8480701f 100644 --- a/boards/arm/sam34/sam4e-ek/include/board.h +++ b/boards/arm/sam34/sam4e-ek/include/board.h @@ -326,4 +326,4 @@ void sam_lcdclear(uint32_t color); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAM34_SAM4E_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_SAM4E_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/sam4l-xplained/include/board.h b/boards/arm/sam34/sam4l-xplained/include/board.h index 0fb2dd0e43..e73194a24a 100644 --- a/boards/arm/sam34/sam4l-xplained/include/board.h +++ b/boards/arm/sam34/sam4l-xplained/include/board.h @@ -293,4 +293,4 @@ #define GPIO_SPI0_MOSI GPIO_SPI0_MOSI_1 #define GPIO_SPI0_SPCK GPIO_SPI0_SPCK_4 -#endif /* __BOARDS_ARM_SAM34_SAM4L_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_SAM4L_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/sam4s-xplained-pro/include/board.h b/boards/arm/sam34/sam4s-xplained-pro/include/board.h index eee9dfebf8..d98c2e5842 100644 --- a/boards/arm/sam34/sam4s-xplained-pro/include/board.h +++ b/boards/arm/sam34/sam4s-xplained-pro/include/board.h @@ -261,4 +261,4 @@ #define BUTTON_SW0_BIT (1 << BUTTON_SW0) -#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_PRO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_PRO_INCLUDE_BOARD_H */ diff --git a/boards/arm/sam34/sam4s-xplained/include/board.h b/boards/arm/sam34/sam4s-xplained/include/board.h index 400eb2facc..838ae7cd73 100644 --- a/boards/arm/sam34/sam4s-xplained/include/board.h +++ b/boards/arm/sam34/sam4s-xplained/include/board.h @@ -217,4 +217,4 @@ #define BUTTON_BP2_BIT (1 << BUTTON_BP2) -#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAM34_SAM4S_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board.h b/boards/arm/sama5/sama5d2-xult/include/board.h index 5680c90b2a..0eeb45aa13 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board.h +++ b/boards/arm/sama5/sama5d2-xult/include/board.h @@ -317,4 +317,4 @@ .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board_384mhz.h b/boards/arm/sama5/sama5d2-xult/include/board_384mhz.h index 7152474796..55d5b5d652 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board_384mhz.h +++ b/boards/arm/sama5/sama5d2-xult/include/board_384mhz.h @@ -225,4 +225,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_384MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_384MHZ_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board_396mhz.h b/boards/arm/sama5/sama5d2-xult/include/board_396mhz.h index 8c77f64543..a3cfaafd47 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board_396mhz.h +++ b/boards/arm/sama5/sama5d2-xult/include/board_396mhz.h @@ -215,4 +215,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_396MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_396MHZ_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board_528mhz.h b/boards/arm/sama5/sama5d2-xult/include/board_528mhz.h index a62cffa446..246659e4d9 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board_528mhz.h +++ b/boards/arm/sama5/sama5d2-xult/include/board_528mhz.h @@ -214,4 +214,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_528MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_528MHZ_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board_memorymap.h b/boards/arm/sama5/sama5d2-xult/include/board_memorymap.h index 72e2f808fe..da1c2be934 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board_memorymap.h +++ b/boards/arm/sama5/sama5d2-xult/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/sama5/sama5d2-xult/include/board_sdram.h b/boards/arm/sama5/sama5d2-xult/include/board_sdram.h index f80a7a9776..f47ae629f9 100644 --- a/boards/arm/sama5/sama5d2-xult/include/board_sdram.h +++ b/boards/arm/sama5/sama5d2-xult/include/board_sdram.h @@ -179,4 +179,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_SDRAM_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D2_XULT_INCLUDE_BOARD_SDRAM_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board.h b/boards/arm/sama5/sama5d3-xplained/include/board.h index 0155148337..dc528160e0 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board.h @@ -323,4 +323,4 @@ .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board_384mhz.h b/boards/arm/sama5/sama5d3-xplained/include/board_384mhz.h index 0d859eea36..721de6c125 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board_384mhz.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board_384mhz.h @@ -230,4 +230,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_384MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_384MHZ_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board_396mhz.h b/boards/arm/sama5/sama5d3-xplained/include/board_396mhz.h index 73c98bacc7..05ccbb537a 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board_396mhz.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board_396mhz.h @@ -226,4 +226,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM__SAMA5SAMA5D3_XPLAINED_INCLUDE_BOARD_396MHZ_H */ +#endif /* __BOARDS_ARM__SAMA5SAMA5D3_XPLAINED_INCLUDE_BOARD_396MHZ_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board_528mhz.h b/boards/arm/sama5/sama5d3-xplained/include/board_528mhz.h index 8739e10b5d..379226ee5c 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board_528mhz.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board_528mhz.h @@ -225,4 +225,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_528MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_528MHZ_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board_memorymap.h b/boards/arm/sama5/sama5d3-xplained/include/board_memorymap.h index d086323546..9c7365b18f 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board_memorymap.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/sama5/sama5d3-xplained/include/board_sdram.h b/boards/arm/sama5/sama5d3-xplained/include/board_sdram.h index d995a1def5..d59c07d880 100644 --- a/boards/arm/sama5/sama5d3-xplained/include/board_sdram.h +++ b/boards/arm/sama5/sama5d3-xplained/include/board_sdram.h @@ -183,4 +183,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_SDRAM_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3_XPLAINED_INCLUDE_BOARD_SDRAM_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board.h b/boards/arm/sama5/sama5d3x-ek/include/board.h index 105d65af9a..42c0d98ecc 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board.h @@ -358,4 +358,4 @@ .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board_384mhz.h b/boards/arm/sama5/sama5d3x-ek/include/board_384mhz.h index efd72993f3..49587079b7 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board_384mhz.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board_384mhz.h @@ -225,4 +225,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_384MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_384MHZ_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board_396mhz.h b/boards/arm/sama5/sama5d3x-ek/include/board_396mhz.h index 71113c4990..7b6083339f 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board_396mhz.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board_396mhz.h @@ -220,4 +220,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_396MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_396MHZ_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board_528mhz.h b/boards/arm/sama5/sama5d3x-ek/include/board_528mhz.h index ac94986c16..d09476eac0 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board_528mhz.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board_528mhz.h @@ -219,4 +219,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_528MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_528MHZ_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board_memorymap.h b/boards/arm/sama5/sama5d3x-ek/include/board_memorymap.h index e858a4bb7b..5dd08fc08b 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board_memorymap.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/sama5/sama5d3x-ek/include/board_sdram.h b/boards/arm/sama5/sama5d3x-ek/include/board_sdram.h index 8c3666e33f..8c77b55c76 100644 --- a/boards/arm/sama5/sama5d3x-ek/include/board_sdram.h +++ b/boards/arm/sama5/sama5d3x-ek/include/board_sdram.h @@ -182,4 +182,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_SDRAM_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D3X_EK_INCLUDE_BOARD_SDRAM_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board.h b/boards/arm/sama5/sama5d4-ek/include/board.h index 6f5862d38a..a80a1d81a2 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board.h +++ b/boards/arm/sama5/sama5d4-ek/include/board.h @@ -291,4 +291,4 @@ .endm #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board_384mhz.h b/boards/arm/sama5/sama5d4-ek/include/board_384mhz.h index eb89b83abb..15e1c64b21 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board_384mhz.h +++ b/boards/arm/sama5/sama5d4-ek/include/board_384mhz.h @@ -224,4 +224,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_384MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_384MHZ_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board_396mhz.h b/boards/arm/sama5/sama5d4-ek/include/board_396mhz.h index 6c940f332f..cd1606a0bb 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board_396mhz.h +++ b/boards/arm/sama5/sama5d4-ek/include/board_396mhz.h @@ -214,4 +214,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_396MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_396MHZ_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board_528mhz.h b/boards/arm/sama5/sama5d4-ek/include/board_528mhz.h index 589b618900..29a438bcb7 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board_528mhz.h +++ b/boards/arm/sama5/sama5d4-ek/include/board_528mhz.h @@ -213,4 +213,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_528MHZ_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_528MHZ_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board_memorymap.h b/boards/arm/sama5/sama5d4-ek/include/board_memorymap.h index 6beca27516..8df5749f76 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board_memorymap.h +++ b/boards/arm/sama5/sama5d4-ek/include/board_memorymap.h @@ -71,4 +71,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_MEMORYMAP_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_MEMORYMAP_H */ diff --git a/boards/arm/sama5/sama5d4-ek/include/board_sdram.h b/boards/arm/sama5/sama5d4-ek/include/board_sdram.h index 9aa5d6432c..3786249ce9 100644 --- a/boards/arm/sama5/sama5d4-ek/include/board_sdram.h +++ b/boards/arm/sama5/sama5d4-ek/include/board_sdram.h @@ -178,4 +178,4 @@ extern "C" #endif #endif /* !__ASSEMBLY__ */ -#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_SDRAM_H */ +#endif /* __BOARDS_ARM_SAMA5_SAMA5D4_EK_INCLUDE_BOARD_SDRAM_H */ diff --git a/boards/arm/samd2l2/arduino-m0/include/board.h b/boards/arm/samd2l2/arduino-m0/include/board.h index 0575f76430..c300be1113 100644 --- a/boards/arm/samd2l2/arduino-m0/include/board.h +++ b/boards/arm/samd2l2/arduino-m0/include/board.h @@ -547,4 +547,4 @@ #define NUM_BUTTONS 0 -#endif /* __BOARDS_ARM_SAMD2L2_ARDUINO_M0_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD2L2_ARDUINO_M0_INCLUDE_BOARD_H */ diff --git a/boards/arm/samd2l2/samd20-xplained/include/board.h b/boards/arm/samd2l2/samd20-xplained/include/board.h index 377c5bdde1..6eb08e29f2 100644 --- a/boards/arm/samd2l2/samd20-xplained/include/board.h +++ b/boards/arm/samd2l2/samd20-xplained/include/board.h @@ -527,4 +527,4 @@ #define BUTTON_SW0_BIT (1 << BUTTON_SW0) -#endif /* __BOARDS_ARM_SAMD2L2_SAMD20_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD2L2_SAMD20_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/samd2l2/samd21-xplained/include/board.h b/boards/arm/samd2l2/samd21-xplained/include/board.h index d6cd784653..08d350ed90 100644 --- a/boards/arm/samd2l2/samd21-xplained/include/board.h +++ b/boards/arm/samd2l2/samd21-xplained/include/board.h @@ -541,4 +541,4 @@ #define BUTTON_SW0_BIT (1 << BUTTON_SW0) -#endif /* __BOARDS_ARM_SAMD2L2_SAMD21_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD2L2_SAMD21_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/samd2l2/saml21-xplained/include/board.h b/boards/arm/samd2l2/saml21-xplained/include/board.h index 49abf66298..d58c635089 100644 --- a/boards/arm/samd2l2/saml21-xplained/include/board.h +++ b/boards/arm/samd2l2/saml21-xplained/include/board.h @@ -666,4 +666,4 @@ #define BUTTON_SW0_BIT (1 << BUTTON_SW0) -#endif /* __BOARDS_ARM_SAMD2L2_SAML21_XPLAINED_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD2L2_SAML21_XPLAINED_INCLUDE_BOARD_H */ diff --git a/boards/arm/samd5e5/metro-m4/include/board.h b/boards/arm/samd5e5/metro-m4/include/board.h index 3a364b3019..0e74f6b48d 100644 --- a/boards/arm/samd5e5/metro-m4/include/board.h +++ b/boards/arm/samd5e5/metro-m4/include/board.h @@ -465,4 +465,4 @@ #define BOARD_USB_GCLKGEN 1 /* GCLK1, 48MHz */ -#endif /* __BOARDS_ARM_SAMD5E5_METRO_M4_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD5E5_METRO_M4_INCLUDE_BOARD_H */ diff --git a/boards/arm/samd5e5/same54-xplained-pro/include/board.h b/boards/arm/samd5e5/same54-xplained-pro/include/board.h index bb67025b5d..db35ebe1cd 100644 --- a/boards/arm/samd5e5/same54-xplained-pro/include/board.h +++ b/boards/arm/samd5e5/same54-xplained-pro/include/board.h @@ -500,4 +500,4 @@ #define BOARD_GMAC_GMDC PORT_GMAC_GMDC_3 #define BOARD_GMAC_GMDIO PORT_GMAC_GMDIO_3 -#endif /* __BOARDS_ARM_SAMD5E5_SAME54_XPLAINED_PRO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_SAMD5E5_SAME54_XPLAINED_PRO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/clicker2-stm32/include/board.h b/boards/arm/stm32/clicker2-stm32/include/board.h index 54fb5833ba..4e6da6656b 100644 --- a/boards/arm/stm32/clicker2-stm32/include/board.h +++ b/boards/arm/stm32/clicker2-stm32/include/board.h @@ -331,4 +331,4 @@ #define DMAMAP_SDIO DMAMAP_SDIO_1 -#endif /* __BOARDS_ARM_STM32_CLICKER2_STM32_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_CLICKER2_STM32_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/clicker2-stm32/src/clicker2-stm32.h b/boards/arm/stm32/clicker2-stm32/src/clicker2-stm32.h index cb91cab51f..9f4388d16a 100644 --- a/boards/arm/stm32/clicker2-stm32/src/clicker2-stm32.h +++ b/boards/arm/stm32/clicker2-stm32/src/clicker2-stm32.h @@ -429,5 +429,5 @@ int stm32_automount_initialize(void); void stm32_automount_event(int slotno, bool inserted); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_CLICKER2_STM32_SRC_CLICKER2_H */ diff --git a/boards/arm/stm32/cloudctrl/include/board.h b/boards/arm/stm32/cloudctrl/include/board.h index d778fa3c0c..b889432003 100644 --- a/boards/arm/stm32/cloudctrl/include/board.h +++ b/boards/arm/stm32/cloudctrl/include/board.h @@ -35,7 +35,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_CLOUDCTRL_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/fire-stm32v2/include/board.h b/boards/arm/stm32/fire-stm32v2/include/board.h index 59ccb37e51..8b2cfe85e8 100644 --- a/boards/arm/stm32/fire-stm32v2/include/board.h +++ b/boards/arm/stm32/fire-stm32v2/include/board.h @@ -402,4 +402,4 @@ void fire_lcdclear(uint16_t color); #undef EXTERN #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_FIRE_STM32V2_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_FIRE_STM32V2_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/hymini-stm32v/include/board.h b/boards/arm/stm32/hymini-stm32v/include/board.h index afec21fd22..02cebca5f6 100644 --- a/boards/arm/stm32/hymini-stm32v/include/board.h +++ b/boards/arm/stm32/hymini-stm32v/include/board.h @@ -175,4 +175,4 @@ #define BUTTON_KEYA_BIT (1 << BUTTON_KEYA) #define BUTTON_KEYB_BIT (1 << BUTTON_KEYB) -#endif /* __BOARDS_ARM_STM32_HYMINI_STM32V_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_HYMINI_STM32V_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/maple/include/board.h b/boards/arm/stm32/maple/include/board.h index 70a8467cdb..aa356b4ab1 100644 --- a/boards/arm/stm32/maple/include/board.h +++ b/boards/arm/stm32/maple/include/board.h @@ -162,4 +162,4 @@ #define LED_ASSERTION 6 /* LED1 + LED2 */ #define LED_PANIC 7 /* LED1 / LED2 blinking */ -#endif /* __BOARDS_ARM_STM32_MAPLE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_MAPLE_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/mikroe-stm32f4/include/board.h b/boards/arm/stm32/mikroe-stm32f4/include/board.h index 3ebab5209a..63e418a8b0 100644 --- a/boards/arm/stm32/mikroe-stm32f4/include/board.h +++ b/boards/arm/stm32/mikroe-stm32f4/include/board.h @@ -213,7 +213,7 @@ #define BUTTON_USER_BIT (1 << BUTTON_USER) -#endif /* 0 */ +#endif /* 0 */ /* Alternate function pin selections ************************************************/ @@ -257,4 +257,4 @@ #define GPIO_TIM8_CH1IN GPIO_TIM8_CH1IN_1 #define GPIO_TIM8_CH2IN GPIO_TIM8_CH2IN_1 -#endif /* __BOARDS_ARM_STM32_MIKROE_STM32F4_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_MIKROE_STM32F4_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/nucleo-f103rb/src/stm32_adc.c b/boards/arm/stm32/nucleo-f103rb/src/stm32_adc.c index 990723b2f0..a3543055bb 100644 --- a/boards/arm/stm32/nucleo-f103rb/src/stm32_adc.c +++ b/boards/arm/stm32/nucleo-f103rb/src/stm32_adc.c @@ -130,7 +130,7 @@ static const uint32_t g_pinlist1[3] = GPIO_ADC123_IN10, /* PC0/A5 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -158,8 +158,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC123_IN10, /* PC0/A5 */ }; -#endif /* DEV2_PORT == 2 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 2 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/nucleo-f207zg/src/stm32_adc.c b/boards/arm/stm32/nucleo-f207zg/src/stm32_adc.c index 973be8d4ea..5a0062307f 100644 --- a/boards/arm/stm32/nucleo-f207zg/src/stm32_adc.c +++ b/boards/arm/stm32/nucleo-f207zg/src/stm32_adc.c @@ -132,7 +132,7 @@ static const uint32_t g_pinlist1[3] = GPIO_ADC3_IN8, /* PF10/A5 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -160,8 +160,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC3_IN8, /* PF10/A5 */ }; -#endif /* DEV2_PORT == 3 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 3 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/nucleo-f302r8/include/board.h b/boards/arm/stm32/nucleo-f302r8/include/board.h index 3530a44d59..f0327cbc17 100644 --- a/boards/arm/stm32/nucleo-f302r8/include/board.h +++ b/boards/arm/stm32/nucleo-f302r8/include/board.h @@ -248,8 +248,8 @@ #define ADC1_EXTSEL_VALUE ADC1_EXTSEL_T1CC1 -#endif /* CONFIG_STM32_TIM1_PWM */ -#endif /* CONFIG_NUCLEOF302R8_HIGHPRI */ +#endif /* CONFIG_STM32_TIM1_PWM */ +#endif /* CONFIG_NUCLEOF302R8_HIGHPRI */ /* DMA channels *************************************************************/ /* ADC */ diff --git a/boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c b/boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c index 6e8e927957..16bd9a7ee8 100644 --- a/boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c +++ b/boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c @@ -417,7 +417,7 @@ int highpri_main(int argc, char *argv[]) PWM_DUMP_REGS(pwm1); #endif -#endif /* HIGHPRI_HAVE_TIM1 */ +#endif /* HIGHPRI_HAVE_TIM1 */ #if !defined(CONFIG_STM32_ADC1_DMA) || defined(HIGHPRI_HAVE_INJECTED) /* Attach ADC12 ram vector if no DMA or injected channels support */ diff --git a/boards/arm/stm32/nucleo-f303ze/src/stm32_adc.c b/boards/arm/stm32/nucleo-f303ze/src/stm32_adc.c index 800ba1176d..5590bac104 100644 --- a/boards/arm/stm32/nucleo-f303ze/src/stm32_adc.c +++ b/boards/arm/stm32/nucleo-f303ze/src/stm32_adc.c @@ -132,7 +132,7 @@ static const uint32_t g_pinlist1[3] = GPIO_ADC3_IN10, /* PD13/A5 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -160,8 +160,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC3_IN10, /* PD13/A5 */ }; -#endif /* DEV2_PORT == 3 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 3 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/nucleo-f334r8/include/board.h b/boards/arm/stm32/nucleo-f334r8/include/board.h index dcea911f05..a40c6afb0d 100644 --- a/boards/arm/stm32/nucleo-f334r8/include/board.h +++ b/boards/arm/stm32/nucleo-f334r8/include/board.h @@ -268,7 +268,7 @@ #define HRTIM_ADC_TRG1 HRTIM_ADCTRG13_APER -#endif /* CONFIG_STM32_HRTIM1 && CONFIG_STM32_ADC1_DMA*/ +#endif /* CONFIG_STM32_HRTIM1 && CONFIG_STM32_ADC1_DMA*/ #if defined(CONFIG_STM32_TIM1_PWM) && defined(CONFIG_STM32_ADC1_DMA) @@ -276,8 +276,8 @@ #define ADC1_EXTSEL_VALUE ADC1_EXTSEL_T1CC1 -#endif /* CONFIG_STM32_TIM1_PWM && CONFIG_STM32_ADC1_DMA */ -#endif /* CONFIG_NUCLEOF334R8_HIGHPRI */ +#endif /* CONFIG_STM32_TIM1_PWM && CONFIG_STM32_ADC1_DMA */ +#endif /* CONFIG_NUCLEOF334R8_HIGHPRI */ #ifdef CONFIG_NUCLEOF334R8_SPWM # ifdef CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 @@ -338,7 +338,7 @@ # define HRTIM_MASTER_IRQ HRTIM_IRQ_MCMP1 # endif -#endif /* CONFIG_NUCLEOF334R8_SPWM */ +#endif /* CONFIG_NUCLEOF334R8_SPWM */ /* DMA channels *************************************************************/ /* ADC */ diff --git a/boards/arm/stm32/nucleo-f334r8/src/stm32_adc.c b/boards/arm/stm32/nucleo-f334r8/src/stm32_adc.c index a0e4cb1018..a822c407a6 100644 --- a/boards/arm/stm32/nucleo-f334r8/src/stm32_adc.c +++ b/boards/arm/stm32/nucleo-f334r8/src/stm32_adc.c @@ -130,7 +130,7 @@ static const uint32_t g_pinlist1[3] = GPIO_ADC2_IN6, /* PC0/A5 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -158,8 +158,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC2_IN6, /* PC0/A5 */ }; -#endif /* DEV2_PORT == 2 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 2 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/nucleo-f334r8/src/stm32_highpri.c b/boards/arm/stm32/nucleo-f334r8/src/stm32_highpri.c index bce067d762..2c10d15e14 100644 --- a/boards/arm/stm32/nucleo-f334r8/src/stm32_highpri.c +++ b/boards/arm/stm32/nucleo-f334r8/src/stm32_highpri.c @@ -412,7 +412,7 @@ int highpri_main(int argc, char *argv[]) /* Set Timer A Period */ HRTIM_PER_SET(hrtim, HRTIM_TIMER_TIMA, 0xFFD0); -#endif /* HIGHPRI_HAVE_HRTIM */ +#endif /* HIGHPRI_HAVE_HRTIM */ #ifdef HIGHPRI_HAVE_TIM1 /* Initialize TIM1 */ @@ -453,7 +453,7 @@ int highpri_main(int argc, char *argv[]) PWM_DUMP_REGS(pwm1); #endif -#endif /* HIGHPRI_HAVE_TIM1 */ +#endif /* HIGHPRI_HAVE_TIM1 */ #if !defined(CONFIG_STM32_ADC1_DMA) || defined(HIGHPRI_HAVE_INJECTED) /* Attach ADC12 ram vector if no DMA or injected channels support */ diff --git a/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c b/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c index 0a5c077b5a..fb5d88a086 100644 --- a/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c +++ b/boards/arm/stm32/nucleo-f334r8/src/stm32_spwm.c @@ -130,7 +130,7 @@ # error # endif -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ /* Check the configuration for HRTIM */ @@ -179,7 +179,7 @@ # endif # endif -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ /* Configuration ************************************************************/ @@ -255,7 +255,7 @@ static void hrtim_master_handler(void); static int spwm_hrtim_setup(FAR struct spwm_s *spwm); static int spwm_hrtim_start(FAR struct spwm_s *spwm); static int spwm_hrtim_stop(FAR struct spwm_s *spwm); -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ #ifdef CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 static int spwm_tim1_setup(FAR struct spwm_s *spwm); static int spwm_tim6_setup(FAR struct spwm_s *spwm); @@ -263,7 +263,7 @@ static int spwm_tim1_start(FAR struct spwm_s *spwm); static int spwm_tim6_start(FAR struct spwm_s *spwm); static int spwm_tim1_stop(FAR struct spwm_s *spwm); static int spwm_tim6_stop(FAR struct spwm_s *spwm); -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ static int spwm_setup(FAR struct spwm_s *spwm); /**************************************************************************** @@ -697,7 +697,7 @@ static int spwm_hrtim_stop(FAR struct spwm_s *spwm) return OK; } -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_HRTIM1 */ #ifdef CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 @@ -940,7 +940,7 @@ static int spwm_tim1_stop(FAR struct spwm_s *spwm) return OK; } -#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOF334R8_SPWM_USE_TIM1 */ /**************************************************************************** * Name: spwm_setup @@ -1056,4 +1056,4 @@ errout: return 0; } -#endif /* CONFIG_NUCLEOF334R8_SPWM */ +#endif /* CONFIG_NUCLEOF334R8_SPWM */ diff --git a/boards/arm/stm32/nucleo-f410rb/include/board.h b/boards/arm/stm32/nucleo-f410rb/include/board.h index 1ae70d5880..9bdd559e1f 100644 --- a/boards/arm/stm32/nucleo-f410rb/include/board.h +++ b/boards/arm/stm32/nucleo-f410rb/include/board.h @@ -308,4 +308,4 @@ #define BUTTON_USER_BIT (1 << BUTTON_USER) -#endif /* __BOARDS_ARM_STM32_NUCLEO_F410RB_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F410RB_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/nucleo-f446re/include/board.h b/boards/arm/stm32/nucleo-f446re/include/board.h index d6d75fd013..4e52b2fa96 100644 --- a/boards/arm/stm32/nucleo-f446re/include/board.h +++ b/boards/arm/stm32/nucleo-f446re/include/board.h @@ -220,4 +220,4 @@ #define GPIO_TIM2_CH1IN (GPIO_TIM2_CH1IN_1 | GPIO_PULLUP) #define GPIO_TIM2_CH2IN (GPIO_TIM2_CH2IN_1 | GPIO_PULLUP) -#endif /* __BOARDS_ARM_STM32_NUCLEO_F446RE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F446RE_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/nucleo-f446re/include/nucleo-f446re.h b/boards/arm/stm32/nucleo-f446re/include/nucleo-f446re.h index 80cff0a6b3..06b8a288ed 100644 --- a/boards/arm/stm32/nucleo-f446re/include/nucleo-f446re.h +++ b/boards/arm/stm32/nucleo-f446re/include/nucleo-f446re.h @@ -236,4 +236,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_NUCLEO_F446RE_INCLUDE_NUCLEO_F446RE_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F446RE_INCLUDE_NUCLEO_F446RE_H */ diff --git a/boards/arm/stm32/nucleo-f4x1re/include/board.h b/boards/arm/stm32/nucleo-f4x1re/include/board.h index a52132ccd0..4ba03b2930 100644 --- a/boards/arm/stm32/nucleo-f4x1re/include/board.h +++ b/boards/arm/stm32/nucleo-f4x1re/include/board.h @@ -217,4 +217,4 @@ #define GPIO_TIM2_CH1IN (GPIO_TIM2_CH1IN_1 | GPIO_PULLUP) #define GPIO_TIM2_CH2IN (GPIO_TIM2_CH2IN_1 | GPIO_PULLUP) -#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f401re.h b/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f401re.h index c4b0865154..732b5cd016 100644 --- a/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f401re.h +++ b/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f401re.h @@ -235,4 +235,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_NUCLEO_F401RE_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_NUCLEO_F401RE_H */ diff --git a/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f411re.h b/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f411re.h index a27657ebc6..585870e771 100644 --- a/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f411re.h +++ b/boards/arm/stm32/nucleo-f4x1re/include/nucleo-f411re.h @@ -231,4 +231,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_NUCLEO_F411RE_H */ +#endif /* __BOARDS_ARM_STM32_NUCLEO_F401RE_INCLUDE_NUCLEO_F411RE_H */ diff --git a/boards/arm/stm32/olimex-stm32-e407/include/board.h b/boards/arm/stm32/olimex-stm32-e407/include/board.h index 3c9aa25971..8e8d901ee6 100644 --- a/boards/arm/stm32/olimex-stm32-e407/include/board.h +++ b/boards/arm/stm32/olimex-stm32-e407/include/board.h @@ -36,7 +36,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_E407_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-e407/src/olimex-stm32-e407.h b/boards/arm/stm32/olimex-stm32-e407/src/olimex-stm32-e407.h index 870b74a68e..2148b8f0d3 100644 --- a/boards/arm/stm32/olimex-stm32-e407/src/olimex-stm32-e407.h +++ b/boards/arm/stm32/olimex-stm32-e407/src/olimex-stm32-e407.h @@ -380,5 +380,5 @@ int stm32_timer_driver_setup(FAR const char *devpath, int timer); int stm32_mrf24j40_initialize(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_E407_SRC_INTERNAL_H */ diff --git a/boards/arm/stm32/olimex-stm32-h405/include/board.h b/boards/arm/stm32/olimex-stm32-h405/include/board.h index 9b4d0210bc..8aa993c308 100644 --- a/boards/arm/stm32/olimex-stm32-h405/include/board.h +++ b/boards/arm/stm32/olimex-stm32-h405/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_H405_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-h405/src/olimex-stm32-h405.h b/boards/arm/stm32/olimex-stm32-h405/src/olimex-stm32-h405.h index 1964df900a..15e4a92b9a 100644 --- a/boards/arm/stm32/olimex-stm32-h405/src/olimex-stm32-h405.h +++ b/boards/arm/stm32/olimex-stm32-h405/src/olimex-stm32-h405.h @@ -112,5 +112,5 @@ int stm32_adc_setup(void); int stm32_can_setup(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_H405_SRC_H */ diff --git a/boards/arm/stm32/olimex-stm32-h407/include/board.h b/boards/arm/stm32/olimex-stm32-h407/include/board.h index e297ae4d4e..16dcdd04d7 100644 --- a/boards/arm/stm32/olimex-stm32-h407/include/board.h +++ b/boards/arm/stm32/olimex-stm32-h407/include/board.h @@ -35,7 +35,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_H407_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-h407/src/olimex-stm32-h407.h b/boards/arm/stm32/olimex-stm32-h407/src/olimex-stm32-h407.h index 5bff83353a..34be956705 100644 --- a/boards/arm/stm32/olimex-stm32-h407/src/olimex-stm32-h407.h +++ b/boards/arm/stm32/olimex-stm32-h407/src/olimex-stm32-h407.h @@ -265,5 +265,5 @@ int stm32_adc_setup(void); int stm32_can_setup(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_H407_SRC_INTERNAL_H */ diff --git a/boards/arm/stm32/olimex-stm32-p107/include/board.h b/boards/arm/stm32/olimex-stm32-p107/include/board.h index fa9fbf6dc7..ac158e31e9 100644 --- a/boards/arm/stm32/olimex-stm32-p107/include/board.h +++ b/boards/arm/stm32/olimex-stm32-p107/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_P107_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-p107/src/olimex-stm32-p107.h b/boards/arm/stm32/olimex-stm32-p107/src/olimex-stm32-p107.h index c7726d4e5f..4fcda714e5 100644 --- a/boards/arm/stm32/olimex-stm32-p107/src/olimex-stm32-p107.h +++ b/boards/arm/stm32/olimex-stm32-p107/src/olimex-stm32-p107.h @@ -97,5 +97,5 @@ void weak_function stm32_spidev_initialize(void); int stm32_can_setup(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_P107_SRC_H */ diff --git a/boards/arm/stm32/olimex-stm32-p207/include/board.h b/boards/arm/stm32/olimex-stm32-p207/include/board.h index e73f6ac086..5d72cc6aad 100644 --- a/boards/arm/stm32/olimex-stm32-p207/include/board.h +++ b/boards/arm/stm32/olimex-stm32-p207/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_P207_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-p207/src/olimex-stm32-p207.h b/boards/arm/stm32/olimex-stm32-p207/src/olimex-stm32-p207.h index 44277a4017..41716c9e5b 100644 --- a/boards/arm/stm32/olimex-stm32-p207/src/olimex-stm32-p207.h +++ b/boards/arm/stm32/olimex-stm32-p207/src/olimex-stm32-p207.h @@ -148,5 +148,5 @@ int stm32_adc_setup(void); int stm32_can_setup(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_P207_SRC_H */ diff --git a/boards/arm/stm32/olimex-stm32-p407/include/board.h b/boards/arm/stm32/olimex-stm32-p407/include/board.h index d9c69ea5aa..2d4adff94a 100644 --- a/boards/arm/stm32/olimex-stm32-p407/include/board.h +++ b/boards/arm/stm32/olimex-stm32-p407/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_OLIMEX_STM32_P407_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h index 99c0d4e833..17d77f3010 100644 --- a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h +++ b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h @@ -307,5 +307,5 @@ int stm32_can_setup(void); int stm32_dhtxx_initialize(FAR const char *devpath); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_OLIMEX_STM32_P407_SRC_H */ diff --git a/boards/arm/stm32/omnibusf4/include/board.h b/boards/arm/stm32/omnibusf4/include/board.h index 7f482ebc8c..5a726d03a9 100644 --- a/boards/arm/stm32/omnibusf4/include/board.h +++ b/boards/arm/stm32/omnibusf4/include/board.h @@ -265,4 +265,4 @@ #define GPIO_I2C1_SDA GPIO_I2C1_SDA_2 #endif -#endif /* __BOARDS_ARM_STM32_OMNIBUSF4_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_OMNIBUSF4_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/photon/include/board.h b/boards/arm/stm32/photon/include/board.h index 56cf6de0ee..ec54e273d8 100644 --- a/boards/arm/stm32/photon/include/board.h +++ b/boards/arm/stm32/photon/include/board.h @@ -294,4 +294,4 @@ #define DMAMAP_SDIO DMAMAP_SDIO_1 -#endif /* __BOARDS_ARM_STM32_PHOTON_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_PHOTON_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/photon/src/stm32_wdt.c b/boards/arm/stm32/photon/src/stm32_wdt.c index 2cba167d8f..b10d796aeb 100644 --- a/boards/arm/stm32/photon/src/stm32_wdt.c +++ b/boards/arm/stm32/photon/src/stm32_wdt.c @@ -143,7 +143,7 @@ int photon_watchdog_initialize(void) # error "No watchdog configured" #endif - /* Close watchdog as it is not needed here anymore */ + /* Close watchdog as it is not needed here anymore */ file_close(&filestruct); diff --git a/boards/arm/stm32/shenzhou/include/board.h b/boards/arm/stm32/shenzhou/include/board.h index baac67e890..e6da92c9e7 100644 --- a/boards/arm/stm32/shenzhou/include/board.h +++ b/boards/arm/stm32/shenzhou/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_SHENZHOU_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/stm3210e-eval/include/board.h b/boards/arm/stm32/stm3210e-eval/include/board.h index 511f4f130f..09d3924308 100644 --- a/boards/arm/stm32/stm3210e-eval/include/board.h +++ b/boards/arm/stm32/stm3210e-eval/include/board.h @@ -298,4 +298,4 @@ int stm32_lm75attach(xcpt_t irqhandler, void *arg); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_STM3210E_EVAL_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM3210E_EVAL_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm3220g-eval/include/board.h b/boards/arm/stm32/stm3220g-eval/include/board.h index 785bd74b38..6fbd003849 100644 --- a/boards/arm/stm32/stm3220g-eval/include/board.h +++ b/boards/arm/stm32/stm3220g-eval/include/board.h @@ -481,4 +481,4 @@ void stm3220g_lcdclear(uint16_t color); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_STM3220G_EVAL_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM3220G_EVAL_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm3240g-eval/include/board.h b/boards/arm/stm32/stm3240g-eval/include/board.h index 2be423e518..952878f1df 100644 --- a/boards/arm/stm32/stm3240g-eval/include/board.h +++ b/boards/arm/stm32/stm3240g-eval/include/board.h @@ -510,4 +510,4 @@ void stm3240g_lcdclear(uint16_t color); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARD_ARM_STM32_STM3240G_EVAL_INCLUDE_BOARD_H */ +#endif /* __BOARD_ARM_STM32_STM3240G_EVAL_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32_tiny/include/board.h b/boards/arm/stm32/stm32_tiny/include/board.h index 7d44714764..1c827c9929 100644 --- a/boards/arm/stm32/stm32_tiny/include/board.h +++ b/boards/arm/stm32/stm32_tiny/include/board.h @@ -161,4 +161,4 @@ #define LED_ASSERTION 6 /* LED1 + LED2 */ #define LED_PANIC 7 /* LED1 / LED2 blinking */ -#endif /* __ARCH_ARM_STM32_STM32_TINY_INCLUDE_BOARD_H */ +#endif /* __ARCH_ARM_STM32_STM32_TINY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32butterfly2/include/board.h b/boards/arm/stm32/stm32butterfly2/include/board.h index bcd7bb8da6..e6e7fd18b9 100644 --- a/boards/arm/stm32/stm32butterfly2/include/board.h +++ b/boards/arm/stm32/stm32butterfly2/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/stm32butterfly2/src/stm32_butterfly2.h b/boards/arm/stm32/stm32butterfly2/src/stm32_butterfly2.h index dd01a1de34..6aa4ac0340 100644 --- a/boards/arm/stm32/stm32butterfly2/src/stm32_butterfly2.h +++ b/boards/arm/stm32/stm32butterfly2/src/stm32_butterfly2.h @@ -33,7 +33,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H -#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H 1 +#define __BOARDS_ARM_STM32_STM32_BUTTERFLY2_SRC_STM32_BUTTERFLY2_H /***************************************************************************** * Included Files diff --git a/boards/arm/stm32/stm32f103-minimum/include/board.h b/boards/arm/stm32/stm32f103-minimum/include/board.h index 6a47b585a6..0fec651927 100644 --- a/boards/arm/stm32/stm32f103-minimum/include/board.h +++ b/boards/arm/stm32/stm32f103-minimum/include/board.h @@ -194,4 +194,4 @@ #define RGBLED_BPWMTIMER 4 #define RGBLED_BPWMCHANNEL 4 -#endif /* __BOARDS_ARM_STM32_STM32F103_MINIMUM_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32F103_MINIMUM_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f334-disco/include/board.h b/boards/arm/stm32/stm32f334-disco/include/board.h index a5de992d2d..95a57015f8 100644 --- a/boards/arm/stm32/stm32f334-disco/include/board.h +++ b/boards/arm/stm32/stm32f334-disco/include/board.h @@ -255,7 +255,7 @@ #define DAC1CH1_DMA_CHAN DMACHAN_HRTIM1_C -#endif /* CONFIG_EXAMPLES_POWERLED */ +#endif /* CONFIG_EXAMPLES_POWERLED */ /* Board configuration for SMPS example: * PA8 - HRTIM_CHA1 @@ -314,6 +314,6 @@ /* DMA channels *************************************************************/ -#endif /* CONFIG_EXAMPLES_SMPS */ +#endif /* CONFIG_EXAMPLES_SMPS */ #endif /* __BOARDS_ARM_STM32_STM32F334_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f334-disco/src/stm32_adc.c b/boards/arm/stm32/stm32f334-disco/src/stm32_adc.c index e5bc3e3054..e888c7c0b4 100644 --- a/boards/arm/stm32/stm32f334-disco/src/stm32_adc.c +++ b/boards/arm/stm32/stm32f334-disco/src/stm32_adc.c @@ -130,7 +130,7 @@ static const uint32_t g_pinlist1[3] = GPIO_ADC2_IN6, /* PC0/A5 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -158,8 +158,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC2_IN6, /* PC0/A5 */ }; -#endif /* DEV2_PORT == 2 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 2 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/stm32f3discovery/include/board.h b/boards/arm/stm32/stm32f3discovery/include/board.h index a4a17dec30..558fa5705f 100644 --- a/boards/arm/stm32/stm32f3discovery/include/board.h +++ b/boards/arm/stm32/stm32f3discovery/include/board.h @@ -272,4 +272,4 @@ #define GPIO_I2C2_SDA GPIO_I2C2_SDA_1 #endif -#endif /* __BOARDS_ARM_STM32_STM32F3DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32F3DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f411e-disco/include/board.h b/boards/arm/stm32/stm32f411e-disco/include/board.h index ddc9909b41..1edaccc45d 100644 --- a/boards/arm/stm32/stm32f411e-disco/include/board.h +++ b/boards/arm/stm32/stm32f411e-disco/include/board.h @@ -327,4 +327,4 @@ #define BUTTON_USER_BIT (1 << BUTTON_USER) -#endif /* __BOARDS_ARM_STM32_STM32F411E_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32F411E_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f429i-disco/include/board.h b/boards/arm/stm32/stm32f429i-disco/include/board.h index c115f19c64..cdbd5c48a0 100644 --- a/boards/arm/stm32/stm32f429i-disco/include/board.h +++ b/boards/arm/stm32/stm32f429i-disco/include/board.h @@ -471,11 +471,11 @@ #define ADC1_EXTSEL_VALUE ADC1_EXTSEL_T1CC1 -#endif /* CONFIG_STM32_TIM1_PWM */ -#endif /* CONFIG_STM32F429I_DISCO_HIGHPRI */ +#endif /* CONFIG_STM32_TIM1_PWM */ +#endif /* CONFIG_STM32F429I_DISCO_HIGHPRI */ /* DMA ******************************************************************************/ #define ADC1_DMA_CHAN DMAMAP_ADC1_1 -#endif /* __BOARDS_ARM_STM32_STM32F429I_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32F429I_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f429i-disco/src/stm32_adc.c b/boards/arm/stm32/stm32f429i-disco/src/stm32_adc.c index 0bcb08ce2b..f263572444 100644 --- a/boards/arm/stm32/stm32f429i-disco/src/stm32_adc.c +++ b/boards/arm/stm32/stm32f429i-disco/src/stm32_adc.c @@ -126,7 +126,7 @@ static const uint32_t g_pinlist1[1] = GPIO_ADC3_IN4, /* PF6 */ }; -#endif /* DEV1_PORT == 1 */ +#endif /* DEV1_PORT == 1 */ #ifdef DEV2_PORT @@ -154,8 +154,8 @@ static const uint32_t g_pinlist2[3] = GPIO_ADC3_IN10, /* PD13/A5 */ }; -#endif /* DEV2_PORT == 3 */ -#endif /* DEV2_PORT */ +#endif /* DEV2_PORT == 3 */ +#endif /* DEV2_PORT */ /**************************************************************************** * Private Functions diff --git a/boards/arm/stm32/stm32f429i-disco/src/stm32_highpri.c b/boards/arm/stm32/stm32f429i-disco/src/stm32_highpri.c index d92fc0d009..2ca377df94 100644 --- a/boards/arm/stm32/stm32f429i-disco/src/stm32_highpri.c +++ b/boards/arm/stm32/stm32f429i-disco/src/stm32_highpri.c @@ -402,7 +402,7 @@ int highpri_main(int argc, char *argv[]) PWM_DUMP_REGS(pwm1); #endif -#endif /* HIGHPRI_HAVE_TIM1 */ +#endif /* HIGHPRI_HAVE_TIM1 */ #if !defined(CONFIG_STM32_ADC1_DMA) || defined(HIGHPRI_HAVE_INJECTED) /* Attach ADC ram vector if no DMA or injected channels support */ diff --git a/boards/arm/stm32/stm32f429i-disco/src/stm32_l3gd20.c b/boards/arm/stm32/stm32f429i-disco/src/stm32_l3gd20.c index b0b6326a26..f1f50d9316 100644 --- a/boards/arm/stm32/stm32f429i-disco/src/stm32_l3gd20.c +++ b/boards/arm/stm32/stm32f429i-disco/src/stm32_l3gd20.c @@ -139,4 +139,4 @@ errout: return ret; } -#endif /* CONFIG_SPI && CONFIG_SENSORS_L3GD20 */ +#endif /* CONFIG_SPI && CONFIG_SENSORS_L3GD20 */ diff --git a/boards/arm/stm32/stm32f4discovery/include/board.h b/boards/arm/stm32/stm32f4discovery/include/board.h index f828d48fda..8b2efa76c9 100644 --- a/boards/arm/stm32/stm32f4discovery/include/board.h +++ b/boards/arm/stm32/stm32f4discovery/include/board.h @@ -420,4 +420,4 @@ #define DMAMAP_SDIO DMAMAP_SDIO_1 -#endif /* __BOARDS_ARM_STM32_STM32F4DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32F4DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c b/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c index 5cdcce745d..685b353420 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_bringup.c @@ -472,7 +472,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ return ret; } diff --git a/boards/arm/stm32/stm32ldiscovery/include/board.h b/boards/arm/stm32/stm32ldiscovery/include/board.h index 326b4ebec3..5f459e6f6e 100644 --- a/boards/arm/stm32/stm32ldiscovery/include/board.h +++ b/boards/arm/stm32/stm32ldiscovery/include/board.h @@ -307,4 +307,4 @@ int stm32_slcd_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32_STM32LDISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32LDISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/stm32vldiscovery/include/board.h b/boards/arm/stm32/stm32vldiscovery/include/board.h index b56e2dd71a..a55d1634e4 100644 --- a/boards/arm/stm32/stm32vldiscovery/include/board.h +++ b/boards/arm/stm32/stm32vldiscovery/include/board.h @@ -144,4 +144,4 @@ #define BUTTON_0_BIT (1 << BUTTON_0) -#endif /* __BOARDS_ARM_STM32_STM32VLDISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32_STM32VLDISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f103vct6.h b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f103vct6.h index f8018250d4..9d7a36adaf 100644 --- a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f103vct6.h +++ b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f103vct6.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H -#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H 1 +#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F103VCT6_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h index fcfefb52f0..ddf9901a69 100644 --- a/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h +++ b/boards/arm/stm32/viewtool-stm32f107/include/board-stm32f107vct6.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H -#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H 1 +#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_STM32F107VCT6_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/viewtool-stm32f107/include/board.h b/boards/arm/stm32/viewtool-stm32f107/include/board.h index 55153ab4ae..d1826b730f 100644 --- a/boards/arm/stm32/viewtool-stm32f107/include/board.h +++ b/boards/arm/stm32/viewtool-stm32f107/include/board.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H -#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H 1 +#define __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_INCLUDE_BOARD_H /**************************************************************************** * Included Files diff --git a/boards/arm/stm32/viewtool-stm32f107/src/viewtool_stm32f107.h b/boards/arm/stm32/viewtool-stm32f107/src/viewtool_stm32f107.h index c9bd3dd0fa..68ce9f0636 100644 --- a/boards/arm/stm32/viewtool-stm32f107/src/viewtool_stm32f107.h +++ b/boards/arm/stm32/viewtool-stm32f107/src/viewtool_stm32f107.h @@ -511,5 +511,5 @@ int stm32_ft80x_setup(void); int stm32_max3421e_setup(void); #endif -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ #endif /* __BOARDS_ARM_STM32_VIEWTOOL_STM32F107_SRC_H */ diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_bringup.c b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_bringup.c index 73384593a7..d2b185df34 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_bringup.c +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_bringup.c @@ -181,7 +181,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ UNUSED(ret); return OK; diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_spi.c b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_spi.c index b7bc403741..10cf9b4624 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_spi.c +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/src/stm32_spi.c @@ -177,7 +177,7 @@ uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, uint32_t devid) return status; } -#endif /* CONFIG_STM32F0L0G0_SPI1 */ +#endif /* CONFIG_STM32F0L0G0_SPI1 */ #ifdef CONFIG_STM32F0L0G0_SPI2 void stm32_spi2select(FAR struct spi_dev_s *dev, uint32_t devid, @@ -190,6 +190,6 @@ uint8_t stm32_spi2status(FAR struct spi_dev_s *dev, uint32_t devid) { return 0; } -#endif /* CONFIG_STM32F0L0G0_SPI2 */ +#endif /* CONFIG_STM32F0L0G0_SPI2 */ -#endif /* CONFIG_STM32F0L0G0_SPI */ +#endif /* CONFIG_STM32F0L0G0_SPI */ diff --git a/boards/arm/stm32f0l0g0/nucleo-f072rb/include/board.h b/boards/arm/stm32f0l0g0/nucleo-f072rb/include/board.h index d34d4e33d7..61d964574a 100644 --- a/boards/arm/stm32f0l0g0/nucleo-f072rb/include/board.h +++ b/boards/arm/stm32f0l0g0/nucleo-f072rb/include/board.h @@ -249,4 +249,4 @@ /* I2C2 */ -#endif /* __BOARDS_ARM_STM32F0L0G0_NUCLEO_F072RB_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F0L0G0_NUCLEO_F072RB_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f0l0g0/nucleo-f091rc/include/board.h b/boards/arm/stm32f0l0g0/nucleo-f091rc/include/board.h index 27c3125235..b96f90b664 100644 --- a/boards/arm/stm32f0l0g0/nucleo-f091rc/include/board.h +++ b/boards/arm/stm32f0l0g0/nucleo-f091rc/include/board.h @@ -253,4 +253,4 @@ #define GPIO_USART2_TX GPIO_USART2_TX_3 #define GPIO_USART2_RX GPIO_USART2_RX_3 -#endif /* __BOARDS_ARM_STM32F0L0G0_NUCLEO_F091RC_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F0L0G0_NUCLEO_F091RC_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_bringup.c b/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_bringup.c index 5a78c90efd..e0e898f8ee 100644 --- a/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_bringup.c +++ b/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_bringup.c @@ -83,7 +83,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ UNUSED(ret); return OK; diff --git a/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_spi.c b/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_spi.c index 04bc46f6bf..1f1e99a2a3 100644 --- a/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_spi.c +++ b/boards/arm/stm32f0l0g0/nucleo-f091rc/src/stm32_spi.c @@ -103,7 +103,7 @@ void stm32_spidev_initialize(void) stm32_gpiowrite(GPIO_SX127X_CS, true); # endif -#endif /* CONFIG_STM32F0L0G0_SPI1 */ +#endif /* CONFIG_STM32F0L0G0_SPI1 */ } /**************************************************************************** @@ -178,7 +178,7 @@ uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, uint32_t devid) return status; } -#endif /* CONFIG_STM32F0L0G0_SPI1 */ +#endif /* CONFIG_STM32F0L0G0_SPI1 */ #ifdef CONFIG_STM32F0L0G0_SPI2 void stm32_spi2select(FAR struct spi_dev_s *dev, uint32_t devid, @@ -191,6 +191,6 @@ uint8_t stm32_spi2status(FAR struct spi_dev_s *dev, uint32_t devid) { return 0; } -#endif /* CONFIG_STM32F0L0G0_SPI2 */ +#endif /* CONFIG_STM32F0L0G0_SPI2 */ #endif diff --git a/boards/arm/stm32f0l0g0/nucleo-g071rb/src/stm32_bringup.c b/boards/arm/stm32f0l0g0/nucleo-g071rb/src/stm32_bringup.c index cf4b616d0b..16a586382f 100644 --- a/boards/arm/stm32f0l0g0/nucleo-g071rb/src/stm32_bringup.c +++ b/boards/arm/stm32f0l0g0/nucleo-g071rb/src/stm32_bringup.c @@ -142,7 +142,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_WL_NRF24L01 */ +#endif /* CONFIG_WL_NRF24L01 */ #ifdef CONFIG_LPWAN_SX127X ret = stm32_lpwaninitialize(); @@ -150,7 +150,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ #ifdef CONFIG_CL_MFRC522 ret = stm32_mfrc522initialize("/dev/rfid0"); @@ -158,7 +158,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: stm32_mfrc522initialize() failed: %d\n", ret); } -#endif /* CONFIG_CL_MFRC522 */ +#endif /* CONFIG_CL_MFRC522 */ UNUSED(ret); return OK; diff --git a/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_bringup.c b/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_bringup.c index 7f827bf674..92aba4c7f7 100644 --- a/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_bringup.c +++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_bringup.c @@ -142,7 +142,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_WL_NRF24L01 */ +#endif /* CONFIG_WL_NRF24L01 */ #ifdef CONFIG_LPWAN_SX127X ret = stm32_lpwaninitialize(); @@ -150,7 +150,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_LPWAN_SX127X */ +#endif /* CONFIG_LPWAN_SX127X */ #ifdef CONFIG_CL_MFRC522 ret = stm32_mfrc522initialize("/dev/rfid0"); @@ -158,7 +158,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: stm32_mfrc522initialize() failed: %d\n", ret); } -#endif /* CONFIG_CL_MFRC522 */ +#endif /* CONFIG_CL_MFRC522 */ UNUSED(ret); return OK; diff --git a/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_spi.c b/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_spi.c index 639c6af60d..aa3f1cf862 100644 --- a/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_spi.c +++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/src/stm32_spi.c @@ -112,7 +112,7 @@ void stm32_spidev_initialize(void) stm32_gpiowrite(GPIO_SX127X_CS, true); # endif -#endif /* CONFIG_STM32F0L0G0_SPI1 */ +#endif /* CONFIG_STM32F0L0G0_SPI1 */ #ifdef CONFIG_STM32F0L0G0_SPI2 /* Configure the SPI-based MFRC522 chip select GPIO */ @@ -121,7 +121,7 @@ void stm32_spidev_initialize(void) stm32_configgpio(GPIO_MFRC522_CS); # endif -#endif /* CONFIG_STM32F0L0G0_SPI2 */ +#endif /* CONFIG_STM32F0L0G0_SPI2 */ } /**************************************************************************** @@ -215,7 +215,7 @@ uint8_t stm32_spi1status(FAR struct spi_dev_s *dev, uint32_t devid) return status; } -#endif /* CONFIG_STM32F0L0G0_SPI1 */ +#endif /* CONFIG_STM32F0L0G0_SPI1 */ #ifdef CONFIG_STM32F0L0G0_SPI2 void stm32_spi2select(FAR struct spi_dev_s *dev, uint32_t devid, @@ -259,6 +259,6 @@ uint8_t stm32_spi2status(FAR struct spi_dev_s *dev, uint32_t devid) return status; } -#endif /* CONFIG_STM32F0L0G0_SPI2 */ +#endif /* CONFIG_STM32F0L0G0_SPI2 */ #endif diff --git a/boards/arm/stm32f0l0g0/stm32f051-discovery/include/board.h b/boards/arm/stm32f0l0g0/stm32f051-discovery/include/board.h index 7f3dfa30cd..70316659b4 100644 --- a/boards/arm/stm32f0l0g0/stm32f051-discovery/include/board.h +++ b/boards/arm/stm32f0l0g0/stm32f051-discovery/include/board.h @@ -248,4 +248,4 @@ #define GPIO_I2C1_SCL GPIO_I2C1_SCL_1 #define GPIO_I2C1_SDA GPIO_I2C1_SDA_1 -#endif /* __BOARDS_ARM_STM32F0L0G0_STM32F051_DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F0L0G0_STM32F051_DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f0l0g0/stm32f072-discovery/include/board.h b/boards/arm/stm32f0l0g0/stm32f072-discovery/include/board.h index 032b808d89..6fa5a8b9d7 100644 --- a/boards/arm/stm32f0l0g0/stm32f072-discovery/include/board.h +++ b/boards/arm/stm32f0l0g0/stm32f072-discovery/include/board.h @@ -252,4 +252,4 @@ #define GPIO_I2C1_SCL GPIO_I2C1_SCL_1 #define GPIO_I2C1_SDA GPIO_I2C1_SDA_1 -#endif /* __BOARDS_ARM_STM32F0L0G0_STM32F072_DISCOVERY_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F0L0G0_STM32F072_DISCOVERY_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f7/nucleo-144/include/board.h b/boards/arm/stm32f7/nucleo-144/include/board.h index 355afa11f7..c1394064d8 100644 --- a/boards/arm/stm32f7/nucleo-144/include/board.h +++ b/boards/arm/stm32f7/nucleo-144/include/board.h @@ -509,4 +509,4 @@ #define GPIO_ETH_RMII_TXD0 GPIO_ETH_RMII_TXD0_2 #define GPIO_ETH_RMII_TXD1 GPIO_ETH_RMII_TXD1_1 -#endif /* __BOARDS_ARM_STM32F7_NUCLEO_144_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F7_NUCLEO_144_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f7/stm32f746-ws/include/board.h b/boards/arm/stm32f7/stm32f746-ws/include/board.h index f0aa42831d..1e5de30363 100644 --- a/boards/arm/stm32f7/stm32f746-ws/include/board.h +++ b/boards/arm/stm32f7/stm32f746-ws/include/board.h @@ -289,4 +289,4 @@ # define STM32_SDMMC_SDXFR_CLKDIV (2 << STM32_SDMMC_CLKCR_CLKDIV_SHIFT) #endif -#endif /* __BOARDS_ARM_STM32F7_STM32F746_WS_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F7_STM32F746_WS_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f7/stm32f746g-disco/include/board.h b/boards/arm/stm32f7/stm32f746g-disco/include/board.h index eb9656a7a3..bbe0bdfa0c 100644 --- a/boards/arm/stm32f7/stm32f746g-disco/include/board.h +++ b/boards/arm/stm32f7/stm32f746g-disco/include/board.h @@ -513,4 +513,4 @@ # define STM32_SDMMC_SDXFR_CLKDIV (2 << STM32_SDMMC_CLKCR_CLKDIV_SHIFT) #endif -#endif /* __BOARDS_ARM_STM32F7_STM32F746G_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F7_STM32F746G_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32f7/stm32f769i-disco/include/board.h b/boards/arm/stm32f7/stm32f769i-disco/include/board.h index f1db48cdca..85ac5b25af 100644 --- a/boards/arm/stm32f7/stm32f769i-disco/include/board.h +++ b/boards/arm/stm32f7/stm32f769i-disco/include/board.h @@ -481,4 +481,4 @@ #define BOARD_LTDC_GCR_VSPOL 0 #define BOARD_LTDC_GCR_HSPOL 0 -#endif /* __BOARDS_ARM_STM32F7_STM32F769I_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32F7_STM32F769I_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32h7/nucleo-h743zi/include/board.h b/boards/arm/stm32h7/nucleo-h743zi/include/board.h index 6cd2593428..8f32ce614d 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/include/board.h +++ b/boards/arm/stm32h7/nucleo-h743zi/include/board.h @@ -433,4 +433,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32H7_NUCLEO_H743ZI_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32H7_NUCLEO_H743ZI_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_bringup.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_bringup.c index eb14baf55c..3b58a43e25 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_bringup.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_bringup.c @@ -157,7 +157,7 @@ int stm32_bringup(void) */ ccm_procfs_register(); -#endif /* CONFIG_STM32_CCM_PROCFS */ +#endif /* CONFIG_STM32_CCM_PROCFS */ /* Mount the procfs file system */ @@ -168,7 +168,7 @@ int stm32_bringup(void) "ERROR: Failed to mount the PROC filesystem: %d (%d)\n", ret, errno); } -#endif /* CONFIG_FS_PROCFS */ +#endif /* CONFIG_FS_PROCFS */ #ifdef HAVE_RTC_DRIVER /* Instantiate the STM32 lower-half RTC driver */ @@ -204,7 +204,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: btn_lower_initialize() failed: %d\n", ret); } -#endif /* CONFIG_BUTTONS */ +#endif /* CONFIG_BUTTONS */ #ifdef CONFIG_ADC /* Initialize ADC and register the ADC driver. */ @@ -214,7 +214,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: stm32_adc_setup failed: %d\n", ret); } -#endif /* CONFIG_ADC */ +#endif /* CONFIG_ADC */ #ifdef CONFIG_DEV_GPIO /* Register the GPIO driver */ @@ -233,7 +233,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize LSM6DSL driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_LSM6DSL */ +#endif /* CONFIG_SENSORS_LSM6DSL */ #ifdef CONFIG_SENSORS_LSM9DS1 ret = stm32_lsm9ds1_initialize(); @@ -241,7 +241,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize LSM9DS1 driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_LSM6DSL */ +#endif /* CONFIG_SENSORS_LSM6DSL */ #ifdef CONFIG_SENSORS_LSM303AGR ret = stm32_lsm303agr_initialize("/dev/lsm303mag0"); @@ -249,7 +249,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize LSM303AGR driver: %d\n", ret); } -#endif /* CONFIG_SENSORS_LSM303AGR */ +#endif /* CONFIG_SENSORS_LSM303AGR */ #ifdef CONFIG_PCA9635PW /* Initialize the PCA9635 chip */ @@ -267,7 +267,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: Failed to initialize wireless driver: %d\n", ret); } -#endif /* CONFIG_WL_NRF24L01 */ +#endif /* CONFIG_WL_NRF24L01 */ #if defined(CONFIG_CDCACM) && !defined(CONFIG_CDCACM_CONSOLE) /* Initialize CDCACM */ @@ -279,7 +279,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: cdcacm_initialize failed: %d\n", ret); } -#endif /* CONFIG_CDCACM & !CONFIG_CDCACM_CONSOLE */ +#endif /* CONFIG_CDCACM & !CONFIG_CDCACM_CONSOLE */ return OK; } diff --git a/boards/arm/stm32h7/stm32h747i-disco/include/board.h b/boards/arm/stm32h7/stm32h747i-disco/include/board.h index 9c997403df..fffd57f326 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/include/board.h +++ b/boards/arm/stm32h7/stm32h747i-disco/include/board.h @@ -388,4 +388,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32H7_STM32H747I_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32H7_STM32H747I_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_bringup.c b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_bringup.c index 5c3663582b..80ae17a70a 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_bringup.c +++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_bringup.c @@ -156,7 +156,7 @@ int stm32_bringup(void) */ (void)ccm_procfs_register(); -#endif /* CONFIG_STM32_CCM_PROCFS */ +#endif /* CONFIG_STM32_CCM_PROCFS */ /* Mount the procfs file system */ @@ -167,7 +167,7 @@ int stm32_bringup(void) "ERROR: Failed to mount the PROC filesystem: %d (%d)\n", ret, errno); } -#endif /* CONFIG_FS_PROCFS */ +#endif /* CONFIG_FS_PROCFS */ #ifdef HAVE_RTC_DRIVER /* Instantiate the STM32 lower-half RTC driver */ @@ -203,7 +203,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: btn_lower_initialize() failed: %d\n", ret); } -#endif /* CONFIG_BUTTONS */ +#endif /* CONFIG_BUTTONS */ #ifdef CONFIG_ADC /* Initialize ADC and register the ADC driver. */ @@ -213,7 +213,7 @@ int stm32_bringup(void) { syslog(LOG_ERR, "ERROR: stm32_adc_setup failed: %d\n", ret); } -#endif /* CONFIG_ADC */ +#endif /* CONFIG_ADC */ return OK; } diff --git a/boards/arm/stm32l4/b-l475e-iot01a/include/b-l475e-iot01a_clock.h b/boards/arm/stm32l4/b-l475e-iot01a/include/b-l475e-iot01a_clock.h index b35fa5c601..7a9e2a3bc4 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/include/b-l475e-iot01a_clock.h +++ b/boards/arm/stm32l4/b-l475e-iot01a/include/b-l475e-iot01a_clock.h @@ -518,4 +518,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARMSTM32L4__B_L475E_IOT01A_INCLUDE_B_L475E_IOT01A_CLOCK */ +#endif /* __BOARDS_ARMSTM32L4__B_L475E_IOT01A_INCLUDE_B_L475E_IOT01A_CLOCK */ diff --git a/boards/arm/stm32l4/b-l475e-iot01a/include/board.h b/boards/arm/stm32l4/b-l475e-iot01a/include/board.h index 51864d5a96..17f845eb8e 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/include/board.h +++ b/boards/arm/stm32l4/b-l475e-iot01a/include/board.h @@ -200,4 +200,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_B_L475E_IOT01A_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_B_L475E_IOT01A_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/nucleo-l432kc/include/board.h b/boards/arm/stm32l4/nucleo-l432kc/include/board.h index 6e6076918d..d410e55505 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/include/board.h +++ b/boards/arm/stm32l4/nucleo-l432kc/include/board.h @@ -299,4 +299,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L432KC_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L432KC_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/nucleo-l432kc/include/nucleo-l432kc.h b/boards/arm/stm32l4/nucleo-l432kc/include/nucleo-l432kc.h index 964fffed22..d85023079f 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/include/nucleo-l432kc.h +++ b/boards/arm/stm32l4/nucleo-l432kc/include/nucleo-l432kc.h @@ -550,4 +550,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L432KC_INCLUDE_NUCLEO_L432KC_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L432KC_INCLUDE_NUCLEO_L432KC_H */ diff --git a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_spwm.c b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_spwm.c index 9f10e7168c..1caedeebc7 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_spwm.c +++ b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_spwm.c @@ -129,7 +129,7 @@ # error # endif -#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ /* Configuration ************************************************************/ @@ -193,7 +193,7 @@ static int spwm_tim1_start(FAR struct spwm_s *spwm); static int spwm_tim6_start(FAR struct spwm_s *spwm); static int spwm_tim1_stop(FAR struct spwm_s *spwm); static int spwm_tim6_stop(FAR struct spwm_s *spwm); -#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ static int spwm_setup(FAR struct spwm_s *spwm); /**************************************************************************** @@ -558,7 +558,7 @@ static int spwm_tim1_stop(FAR struct spwm_s *spwm) return OK; } -#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ +#endif /* CONFIG_NUCLEOL432KC_SPWM_USE_TIM1 */ /**************************************************************************** * Name: spwm_setup @@ -661,4 +661,4 @@ errout: return 0; } -#endif /* CONFIG_NUCLEOL432KC_SPWM */ +#endif /* CONFIG_NUCLEOL432KC_SPWM */ diff --git a/boards/arm/stm32l4/nucleo-l452re/include/board.h b/boards/arm/stm32l4/nucleo-l452re/include/board.h index 4970dcf7df..6abb89aa6a 100644 --- a/boards/arm/stm32l4/nucleo-l452re/include/board.h +++ b/boards/arm/stm32l4/nucleo-l452re/include/board.h @@ -287,4 +287,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L452RE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L452RE_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/nucleo-l452re/include/nucleo-l452re.h b/boards/arm/stm32l4/nucleo-l452re/include/nucleo-l452re.h index defbc800b4..819c94989d 100644 --- a/boards/arm/stm32l4/nucleo-l452re/include/nucleo-l452re.h +++ b/boards/arm/stm32l4/nucleo-l452re/include/nucleo-l452re.h @@ -511,4 +511,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L452RE_INCLUDE_NUCLEO_L452RE_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L452RE_INCLUDE_NUCLEO_L452RE_H */ diff --git a/boards/arm/stm32l4/nucleo-l476rg/include/board.h b/boards/arm/stm32l4/nucleo-l476rg/include/board.h index 6e6cd983c9..894784cd28 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/include/board.h +++ b/boards/arm/stm32l4/nucleo-l476rg/include/board.h @@ -289,4 +289,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_F476RG_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_F476RG_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/nucleo-l476rg/include/nucleo-l476rg.h b/boards/arm/stm32l4/nucleo-l476rg/include/nucleo-l476rg.h index 235bc63df3..f6cfbd4d29 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/include/nucleo-l476rg.h +++ b/boards/arm/stm32l4/nucleo-l476rg/include/nucleo-l476rg.h @@ -520,4 +520,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L476RG_INCLUDE_NUCLEO_L476RG_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L476RG_INCLUDE_NUCLEO_L476RG_H */ diff --git a/boards/arm/stm32l4/nucleo-l496zg/include/board.h b/boards/arm/stm32l4/nucleo-l496zg/include/board.h index 29a82e2559..4cd3f8af09 100644 --- a/boards/arm/stm32l4/nucleo-l496zg/include/board.h +++ b/boards/arm/stm32l4/nucleo-l496zg/include/board.h @@ -702,4 +702,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L496ZG_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_NUCLEO_L496ZG_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/stm32l476-mdk/include/board.h b/boards/arm/stm32l4/stm32l476-mdk/include/board.h index 92eb75dcad..2cad21659d 100644 --- a/boards/arm/stm32l4/stm32l476-mdk/include/board.h +++ b/boards/arm/stm32l4/stm32l476-mdk/include/board.h @@ -214,4 +214,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L_STM32L476_MDK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L_STM32L476_MDK_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/stm32l476-mdk/include/stm32l476-mdk-clocking.h b/boards/arm/stm32l4/stm32l476-mdk/include/stm32l476-mdk-clocking.h index f9448637af..1ba4f854c6 100644 --- a/boards/arm/stm32l4/stm32l476-mdk/include/stm32l476-mdk-clocking.h +++ b/boards/arm/stm32l4/stm32l476-mdk/include/stm32l476-mdk-clocking.h @@ -301,4 +301,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_STM32L476_MDK_INCLUDE_STM32L476_MDK_CLOCKING_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L476_MDK_INCLUDE_STM32L476_MDK_CLOCKING_H */ diff --git a/boards/arm/stm32l4/stm32l476vg-disco/include/board.h b/boards/arm/stm32l4/stm32l476vg-disco/include/board.h index 64ae93374c..0c2e671710 100644 --- a/boards/arm/stm32l4/stm32l476vg-disco/include/board.h +++ b/boards/arm/stm32l4/stm32l476vg-disco/include/board.h @@ -313,4 +313,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/stm32l476vg-disco/include/boardctl.h b/boards/arm/stm32l4/stm32l476vg-disco/include/boardctl.h index f949e874e2..89fbc4accc 100644 --- a/boards/arm/stm32l4/stm32l476vg-disco/include/boardctl.h +++ b/boards/arm/stm32l4/stm32l476vg-disco/include/boardctl.h @@ -49,4 +49,4 @@ #define BIOC_ENTER_MEMMAP BOARDIOC_USER+1 #define BIOC_EXIT_MEMMAP BOARDIOC_USER+2 -#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_BOARDCTL_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_BOARDCTL_H */ diff --git a/boards/arm/stm32l4/stm32l476vg-disco/include/stm32l476vg-disco-clocking.h b/boards/arm/stm32l4/stm32l476vg-disco/include/stm32l476vg-disco-clocking.h index b07cec151b..f5f5079633 100644 --- a/boards/arm/stm32l4/stm32l476vg-disco/include/stm32l476vg-disco-clocking.h +++ b/boards/arm/stm32l4/stm32l476vg-disco/include/stm32l476vg-disco-clocking.h @@ -396,4 +396,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_STM32L476VG_DISCO_CLOCKING_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L476VG_DISCO_INCLUDE_STM32L476VG_DISCO_CLOCKING_H */ diff --git a/boards/arm/stm32l4/stm32l4r9ai-disco/include/board.h b/boards/arm/stm32l4/stm32l4r9ai-disco/include/board.h index eeb930e532..955591ec31 100644 --- a/boards/arm/stm32l4/stm32l4r9ai-disco/include/board.h +++ b/boards/arm/stm32l4/stm32l4r9ai-disco/include/board.h @@ -303,4 +303,4 @@ void stm32l4_board_initialize(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4R9AI_DISCO_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STM32L4R9AI_DISCO_INCLUDE_BOARD_H */ diff --git a/boards/arm/stm32l4/stm32l4r9ai-disco/include/boardctl.h b/boards/arm/stm32l4/stm32l4r9ai-disco/include/boardctl.h index 3833e1d4de..aecfe051f7 100644 --- a/boards/arm/stm32l4/stm32l4r9ai-disco/include/boardctl.h +++ b/boards/arm/stm32l4/stm32l4r9ai-disco/include/boardctl.h @@ -49,4 +49,4 @@ #define BIOC_ENTER_MEMMAP BOARDIOC_USER+1 #define BIOC_EXIT_MEMMAP BOARDIOC_USER+2 -#endif /* __BOARDS_ARM_STM32L4_STM32L4R9AI_DISCO_INCLUDE_BOARDCTL_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L4R9AI_DISCO_INCLUDE_BOARDCTL_H */ diff --git a/boards/arm/stm32l4/stm32l4r9ai-disco/include/stm32l4r9ai-disco-clocking.h b/boards/arm/stm32l4/stm32l4r9ai-disco/include/stm32l4r9ai-disco-clocking.h index 700cdf644c..0b1ad2b4f0 100644 --- a/boards/arm/stm32l4/stm32l4r9ai-disco/include/stm32l4r9ai-disco-clocking.h +++ b/boards/arm/stm32l4/stm32l4r9ai-disco/include/stm32l4r9ai-disco-clocking.h @@ -439,4 +439,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_STM32L4_STM32L4R9AI_DISCO_INCLUDE_STM32L4R9AI_DISCO_CLOCKING_H */ +#endif /* __BOARDS_ARM_STM32L4_STM32L4R9AI_DISCO_INCLUDE_STM32L4R9AI_DISCO_CLOCKING_H */ diff --git a/boards/arm/str71x/olimex-strp711/include/board.h b/boards/arm/str71x/olimex-strp711/include/board.h index ac49a3d2df..194ee689cd 100644 --- a/boards/arm/str71x/olimex-strp711/include/board.h +++ b/boards/arm/str71x/olimex-strp711/include/board.h @@ -181,4 +181,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_ARM_STR71X_OLIMEX_STRP711_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_STR71X_OLIMEX_STRP711_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/dk-tm4c129x/include/board.h b/boards/arm/tiva/dk-tm4c129x/include/board.h index 0c1605fa04..1cb8c458e4 100644 --- a/boards/arm/tiva/dk-tm4c129x/include/board.h +++ b/boards/arm/tiva/dk-tm4c129x/include/board.h @@ -284,4 +284,4 @@ int tiva_tmp100_initialize(FAR const char *devpath); #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_TIVA_DK_TM4C129X_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_DK_TM4C129X_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/eagle100/include/board.h b/boards/arm/tiva/eagle100/include/board.h index 1b84252d6b..3740843607 100644 --- a/boards/arm/tiva/eagle100/include/board.h +++ b/boards/arm/tiva/eagle100/include/board.h @@ -117,4 +117,4 @@ #define LED_ASSERTION 6 /* ON OFF */ #define LED_PANIC 7 /* ON OFF */ -#endif /* __BOARDS_ARM_TIVA_EAGLE100_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_EAGLE100_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/ekk-lm3s9b96/include/board.h b/boards/arm/tiva/ekk-lm3s9b96/include/board.h index d1a4e3ec41..70ffeb1b00 100644 --- a/boards/arm/tiva/ekk-lm3s9b96/include/board.h +++ b/boards/arm/tiva/ekk-lm3s9b96/include/board.h @@ -118,4 +118,4 @@ #define LED_ASSERTION 6 /* ON OFF */ #define LED_PANIC 7 /* ON OFF */ -#endif /* __BOARDS_ARM_TIVA_EKK_LM3S9B96_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_EKK_LM3S9B96_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/launchxl-cc1310/src/cc1310_pinconfig.c b/boards/arm/tiva/launchxl-cc1310/src/cc1310_pinconfig.c index e622d32267..dc2a41e785 100644 --- a/boards/arm/tiva/launchxl-cc1310/src/cc1310_pinconfig.c +++ b/boards/arm/tiva/launchxl-cc1310/src/cc1310_pinconfig.c @@ -131,4 +131,4 @@ const struct cc13xx_pinconfig_s g_gpio_sw2 = .gpio = GPIO_DIO(15), .ioc = IOC_IOCFG_PORTID(IOC_IOCFG_PORTID_GPIO) | IOC_CC1310_BUTTON_OUTPUT }; -#endif /* CONFIG_ARCH_BUTTONS */ +#endif /* CONFIG_ARCH_BUTTONS */ diff --git a/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_pinconfig.c b/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_pinconfig.c index 367ee8de5b..ce6920a59c 100644 --- a/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_pinconfig.c +++ b/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_pinconfig.c @@ -132,4 +132,4 @@ const struct cc13xx_pinconfig_s g_gpio_sw2 = .gpio = GPIO_DIO(15), .ioc = IOC_IOCFG_PORTID(IOC_IOCFG_PORTID_GPIO) | IOC_CC1312_BUTTON_OUTPUT }; -#endif /* CONFIG_ARCH_BUTTONS */ +#endif /* CONFIG_ARCH_BUTTONS */ diff --git a/boards/arm/tiva/lm3s6432-s2e/include/board.h b/boards/arm/tiva/lm3s6432-s2e/include/board.h index 58bd4a2cdf..946127c3d1 100644 --- a/boards/arm/tiva/lm3s6432-s2e/include/board.h +++ b/boards/arm/tiva/lm3s6432-s2e/include/board.h @@ -119,4 +119,4 @@ #define LED_ASSERTION 6 /* ON OFF */ #define LED_PANIC 7 /* ON OFF */ -#endif /* __BOARDS_ARM_TIVA_LM3S6432_S2E_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_LM3S6432_S2E_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/lm3s6965-ek/include/board.h b/boards/arm/tiva/lm3s6965-ek/include/board.h index 3971f77870..daaa45fbc4 100644 --- a/boards/arm/tiva/lm3s6965-ek/include/board.h +++ b/boards/arm/tiva/lm3s6965-ek/include/board.h @@ -117,4 +117,4 @@ #define LED_ASSERTION 6 /* ON OFF */ #define LED_PANIC 7 /* ON OFF */ -#endif /* __BOARDS_ARM_TIVA_LM3S6965_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_LM3S6965_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/lm3s8962-ek/include/board.h b/boards/arm/tiva/lm3s8962-ek/include/board.h index 968f970ddd..17f2b65b17 100644 --- a/boards/arm/tiva/lm3s8962-ek/include/board.h +++ b/boards/arm/tiva/lm3s8962-ek/include/board.h @@ -116,4 +116,4 @@ #define LED_ASSERTION 6 /* ON OFF */ #define LED_PANIC 7 /* ON OFF */ -#endif /* __BOARDS_ARM_TIVA_LM3S8962_EK_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_LM3S8962_EK_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/lm4f120-launchpad/include/board.h b/boards/arm/tiva/lm4f120-launchpad/include/board.h index 38415c6973..5c43239e88 100644 --- a/boards/arm/tiva/lm4f120-launchpad/include/board.h +++ b/boards/arm/tiva/lm4f120-launchpad/include/board.h @@ -195,4 +195,4 @@ #define GPIO_UART1_RX GPIO_UART1_RX_1 #define GPIO_UART1_TX GPIO_UART1_TX_1 -#endif /* __BOARDS_ARM_TIVA_LM4F120_LAUNCHPAD_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_LM4F120_LAUNCHPAD_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/tm4c123g-launchpad/include/board.h b/boards/arm/tiva/tm4c123g-launchpad/include/board.h index b5e5427139..0a64e58dc1 100644 --- a/boards/arm/tiva/tm4c123g-launchpad/include/board.h +++ b/boards/arm/tiva/tm4c123g-launchpad/include/board.h @@ -204,4 +204,4 @@ #define GPIO_SSI2_CLK GPIO_SSI2_CLK_1 #define GPIO_SSI2_FSS GPIO_SSI2_FSS_1 -#endif /* __BOARDS_ARM_TMC4C123G_LAUNCHPAD_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TMC4C123G_LAUNCHPAD_INCLUDE_BOARD_H */ diff --git a/boards/arm/tiva/tm4c1294-launchpad/include/board.h b/boards/arm/tiva/tm4c1294-launchpad/include/board.h index 74829b2c3e..9a61775713 100644 --- a/boards/arm/tiva/tm4c1294-launchpad/include/board.h +++ b/boards/arm/tiva/tm4c1294-launchpad/include/board.h @@ -220,4 +220,4 @@ #define UART7_GPIO_RTS (GPIO_FUNC_OUTPUT | GPIO_PORTG | GPIO_PIN_0) #define UART7_GPIO_CTS (GPIO_FUNC_INPUT | GPIO_PORTL | GPIO_PIN_4) -#endif /* __BOARDS_ARM_TIVA_TM4C1294_LAUNCHPAD_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TIVA_TM4C1294_LAUNCHPAD_INCLUDE_BOARD_H */ diff --git a/boards/arm/tms570/launchxl-tms57004/include/board.h b/boards/arm/tms570/launchxl-tms57004/include/board.h index d0534739a7..a5644eb30b 100644 --- a/boards/arm/tms570/launchxl-tms57004/include/board.h +++ b/boards/arm/tms570/launchxl-tms57004/include/board.h @@ -283,4 +283,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_TMS570_LAUNCHXL_TMS57004_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TMS570_LAUNCHXL_TMS57004_INCLUDE_BOARD_H */ diff --git a/boards/arm/tms570/tms570ls31x-usb-kit/include/board.h b/boards/arm/tms570/tms570ls31x-usb-kit/include/board.h index 6e7822dc4b..46e3534083 100644 --- a/boards/arm/tms570/tms570ls31x-usb-kit/include/board.h +++ b/boards/arm/tms570/tms570ls31x-usb-kit/include/board.h @@ -294,4 +294,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_TMS570_TMS570LS31X_USB_KIT_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_TMS570_TMS570LS31X_USB_KIT_INCLUDE_BOARD_H */ diff --git a/boards/arm/xmc4/xmc4500-relax/include/board.h b/boards/arm/xmc4/xmc4500-relax/include/board.h index 8591022bfa..6a517d06c0 100644 --- a/boards/arm/xmc4/xmc4500-relax/include/board.h +++ b/boards/arm/xmc4/xmc4500-relax/include/board.h @@ -377,4 +377,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_ARM_XMC4_XMC4500_RELAX_INCLUDE_BOARD_H */ +#endif /* __BOARDS_ARM_XMC4_XMC4500_RELAX_INCLUDE_BOARD_H */ diff --git a/boards/avr/at32uc3/avr32dev1/include/board.h b/boards/avr/at32uc3/avr32dev1/include/board.h index e2983dcfbf..66f8bff44a 100644 --- a/boards/avr/at32uc3/avr32dev1/include/board.h +++ b/boards/avr/at32uc3/avr32dev1/include/board.h @@ -163,4 +163,4 @@ #define BUTTON1 1 /* Bit 0: Button 1 */ #define BUTTON2 2 /* Bit 1: Button 2 */ -#endif /* __BOARDS_AVR_AT32UC3_AVR32DEV1_INCLUDE_BOARD_H */ +#endif /* __BOARDS_AVR_AT32UC3_AVR32DEV1_INCLUDE_BOARD_H */ diff --git a/boards/hc/m9s12/demo9s12ne64/include/board.h b/boards/hc/m9s12/demo9s12ne64/include/board.h index e27d57a8ba..ce753b07ad 100644 --- a/boards/hc/m9s12/demo9s12ne64/include/board.h +++ b/boards/hc/m9s12/demo9s12ne64/include/board.h @@ -92,4 +92,4 @@ /* Button definitions *******************************************************/ -#endif /* __BOARDS_HC_MCS92S12NE64_DEMO9S12NE64_INCLUDE_BOARD_H */ +#endif /* __BOARDS_HC_MCS92S12NE64_DEMO9S12NE64_INCLUDE_BOARD_H */ diff --git a/boards/hc/m9s12/ne64badge/include/board.h b/boards/hc/m9s12/ne64badge/include/board.h index d638e44108..6118117279 100644 --- a/boards/hc/m9s12/ne64badge/include/board.h +++ b/boards/hc/m9s12/ne64badge/include/board.h @@ -101,4 +101,4 @@ #define BUTTON1 1 /* Bit 0: SW1 button is depressed */ #define BUTTON2 2 /* Bit 1: SW2 button is depressed */ -#endif /* __BOARDS_HC_MCS92S12NE64_NE64BADGE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_HC_MCS92S12NE64_NE64BADGE_INCLUDE_BOARD_H */ diff --git a/boards/or1k/mor1kx/or1k/include/board.h b/boards/or1k/mor1kx/or1k/include/board.h index 5cf8228006..b8beeeeb94 100644 --- a/boards/or1k/mor1kx/or1k/include/board.h +++ b/boards/or1k/mor1kx/or1k/include/board.h @@ -57,4 +57,4 @@ * Public Functions ****************************************************************************/ -#endif /* __BOARDS_OR1K_MOR1KX_OR1K_INCLUDE_BOARD_H */ +#endif /* __BOARDS_OR1K_MOR1KX_OR1K_INCLUDE_BOARD_H */ diff --git a/boards/or1k/mor1kx/or1k/src/or1k.h b/boards/or1k/mor1kx/or1k/src/or1k.h index b8258bff03..21d9e13257 100644 --- a/boards/or1k/mor1kx/or1k/src/or1k.h +++ b/boards/or1k/mor1kx/or1k/src/or1k.h @@ -56,4 +56,4 @@ int or1k_bringup(void); -#endif /* __BOARDS_OR1K_MOR1KX_OR1K_SRC_OR1K_H */ +#endif /* __BOARDS_OR1K_MOR1KX_OR1K_SRC_OR1K_H */ diff --git a/boards/renesas/m16c/skp16c26/include/board.h b/boards/renesas/m16c/skp16c26/include/board.h index 8f27f92228..654bc476e2 100644 --- a/boards/renesas/m16c/skp16c26/include/board.h +++ b/boards/renesas/m16c/skp16c26/include/board.h @@ -131,4 +131,4 @@ #endif -#endif /* __BOARDS_RENESAS_M32262F8_SKP16C26_INCLUDE_BOARD_H */ +#endif /* __BOARDS_RENESAS_M32262F8_SKP16C26_INCLUDE_BOARD_H */ diff --git a/boards/renesas/m16c/skp16c26/src/skp16c26.h b/boards/renesas/m16c/skp16c26/src/skp16c26.h index f30c20c5a3..335e8072f5 100644 --- a/boards/renesas/m16c/skp16c26/src/skp16c26.h +++ b/boards/renesas/m16c/skp16c26/src/skp16c26.h @@ -60,4 +60,4 @@ #endif -#endif /* __BOARDS_RENESAS_M32262F8_SKP16C26_SRC_SKP16C26_H */ +#endif /* __BOARDS_RENESAS_M32262F8_SKP16C26_SRC_SKP16C26_H */ diff --git a/boards/renesas/rx65n/rx65n-grrose/include/board.h b/boards/renesas/rx65n/rx65n-grrose/include/board.h index 358696ca1f..f239eb2f44 100644 --- a/boards/renesas/rx65n/rx65n-grrose/include/board.h +++ b/boards/renesas/rx65n/rx65n-grrose/include/board.h @@ -147,4 +147,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_RENESAS_RX65N_RX65N_GRROSE_INCLUDE_BOARD_H */ +#endif /* __BOARDS_RENESAS_RX65N_RX65N_GRROSE_INCLUDE_BOARD_H */ diff --git a/boards/renesas/rx65n/rx65n-rsk1mb/include/board.h b/boards/renesas/rx65n/rx65n-rsk1mb/include/board.h index 1995017301..5ca16915e6 100644 --- a/boards/renesas/rx65n/rx65n-rsk1mb/include/board.h +++ b/boards/renesas/rx65n/rx65n-rsk1mb/include/board.h @@ -147,4 +147,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_RENESAS_RX65N_RX65N_RSKLMB_INCLUDE_BOARD_H */ +#endif /* __BOARDS_RENESAS_RX65N_RX65N_RSKLMB_INCLUDE_BOARD_H */ diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/include/board.h b/boards/renesas/rx65n/rx65n-rsk2mb/include/board.h index 4a81b4afa1..70107c6234 100644 --- a/boards/renesas/rx65n/rx65n-rsk2mb/include/board.h +++ b/boards/renesas/rx65n/rx65n-rsk2mb/include/board.h @@ -147,4 +147,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_RENESAS_RX65N_RX65N_RSK2MB_INCLUDE_BOARD_H */ +#endif /* __BOARDS_RENESAS_RX65N_RX65N_RSK2MB_INCLUDE_BOARD_H */ diff --git a/boards/renesas/rx65n/rx65n/include/board.h b/boards/renesas/rx65n/rx65n/include/board.h index d64e356cfc..338edd4aed 100644 --- a/boards/renesas/rx65n/rx65n/include/board.h +++ b/boards/renesas/rx65n/rx65n/include/board.h @@ -147,4 +147,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_RENESAS_RX65N_RX65N_INCLUDE_BOARD_H */ +#endif /* __BOARDS_RENESAS_RX65N_RX65N_INCLUDE_BOARD_H */ diff --git a/boards/renesas/sh1/us7032evb1/include/board.h b/boards/renesas/sh1/us7032evb1/include/board.h index bc7b686bc7..479d7e3b37 100644 --- a/boards/renesas/sh1/us7032evb1/include/board.h +++ b/boards/renesas/sh1/us7032evb1/include/board.h @@ -93,4 +93,4 @@ extern "C" #endif #endif -#endif /* __BOARDS_RENESAS_SH7032_US7032EVB1_BOARD_H */ +#endif /* __BOARDS_RENESAS_SH7032_US7032EVB1_BOARD_H */ diff --git a/boards/renesas/sh1/us7032evb1/shterm/shterm.c b/boards/renesas/sh1/us7032evb1/shterm/shterm.c index 2ecfcd4761..10787ee79e 100644 --- a/boards/renesas/sh1/us7032evb1/shterm/shterm.c +++ b/boards/renesas/sh1/us7032evb1/shterm/shterm.c @@ -62,7 +62,7 @@ #define DEFAULT_BAUD 9600 -#define _err(format, ...) if (debug > 0) printconsole(format, ##__VA_ARGS__) +#define _err(format, ...) if (debug > 0) printconsole(format, ##__VA_ARGS__) #define _info(format, ...) if (debug > 1) printconsole(format, ##__VA_ARGS__) /**************************************************************************** diff --git a/boards/risc-v/nr5m100/nr5m100-nexys4/include/board.h b/boards/risc-v/nr5m100/nr5m100-nexys4/include/board.h index 75dd40279c..2e73b7cff8 100644 --- a/boards/risc-v/nr5m100/nr5m100-nexys4/include/board.h +++ b/boards/risc-v/nr5m100/nr5m100-nexys4/include/board.h @@ -121,7 +121,7 @@ #define BUTTON_USER_BIT (1 << BUTTON_USER) -#endif /* 0 */ +#endif /* 0 */ /**************************************************************************** * Public Data diff --git a/boards/x86/qemu/qemu-i486/include/board.h b/boards/x86/qemu/qemu-i486/include/board.h index 02af733304..5757007b85 100644 --- a/boards/x86/qemu/qemu-i486/include/board.h +++ b/boards/x86/qemu/qemu-i486/include/board.h @@ -88,4 +88,4 @@ extern "C" #endif #endif /* __ASSEMBLY__ */ -#endif /* __BOARDS_X86_QEMU_QEMU_QEMU_I486_INCLUDE_BOARD_H */ +#endif /* __BOARDS_X86_QEMU_QEMU_QEMU_I486_INCLUDE_BOARD_H */ diff --git a/boards/z16/z16f/z16f2800100zcog/include/board.h b/boards/z16/z16f/z16f2800100zcog/include/board.h index 5b02fde74e..4eeb177705 100644 --- a/boards/z16/z16f/z16f2800100zcog/include/board.h +++ b/boards/z16/z16f/z16f2800100zcog/include/board.h @@ -123,4 +123,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z16_Z16F2811_Z16F2800100ZCOG_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z16_Z16F2811_Z16F2800100ZCOG_INCLUDE_BOARD_H */ diff --git a/boards/z80/ez80/ez80f910200kitg/include/board.h b/boards/z80/ez80/ez80f910200kitg/include/board.h index 24592f7198..4e0db812bb 100644 --- a/boards/z80/ez80/ez80f910200kitg/include/board.h +++ b/boards/z80/ez80/ez80f910200kitg/include/board.h @@ -78,4 +78,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_EZ80_EZ80f910200KITG_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z80_EZ80_EZ80f910200KITG_INCLUDE_BOARD_H */ diff --git a/boards/z80/ez80/ez80f910200zco/include/board.h b/boards/z80/ez80/ez80f910200zco/include/board.h index fe0dc4afe0..6cc9a88e1d 100644 --- a/boards/z80/ez80/ez80f910200zco/include/board.h +++ b/boards/z80/ez80/ez80f910200zco/include/board.h @@ -86,4 +86,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_EZ80_EZ80F910200ZCO_INCLUDE__BOARD_H */ +#endif /* __BOARDS_Z80_EZ80_EZ80F910200ZCO_INCLUDE__BOARD_H */ diff --git a/boards/z80/ez80/ez80f910200zco/src/ez80f910200zco.h b/boards/z80/ez80/ez80f910200zco/src/ez80f910200zco.h index 3d7566e122..cc64301975 100644 --- a/boards/z80/ez80/ez80f910200zco/src/ez80f910200zco.h +++ b/boards/z80/ez80/ez80f910200zco/src/ez80f910200zco.h @@ -148,4 +148,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_EZ80_EZ80F910200ZCO_SRC_EZ80F910200ZCO_H */ +#endif /* __BOARDS_Z80_EZ80_EZ80F910200ZCO_SRC_EZ80F910200ZCO_H */ diff --git a/boards/z80/ez80/makerlisp/include/board.h b/boards/z80/ez80/makerlisp/include/board.h index f9554e84ce..9f1a021341 100644 --- a/boards/z80/ez80/makerlisp/include/board.h +++ b/boards/z80/ez80/makerlisp/include/board.h @@ -103,4 +103,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_EZ80_MAKERLISP_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z80_EZ80_MAKERLISP_INCLUDE_BOARD_H */ diff --git a/boards/z80/ez80/makerlisp/src/makerlisp.h b/boards/z80/ez80/makerlisp/src/makerlisp.h index 9747795529..c4b45da1a4 100644 --- a/boards/z80/ez80/makerlisp/src/makerlisp.h +++ b/boards/z80/ez80/makerlisp/src/makerlisp.h @@ -147,4 +147,4 @@ void ez80_spidev_initialize(void); } #endif -#endif /* __BOARDS_Z80_EZ80_MAKERLISP_SRC_MAKERLISP_H */ +#endif /* __BOARDS_Z80_EZ80_MAKERLISP_SRC_MAKERLISP_H */ diff --git a/boards/z80/z180/p112/include/board.h b/boards/z80/z180/p112/include/board.h index 23c3c16e4d..8029db6958 100644 --- a/boards/z80/z180/p112/include/board.h +++ b/boards/z80/z180/p112/include/board.h @@ -63,4 +63,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_Z180_P112_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z80_Z180_P112_INCLUDE_BOARD_H */ diff --git a/boards/z80/z8/z8encore000zco/include/board.h b/boards/z80/z8/z8encore000zco/include/board.h index e865b967aa..83a5de8df7 100644 --- a/boards/z80/z8/z8encore000zco/include/board.h +++ b/boards/z80/z8/z8encore000zco/include/board.h @@ -74,4 +74,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_Z8_Z8ENCORE000ZCO__BOARD_H */ +#endif /* __BOARDS_Z80_Z8_Z8ENCORE000ZCO__BOARD_H */ diff --git a/boards/z80/z8/z8f64200100kit/include/board.h b/boards/z80/z8/z8f64200100kit/include/board.h index ac64ea4d8d..9e17e6c27e 100644 --- a/boards/z80/z8/z8f64200100kit/include/board.h +++ b/boards/z80/z8/z8f64200100kit/include/board.h @@ -74,4 +74,4 @@ extern "C" } #endif -#endif /* __BOARDS_Z80_Z8_Z8F64200100KIT_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z80_Z8_Z8F64200100KIT_INCLUDE_BOARD_H */ diff --git a/boards/z80/z80/z80sim/include/board.h b/boards/z80/z80/z80sim/include/board.h index 28d0fb507f..e5b1178748 100644 --- a/boards/z80/z80/z80sim/include/board.h +++ b/boards/z80/z80/z80sim/include/board.h @@ -64,4 +64,4 @@ EXTERN char z80_lowgetc(void) __naked; } #endif -#endif /* __BOARDS_Z80_Z80_Z80SIM_INCLUDE_BOARD_H */ +#endif /* __BOARDS_Z80_Z80_Z80SIM_INCLUDE_BOARD_H */ diff --git a/drivers/audio/audio_null.c b/drivers/audio/audio_null.c index 62c6862d8e..4188bab3ba 100644 --- a/drivers/audio/audio_null.c +++ b/drivers/audio/audio_null.c @@ -363,7 +363,7 @@ static int null_configure(FAR struct audio_lowerhalf_s *dev, case AUDIO_FU_VOLUME: audinfo(" Volume: %d\n", caps->ac_controls.hw[0]); break; -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ #ifndef CONFIG_AUDIO_EXCLUDE_TONE case AUDIO_FU_BASS: @@ -373,7 +373,7 @@ static int null_configure(FAR struct audio_lowerhalf_s *dev, case AUDIO_FU_TREBLE: audinfo(" Treble: %d\n", caps->ac_controls.b[0]); break; -#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ +#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ default: auderr(" ERROR: Unrecognized feature unit\n"); diff --git a/drivers/audio/cs43l22.c b/drivers/audio/cs43l22.c index 75fa0f31c9..a2e0f6bc47 100644 --- a/drivers/audio/cs43l22.c +++ b/drivers/audio/cs43l22.c @@ -778,7 +778,7 @@ cs43l22_configure(FAR struct audio_lowerhalf_s *dev, } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ #ifndef CONFIG_AUDIO_EXCLUDE_TONE case AUDIO_FU_BASS: @@ -820,7 +820,7 @@ cs43l22_configure(FAR struct audio_lowerhalf_s *dev, } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ +#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ default: auderr(" ERROR: Unrecognized feature unit\n"); diff --git a/drivers/audio/cs43l22.h b/drivers/audio/cs43l22.h index ce83523527..6fa9b98228 100644 --- a/drivers/audio/cs43l22.h +++ b/drivers/audio/cs43l22.h @@ -339,9 +339,9 @@ struct cs43l22_dev_s #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE uint16_t balance; /* Current balance level (b16) */ -#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ +#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ uint8_t volume; /* Current volume level {0..63} */ -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ uint8_t nchannels; /* Number of channels (1 or 2) */ uint8_t bpsamp; /* Bits per sample (8 or 16) */ volatile uint8_t inflight; /* Number of audio buffers in-flight */ diff --git a/drivers/audio/vs1053.c b/drivers/audio/vs1053.c index cf4652bcdd..03ebc5bfa9 100644 --- a/drivers/audio/vs1053.c +++ b/drivers/audio/vs1053.c @@ -127,8 +127,8 @@ struct vs1053_struct_s int16_t volume; /* Current volume level */ #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE int16_t balance; /* Current balance level */ -#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ #ifndef CONFIG_AUDIO_EXCLUDE_TONE uint8_t bass; /* Bass level */ uint8_t treble; /* Bass level */ @@ -165,7 +165,7 @@ static int vs1053_pause(FAR struct audio_lowerhalf_s *lower, FAR void *session); static int vs1053_resume(FAR struct audio_lowerhalf_s *lower, FAR void *session); -#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ static int vs1053_reserve(FAR struct audio_lowerhalf_s *lower, FAR void** ppContext); static int vs1053_release(FAR struct audio_lowerhalf_s *lower, @@ -180,7 +180,7 @@ static int vs1053_stop(FAR struct audio_lowerhalf_s *lower); #ifndef CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME static int vs1053_pause(FAR struct audio_lowerhalf_s *lower); static int vs1053_resume(FAR struct audio_lowerhalf_s *lower); -#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_PAUSE_RESUME */ static int vs1053_reserve(FAR struct audio_lowerhalf_s *lower); static int vs1053_release(FAR struct audio_lowerhalf_s *lower); #endif /* CONFIG_AUDIO_MULTI_SESION */ @@ -784,7 +784,7 @@ static int vs1053_configure(FAR struct audio_lowerhalf_s *lower, vs1053_setvolume(dev); break; -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ #if !defined(CONFIG_AUDIO_EXCLUDE_TONE) && !defined(CONFIG_AUDIO_EXCLUDE_VOLUME) case AUDIO_FU_BALANCE: @@ -820,7 +820,7 @@ static int vs1053_configure(FAR struct audio_lowerhalf_s *lower, vs1053_setbass(dev); break; -#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ +#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ default: /* Others we don't support */ @@ -1142,7 +1142,7 @@ static void vs1053_feeddata(FAR struct vs1053_struct_s *dev) continue; } else -#endif /* CONFIG_AUDIO_EXCLUDE_STOP */ +#endif /* CONFIG_AUDIO_EXCLUDE_STOP */ { dev->endfillbytes = 0; } diff --git a/drivers/audio/wm8776.c b/drivers/audio/wm8776.c index 0c0050b7c4..c786ff1709 100644 --- a/drivers/audio/wm8776.c +++ b/drivers/audio/wm8776.c @@ -421,7 +421,7 @@ static int wm8776_configure(FAR struct audio_lowerhalf_s *dev, } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ default: auderr(" ERROR: Unrecognized feature unit\n"); diff --git a/drivers/audio/wm8776.h b/drivers/audio/wm8776.h index 2f666d2a66..dc6a0c1b39 100644 --- a/drivers/audio/wm8776.h +++ b/drivers/audio/wm8776.h @@ -106,9 +106,9 @@ struct wm8776_dev_s #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE uint16_t balance; /* Current balance level (b16) */ -#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ +#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ uint8_t volume; /* Current volume level {0..63} */ -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ uint8_t nchannels; /* Number of channels (1 or 2) */ uint8_t bpsamp; /* Bits per sample (8 or 16) */ volatile uint8_t inflight; /* Number of audio buffers in-flight */ diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index 2dabc13e5f..690c44b757 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -1173,7 +1173,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev, } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ #ifndef CONFIG_AUDIO_EXCLUDE_TONE case AUDIO_FU_BASS: @@ -1215,7 +1215,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev, } } break; -#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ +#endif /* CONFIG_AUDIO_EXCLUDE_TONE */ default: auderr(" ERROR: Unrecognized feature unit\n"); diff --git a/drivers/audio/wm8904.h b/drivers/audio/wm8904.h index 0ba1e16c9f..9a616044f4 100644 --- a/drivers/audio/wm8904.h +++ b/drivers/audio/wm8904.h @@ -1083,9 +1083,9 @@ struct wm8904_dev_s #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE uint16_t balance; /* Current balance level (b16) */ -#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ +#endif /* CONFIG_AUDIO_EXCLUDE_BALANCE */ uint8_t volume; /* Current volume level {0..63} */ -#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ +#endif /* CONFIG_AUDIO_EXCLUDE_VOLUME */ uint8_t nchannels; /* Number of channels (1 or 2) */ uint8_t bpsamp; /* Bits per sample (8 or 16) */ volatile uint8_t inflight; /* Number of audio buffers in-flight */ diff --git a/drivers/can/mcp2515.h b/drivers/can/mcp2515.h index 3fb2134800..7fb78e81ff 100644 --- a/drivers/can/mcp2515.h +++ b/drivers/can/mcp2515.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __DRIVERS_CAN_MCP2514_H -#define __DRIVERS_CAN_MCP2514_H 1 +#define __DRIVERS_CAN_MCP2514_H /**************************************************************************** * Pre-processor Definitions diff --git a/drivers/contactless/mfrc522.h b/drivers/contactless/mfrc522.h index f0d9ae06a7..be30edf420 100644 --- a/drivers/contactless/mfrc522.h +++ b/drivers/contactless/mfrc522.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __DRIVERS_CONTACTLESS_MFRC522_H -#define __DRIVERS_CONTACTLESS_MFRC522_H 1 +#define __DRIVERS_CONTACTLESS_MFRC522_H /**************************************************************************** * Included Files diff --git a/drivers/contactless/pn532.h b/drivers/contactless/pn532.h index 87013f7dbe..443aef7670 100644 --- a/drivers/contactless/pn532.h +++ b/drivers/contactless/pn532.h @@ -36,7 +36,7 @@ ****************************************************************************/ #ifndef __DRIVERS_CONTACTLESS_PN532_H -#define __DRIVERS_CONTACTLESS_PN532_H 1 +#define __DRIVERS_CONTACTLESS_PN532_H /**************************************************************************** * Included Files diff --git a/drivers/lcd/lcd_framebuffer.c b/drivers/lcd/lcd_framebuffer.c index 184a09734f..31c8557d6a 100644 --- a/drivers/lcd/lcd_framebuffer.c +++ b/drivers/lcd/lcd_framebuffer.c @@ -503,7 +503,7 @@ int up_fbinitialize(int display) priv->vtable.setcursor = lcdfb_setcursor, #endif -#ifdef CONFIG_LCD_EXTERNINIT +#ifdef CONFIG_LCD_EXTERNINIT /* Use external graphics driver initialization */ lcd = board_graphics_setup(display); @@ -680,7 +680,7 @@ void up_fbuninitialize(int display) g_lcdfb = priv->flink; } -#ifndef CONFIG_LCD_EXTERNINIT +#ifndef CONFIG_LCD_EXTERNINIT /* Uninitialize the LCD */ board_lcd_uninitialize(); diff --git a/drivers/lcd/ssd1306.h b/drivers/lcd/ssd1306.h index a0ba7344e7..26507a40cc 100644 --- a/drivers/lcd/ssd1306.h +++ b/drivers/lcd/ssd1306.h @@ -34,7 +34,7 @@ **************************************************************************************/ #ifndef __DRIVERS_LCD_SSD1306_H -#define __DRIVERS_LCD_SSD1306_H 1 +#define __DRIVERS_LCD_SSD1306_H /************************************************************************************** * Included Files diff --git a/drivers/modem/altair/altmdm_spi.c b/drivers/modem/altair/altmdm_spi.c index a85fe1b5a7..df3a72d63b 100644 --- a/drivers/modem/altair/altmdm_spi.c +++ b/drivers/modem/altair/altmdm_spi.c @@ -2309,4 +2309,4 @@ int altmdm_spi_clearreceiverready(FAR struct altmdm_dev_s *priv) } #endif -#endif /* CONFIG_MODEM_ALTMDM */ +#endif /* CONFIG_MODEM_ALTMDM */ diff --git a/drivers/mtd/smart.c b/drivers/mtd/smart.c index e75cee5085..490b94ddd0 100644 --- a/drivers/mtd/smart.c +++ b/drivers/mtd/smart.c @@ -1273,7 +1273,7 @@ static int smart_setsectorsize(FAR struct smart_struct_s *dev, uint16_t size) dev->freecount = dev->releasecount + dev->neraseblocks; #endif -#endif /* CONFIG_MTD_SMART_MINIMIZE_RAM */ +#endif /* CONFIG_MTD_SMART_MINIMIZE_RAM */ #ifdef CONFIG_MTD_SMART_SECTOR_ERASE_DEBUG /* Allocate a buffer to hold the erase counts */ @@ -2390,7 +2390,7 @@ static int smart_scan(FAR struct smart_struct_s *dev) finfo("Duplicate Sector winner=%d, loser=%d\n", winner, loser); } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /* Now release the loser sector */ @@ -2511,8 +2511,8 @@ static int smart_scan(FAR struct smart_struct_s *dev) } } -#endif /* CONFIG_MTD_SMART_CONVERT_WEAR_FORMAT */ -#endif /* CONFIG_MTD_SMART_WEAR_LEVEL && SMART_STATUS_VERSION == 1 */ +#endif /* CONFIG_MTD_SMART_CONVERT_WEAR_FORMAT */ +#endif /* CONFIG_MTD_SMART_WEAR_LEVEL && SMART_STATUS_VERSION == 1 */ #ifdef CONFIG_MTD_SMART_FSCK smart_fsck(dev); @@ -2934,7 +2934,7 @@ static int smart_relocate_static_data(FAR struct smart_struct_s *dev, uint16_t b smart_add_count(dev, dev->freecount, block, -1); #else dev->freecount[block]--; -#endif /* CONFIG_MTD_SMART_PACK_COUNTS */ +#endif /* CONFIG_MTD_SMART_PACK_COUNTS */ } #ifdef CONFIG_SMART_LOCAL_CHECKFREE @@ -3026,7 +3026,7 @@ static crc_t smart_calc_sector_crc(FAR struct smart_struct_s *dev) return crc; } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /**************************************************************************** * Name: smart_llformat @@ -3109,7 +3109,7 @@ static inline int smart_llformat(FAR struct smart_struct_s *dev, unsigned long a #endif #else /* SMART_STATUS_VERSION == 1 */ sectorheader->seq = 0; -#endif /* SMART_STATUS_VERSION == 1 */ +#endif /* SMART_STATUS_VERSION == 1 */ /* Set the sector size of this sector */ @@ -3126,7 +3126,7 @@ static inline int smart_llformat(FAR struct smart_struct_s *dev, unsigned long a sectsize; #ifdef CONFIG_MTD_SMART_ENABLE_CRC sectorheader->status &= ~SMART_STATUS_CRC; -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ #else /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ *((FAR uint16_t *) sectorheader->logicalsector) = 0xffff; @@ -3134,8 +3134,8 @@ static inline int smart_llformat(FAR struct smart_struct_s *dev, unsigned long a sectsize); #ifdef CONFIG_MTD_SMART_ENABLE_CRC sectorheader->status |= SMART_STATUS_CRC; -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ -#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ /* Now add the format signature to the sector */ @@ -3363,7 +3363,7 @@ static int smart_relocate_sector(FAR struct smart_struct_s *dev, ferr("ERROR: Error %d committing new sector %d\n" -ret, newsector); goto errout; } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /* Release the old physical sector */ @@ -4340,7 +4340,7 @@ static int smart_write_alloc_sector(FAR struct smart_struct_s *dev, header->seq = 0; #else *((FAR uint16_t *) &header->seq) = 0; -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ #else header->seq = 0; #endif @@ -4365,12 +4365,12 @@ static int smart_write_alloc_sector(FAR struct smart_struct_s *dev, SMART_STATUS_VERBITS) | SMART_STATUS_VERSION | sectsize; #ifdef CONFIG_MTD_SMART_ENABLE_CRC header->status &= ~SMART_STATUS_CRC; -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ #else header->status = SMART_STATUS_COMMITTED | SMART_STATUS_VERSION | sectsize; #ifdef CONFIG_MTD_SMART_ENABLE_CRC header->status |= SMART_STATUS_CRC; -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ #endif /* Write the header to the physical sector location */ @@ -4390,7 +4390,7 @@ static int smart_write_alloc_sector(FAR struct smart_struct_s *dev, return -EIO; } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ return ret; } @@ -4596,7 +4596,7 @@ static int smart_writesector(FAR struct smart_struct_s *dev, } #endif } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /* If we are not using CRC and on a device that supports re-writing * bits from 1 to 0 without needing a block erase, such as NOR @@ -4721,7 +4721,7 @@ static int smart_writesector(FAR struct smart_struct_s *dev, memcpy(&dev->rwbuffer[sizeof(struct smart_sect_header_s) + req->offset], req->buffer, req->count); -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /* Now write the sector buffer to the device. */ @@ -5229,7 +5229,7 @@ static inline int smart_allocsector(FAR struct smart_struct_s *dev, return ret; } -#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ +#endif /* CONFIG_MTD_SMART_ENABLE_CRC */ /* Map the sector and update the free sector counts */ diff --git a/drivers/net/encx24j600.h b/drivers/net/encx24j600.h index 85f0053007..ec0ba91ea8 100644 --- a/drivers/net/encx24j600.h +++ b/drivers/net/encx24j600.h @@ -425,4 +425,4 @@ #define RXSTAT_OK (1 << 7) -#endif /* __DRIVERS_NET_ENCX24J600_H */ +#endif /* __DRIVERS_NET_ENCX24J600_H */ diff --git a/drivers/power/greedy_governor.h b/drivers/power/greedy_governor.h index 0551c6c9ed..8f2d0cc5d0 100644 --- a/drivers/power/greedy_governor.h +++ b/drivers/power/greedy_governor.h @@ -78,4 +78,4 @@ FAR const struct pm_governor_s *pm_greedy_governor_initialize(void); } #endif -#endif /* __DRIVERS_POWER_GREEDY_GOVERNER_H */ +#endif /* __DRIVERS_POWER_GREEDY_GOVERNER_H */ diff --git a/drivers/sensors/lsm303agr.c b/drivers/sensors/lsm303agr.c index 1c98e0c4ac..5dd140dde5 100644 --- a/drivers/sensors/lsm303agr.c +++ b/drivers/sensors/lsm303agr.c @@ -1273,4 +1273,4 @@ int lsm303agr_sensor_register(FAR const char *devpath, LSM303AGR_OUTX_L_A_SHIFT, sensor_data); } -#endif /* CONFIG_I2C && CONFIG_SENSORS_LSM303AGR */ +#endif /* CONFIG_I2C && CONFIG_SENSORS_LSM303AGR */ diff --git a/drivers/sensors/vl53l1x.c b/drivers/sensors/vl53l1x.c index 8769c3e60a..559dd0cb1e 100644 --- a/drivers/sensors/vl53l1x.c +++ b/drivers/sensors/vl53l1x.c @@ -1193,4 +1193,4 @@ int vl53l1x_register(FAR const char *devpath, FAR struct i2c_master_s *i2c) return 1; } -#endif /* CONFIG_I2C && CONFIG_SENSORS_VL53L1X */ +#endif /* CONFIG_I2C && CONFIG_SENSORS_VL53L1X */ diff --git a/drivers/usbdev/cdcacm.h b/drivers/usbdev/cdcacm.h index aecfd3bb05..b4d7dc9955 100644 --- a/drivers/usbdev/cdcacm.h +++ b/drivers/usbdev/cdcacm.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __DRIVERS_USBDEV_CDCACM_H -#define __DRIVERS_USBDEV_CDCACM_H 1 +#define __DRIVERS_USBDEV_CDCACM_H /**************************************************************************** * Included Files diff --git a/drivers/usbdev/composite.h b/drivers/usbdev/composite.h index 1092b52731..a3ccc2f6d6 100644 --- a/drivers/usbdev/composite.h +++ b/drivers/usbdev/composite.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __DRIVERS_USBDEV_COMPOSITE_H -#define __DRIVERS_USBDEV_COMPOSITE_H 1 +#define __DRIVERS_USBDEV_COMPOSITE_H /**************************************************************************** * Included Files diff --git a/drivers/usbdev/pl2303.c b/drivers/usbdev/pl2303.c index 101a5d7986..61d10216b2 100644 --- a/drivers/usbdev/pl2303.c +++ b/drivers/usbdev/pl2303.c @@ -947,7 +947,7 @@ static int16_t usbclass_mkcfgdesc(uint8_t *buf) memcpy(cfgdesc, &g_cfgdesc, USB_SIZEOF_CFGDESC); buf += USB_SIZEOF_CFGDESC; - /* Copy the canned interface descriptor */ + /* Copy the canned interface descriptor */ memcpy(buf, &g_ifdesc, USB_SIZEOF_IFDESC); buf += USB_SIZEOF_IFDESC; diff --git a/drivers/usbdev/usbmsc.h b/drivers/usbdev/usbmsc.h index b907699a56..227a357318 100644 --- a/drivers/usbdev/usbmsc.h +++ b/drivers/usbdev/usbmsc.h @@ -224,7 +224,7 @@ # define USBMSC_SELFPOWERED (0) #endif -#ifdef CONFIG_USBDEV_REMOTEWAKEUP +#ifdef CONFIG_USBDEV_REMOTEWAKEUP # define USBMSC_REMOTEWAKEUP USB_CONFIG_ATTR_WAKEUP #else # define USBMSC_REMOTEWAKEUP (0) diff --git a/drivers/usbhost/usbhost_cdcacm.c b/drivers/usbhost/usbhost_cdcacm.c index f23c599ace..431b9c9183 100644 --- a/drivers/usbhost/usbhost_cdcacm.c +++ b/drivers/usbhost/usbhost_cdcacm.c @@ -2833,4 +2833,4 @@ int usbhost_cdcacm_initialize(void) return usbhost_registerclass(&g_cdcacm); } -#endif /* CONFIG_USBHOST_CDCACM */ +#endif /* CONFIG_USBHOST_CDCACM */ diff --git a/drivers/usbhost/usbhost_hub.c b/drivers/usbhost/usbhost_hub.c index a22e877e51..5ac558dc8a 100644 --- a/drivers/usbhost/usbhost_hub.c +++ b/drivers/usbhost/usbhost_hub.c @@ -1510,4 +1510,4 @@ int usbhost_hub_initialize(void) return usbhost_registerclass(&g_hub); } -#endif /* CONFIG_USBHOST_HUB */ +#endif /* CONFIG_USBHOST_HUB */ diff --git a/drivers/usbhost/usbhost_storage.c b/drivers/usbhost/usbhost_storage.c index 4d53306864..d23150de2c 100644 --- a/drivers/usbhost/usbhost_storage.c +++ b/drivers/usbhost/usbhost_storage.c @@ -2303,4 +2303,4 @@ int usbhost_msc_initialize(void) return usbhost_registerclass(&g_storage); } -#endif /* CONFIG_USBHOST && !CONFIG_USBHOST_BULK_DISABLE && !CONFIG_DISABLE_MOUNTPOINT */ +#endif /* CONFIG_USBHOST && !CONFIG_USBHOST_BULK_DISABLE && !CONFIG_DISABLE_MOUNTPOINT */ diff --git a/drivers/video/isx012.c b/drivers/video/isx012.c index bc316e9def..0f033ccc34 100644 --- a/drivers/video/isx012.c +++ b/drivers/video/isx012.c @@ -1093,7 +1093,7 @@ static int isx012_change_device_state(isx012_dev_t *priv, return ret; } } -#endif /* ISX012_FRAME_SKIP_EN */ +#endif /* ISX012_FRAME_SKIP_EN */ } priv->mode = REGVAL_MODESEL_MON; diff --git a/drivers/video/video_framebuff.h b/drivers/video/video_framebuff.h index 51699553b5..aaeaf50379 100644 --- a/drivers/video/video_framebuff.h +++ b/drivers/video/video_framebuff.h @@ -87,4 +87,4 @@ void video_framebuff_dma_done void video_framebuff_change_mode (video_framebuff_t *fbuf, enum v4l2_buf_mode mode); -#endif // __VIDEO_VIDEO_FRAMEBUFF_H__ +#endif // __VIDEO_VIDEO_FRAMEBUFF_H__ diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c index d1d9b5a40a..73ef15ff20 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c @@ -489,7 +489,7 @@ int bcmf_core_upload_firmware(FAR struct bcmf_sdio_dev_s *sbus) up_mdelay(10); bcmf_core_reset(sbus, WLAN_ARMCM3_CORE_ID); - /* Check ARMCM3 core is running */ + /* Check ARMCM3 core is running */ up_mdelay(10); if (!bcmf_core_isup(sbus, WLAN_ARMCM3_CORE_ID)) diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_regs.h b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_regs.h index 6959968524..a3b9839048 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_regs.h +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_regs.h @@ -15,8 +15,8 @@ * ****************************************************************************/ -#ifndef __DRIVERS_WIRELESS_IEEE80211_BCMF_SDIO_REGS_H -#define __DRIVERS_WIRELESS_IEEE80211_BCMF_SDIO_REGS_H +#ifndef __DRIVERS_WIRELESS_IEEE80211_BCMF_SDIO_REGS_H +#define __DRIVERS_WIRELESS_IEEE80211_BCMF_SDIO_REGS_H #define SDIO_FUNC_0 0 #define SDIO_FUNC_1 1 diff --git a/drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c b/drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c index 9137a028a0..b514bb8b91 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c +++ b/drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c @@ -387,7 +387,7 @@ int sdio_probe(FAR struct sdio_dev_s *dev) return ret; } - /* Configure 4 bits bus width */ + /* Configure 4 bits bus width */ ret = sdio_set_wide_bus(dev); if (ret != OK) diff --git a/drivers/wireless/lpwan/sx127x/sx127x.c b/drivers/wireless/lpwan/sx127x/sx127x.c index c41bd6ced0..6282878c75 100644 --- a/drivers/wireless/lpwan/sx127x/sx127x.c +++ b/drivers/wireless/lpwan/sx127x/sx127x.c @@ -1303,7 +1303,7 @@ static int sx127x_lora_isr0_process(FAR struct sx127x_dev_s *dev) irq = SX127X_LRM_IRQ_TXDONE; break; } -#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ +#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ #ifdef CONFIG_LPWAN_SX127X_RXSUPPORT /* RX DONE */ @@ -1360,7 +1360,7 @@ static int sx127x_lora_isr0_process(FAR struct sx127x_dev_s *dev) SX127X_LRM_IRQ_VALIDHDR); break; } -#endif /* CONFIG_LPWAN_SX127X_RXSUPPORT */ +#endif /* CONFIG_LPWAN_SX127X_RXSUPPORT */ /* Only LORA - CAD DONE */ @@ -1393,7 +1393,7 @@ static int sx127x_lora_isr0_process(FAR struct sx127x_dev_s *dev) return ret; } -#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ /**************************************************************************** * Name: sx127x_fskook_isr0_process @@ -1437,7 +1437,7 @@ static int sx127x_fskook_isr0_process(FAR struct sx127x_dev_s *dev) nxsem_post(&dev->tx_sem); break; } -#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ +#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ #ifdef CONFIG_LPWAN_SX127X_RXSUPPORT /* RX DONE */ @@ -1484,7 +1484,7 @@ static int sx127x_fskook_isr0_process(FAR struct sx127x_dev_s *dev) break; } -#endif /* CONFIG_LPWAN_SX127X_RXSUPPORT */ +#endif /* CONFIG_LPWAN_SX127X_RXSUPPORT */ default: { @@ -1507,7 +1507,7 @@ static int sx127x_fskook_isr0_process(FAR struct sx127x_dev_s *dev) return ret; } -#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ +#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ /**************************************************************************** * Name: sx127x_isr0_process @@ -1638,7 +1638,7 @@ errout: return len; } -#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ +#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ /**************************************************************************** * Name: sx127x_lora_rxhandle @@ -1718,7 +1718,7 @@ errout: return len; } -#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ /**************************************************************************** * Name: sx127x_rxfifo_get @@ -1907,7 +1907,7 @@ static int sx127x_fskook_send(FAR struct sx127x_dev_s *dev, errout: return ret; } -#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ +#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ /**************************************************************************** * Name: sx127x_lora_send @@ -1953,8 +1953,8 @@ static int sx127x_lora_send(FAR struct sx127x_dev_s *dev, errout: return ret; } -#endif /* CONFIG_LPWAN_SX127X_LORA */ -#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_TXSUPPORT */ /**************************************************************************** * Name: sx127x_opmode_init @@ -2806,7 +2806,7 @@ static int sx127x_fskook_preamble_get(FAR struct sx127x_dev_s *dev) return 0; } -#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ +#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ #ifdef CONFIG_LPWAN_SX127X_LORA @@ -3492,7 +3492,7 @@ static int sx127x_lora_preamble_get(FAR struct sx127x_dev_s *dev) return 0; } -#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ /**************************************************************************** * Name: sx127x_syncword_get @@ -3576,7 +3576,7 @@ static void sx127x_ops_set(FAR struct sx127x_dev_s *dev, uint8_t modulation) #ifdef CONFIG_DEBUG_WIRELESS_INFO dev->ops.dumpregs = sx127x_fskook_dumpregs; #endif -#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ +#endif /* CONFIG_LPWAN_SX127X_FSKOOK */ } #ifdef CONFIG_LPWAN_SX127X_LORA @@ -3598,7 +3598,7 @@ static void sx127x_ops_set(FAR struct sx127x_dev_s *dev, uint8_t modulation) dev->ops.dumpregs = sx127x_lora_dumpregs; #endif } -#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ } /**************************************************************************** @@ -4413,7 +4413,7 @@ static void sx127x_lora_dumpregs(FAR struct sx127x_dev_s *dev) sx127x_readregbyte(dev, SX127X_CMN_PLL)); sx127x_unlock(dev->spi); } -#endif /* CONFIG_LPWAN_SX127X_LORA */ +#endif /* CONFIG_LPWAN_SX127X_LORA */ /**************************************************************************** * Name: sx127x_fskook_dumpregs @@ -4608,7 +4608,7 @@ static void sx127x_dumpregs(FAR struct sx127x_dev_s *dev) } } } -#endif /* CONFIG_DEBUG_WIRELESS_INFO */ +#endif /* CONFIG_DEBUG_WIRELESS_INFO */ /**************************************************************************** * Name: sx127x_unregister diff --git a/drivers/wireless/lpwan/sx127x/sx127x.h b/drivers/wireless/lpwan/sx127x/sx127x.h index e266a7bf55..1332c83390 100644 --- a/drivers/wireless/lpwan/sx127x/sx127x.h +++ b/drivers/wireless/lpwan/sx127x/sx127x.h @@ -850,4 +850,4 @@ } #endif -#endif /* __DRIVERS_WIRELESS_LPWAN_SX127X_H */ +#endif /* __DRIVERS_WIRELESS_LPWAN_SX127X_H */ diff --git a/fs/cromfs/cromfs.h b/fs/cromfs/cromfs.h index 12547e248a..7ce3ece9ba 100644 --- a/fs/cromfs/cromfs.h +++ b/fs/cromfs/cromfs.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __FS_CROMFS_CROMFS_H -#define __FS_CROMFS_CROMFS_H 1 +#define __FS_CROMFS_CROMFS_H /**************************************************************************** * Included Files diff --git a/fs/smartfs/smartfs_smart.c b/fs/smartfs/smartfs_smart.c index 24503ecc8b..4d142d0084 100644 --- a/fs/smartfs/smartfs_smart.c +++ b/fs/smartfs/smartfs_smart.c @@ -225,7 +225,7 @@ static int smartfs_open(FAR struct file *filep, const char *relpath, } sf->bflags = 0; -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ sf->entry.name = NULL; ret = smartfs_finddirentry(fs, &sf->entry, relpath, &parentdirsector, @@ -385,7 +385,7 @@ errout_with_buffer: #ifdef CONFIG_SMARTFS_USE_SECTOR_BUFFER kmm_free(sf->buffer); -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ kmm_free(sf); errout_with_semaphore: @@ -816,7 +816,7 @@ static ssize_t smartfs_write(FAR struct file *filep, const char *buffer, } } -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ /* Update our control variables */ @@ -926,7 +926,7 @@ static ssize_t smartfs_write(FAR struct file *filep, const char *buffer, sf->curroffset = sizeof(struct smartfs_chain_header_s); } } -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ } ret = byteswritten; diff --git a/fs/smartfs/smartfs_utils.c b/fs/smartfs/smartfs_utils.c index 20744147b0..6b70a23b07 100644 --- a/fs/smartfs/smartfs_utils.c +++ b/fs/smartfs/smartfs_utils.c @@ -982,7 +982,7 @@ int smartfs_createentry(FAR struct smartfs_mountpt_s *fs, entry->flags = (uint16_t) (SMARTFS_DIRENT_EMPTY | type | (mode & SMARTFS_DIRENT_MODE)); #endif -#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ +#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ if (sectorno == 0xffff) { @@ -1198,7 +1198,7 @@ int smartfs_deleteentry(struct smartfs_mountpt_s *fs, #else direntry->flags |= SMARTFS_DIRENT_ACTIVE; #endif -#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ +#endif /* CONFIG_SMARTFS_ERASEDSTATE == 0xff */ /* Write the updated flags back to the sector */ @@ -1513,7 +1513,7 @@ int smartfs_sync_internal(FAR struct smartfs_mountpt_s *fs, sf->byteswritten = 0; } -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ errout: return ret; @@ -1983,7 +1983,7 @@ int smartfs_extendfile(FAR struct smartfs_mountpt_s *fs, goto errout_with_buffer; } } -#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ +#endif /* CONFIG_SMARTFS_USE_SECTOR_BUFFER */ /* Update our control variables */ diff --git a/fs/spiffs/src/spiffs.h b/fs/spiffs/src/spiffs.h index d4fd70c216..dff4fa3ec7 100644 --- a/fs/spiffs/src/spiffs.h +++ b/fs/spiffs/src/spiffs.h @@ -335,4 +335,4 @@ void spiffs_fobj_free(FAR struct spiffs_s *fs, } #endif -#endif /* __FS_SPIFFS_SRC_SPIFFS_H */ +#endif /* __FS_SPIFFS_SRC_SPIFFS_H */ diff --git a/fs/spiffs/src/spiffs_cache.h b/fs/spiffs/src/spiffs_cache.h index dff8fa4bf5..e3652aed4b 100644 --- a/fs/spiffs/src/spiffs_cache.h +++ b/fs/spiffs/src/spiffs_cache.h @@ -279,4 +279,4 @@ void spiffs_cache_page_release(FAR struct spiffs_s *fs, } #endif -#endif /* __FS_SPIFFS_SRC_SPIFFS_CACHE_H */ +#endif /* __FS_SPIFFS_SRC_SPIFFS_CACHE_H */ diff --git a/fs/spiffs/src/spiffs_check.h b/fs/spiffs/src/spiffs_check.h index bc04e74e3f..716dabb6ea 100644 --- a/fs/spiffs/src/spiffs_check.h +++ b/fs/spiffs/src/spiffs_check.h @@ -171,4 +171,4 @@ int spiffs_dump(FAR struct spiffs_s *fs); } #endif -#endif /* __FS_SPIFFS_SRC_SPIFFS_CHECK_H */ +#endif /* __FS_SPIFFS_SRC_SPIFFS_CHECK_H */ diff --git a/fs/spiffs/src/spiffs_gc.h b/fs/spiffs/src/spiffs_gc.h index deebf22296..8531a3d7b0 100644 --- a/fs/spiffs/src/spiffs_gc.h +++ b/fs/spiffs/src/spiffs_gc.h @@ -130,4 +130,4 @@ int spiffs_gc_check(FAR struct spiffs_s *fs, off_t len); } #endif -#endif /* __FS_SPIFFS_SRC_SPIFFS_GC_H */ +#endif /* __FS_SPIFFS_SRC_SPIFFS_GC_H */ diff --git a/fs/spiffs/src/spiffs_mtd.h b/fs/spiffs/src/spiffs_mtd.h index 7eaf6c9495..09360cc6f1 100644 --- a/fs/spiffs/src/spiffs_mtd.h +++ b/fs/spiffs/src/spiffs_mtd.h @@ -161,4 +161,4 @@ ssize_t spiffs_mtd_erase(FAR struct spiffs_s *fs, off_t offset, size_t len); } #endif -#endif /* __FS_SPIFFS_SRC_SPIFFS_MTD_H */ +#endif /* __FS_SPIFFS_SRC_SPIFFS_MTD_H */ diff --git a/graphics/nxbe/nxbe_flush.c b/graphics/nxbe/nxbe_flush.c index ef415a9cf4..66217e780d 100644 --- a/graphics/nxbe/nxbe_flush.c +++ b/graphics/nxbe/nxbe_flush.c @@ -108,4 +108,4 @@ void nxbe_flush(FAR struct nxbe_window_s *wnd, } } -#endif /* CONFIG_NX_RAMBACKED */ +#endif /* CONFIG_NX_RAMBACKED */ diff --git a/graphics/nxmu/nxmu.h b/graphics/nxmu/nxmu.h index 7440af48ea..205f63f373 100644 --- a/graphics/nxmu/nxmu.h +++ b/graphics/nxmu/nxmu.h @@ -291,4 +291,4 @@ void nxmu_kbdin(FAR struct nxmu_state_s *nxmu, uint8_t nch, FAR uint8_t *ch); } #endif -#endif /* __GRAPHICS_NXMU_NXMU_H */ +#endif /* __GRAPHICS_NXMU_NXMU_H */ diff --git a/include/debug.h b/include/debug.h index d8d26c58a7..16dcaa9d67 100644 --- a/include/debug.h +++ b/include/debug.h @@ -117,14 +117,14 @@ # define _alert(format, ...) \ __arch_syslog(LOG_EMERG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) #else /* CONFIG_DEBUG_ERROR */ -# define _alert(x...) +# define _alert(x...) #endif #ifdef CONFIG_DEBUG_ERROR -# define _err(format, ...) \ +# define _err(format, ...) \ __arch_syslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) #else -# define _err(x...) +# define _err(x...) #endif #ifdef CONFIG_DEBUG_WARN diff --git a/include/lzf.h b/include/lzf.h index d51ed2cd9f..e969a4f42a 100644 --- a/include/lzf.h +++ b/include/lzf.h @@ -29,7 +29,7 @@ ****************************************************************************/ #ifndef __INCLUDE_LZF_H -#define __INCLUDE_LZF_H 1 +#define __INCLUDE_LZF_H /**************************************************************************** * Pre-processor Definitions diff --git a/include/net/ethernet.h b/include/net/ethernet.h index a2f68d0559..e457239db3 100644 --- a/include/net/ethernet.h +++ b/include/net/ethernet.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NET_ETHERNET_H -#define __INCLUDE_NET_ETHERNET_H +#ifndef __INCLUDE_NET_ETHERNET_H +#define __INCLUDE_NET_ETHERNET_H /**************************************************************************** * Included Files @@ -68,4 +68,4 @@ struct ether_header * Public Function Prototypes ****************************************************************************/ -#endif /* __INCLUDE_NET_ETHERNET_H */ +#endif /* __INCLUDE_NET_ETHERNET_H */ diff --git a/include/netpacket/bluetooth.h b/include/netpacket/bluetooth.h index bc205b95f4..6cddf2b026 100644 --- a/include/netpacket/bluetooth.h +++ b/include/netpacket/bluetooth.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NETPACKET_BLUETOOTH_H -#define __INCLUDE_NETPACKET_BLUETOOTH_H +#ifndef __INCLUDE_NETPACKET_BLUETOOTH_H +#define __INCLUDE_NETPACKET_BLUETOOTH_H /**************************************************************************** * Included Files @@ -290,4 +290,4 @@ struct sockaddr_bt_s * Public Function Prototypes ****************************************************************************/ -#endif /* __INCLUDE_NETPACKET_BLUETOOTH_H */ +#endif /* __INCLUDE_NETPACKET_BLUETOOTH_H */ diff --git a/include/netpacket/ieee802154.h b/include/netpacket/ieee802154.h index 8c70afd8fa..55bad742ec 100644 --- a/include/netpacket/ieee802154.h +++ b/include/netpacket/ieee802154.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NETPACKET_IEEE802154_H -#define __INCLUDE_NETPACKET_IEEE802154_H +#ifndef __INCLUDE_NETPACKET_IEEE802154_H +#define __INCLUDE_NETPACKET_IEEE802154_H /**************************************************************************** * Included Files @@ -98,4 +98,4 @@ struct sockaddr_ieee802154_s * Public Function Prototypes ****************************************************************************/ -#endif /* __INCLUDE_NETPACKET_IEEE802154_H */ +#endif /* __INCLUDE_NETPACKET_IEEE802154_H */ diff --git a/include/netpacket/netlink.h b/include/netpacket/netlink.h index f1fdd7e498..271258f8d5 100644 --- a/include/netpacket/netlink.h +++ b/include/netpacket/netlink.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NETPACKET_NETLINK_H -#define __INCLUDE_NETPACKET_NETLINK_H +#ifndef __INCLUDE_NETPACKET_NETLINK_H +#define __INCLUDE_NETPACKET_NETLINK_H /**************************************************************************** * Included Files @@ -469,4 +469,4 @@ struct rtmsg * Public Function Prototypes ****************************************************************************/ -#endif /* __INCLUDE_NETPACKET_NETLINK_H */ +#endif /* __INCLUDE_NETPACKET_NETLINK_H */ diff --git a/include/netpacket/packet.h b/include/netpacket/packet.h index df47a196cc..a89bb5e138 100644 --- a/include/netpacket/packet.h +++ b/include/netpacket/packet.h @@ -38,7 +38,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NETPACKET_PACKET_H -#define __INCLUDE_NETPACKET_PACKET_H 1 +#define __INCLUDE_NETPACKET_PACKET_H /**************************************************************************** * Included Files @@ -58,4 +58,4 @@ struct sockaddr_ll int16_t sll_ifindex; }; -#endif /* __INCLUDE_NETPACKET_PACKET_H */ +#endif /* __INCLUDE_NETPACKET_PACKET_H */ diff --git a/include/nuttx/addrenv.h b/include/nuttx/addrenv.h index ae8eaaf340..55f99d96f5 100644 --- a/include/nuttx/addrenv.h +++ b/include/nuttx/addrenv.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_ADDRENV_H -#define __INCLUDE_NUTTX_ADDRENV_H 1 +#define __INCLUDE_NUTTX_ADDRENV_H /**************************************************************************** * Included Files diff --git a/include/nuttx/crypto/aes.h b/include/nuttx/crypto/aes.h index f3fe9fc6fb..bd6c02f92b 100644 --- a/include/nuttx/crypto/aes.h +++ b/include/nuttx/crypto/aes.h @@ -63,7 +63,7 @@ struct aes_state_s * Public Data ****************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -164,7 +164,7 @@ void aes_encipher(FAR struct aes_state_s *state, FAR uint8_t *blocks, void aes_decipher(FAR struct aes_state_s *state, FAR uint8_t *blocks, int nblk); -#ifdef __cplusplus +#ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/include/nuttx/crypto/tea.h b/include/nuttx/crypto/tea.h index 067d621ce3..250fd6c1a6 100644 --- a/include/nuttx/crypto/tea.h +++ b/include/nuttx/crypto/tea.h @@ -39,7 +39,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_CRYPTO_TEA_H -#define __INCLUDE_NUTTX_CRYPTO_TEA_H 1 +#define __INCLUDE_NUTTX_CRYPTO_TEA_H /**************************************************************************** * Included Files diff --git a/include/nuttx/eeprom/i2c_xx24xx.h b/include/nuttx/eeprom/i2c_xx24xx.h index 78e64828d0..f49cb9b74f 100644 --- a/include/nuttx/eeprom/i2c_xx24xx.h +++ b/include/nuttx/eeprom/i2c_xx24xx.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H -#define __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H 1 +#define __INCLUDE_NUTTX_EEPROM_I2C_XX24XX_H /**************************************************************************** * Public Types diff --git a/include/nuttx/eeprom/spi_xx25xx.h b/include/nuttx/eeprom/spi_xx25xx.h index 26a6cdce0b..b4423bd758 100644 --- a/include/nuttx/eeprom/spi_xx25xx.h +++ b/include/nuttx/eeprom/spi_xx25xx.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_EEPROM_M25XX_H -#define __INCLUDE_NUTTX_EEPROM_M25XX_H 1 +#define __INCLUDE_NUTTX_EEPROM_M25XX_H /**************************************************************************** * Public Types diff --git a/include/nuttx/input/ioctl.h b/include/nuttx/input/ioctl.h index 75584a2649..9357e5a1ac 100644 --- a/include/nuttx/input/ioctl.h +++ b/include/nuttx/input/ioctl.h @@ -34,7 +34,7 @@ ************************************************************************************/ #ifndef __INCLUDE_NUTTX_INPUT_IOCTL_H -#define __INCLUDE_NUTTX_INPUT_IOCTL_H 1 +#define __INCLUDE_NUTTX_INPUT_IOCTL_H /**************************************************************************** * Included Files diff --git a/include/nuttx/input/nunchuck.h b/include/nuttx/input/nunchuck.h index cc0a3b8fca..e51e267344 100644 --- a/include/nuttx/input/nunchuck.h +++ b/include/nuttx/input/nunchuck.h @@ -44,7 +44,7 @@ */ #ifndef __INCLUDE_NUTTX_INPUT_NUNCHUCK_H -#define __INCLUDE_NUTTX_INPUT_NUNCHUCK_H 1 +#define __INCLUDE_NUTTX_INPUT_NUNCHUCK_H /**************************************************************************** * Included Files diff --git a/include/nuttx/net/bluetooth.h b/include/nuttx/net/bluetooth.h index 1fe370b25a..3f0dc01a82 100644 --- a/include/nuttx/net/bluetooth.h +++ b/include/nuttx/net/bluetooth.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NUTTX_NET_BLUETOOTH_H -#define __INCLUDE_NUTTX_NET_BLUETOOTH_H +#ifndef __INCLUDE_NUTTX_NET_BLUETOOTH_H +#define __INCLUDE_NUTTX_NET_BLUETOOTH_H /**************************************************************************** * Public Function Prototypes @@ -148,4 +148,4 @@ int bluetooth_input(FAR struct radio_driver_s *radio, FAR struct bluetooth_frame_meta_s *meta); #endif /* CONFIG_NET_BLUETOOTH */ -#endif /* __INCLUDE_NUTTX_NET_BLUETOOTH_H */ +#endif /* __INCLUDE_NUTTX_NET_BLUETOOTH_H */ diff --git a/include/nuttx/net/ieee802154.h b/include/nuttx/net/ieee802154.h index 9eb31402e3..6cf5c043ed 100644 --- a/include/nuttx/net/ieee802154.h +++ b/include/nuttx/net/ieee802154.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __INCLUDE_NUTTX_NET_IEEE802154_H -#define __INCLUDE_NUTTX_NET_IEEE802154_H +#ifndef __INCLUDE_NUTTX_NET_IEEE802154_H +#define __INCLUDE_NUTTX_NET_IEEE802154_H /**************************************************************************** * Public Function Prototypes @@ -90,4 +90,4 @@ int ieee802154_input(FAR struct radio_driver_s *radio, FAR struct iob_s *framelist, FAR struct ieee802154_data_ind_s *meta); -#endif /* __INCLUDE_NUTTX_NET_IEEE802154_H */ +#endif /* __INCLUDE_NUTTX_NET_IEEE802154_H */ diff --git a/include/nuttx/net/slip.h b/include/nuttx/net/slip.h index f67b3131da..914f0ffd6b 100644 --- a/include/nuttx/net/slip.h +++ b/include/nuttx/net/slip.h @@ -119,5 +119,5 @@ int slip_initialize(int intf, FAR const char *devname); } #endif -#endif /* CONFIG_NET_SLIP */ +#endif /* CONFIG_NET_SLIP */ #endif /* __INCLUDE_NUTTX_NET_SLIP_H */ diff --git a/include/nuttx/net/tun.h b/include/nuttx/net/tun.h index d0556b41df..d7e29e056d 100644 --- a/include/nuttx/net/tun.h +++ b/include/nuttx/net/tun.h @@ -101,5 +101,5 @@ int tun_initialize(void); } #endif -#endif /* CONFIG_NET_TUN */ +#endif /* CONFIG_NET_TUN */ #endif /* __INCLUDE_NUTTX_NET_TUN_H */ diff --git a/include/nuttx/nx/nxmu.h b/include/nuttx/nx/nxmu.h index 21cb1607a2..7c37996c3f 100644 --- a/include/nuttx/nx/nxmu.h +++ b/include/nuttx/nx/nxmu.h @@ -624,4 +624,4 @@ int nxmu_sendwindow(FAR struct nxbe_window_s *wnd, FAR const void *msg, } #endif -#endif /* __INCLUDE_NUTTX_NX_NXMU_H */ +#endif /* __INCLUDE_NUTTX_NX_NXMU_H */ diff --git a/include/nuttx/power/relay.h b/include/nuttx/power/relay.h index 8b450ea012..4b8fa4921a 100644 --- a/include/nuttx/power/relay.h +++ b/include/nuttx/power/relay.h @@ -62,4 +62,4 @@ * Public Types ****************************************************************************/ -#endif /* __INCLUDE_NUTTX_POWER_RELAY_H */ +#endif /* __INCLUDE_NUTTX_POWER_RELAY_H */ diff --git a/include/nuttx/timers/cs2100-cp.h b/include/nuttx/timers/cs2100-cp.h index 51fe48974d..578a808f65 100644 --- a/include/nuttx/timers/cs2100-cp.h +++ b/include/nuttx/timers/cs2100-cp.h @@ -242,5 +242,5 @@ int cs2100_dump(FAR const struct cs2100_config_s *config); } #endif -#endif /* CONFIG_TIMERS_CS2100CP */ -#endif /* __INCLUDE_NUTTX_TIMERS_CS2100_CP_H */ +#endif /* CONFIG_TIMERS_CS2100CP */ +#endif /* __INCLUDE_NUTTX_TIMERS_CS2100_CP_H */ diff --git a/include/nuttx/timers/ds3231.h b/include/nuttx/timers/ds3231.h index 42aa99d8b4..b26878a65b 100644 --- a/include/nuttx/timers/ds3231.h +++ b/include/nuttx/timers/ds3231.h @@ -87,4 +87,4 @@ int dsxxxx_rtc_initialize(FAR struct i2c_master_s *i2c); #endif #endif /* CONFIG_RTC_DSXXXX */ -#endif /* __INCLUDE_NUTTX_TIMERS_DS3231_H */ +#endif /* __INCLUDE_NUTTX_TIMERS_DS3231_H */ diff --git a/include/nuttx/timers/mcp794xx.h b/include/nuttx/timers/mcp794xx.h index 8674bde69e..1d3daff5a7 100644 --- a/include/nuttx/timers/mcp794xx.h +++ b/include/nuttx/timers/mcp794xx.h @@ -94,4 +94,4 @@ int mcp794xx_rtc_initialize(FAR struct i2c_master_s *i2c, uint8_t addr); #endif #endif /* CONFIG_RTC_MCP794XX */ -#endif /* __INCLUDE_NUTTX_TIMERS_MCP794XX_H */ +#endif /* __INCLUDE_NUTTX_TIMERS_MCP794XX_H */ diff --git a/include/nuttx/timers/pcf85263.h b/include/nuttx/timers/pcf85263.h index 4018e1ca65..6510c98455 100644 --- a/include/nuttx/timers/pcf85263.h +++ b/include/nuttx/timers/pcf85263.h @@ -87,4 +87,4 @@ int pcf85263_rtc_initialize(FAR struct i2c_master_s *i2c); #endif #endif /* CONFIG_RTC_PCF85263 */ -#endif /* __INCLUDE_NUTTX_TIMERS_PCF85263_H */ +#endif /* __INCLUDE_NUTTX_TIMERS_PCF85263_H */ diff --git a/include/nuttx/timers/timer.h b/include/nuttx/timers/timer.h index ede6669f3f..052bcad330 100644 --- a/include/nuttx/timers/timer.h +++ b/include/nuttx/timers/timer.h @@ -308,4 +308,4 @@ int timer_setcallback(FAR void *handle, tccb_t callback, FAR void *arg); #endif #endif /* CONFIG_TIMER */ -#endif /* __INCLUDE_NUTTX_TIMERS_TIMER_H */ +#endif /* __INCLUDE_NUTTX_TIMERS_TIMER_H */ diff --git a/include/nuttx/timers/watchdog.h b/include/nuttx/timers/watchdog.h index 4759556e81..00c3d25c46 100644 --- a/include/nuttx/timers/watchdog.h +++ b/include/nuttx/timers/watchdog.h @@ -258,4 +258,4 @@ void watchdog_unregister(FAR void *handle); #endif #endif /* CONFIG_WATCHDOG */ -#endif /* __INCLUDE_NUTTX_TIMERS_WATCHDOG_H */ +#endif /* __INCLUDE_NUTTX_TIMERS_WATCHDOG_H */ diff --git a/include/nuttx/video/ov2640.h b/include/nuttx/video/ov2640.h index 32fd7ac20f..40fed903f2 100644 --- a/include/nuttx/video/ov2640.h +++ b/include/nuttx/video/ov2640.h @@ -85,4 +85,4 @@ int ov2640_initialize(FAR struct i2c_master_s *i2c); } #endif -#endif /* __INCLUDE_NUTTX_VIDEO_OV2640_H */ +#endif /* __INCLUDE_NUTTX_VIDEO_OV2640_H */ diff --git a/include/nuttx/video/rfb.h b/include/nuttx/video/rfb.h index 711a4606b4..c989e97507 100644 --- a/include/nuttx/video/rfb.h +++ b/include/nuttx/video/rfb.h @@ -1190,4 +1190,4 @@ extern "C" } #endif -#endif /* __INCLUDE_NUTTX_VIDEO_RFB_H */ +#endif /* __INCLUDE_NUTTX_VIDEO_RFB_H */ diff --git a/include/nuttx/video/vesagtf.h b/include/nuttx/video/vesagtf.h index 6c34485ba6..79c73d9b7b 100644 --- a/include/nuttx/video/vesagtf.h +++ b/include/nuttx/video/vesagtf.h @@ -118,4 +118,4 @@ void vesagtf_mode_params(unsigned int x, unsigned int y, unsigned int refresh, unsigned int flags, FAR struct videomode_s *videomode); -#endif /* __INCLUDE_NUTTX_VIDEO_VESAGTF */ +#endif /* __INCLUDE_NUTTX_VIDEO_VESAGTF */ diff --git a/include/nuttx/video/vnc.h b/include/nuttx/video/vnc.h index f73d01cec3..1225d3040c 100644 --- a/include/nuttx/video/vnc.h +++ b/include/nuttx/video/vnc.h @@ -209,4 +209,4 @@ void vnc_mouseout(FAR void *arg, nxgl_coord_t x, nxgl_coord_t y, } #endif -#endif /* __INCLUDE_NUTTX_VIDEO_VNC_H */ +#endif /* __INCLUDE_NUTTX_VIDEO_VNC_H */ diff --git a/include/nuttx/wireless/bluetooth/bt_buf.h b/include/nuttx/wireless/bluetooth/bt_buf.h index d1db6fdc35..9a74b3817f 100644 --- a/include/nuttx/wireless/bluetooth/bt_buf.h +++ b/include/nuttx/wireless/bluetooth/bt_buf.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_core.h b/include/nuttx/wireless/bluetooth/bt_core.h index 41318b720f..f54547997c 100644 --- a/include/nuttx/wireless/bluetooth/bt_core.h +++ b/include/nuttx/wireless/bluetooth/bt_core.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_driver.h b/include/nuttx/wireless/bluetooth/bt_driver.h index d354f61e2a..b5fb1f2dec 100644 --- a/include/nuttx/wireless/bluetooth/bt_driver.h +++ b/include/nuttx/wireless/bluetooth/bt_driver.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_gatt.h b/include/nuttx/wireless/bluetooth/bt_gatt.h index 58f1fa4ffb..9f89a5d08a 100644 --- a/include/nuttx/wireless/bluetooth/bt_gatt.h +++ b/include/nuttx/wireless/bluetooth/bt_gatt.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_hci.h b/include/nuttx/wireless/bluetooth/bt_hci.h index efd6b4eeea..57d2192403 100644 --- a/include/nuttx/wireless/bluetooth/bt_hci.h +++ b/include/nuttx/wireless/bluetooth/bt_hci.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_ioctl.h b/include/nuttx/wireless/bluetooth/bt_ioctl.h index 7e41145b1d..6f131be609 100644 --- a/include/nuttx/wireless/bluetooth/bt_ioctl.h +++ b/include/nuttx/wireless/bluetooth/bt_ioctl.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_null.h b/include/nuttx/wireless/bluetooth/bt_null.h index 41f6b2c817..1093c786f6 100644 --- a/include/nuttx/wireless/bluetooth/bt_null.h +++ b/include/nuttx/wireless/bluetooth/bt_null.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H /**************************************************************************** * Public Function Prototypes diff --git a/include/nuttx/wireless/bluetooth/bt_uart.h b/include/nuttx/wireless/bluetooth/bt_uart.h index 944c7930e4..a323f7ba0f 100644 --- a/include/nuttx/wireless/bluetooth/bt_uart.h +++ b/include/nuttx/wireless/bluetooth/bt_uart.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H /**************************************************************************** * Included Files diff --git a/include/nuttx/wireless/bluetooth/bt_uuid.h b/include/nuttx/wireless/bluetooth/bt_uuid.h index e20135dc81..433e8e024c 100644 --- a/include/nuttx/wireless/bluetooth/bt_uuid.h +++ b/include/nuttx/wireless/bluetooth/bt_uuid.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H -#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H 1 +#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H /**************************************************************************** * Included Files diff --git a/include/time.h b/include/time.h index 12234432e1..ee949db70a 100644 --- a/include/time.h +++ b/include/time.h @@ -245,4 +245,4 @@ void tzset(void); } #endif -#endif /* __INCLUDE_TIME_H */ +#endif /* __INCLUDE_TIME_H */ diff --git a/libs/libc/lzf/lzf.h b/libs/libc/lzf/lzf.h index 01f887c977..1c92e6b2ce 100644 --- a/libs/libc/lzf/lzf.h +++ b/libs/libc/lzf/lzf.h @@ -27,7 +27,7 @@ ****************************************************************************/ #ifndef __LIBC_LZF_LZF_H -#define __LIBC_LZF_LZF_H 1 +#define __LIBC_LZF_LZF_H /**************************************************************************** * Included Files diff --git a/libs/libc/pthread/pthread_spinlock.c b/libs/libc/pthread/pthread_spinlock.c index e6f736e660..7896b62107 100644 --- a/libs/libc/pthread/pthread_spinlock.c +++ b/libs/libc/pthread/pthread_spinlock.c @@ -337,4 +337,4 @@ int pthread_spin_unlock(pthread_spinlock_t *lock) return OK; } -#endif /* CONFIG_PTHREAD_SPINLOCKS */ +#endif /* CONFIG_PTHREAD_SPINLOCKS */ diff --git a/mm/iob/iob.h b/mm/iob/iob.h index fb68e870f7..9604ba86d1 100644 --- a/mm/iob/iob.h +++ b/mm/iob/iob.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __MM_IOB_IOB_H -#define __MM_IOB_IOB_H 1 +#define __MM_IOB_IOB_H /**************************************************************************** * Included Files diff --git a/net/neighbor/neighbor_snapshot.c b/net/neighbor/neighbor_snapshot.c index 9e9d0b2757..5e04b20fb7 100644 --- a/net/neighbor/neighbor_snapshot.c +++ b/net/neighbor/neighbor_snapshot.c @@ -102,4 +102,4 @@ unsigned int neighbor_snapshot(FAR struct neighbor_entry_s *snapshot, return ncopied; } -#endif /* CONFIG_NETLINK_ROUTE */ +#endif /* CONFIG_NETLINK_ROUTE */ diff --git a/net/route/cacheroute.h b/net/route/cacheroute.h index c98539fb5e..8139cad747 100644 --- a/net/route/cacheroute.h +++ b/net/route/cacheroute.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __NET_ROUTE_CACHEROUTE_H -#define __NET_ROUTE_CACHEROUTE_H 1 +#define __NET_ROUTE_CACHEROUTE_H /**************************************************************************** * Included Files diff --git a/net/route/fileroute.h b/net/route/fileroute.h index e4fee61e94..470a9fa3ea 100644 --- a/net/route/fileroute.h +++ b/net/route/fileroute.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __NET_ROUTE_FILEROUTE_H -#define __NET_ROUTE_FILEROUTE_H 1 +#define __NET_ROUTE_FILEROUTE_H /**************************************************************************** * Included Files diff --git a/net/route/ramroute.h b/net/route/ramroute.h index e0231931fe..fd225d51ff 100644 --- a/net/route/ramroute.h +++ b/net/route/ramroute.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __NET_ROUTE_RAMROUTE_H -#define __NET_ROUTE_RAMROUTE_H 1 +#define __NET_ROUTE_RAMROUTE_H /**************************************************************************** * Included Files diff --git a/net/route/romroute.h b/net/route/romroute.h index a775d452f6..dc10deaeea 100644 --- a/net/route/romroute.h +++ b/net/route/romroute.h @@ -34,7 +34,7 @@ ****************************************************************************/ #ifndef __NET_ROUTE_ROMROUTE_H -#define __NET_ROUTE_ROMROUTE_H 1 +#define __NET_ROUTE_ROMROUTE_H /**************************************************************************** * Included Files diff --git a/net/sixlowpan/sixlowpan_utils.c b/net/sixlowpan/sixlowpan_utils.c index d7ffadeab4..ef2970c142 100644 --- a/net/sixlowpan/sixlowpan_utils.c +++ b/net/sixlowpan/sixlowpan_utils.c @@ -251,7 +251,7 @@ int sixlowpan_destaddrfromip(FAR struct radio_driver_s *radio, struct radiodev_properties_s properties; int ret; -#ifdef CONFIG_NET_STARPOINT +#ifdef CONFIG_NET_STARPOINT /* Only the radio driver knows the correct address of the hub. For IEEE * 802.15.4 this will be the address of the PAN coordinator. For other * radios, this may be some configured, "well-known" address. diff --git a/sched/group/group_exitinfo.c b/sched/group/group_exitinfo.c index d6a3c17c49..6a7529e733 100644 --- a/sched/group/group_exitinfo.c +++ b/sched/group/group_exitinfo.c @@ -106,4 +106,4 @@ int group_exitinfo(pid_t pid, FAR struct binary_s *bininfo) return OK; } -#endif /* CONFIG_BINFMT_LOADABLE */ +#endif /* CONFIG_BINFMT_LOADABLE */ diff --git a/sched/group/group_free.c b/sched/group/group_free.c index 3692b4495f..532648530b 100644 --- a/sched/group/group_free.c +++ b/sched/group/group_free.c @@ -92,4 +92,4 @@ void group_free(FAR struct task_group_s *group, FAR void *mem) } } -#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ +#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ diff --git a/sched/group/group_malloc.c b/sched/group/group_malloc.c index c8fe8104c4..861207152b 100644 --- a/sched/group/group_malloc.c +++ b/sched/group/group_malloc.c @@ -95,4 +95,4 @@ FAR void *group_malloc(FAR struct task_group_s *group, size_t nbytes) } } -#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ +#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ diff --git a/sched/group/group_waiter.c b/sched/group/group_waiter.c index 9baa5cd65b..ddaf465bbd 100644 --- a/sched/group/group_waiter.c +++ b/sched/group/group_waiter.c @@ -95,4 +95,4 @@ void group_delwaiter(FAR struct task_group_s *group) } } -#endif /* CONFIG_SCHED_WAITPID && !CONFIG_SCHED_HAVE_PARENT */ +#endif /* CONFIG_SCHED_WAITPID && !CONFIG_SCHED_HAVE_PARENT */ diff --git a/sched/group/group_zalloc.c b/sched/group/group_zalloc.c index eb7794eace..50b883f687 100644 --- a/sched/group/group_zalloc.c +++ b/sched/group/group_zalloc.c @@ -72,4 +72,4 @@ FAR void *group_zalloc(FAR struct task_group_s *group, size_t nbytes) return mem; } -#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ +#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && CONFIG_MM_KERNEL_HEAP */ diff --git a/wireless/bluetooth/bt_atomic.h b/wireless/bluetooth/bt_atomic.h index c483abd5c9..ce9953f562 100644 --- a/wireless/bluetooth/bt_atomic.h +++ b/wireless/bluetooth/bt_atomic.h @@ -35,7 +35,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_ATOMIC_H -#define __WIRELESS_BLUETOOTH_BT_ATOMIC_H 1 +#define __WIRELESS_BLUETOOTH_BT_ATOMIC_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_att.h b/wireless/bluetooth/bt_att.h index 1050f46364..2995dbbe48 100644 --- a/wireless/bluetooth/bt_att.h +++ b/wireless/bluetooth/bt_att.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_ATTR_H -#define __WIRELESS_BLUETOOTH_BT_ATTR_H 1 +#define __WIRELESS_BLUETOOTH_BT_ATTR_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_buf.h b/wireless/bluetooth/bt_buf.h index 1d1236bad4..ab5bced43c 100644 --- a/wireless/bluetooth/bt_buf.h +++ b/wireless/bluetooth/bt_buf.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_BUF_H -#define __WIRELESS_BLUETOOTH_BT_BUF_H 1 +#define __WIRELESS_BLUETOOTH_BT_BUF_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_conn.h b/wireless/bluetooth/bt_conn.h index dbf2856e76..5d2a383bb9 100644 --- a/wireless/bluetooth/bt_conn.h +++ b/wireless/bluetooth/bt_conn.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_CONN_H -#define __WIRELESS_BLUETOOTH_BT_CONN_H 1 +#define __WIRELESS_BLUETOOTH_BT_CONN_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_hcicore.h b/wireless/bluetooth/bt_hcicore.h index b4f8302db7..437bb5c6d8 100644 --- a/wireless/bluetooth/bt_hcicore.h +++ b/wireless/bluetooth/bt_hcicore.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_HDICORE_H -#define __WIRELESS_BLUETOOTH_BT_HDICORE_H 1 +#define __WIRELESS_BLUETOOTH_BT_HDICORE_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_ioctl.h b/wireless/bluetooth/bt_ioctl.h index 9f59d6deb1..a6f4fdc1dc 100644 --- a/wireless/bluetooth/bt_ioctl.h +++ b/wireless/bluetooth/bt_ioctl.h @@ -35,7 +35,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_IOCTL_H -#define __WIRELESS_BLUETOOTH_BT_IOCTL_H 1 +#define __WIRELESS_BLUETOOTH_BT_IOCTL_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_l2cap.h b/wireless/bluetooth/bt_l2cap.h index 5e213aba17..263614f1f9 100644 --- a/wireless/bluetooth/bt_l2cap.h +++ b/wireless/bluetooth/bt_l2cap.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_L2CAP_H -#define __WIRELESS_BLUETOOTH_BT_L2CAP_H 1 +#define __WIRELESS_BLUETOOTH_BT_L2CAP_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_queue.h b/wireless/bluetooth/bt_queue.h index e02a15ce91..220fe0b89d 100644 --- a/wireless/bluetooth/bt_queue.h +++ b/wireless/bluetooth/bt_queue.h @@ -35,7 +35,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_QUEUE_H -#define __WIRELESS_BLUETOOTH_BT_QUEUE_H 1 +#define __WIRELESS_BLUETOOTH_BT_QUEUE_H /**************************************************************************** * Included Files diff --git a/wireless/bluetooth/bt_smp.h b/wireless/bluetooth/bt_smp.h index bae3de8a68..fe198c09f2 100644 --- a/wireless/bluetooth/bt_smp.h +++ b/wireless/bluetooth/bt_smp.h @@ -40,7 +40,7 @@ ****************************************************************************/ #ifndef __WIRELESS_BLUETOOTH_BT_SMP_H -#define __WIRELESS_BLUETOOTH_BT_SMP_H 1 +#define __WIRELESS_BLUETOOTH_BT_SMP_H /**************************************************************************** * Included Files