Gregory Nutt
bcc61fed26
Update a README and a misnamed formal parameter.
2017-11-21 09:24:25 -06:00
Miha Vrhovnik
8bb54368c8
Various fixes for errors ound while debugging OTG on L496
...
STM32, STM32 L4, and STM32 M4: USB OTGFS DMA trace output fix
STM32: Add dump buffer feature to stm32 F4 series
STM32 and STM32 L4: Fix bad USB OTGFS register address
STM32 L4: Fix typo in USB OTGFS register usage
STM32 L4: Add check in USB OTGFS driver to assure that SYSCFG is enabled
Nucleo-L496ZG: Make HSE on Nucleo-L496ZG default to enable USB
2017-11-21 06:32:53 -06:00
Gregory Nutt
b9bb2253b6
Update a README.
2017-11-21 06:12:13 -06:00
Gregory Nutt
1fba8ba145
configs/open1788: Enable discrete joystick input. This is sufficient to get through all menuing that does not require text input.
2017-11-20 14:16:01 -06:00
Gregory Nutt
92a9a9b678
configs/open1788: Add support for the discrete joystick driver. Update the pdcurses configuration to use apps/examples/djoystick.
2017-11-20 10:00:52 -06:00
Gregory Nutt
34bae015df
Squashed commit of the following:
...
libnx/nxfonts: Cosmetic; reduce amount of debug output.
configs/open1788/pdcurses: Add a configuration for testing pdcurses.
2017-11-19 13:31:04 -06:00
Alan Carvalho de Assis
494d2a486c
configs/mcb1700: Add support for Keil MCB1700 board
2017-11-18 10:57:25 -06:00
Gregory Nutt
28de00a90a
Changes to allow the font subsystem to be built without enabling the entire graphics system (CONFIG_NX). Adds CONFIG_NXFONTS and CONFIG_NXGLIB. NX and NXFONTS are still pretty heavily entangled
...
Squashed commit of the following:
libnx: Need to duplicate some Kconfig setting for NXFONTs if it can be configured and built independently of NX. Also includes some build-related fixes.
configs/sim: Disable NX graphics support in the fb configuration.
libnx: Basic configuration and build changes to support building font support independend of the NX server.
2017-11-18 10:19:34 -06:00
Bob Feretich
fab5faf097
STM32F7: Completes architecture support for the STM32 F72x and F73x families. Adds support for the Nucleo-144 boards with STM32F722.
2017-11-18 07:55:50 -06:00
Bob Feretich
13b52da3fa
stm32 f72xx and f73xx: Add register definition header files and clocking logic
2017-11-17 07:18:02 -06:00
Alan Carvalho de Assis
4f0c4b798f
configs/xmc4500-relax: Add config for UART3 on RXD P0.0 and TXD P0.1 pins.
2017-11-16 13:53:01 -06:00
Alan Carvalho de Assis
fcb5129567
arch/arm/src/xmc4: Kconfig was not selecting XMC4_USIC for USIC1.
2017-11-16 13:51:17 -06:00
Gregory Nutt
0649209725
configs/stm3220g-eval/ide: Remove the uVision IDE setup. This has not been used for years and it a maintenance problem for me.
2017-11-16 08:51:49 -06:00
Gregory Nutt
aeab28ef5c
configs/stm32f429i-disco/ide: Remove the uVision IDE setup that goes along with the ltdc configuration that was removed on 2017-10-28.
2017-11-16 07:56:30 -06:00
Gregory Nutt
a958349353
STM32F429i-Disco: Convert NxWM configuration to use LTDC framebuffer driver instead of SPI serial. Also reduce number of layers from 4 to 1 in fb configuration. Only one layer is used.
2017-11-15 11:47:14 -06:00
Gregory Nutt
37ca491be6
Build system: Fix CONFIG_BUILD_KERNEL logic directories that have ubin and kbin subdirectories. Conditional logic was fine for CONFIG_BUILD_FLAT and CONFIG_BUILD_PROTECTED but generated useless dependencies if CONFIG_BUILD_KERNEL.
2017-11-15 11:39:30 -06:00
Masayuki Ishikawa
ccc52e70d5
Merged in masayuki2009/nuttx.nuttx/lc823450_built_on_cygwin (pull request #535 )
...
configs/lc823450-xgevk: Fix compilation errors on Cygwin
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-15 11:27:21 +00:00
Gregory Nutt
64bcf3ec94
configs/stm32429i-disco/src: Fix a compile error when CONFIG_BOARD_INITIALIZE is defined.
2017-11-14 16:52:22 -06:00
Gregory Nutt
62b8026976
Remove CONFIG_GRAN_SINGLE. It adds no technical benefit (other than some minor reduction in the number of interface arguments) but adds a lot of code complexity. Better without it.
2017-11-14 11:47:12 -06:00
Gregory Nutt
d99f1ca574
configs/stm32f429-disco/fb: Enable support for the STMPE811 touchscreen controller and also for the apps/exmaples/touchscreen test.
2017-11-14 10:18:03 -06:00
Gregory Nutt
d427872bd6
configs/stm32f429i-disco: Add logic to auto-mount procfs. Enable procfs in all configurations that use NSH.
2017-11-13 16:46:45 -06:00
Gregory Nutt
cd498778bd
configs/stm32f429i-disco/: Fix a warning and some C comments.
2017-11-13 16:23:14 -06:00
Gregory Nutt
13b742236d
Update some README files.
2017-11-13 15:49:38 -06:00
Gregory Nutt
f3cac38ed6
configs/stm32f429i-disco/fb: Refactor initialization logic so that it is a little more like other boards. Remove double initialization of framebuffer or LCD drivers (whichever is enabled).
2017-11-13 15:10:00 -06:00
Gregory Nutt
2ff9f0e5b1
configs/stm32f429i-disco/fb: Fix a compile issue. Disable all NX features in the fb configuration. NX is not needed.
2017-11-13 14:52:10 -06:00
Gregory Nutt
bf724ddf61
configs/stm32f439i-disco: Add an fb configuration
2017-11-13 14:33:47 -06:00
Gregory Nutt
7b676c8a02
Update README.txt
2017-11-13 09:26:39 -06:00
Alan Carvalho de Assis
7d407fcbd6
Nucleo-F746ZG: Use the serial console over /dev/ttyACM0 by default. The Nucleo-F746ZG doesn't come with Arduio RS-232 shield, then it is better to use the serial over the /dev/ttyACM0 that is created automatically when the board is plugged in the computer.
2017-11-13 09:14:37 -06:00
Gregory Nutt
bfcc8fcbb6
configs/: apps/system/free has been deleted because it violates the portable POSIX OS interface. Remove CONFIG_SYSTEM_FREE=y from all defconfig files.
2017-11-13 08:03:45 -06:00
Masayuki Ishikawa
14e2b6dc5b
Merged in masayuki2009/nuttx.nuttx/stm32f4discovery_rndis (pull request #533 )
...
RNDIS support on STM32F4Discovery
* stm32f4discovery: Add stm32_netinit.c to avoid a compilation error
* stm32f4discovery: Add rndis initialization in stm32_bringup.c
NOTE: MAC address for the host side starts 0xaa. This assignment
scheme should be fixed later.
* stm32f4discovery: Add rndis configuration
NOTE: STM32F4Discovery + DM-STF4BB
* drivers/usbdev/rndis.c: Fix some issues in rndis.c
Introduce rndis_transmit() and change rndis_rxdispatch() to avoid
packet corruption. Introduce max packet size for dual speed which
is mainly used for high speed mode. Fix adjusting MTU warning
on Linux host. Fix data corruption if a packet size excceds MTU.
NOTE: Max packet size is not configured dynamically. This should
be fixed in the future version.
* stm32f4discovery: Modify #ifdef condition for rndis in stm32_bringup()
* drivers/usbdev/rndis.c: Change HPWORK to ETHWORK
* drivers/usbdev/rndis.c: Merge the commit 07b98ccbb5
Previous commit b09365784a was based on old rndis.c thus resulted
in reverting the commit 07b98ccbb5
. This change merges the commit.
NOTE: In the commit 07b98ccbb5
, max packet size of bulkout was
assumed to be 64. In this commit, priv->epbulkout->maxpacket is
used instead.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-13 08:55:41 +00:00
Gregory Nutt
b238ede68f
configs/stm32l476-mdk: Repartition bring-up logic so that it is more like other board directories. Add support for USERLED driver. Add bring-up initialization logic for the USERLED driver.
2017-11-12 13:24:13 -06:00
Gregory Nutt
d594d1f56e
configs/stm32l476-mdk: Add support for the on-board LEDs.
2017-11-12 12:56:38 -06:00
Gregory Nutt
8b64f8ae49
Update README.txt
2017-11-12 11:41:20 -06:00
Gregory Nutt
5004e8b3ea
libc: Add support for readv() and write(). Also includes some cosmetic changes to some unrelated files.
2017-11-11 11:44:14 -06:00
Gregory Nutt
f41d968455
tools/configure.c: Trivial design improvement to last commit.
2017-11-10 09:39:06 -06:00
Gregory Nutt
f748d01a53
Update README
2017-11-10 09:01:39 -06:00
Gregory Nutt
efd798661a
Update README again
2017-11-09 16:42:42 -06:00
Gregory Nutt
baf120043e
Update README
2017-11-09 16:32:20 -06:00
Masayuki Ishikawa
da78c18397
Merged in masayuki2009/nuttx.nuttx/lc823450_autoled (pull request #532 )
...
lc823450 auto LED support
* arch/arm/src/lc823450: Add auto LED for CPU activity
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add auto LED support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-09 11:36:33 +00:00
Masayuki Ishikawa
51b19d5f38
Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #531 )
...
lc823450-xgevk audio support
* arch/arm/src/lc823450: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* libc/audio: Fix compilation error in lib_buffer.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers/audio: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* arch/arm/src/lc823450: Add I2S support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add WM8774 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-08 12:25:13 +00:00
Masayuki Ishikawa
56eac96d2f
Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #530 )
...
Add IPL2 support for LC823450
* arch/arm/src/lc823450: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/lc823450-xgevk: Add IPL2 support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-07 12:34:23 +00:00
Gregory Nutt
08fa834a6a
arch/arm/include/stm32 and stm32f7: Remove ltdc.h and dma2d.h. Those header files in that location permitted inclusion into application space logic and, hence, facilitated and encouraged calling into the OS and violating the portable POSIX OS interface. The definitions in those header files were move the appropriate location in the counterpart, architecture specific files at arch/arm/src/stm32 and stm32f7 dma2d.h and ltdc.h.
...
configs/stm32f429i-disco/ltdc: This configuration has been deleted because it violated the portable POSIX OS interface. It used apps/examples/ltdc and include ltdc.h and dma2d.h which were also removed for the same reason.
2017-11-06 12:22:48 -06:00
Gregory Nutt
7deb24484c
This comment converts the underlying IPC used by the UserFS from Unix domain local sockets to UDP LocalHost loopback sockets. The problem with the local sockets is that they do require operations on the top level psuedo-file system inode tree. That tree must be locked during certain traversals such as enumerate mountpoints or enumerating directory entries.
...
This conversion is unfortunate in the sense that Unix local domain sockets are relatively lightweight. LocalHost UDP sockets are much heavier weight since they rely on the full UDP stack. If anyone is up for a complete redesign, then using some shared memory and a POSIX message queue would be lightweight again.
This commit also fixes several bugs that were not testable before the inode tree deadlock. I cannot say that the logic is 100% stable but it does not have basic functionality.
Squashed commit of the following:
fs/userfs: Order locking so that access to the shared I/O buffer is also locked.
fs/userfs: Converts to use LocalHost UDP loopback for IPC.
2017-11-05 12:25:58 -06:00
Mateusz Szafoni
2fc5237854
Merged in raiden00/nuttx (pull request #529 )
...
Master
* cosmetics
* stm32_hrtim: add helper macros
* smps: cosmetics
* stm32f33xxx_adc: injected channels support, fix some definitions, add interface to disable interrupts
* stm32f334-dsico: beginning of lower-half driver for SMPS (buck-boost onboard converter)
* nucleo-f334r8/highpri: missing ADC trigger configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 14:15:04 +00:00
Alan Carvalho de Assis
4d6c17246f
stm32f103-minimum: Remove warning when selecting MMCSD support
...
stm32f103-minimum: Add board_usbmsc_initialize to stm32f103-minimum
2017-11-05 06:39:28 -06:00
Gregory Nutt
1e40593e9d
SAMv71-XULT: Remove non-functional framebuffer configuration.
2017-11-05 06:31:11 -06:00
Gregory Nutt
205fe8053f
Kconfigs: Add CONFIG_LCD_UPDATE that works like CONFIG_NX_UPDATE but can be enabled without enabling the graphics subsystem.
2017-11-04 14:08:21 -06:00
Mateusz Szafoni
71d4bad819
Merged in raiden00/nuttx (pull request #528 )
...
stm32f334-disco, nucleo-f334r8: add missing ram_vectors configuration in linker script
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-04 14:28:19 +00:00
Alan Carvalho de Assis
ab9e059735
configs/stm32f103-minimum: Add board support for MAX7219 LED Matrix controller
2017-11-04 07:59:32 -06:00
Gregory Nutt
f03e834eb1
STM32F102-Minimum: Eliminate a warning.
2017-11-04 07:21:03 -06:00