Commit Graph

11290 Commits

Author SHA1 Message Date
raiden00pl
ebad04c269 Merged in raiden00/nuttx_l0f0/stm32m0_adc (pull request #867)
Initial ADC support and some improvemnets for the STM32 M0

arch/arm/src/stm32f0l0/Kconfig: improvements

configs/b-l072z-lrwan1: add ADC example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-09 13:02:53 +00:00
Gregory Nutt
1cce434a6b configs/lpcxpresso-lpc54628: Update a README.txt. 2019-05-08 10:32:10 -06:00
Gregory Nutt
9b13eaf595 arm/src/lpc54xx/: Bring in the USB FS OHCI driver from LPC17. This is a quick'n'dirty port that I will finish sometime later (I hope). Currently, it is missing hardware clocking setup and is not even hooked into the build system yet. Needless to say it does not yet even compile. 2019-05-08 10:01:37 -06:00
Fabian Justi
40be068528 Merged in Justifa/nuttx (pull request #866)
add missing files of BMP180 example for nucleo-l476rg

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-06 12:48:55 +00:00
Jukka Laitinen
1c084cef78 configs/nucleo-h743zi/include/board.h: Add the input clock frequency definitions for all the drivers. Assumes internal clock source for all the timers. 2019-05-05 15:37:04 -06:00
Gregory Nutt
32b99d810c configs/lpcxpresso-lpc54628: Add a Twm4Nx configuration. 2019-05-04 12:34:47 -06:00
Gregory Nutt
8130038fb0 configs/same70-xplained/twm4nx/defconfig: Switch to 8BPP. That is the negotiated size requested by the VNC client anyway. graphics/vnc/server/vnc_color.c: Fix an error in color conversion. 2019-05-03 17:08:05 -06:00
Gregory Nutt
03f345b38c configs/same70-xplained/twm4nx/defconfig: Increase packet MTU to 1500. 2019-05-03 10:45:38 -06:00
Gregory Nutt
3e848fb893 Merged imxrt1020 into master 2019-04-30 16:08:46 -06:00
Jukka Laitinen
54856cfa5e arch/arm/src/stm32h7/: Add stm32h7 ethernet driver. This is the initial push for the ethernet driver. The driver has been tested to be working on a nucleo board. This is still WIP, it doesn't for example do MAC filtering on HW level, but just receives all ethernet packets. 2019-04-30 08:43:39 -06:00
Jukka Laitinen
9d29758897 configs/nucleo-h743zi/include/board.h: Add default clock configuration for SDMMC for nucleo-h743zi. 2019-04-30 07:11:25 -06:00
Gregory Nutt
fb9ee031fe configs/nucleo-f4x1re/src: Update the initialization sequence so that it works just like other boards. 2019-04-29 16:24:01 -06:00
Gregory Nutt
abf6965c24 Squashed commit of the following:
libs/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    syscall/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    wireless/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    Documentation/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    include/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    drivers/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    sched/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    configs:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/xtensa:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/z80:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/x86:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/renesas and arch/risc-v:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/or1k:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/misoc:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/mips:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/avr:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/arm:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
2019-04-29 14:52:05 -06:00
Gregory Nutt
42e53465b1 configs/same70-xplained/twm4nx/defconfig: Updated to correctly initialize network. I am getting a VNC display. It is incomplete and crashes thereafter. But that is a start. 2019-04-29 11:46:57 -06:00
Gregory Nutt
129d4d1e3c configs: Update all configurations to account for the configuration changes resulting from the separation of network initialization logic from NSH. 2019-04-29 10:03:41 -06:00
Gregory Nutt
357641ec74 configs/nucleo-l476rg/src: Make naming of functions consistent: stm32l4_ no stm32_. Inconsistency noted by Phil Coval in Bitbucket PR 864. This commit takes a different approach to resolving the naming inconsistency, however. 2019-04-29 06:54:10 -06:00
Gregory Nutt
b3819e8f0d configs/same70-xplained/twm4nx: Add a configuration for test Twm4Nx using VNC. 2019-04-28 12:49:18 -06:00
Gregory Nutt
df5a8d09eb Trivial changes from review of last PR 2019-04-28 06:46:48 -06:00
raiden00pl
e1e1e0a8db Merged in raiden00/nuttx_h7/sensors (pull request #863)
Add some I2C devices to nucleo-h743zi and a few small fixes

configs/nucleo-h743zi: add support for ssd1306

configs/nucleo-h743zi: add support for pca9635

configs/nucleo-h743zi: add support for i2ctools

include/nuttx/sensors/lsm6dsl.h: remove whitespaces

configs/stm32f103-minimum/src/stm32_ssd1306.c: cosmetics

Documentation/NuttxPortingGuide.html: vsyslog return none

drivers/syslog/README.txt: vsyslog return none

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-28 12:36:55 +00:00
Gregory Nutt
2b81d0dbb3 Cosmetic changes from review of last PR. 2019-04-27 07:17:09 -06:00
Phil Coval
f06a2cabb5 Merged in rzr/nuttx/sandbox/rzr/review/master (pull request #862)
stm32f7: Add basic PWM support to nucleo-144 board

More PWMs and multi channels support
may be investigated and added later.

It was tested on nucleo-f767zi
with those features enabled in configuration:

```
CONFIG_EXAMPLES_PWM=y
CONFIG_PWM=y
CONFIG_STM32F7_TIM1=y
CONFIG_STM32F7_TIM1_PWM=y
CONFIG_STM32F7_TIM2=y
(...)
CONFIG_STM32F7_TIM4_PWM=y
```

Change-Id: I08ebd4a538d15661788a0a54c2113ad767f22747
Bug: https://bitbucket.org/nuttx/nuttx/issues/153
Relate-to: https://github.com/rzr/webthing-iotjs/issues/3
Forwarded: https://bitbucket.org/nuttx/nuttx/pull-requests/862
Signed-off-by: Philippe Coval <p.coval@samsung.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-27 13:13:40 +00:00
Phil Coval
b80ad0f938 Merged in rzr/nuttx/sandbox/rzr/review/master (pull request #861)
nucleo-144: Update mbed URL and fix mistakes

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-26 18:53:27 +00:00
Phil Coval
3dd5dde410 Merged in rzr/nuttx/sandbox/rzr/review/master (pull request #860)
nucleo-144: Mount sysfs for ifconfig for f767-netnsh/defconfig

Even if ifconfig is working to set IP,
it will not work to display NICs (without args)

Change-Id: I62e0b2b5517620c5bc2dd4d3f5bf6f1e0f329d44
Relate-to: https://github.com/rzr/webthing-iotjs/issues/3
Signed-off-by: Philippe Coval <p.coval@samsung.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-26 13:44:48 +00:00
Jason Harris
7f2e6ff1ee configs/nucleo-h743zi/nsh/defconfig: Enable the FPU. 2019-04-25 17:05:08 -06:00
Phil Coval
ee5298e046 Merged in rzr/nuttx/sandbox/rzr/review/master (pull request #859)
nucleo-144: Regenerate f767-netnsh/defconfig

It appear that CONFIG_NET_SOCKOPTS,
is no more explicity needed.

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-25 17:42:57 +00:00
Gregory Nutt
e92af2c75e Fix a typo introduced by a642e9ffac. 2019-04-24 14:31:16 -06:00
Gregory Nutt
a642e9ffac configs/stm32f103-minimum/src/stm32_mcp2515.c: Patch up more brekage found in build testing. Looks like fields were added and removed by commit eb7373cedf, but the implementation that uses the structure were not updated. 2019-04-24 14:23:45 -06:00
Nobuto Kobayashi
2a555d1165 configs/spresense: Add Spresense board support. 2019-04-22 08:31:02 -06:00
Fabian Justi
53a94594d6 Merged in Justifa/nuttx (pull request #855)
Master

* arch/arm/src/stm32l4/stm32l4_pwm.c Fix register addr, en_bit and resetbit for pwm timers

* configs/nucleo-l476rg/src/nucleo-l476rg.h Fixed naming stm32l4_pwm_setup
    configs/nucleo-l476rg/src/stm32_appinit.c Fixed naming stm32l4_pwm_setup

Approved-by: David Sidrane <david_s5@nscdg.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 13:48:37 +00:00
Matias N
7ac80a1d56 arch/arm/src/stm32/Kconfig: it seems one option in the timer configuration was lost at some point. 2019-04-15 14:57:01 -06:00
Gregory Nutt
33f95d7f8a configs/stm32ldiscovery/src: Add support for board_late_initialize(), Move common initialization logic out of board_app_initialize() into new file stm32_bringup.c 2019-04-15 07:44:25 -06:00
Alan Carvalho de Assis
839620a954 configs/stm32f103-minimum/src: Add PROCFS automount support 2019-04-14 08:35:49 -06:00
Gregory Nutt
23727e59aa Fix two malformed pre-preprocessor conditionals. 2019-04-13 15:42:46 -06:00
Matthew Koch
f8495006a5 Merged in mjkoch/nuttx (pull request #850)
I2C1 config on stm32f746g-disco. Typo in stm32f7/stm32_i2c.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-08 01:06:33 +00:00
raiden00pl
a234b909bc Merged in raiden00/nuttx_l0f0 (pull request #848)
Fixes for MFRC522

drivers/contactless/mfrc522.c: in mfrc522_read uid.sak must be different from 0x04 not as before from 0x00. SAK == 0x00 is a valid PICC type

drivers/contactless/mfrc522.c: add interface to read MIFARE Ultralight data

configs/nucleo-l073rz: add mfrc522 support

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-05 15:49:45 +00:00
Gregory Nutt
19e1717a89 Refresh a configuration. Remove CONFIG_NXWM_UNITTEST=y, not longer in Kconfigs. 2019-04-04 18:50:28 -06:00
Joao Matos
abf91df188 configs/nucleo-144/include/board.h: Added STM32_RCC_DCKCFGR2_DSISRC definition. 2019-04-04 11:13:18 -06:00
Gregory Nutt
94c691edc9 configs/boardctl.c, include/sys/boardctl.h: Add a command to start the VNC server. 2019-04-02 06:32:55 -06:00
Matous Pokorny
245bf33eb3 configs/nucleo-l476rg/src/stm32_gpio.c, configs/stm32f103-minimum/src/stm32_gpio.c, and drivers/sensors/zerocross.c: Fix some errors when debug assertions are enabled. 2019-03-29 09:11:08 -06:00
Bill Gatliff
fdd515ee99 configs/omnibusf4: Add board_ioctl() which is needed only if CONFIG_BOARDCTL_IOCTL=y is selected; Update NSH configuration to enable board IOCTLs and DFU mode reset. 2019-03-26 06:57:23 -06:00
Matias N
b3f532349c configs/stm32f103-minimum/src/: USB reset was not working appropriately since the pin connected to D+ was incorrectly defined and the pullup/down logic was reversed. 2019-03-25 17:47:46 -06:00
Gregory Nutt
0fab8d014a Fix bad file inclusion introduced in preceding commit. 2019-03-25 12:26:04 -06:00
Bill Gatliff
6499ec3e94 configs/omnibusf4/src/stm32_reset: Add boardctl() reset logic. 2019-03-25 11:13:14 -06:00
Gregory Nutt
3e6c196ffa arch/ and config/ files: All board interfaces (those starting with board_) must be defined in board-specific logic. Otherwise, they cannot be customized of specialized usage by different boards. The board_reset() interface was defined in architecture-specific logic that only called up_systemreset(). That is useless!
This change removes the board_reset() implementation from the architecture-specific code and re-implements in the src/ directory of each board that has CONFIG_BOARDCTL_RESET enabled.  That is the correct functional partitioning.
2019-03-25 11:12:38 -06:00
Bill Gatliff
324d51eaae configs/omnibusf4: Add MAX7546 support. 2019-03-24 07:03:42 -06:00
Maximilian Kriegleder
75858219fb arch/arm/stm32: Updates to last timer-related changes. 2019-03-22 11:02:12 -06:00
Maximilian Kriegleder
bb23ac43ce arch/arm/src/stm32/stm32_oneshot.c: Corrects error introduced by commit 2fcf682316 also affect stm32_oneshot.c (I noticed that ps on my STM32F4 did not show any CPU load in nuttx-7.27 onward). 2019-03-22 07:43:15 -06:00
Gregory Nutt
b290160b3b Rename sched_process_timer to nxsched_process_timer. That is the appropriate name for an internal sched/ function (still many named incorrectly). 2019-03-20 19:27:40 -06:00
Gregory Nutt
daa6461ce2 arch/ and configs/: Fix more errors related to cache interface changes. 2019-03-20 14:45:44 -06:00
Gregory Nutt
4fc745fa82 configs/stm32f769i-disco/netnsh/defconfig: Remove CONFIG_STM32F7_QUADSPI=y from the configuration. This was apparently set before the implementation was added. Now that the implemenation was added, the configuration will not build because it requires that QSPI GPIO pin definitions be provided in the board.h header file. 2019-03-20 12:57:44 -06:00