Commit Graph

11271 Commits

Author SHA1 Message Date
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
Gregory Nutt
d7394c6d88 configs/lpcxpresso-lpc54628: Add a configuration for apps/examples/pwlines. 2019-03-20 12:33:11 -06:00
Xiang Xiao
64252a298f arch/: Unify the cache interface for all architectures 2019-03-19 10:37:13 -06:00
Gregory Nutt
aaa2630f9a Improve some discussion in README files. 2019-03-19 08:19:29 -06:00
Gregory Nutt
28ece619f3 configs/lpcxpresso-lpc54628/pwfb: Add per-window framebuffer configuration. 2019-03-19 07:39:26 -06:00
Gregory Nutt
5fda638cf0 libs/libnx/nxtk: Add logic to re-draw the frame when the toolbar is added or removed. 2019-03-18 12:13:22 -06:00
Masayuki Ishikawa
22f9ec6abb Merged in masayuki2009/nuttx.nuttx/fix_build_error (pull request #842)
configs/lc823450-xgevk: Remove -nostdinc to avoid build error

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-18 01:11:24 +00:00
Gregory Nutt
56c7b65094 configs/open1788/pwfb: Add an example for testing per-window frame buffers. arch/arm/src/lpc17xx: Add a configuration option to skip over the framebuffer when adding DRAM to the heap. graphics: Early fixes from testing per-window framebuffer. Still lots of problems. 2019-03-16 12:31:29 -06:00
Gregory Nutt
342cebc641 configs/open1788/nxlines/defconfig: Enable anti-aliasing. 2019-03-15 15:29:41 -06:00
Gregory Nutt
0a11cda10a Fix defconfigs. A few people have been lazy or are perhaps ignorant of the procedures. But the have been committing .config files as though they were defconfig files. Wrong, wrong, wrong. defconfig files are specially formatted files that you create through 'make defconfig'. 2019-03-15 15:07:01 -06:00
Sebastien Lorquet
ea5e34a16d configs/nucleo-f446re: Add support for the Nucleo F446RE. 2019-03-15 12:45:13 -06:00
Gregory Nutt
09dca5ef69 configs/teensy-3.x/usbnsh/defconfig: Fix a mismatch in types. 2019-03-14 13:44:36 -06:00
raiden00pl
0a7f7642c0 Merged in raiden00/nuttx_h7 (pull request #839)
arch/arm/src/stm32h7: initial support for protected build mode. Not functional yet. It compiles without errors and passes initialization but after entering the user app strange things happen.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-11 16:43:13 +00:00
Bill Gatliff
20e7ee5eb5 configs/omnibusf4/README.txt: Update README. 2019-03-10 15:23:58 -06:00
Gregory Nutt
aa4f7c9ba7 graphics/nxmu/nxmu_start.c: Extend nxmu_start so that receives a display number as an argument. This makes it possible to have multiple instances of the NX server running on boards that support multiple displays. Also includes updates to boardctl() to accept display number paramters. 2019-03-10 13:50:05 -06:00
Bill Gatliff
8be37f0a15 configs/omnibusf4/README.txt: Add README file for OmnibusFS target. 2019-03-10 07:53:57 -06:00
Johannes
c56ea62f3c arch/arm/src/imxrt/imxrt_clockconfig.c: If SDRAM is actived it was only running at 40MHz. This was becaus imxrt_clockconfig.c changed the SEMC clock divider after the DCD was configured. This commit corrects that. 2019-03-10 07:25:45 -06:00
raiden00pl
2caf135d05 Merged in raiden00/nuttx_h7 (pull request #837)
Initial OTG support for STM32H7 and some minor improvements

arch/arm/src/stm32h7/stm32h7x3xx_rcc.c: add support for HSI48 clock

configs/nucleo-f207zg: add support for USB and initialize CDCACM if configured

configs/nucleo-h743zi: add support for USB and initialize CDCACM if configured

drivers/usbdev/Kconfig: fix type for USBDEV_TRACE_INITIALIDSET

configs/teensy-3.x/usbnsh/defconfig: update config according to change in USBDEV_TRACE_INITIALIDSET

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-03-10 13:24:58 +00:00
Gregory Nutt
9f4ac58054 Update README file and TODO list. 2019-03-09 11:19:00 -06:00
Gregory Nutt
76528df35f configs/boardctl.c: Fix some recently introduced errors found in build testing. 2019-03-08 16:23:05 -06:00