Commit Graph

11479 Commits

Author SHA1 Message Date
athan Hartman
6d7e0feea1 Remove 'executable' bit on several files 2019-08-01 14:13:55 -06:00
Gregory Nutt
fd4204ac9e z80sim/src/z80_irq.c: Missed a name change up_irqinitialize->z80_irq_initialize. 2019-08-01 10:19:42 -06:00
Gregory Nutt
8b86f937be confgs/z80sim/src/z80_serial.c: Fix uart_dev_t initializer: pollfds is a array of pointers and, hence, the NULL initializer must be included in braces. Noted by Paul Osmialowski in Issue #160. 2019-08-01 10:06:46 -06:00
Nathan Hartman
32e9ba7604 Documenation/, configs/: ix typos and one HTML syntax error. Fix HTML syntax error in Documentation/NfsHowto.html: <coce> -> <code> html tag. 2019-07-30 16:10:15 -06:00
Masayuki Ishikawa
4c9508fc50 Merged in masayuki2009/nuttx.nuttx/gs2200m_with_dhcp (pull request #958)
gs2200m with dhcp

* include/nuttx/wireless: Add GS2200M_IOC_IFREQ to gs2200m.h

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* drivers/wireless: Add GS2200M_IOC_IFREQ to gs2200m.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* configs/spresense/wifi: Enable NuttX's DHCP client instead of GS2200M's

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* configs/spresense: Add descriptions on wifi in README.txt

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-30 10:49:16 +00:00
Nathan Hartman
c71f2fa56f arch/arm/src/tiva: Rename TM4C1294NC identifiers to TM4C1294NCPDT.
Rationale: TM4C1294NC is ambiguous:

  TM4C1294NCPDT is a 128-TQFP
  TM4C1294NCZAD is a 212-NFBGA

The TM4C1294NC part currently supported by NuttX is the TM4C1294NCPDT used on the TI EK-TM4C1294XL "Connected LaunchPad" (see configs/tm4c1294-launchpad). To ensure the correct part is fully specified, this commit updates all TM4C1294NC identifiers to TM4C1294NCPDT.

Rename:

  CONFIG_ARCH_CHIP_TM4C1294NC to CONFIG_ARCH_CHIP_TM4C1294NCPDT
  ARCH_CHIP_TM4C1294NC to ARCH_CHIP_TM4C1294NCPDT
  TM4C1294NC to TM4C1294NCPDT
2019-07-29 13:31:52 -06:00
Nathan Hartman
6e8b76c3ab arch/arm/src/tiva: Rename TM4C123GH6PMI identifiers to TM4C123GH6PM
Rationale: In terms of firmware programming, there is no functional difference between these parts:

  TM4C123GH6PMI7
  TM4C123GH6PMI7R
  TM4C123GH6PMT7
  TM4C123GH6PMT7R

From a programming standpoint, all of the above parts are TM4C123GH6PM, which means it doesn't make sense to differentiate between PM and PMI. (The PM means 64-LQFP. The I means temperature range -40C to +85C. It could be T meaning -40C to +105C. The R means it ships in Tape and Reel packaging as opposed to Tray.)

arch/arm/include/tiva/chip.h:
arch/arm/include/tiva/tm4c_irq.h:
arch/arm/src/tiva/hardware/lm/lm3s_flash.h:
arch/arm/src/tiva/hardware/tm4c/tm4c_pinmap.h:
configs/tm4c123g-launchpad/README.txt:
configs/tm4c123g-launchpad/nsh/defconfig:
  Rename: CONFIG_ARCH_CHIP_TM4C123GH6PMI to CONFIG_ARCH_CHIP_TM4C123GH6PM

arch/arm/src/tiva/Kconfig:
configs/Kconfig:
  Rename: ARCH_CHIP_TM4C123GH6PMI to ARCH_CHIP_TM4C123GH6PM

arch/arm/src/tiva/hardware/tm4c/tm4c_memorymap.h:
  Rename: CONFIG_ARCH_CHIP_TM4C123GH6PMI to CONFIG_ARCH_CHIP_TM4C123GH6PM
  Remove redundant Peripheral Base Addresses section. There were two identical copies, one for CONFIG_ARCH_CHIP_TM4C123GH6PMI and another for CONFIG_ARCH_CHIP_TM4C123GH6PM.
2019-07-29 11:15:46 -06:00
Gregory Nutt
a54d660842 configs/stm32f769i-disco/src/stm32_bringup.c: Fix more errors found in build testing. 2019-07-28 16:52:55 -06:00
Gregory Nutt
43e832327c configs/stm32f769i-disco/src/stm32_bringup.c: Correct compile error found in build testing. 2019-07-28 12:33:17 -06:00
Gregory Nutt
07bdbe85fc configs/olimex-stm32-e407/src/stm32_ina219.c: Correct a compile error found in build testing. 2019-07-28 10:08:23 -06:00
Daniel P. Carvalho
23d5e666cc onfigs/nucleo-l432kc: ADC: Change analog pins definitions and correct DMA related issue. 2019-07-27 07:42:50 -06:00
Simon Piriou
780d4d41e8 drivers/mtd/mx25rxx.c: add support for 512B sectors
- Fix for mx25rxx driver as it does not work properly
- Add mx25rxx memory chip & smartfs support in b-l475e-iot01a/nsh config
- Update smartfs smart_scan() function
2019-07-26 09:19:26 -06:00
Nathan Hartman
e581647f48 Fix typos in README files. 2019-07-25 12:10:10 -06:00
Nathan Hartman
497db422c3 configs/tm4c1294-launchpad/src/tm4c_bringup.c: Enables /dev/userleds for tm4c1294-launchpad by calling userled_lower_initialize() in tm4c_bringup(). 2019-07-25 11:18:32 -06:00
Daniel Pereira Carvalho
0a4c592a4b configs/nucleo-l432kc/src/stm32_zerocross.c: Necessary file ommitted from a previous patch 2019-07-25 08:40:40 -06:00
Augusto Fraga Giachero
38b9862902 arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c: Abort I2C transfers if a timeout has occurred. If a timeout has occurred in the middle of a I2C transfer, the next I2C interrupt should abort any transfers and send a stop condition to the corresponding I2C bus. Failed to do so will result in memory corruption / undefined behavior as priv->msgs points to a region of memory it doesn't owns anymore after lpc17_40_i2c_start returns. 2019-07-25 08:33:31 -06:00
Masayuki Ishikawa
d99595f1a5 Merged in masayuki2009/nuttx.nuttx/gs2200m_with_udp (pull request #953)
gs2200m with udp

* include/nuttx/wireless: Add udp support to gs2200m.h

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* drivers/wireless: Add WL_GS2200M_DISABLE_DHCPC to Kconfig

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* drivers/wireless: Add udp support to gs2200m.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* configs/spresense/wifi: Enable smartfs and udp support

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-25 05:40:06 +00:00
Daniel P. Carvalho
752a7d249c configs/nucleo-l432kc: Added Zero Cross sensor to nucleo-l432kc. 2019-07-23 16:07:17 -06:00
Daniel P. Carvalho
53e760d072 configs/nucleo-l432kc/src/stm32_gpio.c: Added GPIO drivers for use with /apps/examples/gpio. 2019-07-23 11:13:43 -06:00
Nathan Hartman
19f9e0038e configs/tm4c1294-launchpad/tools/oocd.sh: Fix syntax error. 2019-07-20 06:38:23 -06:00
Gregory Nutt
bdd8887bad configs/makerlisp/src/ez80_boot.c: The VGA display controller and keyboard controller come up by default emulating a terminal with 'newline mode' on. That is newlines expance to carriage-return, newline. This patch turns that mode off. 2019-07-20 06:37:37 -06:00
Gregory Nutt
f60454a38c configs/olimex-stm32-e407: Add support for MRF24J40 radio. 2019-07-18 08:06:43 +02:00
Alan Carvalho de Assis
3ac3451404 configs/stm32ldiscovery/: Add button suppot o stm32Ldiscovery. Add
chronometer board config.
2019-07-17 12:25:24 +02:00
Gregory Nutt
1783c909d9 configs/stm32f769i-disco/src/stm32_pwm.c: Enable PWM support for stm32f769i-disco board. 2019-07-13 10:36:28 -06:00
Juan Flores
324969142b configs/olimex-stm32-e407: Add timer driver support. 2019-07-12 07:47:46 -06:00
Juan Flores
3174bf4165 configs/olimex-stm32-e407: Add IN219 support. 2019-07-12 07:29:03 -06:00
Juan Flores
09757bec7d configs/olimex-stm32-e407: Add DAC support. 2019-07-12 07:22:20 -06:00
Alin Jerpelea
5867fdc0e1 Merged in alinjerpelea/nuttx (pull request #948)
arch: arm: cxd56xx: add GNSS device and UART0

* arch: arm: cxd56xx: add GNSS device

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: add Geofence Support

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: add UART0 iterface

    UART0 is an interface with hardware flow control in the application subsystem.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* configs: spresense: path correction

    In the initial commit the path reference was not updated

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-12 11:29:22 +00:00
Masayuki Ishikawa
1a1321df6b Merged in masayuki2009/nuttx.nuttx/fix_spresense_led (pull request #947)
configs/spresense: Fix and refactor cxd56_leds.c

In previous implementation, board auto led patterns were incorrect.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-12 10:25:38 +00:00
Gregory Nutt
ad1adffba6 arch/arm/src/lpc11xx, arch/arm/include/lpc11xx, configs/lpcxpresso-lpc1115: Support for the LPCXpresso-LPC1115 and for the LPC1115 architecture in general was removed after NuttX-7.30. The LPC11 port was never really used (to my knowledge) and was no longer supported. A snapshot of the port is still available in the Obsoleted repository. It can be brought back into the main repository at any time if anyone is willing to provide support for the architecture. 2019-07-11 16:16:11 -06:00
Gregory Nutt
23df4a25d2 configs/lpc4088-quickstart: Remove crap configurations that do not build. 2019-07-11 12:33:32 -06:00
Gregory Nutt
0ff2bdae61 configs/lpc4088-devkit: Remove crap configurations that do not build. 2019-07-11 12:13:20 -06:00
Gregory Nutt
021a32b97d Fix some issues revealed by name changin of commit e5dfd805e6. 2019-07-11 11:19:03 -06:00
jjlange
e5dfd805e6 Merged in jjlange/nuttx/lpc40xx (pull request #946)
Add support for LPC40xx family chips

* Corrected a few peripheral definitions and pin functions for the LPC17xx family.
    Added configuration options, chip definitions, and additional pin functions for the LPC40xx family.
    Added board configurations for Embedded Artists LPC4088 Quickstart board and LPC4088 Developer's kit.  These configurations are still something of a work in progress.  In particular, the LCD functionality is untested.

* First pass rename in *.c and *.h files.

* Renamed LPC17XX to LPC17XX_40XX in config files

* Rplaced LPC17xx with LPC17xx/LPC40xx in .c files

* Replaced LPC17xx with LPC17xx/LPC40xx in .h files

* Updated some documentation

* Working on moving directories

* moved arch/arm/src/lpc17xx and arch/arm/include/lpc17xx to lpc17xx_40xx

* Renamed LPC17_* constants / configuration options to LPC17_40_*

* Updated chip family name defines

* Renamed some chip-specific files

* Updated references to renamed files

* Updated references to lpc17_ to lpc17_40_

* Renamed source files from lpc17_* to lpc17_40_*

* Clean up white space

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-11 16:50:00 +00:00
Daniel P. Carvalho
8578ce9832 include/nuttx/spi/spi.h: Added standard definitions for ADC SPI device ID. 2019-07-11 10:28:42 -06:00
Juan Flores
906e044ece configs/olimex-stm32-e407: Added BMP180 initialization and a configuration to test the BMP180. 2019-07-11 06:20:09 -06:00
Alin Jerpelea
29c7b06b0a Merged in alinjerpelea/nuttx (pull request #945)
configs: spresense: defconfig: enable smartfs

* configs: spresense: defconfig: enable smartfs

    Enable internal flash storage for spresense boards

    The smartfs flash is mounted under /mnt/spif folder

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* configs: spresense: defconfig: change USER_ENTRYPOINT

    for compatibility with SDK we need to change the USER_ENTRYPOINT
    to spresense_main

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-11 10:43:23 +00:00
Gregory Nutt
61d7fb5e41 video/videomode/videomode_lookup.c: At some additional lookups from FreeBSD. Not currently used in NuttX so ifdef'ed out for now. 2019-07-10 17:26:07 -06:00
Gregory Nutt
2811a297c7 Squashed commit of the following:
drivers/lcd/tda19988.c:  Now uses the new common videomode structure of include/nuttx/video/videomode.h as do other video components.

    video/, include/nuttx/video/videomode.h:  Separate EDID and from videomode managment.  They really are separate things.
2019-07-10 09:00:17 -06:00
uan Flores
628fdbfa56 configs/olimex-stm32-e407/src/stm32_spi.c: Add SPI initialization logic. 2019-07-10 07:39:35 -06:00
Petro Karashchenko
eed706d458 arch/arm/src/am335x/hardware/am335x_prcm.h: Rename am335x_cm.h to am335x_cm.h. 2019-07-09 14:50:07 -06:00
Gregory Nutt
8be74cdc48 configs/beaglebone-black/src/am335x_lcd.c: Can't use TDA19988 yet because there is no I2C driver. In the mean time, support LCD initialization using a fixed, configurable video mode. 2019-07-09 13:43:04 -06:00
Gregory Nutt
c100f7ec7f configs/beaglebone-black/src/am335x_lcd.c: Needs to include tda19988.h. 2019-07-09 10:29:04 -06:00
Gregory Nutt
5c50854091 configs/beaglebone-black/src/am335x_lcd.c: Framework (only) for TDA19988 and LCD support for Beaglebone Black. 2019-07-09 10:21:38 -06:00
Gregory Nutt
21457e9292 Update README file. 2019-07-09 08:45:06 -06:00
Michael Jung
fc47c4ecea configs/pnev5180b/knsh: Add PROTECTED mode configuration with NuttShell. 2019-07-09 07:30:06 -06:00
Gregory Nutt
0d77cc16f1 configs/beaglebone-black/lcd/defconfig: Add a configuration for bringing up the LCDC driver. 2019-07-08 17:45:31 -06:00
Jonathan Richner
3024e32392 configs/nucleo-h743zi/src/stm32_spi.c: Correct typos in function naming. 2019-07-08 08:39:02 -06:00
Alin Jerpelea
a9be5eb6e7 Merged in alinjerpelea/nuttx (pull request #941)
Mastertools: add spk binary format and entry point for mpy

* tools: add spk binary format

    The .spk binary format is used on spresense and other boards
    based on the cxd56 arch.

    to enable this binary format please set in your config
    CONFIG_CXD56_BINARY=y

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* configs: spresense: buils nuttx.spk images

    Enable nuttx.spk binary image that can be flashed on spresense board.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* configs: spresense: add entry point for mpy

    The entry point is needed for the downstream projects based
    on spresense.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-08 12:38:21 +00:00
Phil Coval
70f99585d8 Merged in rzr/nuttx/sandbox/rzr/review/master (pull request #940)
nucleo-144: Add reset feature

Code is aligned from
configs/stm32f4discovery/src/stm32_reset.c

It can be enabled using CONFIG_BOARDCTL_RESET

Change-Id: I296a628490abec102ef4bacb26b0356f970f226d
Signed-off-by: Philippe Coval <p.coval@samsung.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-07 16:30:26 +00:00