nuttx/boards/arm/stm32/stm32f4discovery/src
Xiang Xiao e9f630ecb5 Fix clang compiler warning in boards/arm/stm32/
Error: board/stm32_ssd1289.c:290:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
  putreg32(FSMC_BTR_ADDSET(5) | FSMC_BTR_ADDHLD(0) |
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:164:42: note: expanded from macro 'FSMC_BTR_ADDHLD'
                                         ^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
                                                     ^
Error: board/stm32_ssd1289.c:291:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
           FSMC_BTR_DATAST(9) | FSMC_BTR_BUSTURN(0) |
           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:172:42: note: expanded from macro 'FSMC_BTR_BUSTURN'
                                         ^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
                                                     ^
Error: board/stm32_ssd1289.c:292:12: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
           FSMC_BTR_CLKDIV(0) | FSMC_BTR_DATLAT(0) |
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:176:42: note: expanded from macro 'FSMC_BTR_CLKDIV'
                                         ^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
                                                     ^
Error: board/stm32_ssd1289.c:292:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
           FSMC_BTR_CLKDIV(0) | FSMC_BTR_DATLAT(0) |
           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:180:42: note: expanded from macro 'FSMC_BTR_DATLAT'
                                         ^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
                                                     ^

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01:00
..
Make.defs stm32f4discovery: Add support to WIZnet W5500 2022-09-15 01:55:47 +08:00
stm32_apa102.c stm32f4discovery: Add support to APA102 2022-08-15 00:32:42 +08:00
stm32_appinit.c
stm32_autoleds.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_boot.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_bringup.c stm32f4discovery: Add support to 5-Way discrete joystick 2022-08-15 00:32:42 +08:00
stm32_buttons.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_can.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_capture.c boards/arch: Remove FAR from 32bit/64bit arch 2022-09-16 10:22:12 +02:00
stm32_cs43l22.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
stm32_djoystick.c stm32f4discovery: Add support to 5-Way discrete joystick 2022-08-15 00:32:42 +08:00
stm32_ds1307.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_enc28j60.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_ethernet.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_extmem.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_gs2200m.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_hciuart.c
stm32_idle.c power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08:00
stm32_max7219_leds.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_max7219.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_mmcsd.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_netinit.c
stm32_pca9635.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_pm.c pm: Move pm_initialize call from driver_initialize to xxx_pminitialize 2022-04-22 14:36:27 +03:00
stm32_pmbuttons.c power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08:00
stm32_pwm.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_reset.c
stm32_rgbled.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_romfs_initialize.c boards: Change the linker generated symbols from uint32_t to uint8_t array 2022-10-05 14:24:47 +02:00
stm32_romfs.h boards: Change the linker generated symbols from uint32_t to uint8_t array 2022-10-05 14:24:47 +02:00
stm32_sdio.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_spi.c stm32f4discovery: Add support to WIZnet W5500 2022-09-15 01:55:47 +08:00
stm32_ssd1289.c Fix clang compiler warning in boards/arm/stm32/ 2022-10-30 16:03:35 +01:00
stm32_ssd1351.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_st7032.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_st7567.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_st7789.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_sx127x.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_timer.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_ug2864ambag01.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_ug2864hsweg01.c arch/arm: Remove FAR and CODE from board folder(3) 2022-05-03 16:50:52 +03:00
stm32_uid.c boards/arm/uid: fix pointer to int compare 2022-03-28 00:31:27 +08:00
stm32_usb.c Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
stm32_usbmsc.c
stm32_userleds.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
stm32_w5500.c stm32f4discovery: Add support to WIZnet W5500 2022-09-15 01:55:47 +08:00
stm32f4discovery.h boards/arch: Remove FAR from 32bit/64bit arch 2022-09-16 10:22:12 +02:00