Gregory Nutt
463b936557
INVIOLABLES.txt: Trivial update.
2019-11-01 07:53:27 -06:00
Gregory Nutt
c6b4f5c4ca
include/nuttx/compiler.h: Changes that go along with commit 0002258f17
2019-10-31 18:11:28 -06:00
Gregory Nutt
0002258f17
drivers/mmcsd/mmcsd_sdio.c: Commit 29612c40c5
slipped on by me: None of the common code may include ANY GCC dependencies. Fixed appropriately by adding a definition for the compiler dependency in include/nuttx/compiler.h.
2019-10-31 18:02:14 -06:00
Gregory Nutt
ee33677704
Add INVIOLABLES.txt file.
2019-10-31 13:22:28 -06:00
Juha Niskanen
dc3edca5a7
drivers/mtd/gd25.c: spi_devid argument was not used in initialization. Commit 4fc41b55b
to GD25 driver was always using priv->spi_devid initialized to zero by kmm_zalloc(). This commit initializes it from the supplied function argument.
2019-10-31 07:43:21 -06:00
David S. Alessio
29612c40c5
drivers/mmcsd/mmcsd_sdio.c: Align DMA buffer for MBURST size.
2019-10-31 07:18:47 -06:00
David Sidrane
43a3a0f400
Merged in david_s5/nuttx/master_k66_ethernet (pull request #1064 )
...
NXP k66 Ethernet
* Kinetis:Add TJA1100 Phy
* Kinetis:enet.c formated with nxstyle
* net:mii Cleanup TJA1100 Support
Formating and adding mask and shifts
* net:Kconfig Cleanup formatting
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-30 18:29:54 +00:00
Gregory Nutt
e3665c1fb4
drivers/wireless/ieee80211: Add tools/nxstyle to all of the C files in this directory.
2019-10-29 16:56:24 -06:00
Gregory Nutt
2a22a64f36
drivers/wireless/ieee80211/mmc_sdio.c: In sdio_io_rw_extended(), the behavior of the DMA setup differs, depending on the hardware capability SDIO_CAPS_DMABEFOREWRITE. If this capability is set, then the DMA setup much be done before the transfer setup. Dave Marples modified this file for the i.MXRT USDHC which does have the SDIO_CAPS_DMABEFOREWRITE (commit 970295d0fe
). Xiao Xiang reports that this change breaks the Wifi on the Photon which does not report the SDIO_CAPS_DMABEFOREWRITE and suggests reverting the change. In reality both changes are correct but must be conditioned on the DMA capability of the underlying SDIO device.
2019-10-29 16:02:33 -06:00
Gregory Nutt
894a108743
arch/arm/src/stm32f7/stm32_otghost.c: OTGFS_EPTYPE_INTR should e OTG_EPTYPE_INTR.
2019-10-29 13:22:45 -06:00
David Sidrane
5f65012449
drivers/mmcsd/mmcsd_sdio.c: Enter a removed card state On a failure. If we fail to read cardstatus in mmcsd_transferready consider this a hard error and set the card to removed.
2019-10-29 10:05:10 -06:00
David Sidrane
b7073a366b
drivers/mmcsd/mmcsd_sdio.c: Set wrbusy after success of all the operations. Any failure could leave wrbusy set when it should not be if the operation failed.
2019-10-29 10:03:18 -06:00
David Sidrane
a0f46118f6
arch/arm/src/stm32l4/stm32l4_sdmmc.c: SDMMC Fix system hang on card eject.
2019-10-29 09:57:42 -06:00
Gregory Nutt
71b0065207
arch/arm/src/stm32h7/stm32_sdmmc.c: SDMMC Fix system hang on card eject.
2019-10-29 09:44:00 -06:00
David Sidrane
24f646a417
arch/arm/src/stm32f7/stm32_sdmmc.c: SDMMC Fix system hang on card eject.
2019-10-29 09:38:02 -06:00
David Sidrane
5d095e00b3
arch/arm/src/stm32/stm32_sdio.c: SDIO Fix system hang on card eject.
2019-10-29 09:37:22 -06:00
ligd
77bf9b09a1
fs/driver/fs_findmtddriver.c: Fix compile failed if NO CONFIG_MTD.
2019-10-29 08:16:27 -06:00
Xiang Xiao
824666db9a
drivers/wireless/ieee80211/bcmf_chip_43362.c: Fix bcmf_chip_43362 compile error.
2019-10-29 08:01:55 -06:00
Xiang Xiao
4fc41b55b3
drivers/mtd/gd25.c and gd5f.c: Change missed in previous patch set. Without this change, the compiler will complain that spi_devid cannot be found.
2019-10-29 07:48:17 -06:00
Gregory Nutt
2852b3a8c8
drivers/power: Run tools/nxstyle against all .c and .h files in this directory.
2019-10-28 18:28:41 -06:00
DisruptiveNL
41d9365f06
drivers/can/mcp2515.c and boards/arm/stm32/nucleo-f4x1re: MCP2525 SPI STD-EXT ID fixes. Verified on MCP2525 tested on nucleo-f4x1re.
2019-10-28 08:02:15 -06:00
Gregory Nutt
46bec8e030
arm/stm32/stm32vldiscovery/src/stm32_bringup.c: Fix a copy paste error introduced with commit 637004e70c
.
2019-10-27 18:40:38 -06:00
Gregory Nutt
7dad735fc3
boards/arm/kinetis/twr-k60n512/src/k60_appinit.c: Suppress errors related to card detect GPIO configuration if SDHC support is not enabled.
2019-10-27 18:02:16 -06:00
Matias N
fd625eaa89
arch/arm/src/stm32l4 and boards/arm/stm32l4/nucleo-l476rg: Add support for LPTIM timers on the STM32L4 as PWM outputs.
2019-10-27 17:21:32 -06:00
Gregory Nutt
637004e70c
boards/arm/stm32/stm32vldiscvoery/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 15:58:26 -06:00
Gregory Nutt
c11c18858f
fs/nfs/rpc_clnt.c: Fix a typo introduced with bd3cc792ff
.
2019-10-27 15:39:08 -06:00
Gregory Nutt
53d5174f82
boards/arm/a1x/pcdueno-a10/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 15:19:52 -06:00
Gregory Nutt
ba0afebdcb
arch/arm/src/stm32 and boards/arm/stm32/olimex-stm32-p207/src: Fix an error found in build testing. There is not relationship be CONFIG_STM32_USBHOST and CONFIG_USBHOST, yet they they are used interchangably. This means that can (and did) get out of synch causing link time failures. This commit adds logic to select CONFIG_USBHOST when CONFIG_STM32_USBHOST is selected, keeping the two settings syncrhonized. Furthermore, since CONFIG_STM32_USBHOST is the authoritative setting, all ocurrences of CONFIG_USBHOST were replaced with CONFIG_STM32_USBHOST in the architecture code and in this one board code that was producing the error in build testing.
2019-10-27 15:02:56 -06:00
Gregory Nutt
858768e84b
boards/arm/dm320/ntosd-dm320/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 14:49:05 -06:00
Gregory Nutt
175131fb31
boards/arm/sama5/sama5d4-ek/src/sam_appinit.c: Fix error found in build testing. Bad conditional compilation for board_app_initialize(). Should depend only on CONFIG_LIB_BOARDCTL, CONFIG_BUILD_KERNEL is irrelevant.
2019-10-27 13:49:25 -06:00
Gregory Nutt
bd3cc792ff
fs/: Run all .c files under fs/ through tools/nxstyle.
2019-10-27 11:48:14 -06:00
Gregory Nutt
ad9dc2b608
tools/nxstyle.c: Eliminate false alarms when checking for alignment of comments to the right of code. Fix check for C++ style comments so that strings like http:// and https:// do not generate false alarms.
2019-10-27 11:45:33 -06:00
Gregory Nutt
86a5eae270
boards/arm/stm32/axoloti: Every BSP must provide boot board_late_initialize() AND board_app_initialize(). That is because you never now how the configuration will be set. CONFIG_LIB_BOARDCTL may be auto-selected by applications that need boardctl() support... requiring the existence of board_app_initialize().
2019-10-26 17:45:45 -06:00
Gregory Nutt
d7155a0208
boards/arm/am335x/beaglebone-black/src: Fix typos, AM355x->AM335x
2019-10-26 17:06:28 -06:00
Gregory Nutt
9628582ced
drivers/mkrd.c: Fix a warning found in build testing that occurs when CONFIG_DEBUG_INFO is enabled.
2019-10-26 16:54:59 -06:00
Gregory Nutt
6a10254915
drivers/Kconfig: If CONFIG_DRVR_MKRD is selected, then we must also auto-select CONFIG_FS_READABLE.
2019-10-26 16:18:55 -06:00
Gregory Nutt
2549d07494
drivers/Kconfig: If CONFIG_DRVR_MKRD is selected, then we must auto-select CONFIG_FS_WRITABLE.
2019-10-26 15:56:41 -06:00
Gregory Nutt
8bc79f2a6a
include/sys/boardctl.h: Trivial update to comments.
2019-10-26 14:29:24 -06:00
Gregory Nutt
118d611a8b
Squashed commit of the following:
...
board/boarctl.c: Add support for the new BOARDIOC_ROMDISK command. This allows applications to create ROMFS block drivers without illegal direct calls to romdisk_register.
include/sys/boardctl.h: Add basic definitions to support a ROM disk creation boardctl() command.
2019-10-26 13:42:40 -06:00
Gregory Nutt
07edaa088c
drivers/Kconfig: Add an option, CONFIG_DRVR_MKRD, to control whether or not the mkrd() implementation is build. Otherwise, if mkrd() is built unconditionally, it will be drawn into every build whether it is used or not and will increase the build size.
2019-10-26 11:43:34 -06:00
Gregory Nutt
03bf18d097
drivers/mkrd.c: Forgot to add file in last commit.
2019-10-26 10:24:04 -06:00
Gregory Nutt
be325924fb
This commit corrects a problem with NSH: NSH was calling the OS internal function ramdisk_register() in violation of the portable POSIX interface. This commit solves the problem by introducing a new boardctl() function BOARDIOC_MKRD which moves the RAM disk creation into the OS.
...
Squashed commit of the following:
drivers/: Run tools/nxstyle against all drivers/*.c.
boards/boardctl.c: Add new boardctl() command, BOARDIOC_MKRD, that can be used to create a RAM disk. This will replace the illegal call to ramdisk_register() currently used by NSH.
drivers/mkrd.c: Add wrapper around ramdisk_register() for creating a proper ramdisk.
2019-10-26 09:35:32 -06:00
Gregory Nutt
dae3640dc5
drivers/modem/altair/Kconfig: Default for CONFIG_MODEM_ALTMDM should be 'n' and it must depend on CONFIG_SPI_EXCHANGE.
2019-10-25 16:12:59 -06:00
Gregory Nutt
1a0f5dec18
arch/arm/src/stm32l4/stm32l4xrxx_dma.c: Eliminate a new warning found in build testing.
2019-10-25 13:10:40 -06:00
Gregory Nutt
a4997d6a2c
tools/nxstyle.c: Eliminate false alarm errors on comments that are to the right of code when the comment terminator is on the same line as the last of the comment.
2019-10-25 12:34:42 -06:00
Gregory Nutt
3b275fcf4e
net/: Run nxstyle against all C files.
2019-10-25 11:31:42 -06:00
YanLin Zhu
6d63ba711b
drivers/mtd/gd25.c: Add 4byte address operation for capacity larger than 128Mbit.
2019-10-25 07:31:41 -06:00
Jussi Kivilinna
267b440f0a
Merged in jussi_kivilinna/nuttx/stm32l4r_otgfs (pull request #1063 )
...
stm32l4_otgfs: enable OTGFS for STM32L4+ series
The OTGFS peripheral on stm32l4x6 and stm32l4rxxx reference manual is
exactly the same. This patch also adds missing bits and fixes errors in
stm32l4x5xx and stm32l4x6xx OTGFS register maps.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-25 13:07:15 +00:00
Jussi Kivilinna
49ade3ca72
Merged in jussi_kivilinna/nuttx/stm32l4r_add_dmamux (pull request #1062 )
...
Add DMA support for STM32L4+ series
* Add DMA support for STM32L4+
* stm32l4xrxx_rcc: enable "Range 1 boost" mode if any PLL freq above 80 Mhz
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-25 13:05:56 +00:00
Gregory Nutt
79f46c05d1
arch/arm/src/imxrt/imxrt_lpi2c.c: Fix a warning about an unused local variable. Found in build testing.
2019-10-24 13:52:29 -06:00