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
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
Gregory Nutt
101f3bddec
Update the NuttX 'About' document in preparation for the NuttX-7.29 release.
2019-03-25 07:49:11 -06:00
Gregory Nutt
5812bbeb04
Update ReleaseNotes in preparation for NuttX-7.29 release.
2019-03-24 17:58:51 -06:00
Gregory Nutt
6d5e5c2b7f
ChangeLog: Remove dangling whitespace at the end of lines.
2019-03-24 10:51:33 -06:00
Gregory Nutt
bf27473b3c
Update ChangeLog in preparation for the 7.29 release.
2019-03-24 10:35:43 -06:00
Mateusz Szafoni
d1f547feec
arch/arm/src/stm32/stm32_pwm.c: Missing commas in initializers can break compilation in certain configurations.
2019-03-24 08:32:04 -06:00
Mateusz Szafoni
7883f0e6a4
arch/arm/src/stm32/stm32_pwm.c: Set CCPxP and CCPxNP bits if polarity is negative.
2019-03-24 08:07:59 -06:00