Commit Graph

34354 Commits

Author SHA1 Message Date
Gregory Nutt
2c2729521b Abandon attempt to get common data structures for NX and the raw framebuffer cursor interface. This backs out several changes. 2019-04-07 18:00:40 -06:00
Gregory Nutt
e5c56aaab6 graphics: A little more progress with software cursors. 2019-04-07 16:04:21 -06:00
Gregory Nutt
79b83f0c05 graphics: Extend the definition of the cursor image structure. 2019-04-07 13:25:20 -06:00
Gregory Nutt
42e2c9139c Squashed commit of the following:
libs/libnx/nxme:  Add front-end, client, message handling needed for cursor support.  Still actual cursor logic yet, just message handling.

    graphics/nxmu and graphics/nxbe:  Add back-end message handling needed for cursor support.  No actual cursor logic yet, just message handling.
2019-04-06 14:34:56 -06:00
Gregory Nutt
04b723e447 Squashed commit of the following:
include/nuttx/nx/nxcursor.h:  Add a header file descrbing the implementation of an NX cursor interface.  There is no implementation in place yet.

    include/nuttx/video/cursor.h:  Separate out cursor definitions from fb.h.  Other graphic interfaces other than a framebuffer may support a cursor, possible a software cursor.
2019-04-06 12:18:05 -06:00
jjlange
90ece2d917 Merged in jjlange/nuttx/lpc17_ethupdates2 (pull request #849)
Added support for Ethernet PHY ioctl() on LPC17xx.

* Added support for Ethernet PHY ioctl() on LPC17xx.

* Fixed whitespace.

* One more time.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-05 21:16:03 +00:00
Gregory Nutt
0a57cf0b8a graphics/nxbe: Implement hooks that will eventually support software 'sprites', i.e., things like OSD functionality, a software cursor, selection rectangles, window resize preview, etc. 2019-04-05 15:06:59 -06: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
0b3375cb78 graphics/, lib/libnx, include/nutt/nx: Add support for modal windows. 2019-04-05 08:24:46 -06:00
Gregory Nutt
cc5c59b8a6 syscall/syscall.csv: Correct an error in creating the munmap() proxy if CONFIG_FS_RAMMAP is not defined. 2019-04-04 20:37:32 -06:00
Gregory Nutt
5871a8606a syscall/syscall.csv: Fix a warning due to inconsistencies in return type. 2019-04-04 20:17:22 -06:00
Gregory Nutt
19e1717a89 Refresh a configuration. Remove CONFIG_NXWM_UNITTEST=y, not longer in Kconfigs. 2019-04-04 18:50:28 -06:00
Gregory Nutt
96ba87e6cf Trivial changes from review of last PR 2019-04-04 17:22:41 -06:00
jjlange
b50452301d Merged in jjlange/nuttx/lpc17_ethupdates (pull request #847)
Added support for KSZ8081RNA PHY to LPC17xx Ethernet driver.

* Added support for KSZ8081RNA PHY to LPC17xx Ethernet driver.

* Updated PHY error message

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-04 23:21:09 +00:00
oao Matos
880029d994 arch/arm/src/stm32f7/stm32_fmc.h: Updated stm32_fmc.h with more FMC definitions. 2019-04-04 11:42:10 -06:00
oao Matos
24f5cde922 include/signal.h: Add commented out definition of the si_addr field. 2019-04-04 11:22:52 -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
Joao Matos
03db654393 include/alloca.h: Add alloca.h. Included limited implmentation of alloc() that is only available for GCC versions 3 and above. 2019-04-04 11:04:08 -06:00
Joao Matos
7df60a2c16 include/sys/syscall.h and syscall/: Added support for munmap() syscall. 2019-04-04 10:54:46 -06:00
Joao Matos
a095dcd6bf libs/libc/misc/lib_utsname.c: Fixed return code in uname(). 2019-04-04 10:40:39 -06:00
Joao Matos
251009de3a libs/libc/locale/lib_setlocale.c: Improved error handling in setlocale(). 2019-04-04 10:38:57 -06:00
Joao Matos
604f699711 Fixed R_OK/X_OK definitions to match POSIX. 2019-04-04 10:35:50 -06:00
Joao Matos
8f5a94c5e5 include/pthread.h and libs/libcpthread: Fixed pthread_attr_get/setstacksize param type to size_t. 2019-04-04 10:33:57 -06:00
Joao Matos
08ff68edec sched/pthread: Added non-standard pthread_get_stackaddr_np() and pthread_get_stacksize_np(). 2019-04-04 10:30:46 -06:00
YanLin Zhu
c6dd9274e6 fs/littlefs/lfs.c: Fix lfs_format bug. In superblock disk root-block assignment, the second must be root[1]. 2019-04-04 06:35:24 -06:00
Jussi Kivilinna
fd4db67b43 libs/libc/stdio/lib_libvsprintf.c: Restore support for printing NULL string as "(null)". Legacy printf supported printing "(null)" in place for NULL string:
printf("null: %s\n", NULL); => null: (null).

This commit restores this functionality for new printf library.
2019-04-04 06:31:25 -06:00
Abdelatif Guettouche
e5f84dca39 The commit corrects the gpioirq when mismatch mode is selected and adds support for edge detect mode. Slew Rate was also added for completeness. 2019-04-03 17:26:22 -06:00
Erik Englund
6f408b87bf arch/arm/src/nrf52/nrf52832_errdata.c: Fix compiler error when following C89. 2019-04-03 15:32:40 -06:00
Anthony Merlino
9bda8c5472 Merged in antmerlino/nuttx/stm32f7-usbotg-fix (pull request #846)
arch/arm/stm32f7: Fixes some macros related to OTGFS/OTGHS preventing OTGHS from working.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:38:08 +00:00
Anthony Merlino
079a0ada7b Merged in antmerlino/nuttx/stm32f7-hsebypclk (pull request #845)
arch/arc/stm32f7: Add support for using the HSE in bypass mode, configured by board.h

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:36:52 +00:00
Anthony Merlino
370dc27c60 Merged in antmerlino/nuttx/stm32f7-sdmmc-bypclk (pull request #844)
arch/stm32f7: Support bypassing the input clock divider on the SDMMC interface. This enables using the full clock speed provided to the SDMMC interface with no dividing.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:36:21 +00:00
Jussi Kivilinna
0725be9773 drivers/syslog/syslog_stream.c: In syslog bufferedmode, avoid IOB alloc lock-up with heavy network activity. This change alters the buffered syslog logic to use 'iob_tryalloc' instead of blocking 'iob_alloc' to avoid syslog printing from getting stuck when all IOBs are depleted by network activity. An issue was seen when large incoming TCP transfer uses free IOB buffers and processing threads try to use syslog which then block at iob_alloc. 2019-04-03 07:35:38 -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
Gregory Nutt
870aa61a49 graphics/nxmu/nxmu_requestbkgd.c: Trivial, cosmetic, arbitrary. 2019-03-29 11:05:21 -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
Gregory Nutt
8ed0d21b73 tools/tesbuild.sh: Correct help test. 2019-03-28 12:12:15 -06:00
Bill Gatliff
a9f0cbdba7 drivers/video/max7456.c: Adds a read-only (for now) /dev/osd0/CM interface for obtaining the chip's onboard NVM character map data. Use seek() to position the cursor over a desired subset of bytes, or request a large read to obtain the entire EEPROM memory contents. Values are returned in binary form. Use hexdump, etc. to format them for viewing. 2019-03-26 22:29:06 -06:00
Matias N
a9d8b705cc drivers/usbdev/cdcacm.c: This fixes a problem where the host sent a "get descriptor" message of type "standard" with a recipient of type "interface". Since the composite driver would only pass messages to the child interfaces when a message was not "standard", this message was not handled. I changed the condition so that the composite driver checks not only if this is a "standard" message but if it is also directed to the device. Otherwise, the handling is delegated to the children of the composite device. 2019-03-26 21:54:01 -06:00
Xiang Xiao
2d3623e2f9 arch/arm/src/armv7-a/Toolchain.defs: Fix 'cc1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch' 2019-03-26 21:40:25 -06:00
Xiang Xiao
acca831c11 include/sys/select.h: Fix compiler error when CONFIG_NSOCKET_DESCRIPTORS is undefined. 2019-03-26 09:20:23 -06:00
Xiang Xiao
12b92c366b include/limits.h: Remove the duplicate TMP_MAX definitions. The standard require TMP_MAX define in stdio.h. 2019-03-26 09:18:14 -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
ebbd91b441 Grrr.. Once again I forget to 'add' files before committing them. 2019-03-25 13:50:01 -06:00
Gregory Nutt
10388e9123 exmamples/, graphics/NxWidgets: Implement new interfaces nx_synch() and nxtk_synch(). This are used to syncrhonize the NX server with the window client. Currently most of the logic is equivalent to nx_block() and nxtk_block(), but with slightly different semantics. The are separate now because they are likely to diverge in the future. 2019-03-25 13:48:27 -06:00
Gregory Nutt
f5e8dc60f4 graphics/nxmu, include/nuttx/nx/nxmu.h, libs/libnx: Add new server->client callback to notify the window client of server events. Remove the old 'blocked' callback and just make it one case of an 'event' callback. 2019-03-25 13:00:13 -06:00
Gregory Nutt
0fab8d014a Fix bad file inclusion introduced in preceding commit. 2019-03-25 12:26:04 -06:00
Pierre-Olivier Vauboin
055835f20a arch/arm/src/stm32f7/stm32_qspi.c: Fix QuadSPI interrupts. This commit essentially replaces wrongly named configuration variables STM32F7_QSPI_INTERRUPTS into CONFIG_STM32F7_QSPI_INTERRUPTS. Also fixes some getreg/putreg where register addresses were used
instead of register offsets
2019-03-25 11:21:45 -06:00
Gregory Nutt
47b6f7876e Remove spaces from Kconfig 2019-03-25 11:16:21 -06:00
Bill Gatliff
6499ec3e94 configs/omnibusf4/src/stm32_reset: Add boardctl() reset logic. 2019-03-25 11:13:14 -06:00