Gregory Nutt
bf3105fc8f
include/sys/types.h: Remove non-standard HP-UX priority range definitionis. HP-UX is not a supported OS.
2019-09-10 14:02:40 -06:00
Gregory Nutt
061dcaa226
Fix typos in preceding commit.
2019-09-10 10:06:36 -06:00
Gregory Nutt
af685dfe81
sched/sched_rrgetinterval.c: sched_get_rr_interval() should return {0,0} if round-robin scheduling is not selected for the task.
2019-09-10 10:04:36 -06:00
Gregory Nutt
cc694e9862
Fix some new warnings found in build testing.
2019-09-10 08:20:53 -06:00
Pavel Pisa
97dfff2011
boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig: Tested ETHRENET, UARTs, heap in external SDRAM, use of symbol tables for applications loading over TFTP and kernel modules insertion. USB and SD card enabled but there are some issues (probably config or IO ports) still.
2019-09-10 07:21:01 -06:00
Pavel Pisa
f9e9f228cb
tools/mkexport.sh: export LDSCRIPT and STRIP definition and align with Makefile.export.
2019-09-10 07:14:38 -06:00
Adam Porter
1da921c00f
STM32, STM32F7, STM32H7, STM32L4, and EFM32 USB Host: This change was required to get my devices (CDC-MBIM) to enumerate. Initially the system timed out retrieving the USB configuration descriptor. Ctrl IN requests got nothing but NAKs. I found that the initial SETUP packet and corresponding IN transfer were fine; it was the Status OUT phase that was getting the NAK. After receiving a NAK on the Status OUT, the code would loop back and issue another ctrl IN, which will always fail because the data was already transferred before. Thus the entire transfer would 'timeout'. The fix I implemented moves the DATANAK timeout loop to only apply to the Status OUT. Of course this worked for my devices, but maybe isn't the right solution in general. I think that both the ctrl IN and the Status OUT need their own retry loops?
2019-09-09 17:08:31 -06:00
Gregory Nutt
46d435fc65
Various cosmetic changes.
2019-09-09 14:47:47 -06:00
ligd
ead2c26be8
drivers/ioexpander/gpio_lower_half.c: Remove limitation when pintype > GPIO_INTERRUPT_PIN.
2019-09-09 07:36:17 -06:00
Nathan Hartman
91ef2ec394
Fix a few minor typos
2019-09-08 15:59:14 -06:00
Oki Minabe
f9327b6b06
arch/arm/src/armv7-a/arm_pgalloc.c: Fix L2 page table mask for armv7-a.
2019-09-08 07:06:00 -06:00
Oki Minabe
c570439c07
arch/arm/src/armv7-a/arm_addrenv_utils.c: Fix double increment in armv7-a's arm_addrenv_destroy_region().
2019-09-08 07:04:37 -06:00
Oki Minabe
3e44e9107c
arch/arm/src/armv7-a: Fix typo and missing quotation for armv7-a.
2019-09-08 07:01:57 -06:00
Gregory Nutt
4b1eecad66
EFM32 OTG host: Adam porters fix for STM32 FS/HS probably should be applied to EFM32 host which which has very similar IP.
2019-09-08 06:58:34 -06:00
Gregory Nutt
726ea3c8a9
stm32f7/h7/l4 OTG host: Adam porters fix for STM32 FS/HS probably should be applied to STM32 F7, H7, and L4 OTG host which are very similar.
2019-09-08 06:50:47 -06:00
Adam Porter
5b4516d291
arch/arm/src/stm32/stm32_otg[fs|hs]host.c: STM32 host only initiates transfer if buflenl > 0.
2019-09-08 06:46:54 -06:00
Gregory Nutt
5707d01cc3
tools/version.h and Makefile.unix: Minor improvement to previous commit: Permit custom version strings that do not derive from the major and minor version number
2019-09-07 09:14:21 -06:00
Gregory Nutt
d07666c85b
tools/Makefile.unix: Rethink creation of new .version file with GIT information. Cannot use 'sed -i' in its current form because that does not work on macOS, FreeBSD, or NetBSD.
2019-09-07 08:44:16 -06:00
Gregory Nutt
c5066f9f4c
net/ipforward/ipv4_forward.c: Correct some errors introduced with commit a52ceac13e
. Noted by Adam Porter.
2019-09-06 16:01:38 -06:00
Nathan Hartman
f6b80dd0f9
boards/Kconfig: Fix help text for BOARDCTL_IOCTL.
2019-09-06 15:55:57 -06:00
Gregory Nutt
7871e983b8
net/tcp/tcp_send.c: Commit a52ceac13e
broke IPv4 sending. In cp_send.c:tcp_ipv4_sendcomplete(), ‘ipv4->vhl’ now needs to be configured before call to tcp_ipv4_chksum(). Noted by Jussi Kivilinna in comit comments.
2019-09-06 09:48:42 -06:00
Gregory Nutt
614c3b17ea
include/sys/boardctl.h: Fix numbering of board IOCTL commands. Error in numbering noted by Nathan Hartman.
2019-09-05 15:34:39 -06:00
Augusto Fraga Giachero
5149fc557c
include/nuttx/spi/spi_bitbang.c: Fix build error when the spi bitbang variable width support is enabled.
2019-09-05 13:40:41 -06:00
Augusto Fraga Giachero
f08ab217b0
drivers/rf/dat-31r5-sp.c: dd support to the DAT-31R5-SP+ digital attenuator. Creates a the new device driver directory drivers/rf/ to support drivers related to RF peripherals. It also adds support for the DAT-31R5-SP+ digital attenuator.
2019-09-05 13:28:28 -06:00
Juha Niskanen
822bb06967
Fix some typos. Also minor update to stm32f7/nucleo-144/README.txt and stm32l4/nucleo-l496zg/README.txt board documentation.
2019-09-05 08:12:50 -06:00
Gregory Nutt
0b64e79736
tools/Makefile.win: Change of 8883623d07
needs to be applied to Makefile.win too.
2019-09-04 18:58:52 -06:00
jjlange
8883623d07
Merged in jjlange/nuttx/makefile_updates (pull request #1028 )
...
Makefile updates
* Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'
* Only use PCLKSEL0 for ADC on LPC176x family.
* Made grep search expression more specific.
* Added missing '=' to second grep
* Revert "Only use PCLKSEL0 for ADC on LPC176x family."
This reverts commit 835b5e9d6fcbea02cb0203c063b0e121fa57ba9e.
* Revert "Added missing '=' to second grep"
This reverts commit 38b51f0c6d9612de755c102a53846ca7488cdf14.
* Added a missing '=' in the second grep statement
* When linking $(ARCH_SRC)/drivers, print what is actually happening
* Save CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH when running "make savedefconfig"
* Revert changes to lines 607-608 related to CONFIG_ARCH_BOARD_CUSTOM
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-05 00:48:51 +00:00
Matous Pokorny
925d16b7b8
drivers/sensors/isl29023.c: Add basic driver of ISL29023 ambient light sensor. The basic driver can set operational mode, range, and resolution. It can also read lux value in continuous mode. Interrupt and the alarm is not implemented.
2019-09-04 11:26:26 -06:00
Loyen Wang
0ad5bc50fb
arch/arm/src/arm/up_fullcontextrestore.S: When performing stability test, the application would cause kernel crash. When I trace the stack, I find that register R1 has been changed, and its value is the same as register CPSR. In p_fullcontextrestore.S, the restoration of R0 and R1 is not atomic: 'msr cpsr r1 will enable interrupts and the recovery of r0 and r1 may be interrupted and the value or R1 may be changed. Fix is to use a single ldmia to restore R0, R1, and return via R15.
2019-09-04 07:49:27 -06:00
Nathan Hartman
ce8fb54d07
Fix various typos
2019-09-03 17:00:22 -06:00
Gregory Nutt
38ada48454
libc/libc/unistd/: Add stubs for setreuid(), and setregid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of applications that expect these POSIX standard interfaces.
2019-09-03 11:35:31 -06:00
Gregory Nutt
a2bf7057f6
libc/libc/unistd/: Add stubs for geteuid(), getegid(), seteuid(), and setegid(). NuttX does not currently support effective user/group IDs, but these stubs will support linkage of appliations that expect these POSIX standard interfaces.
2019-09-03 10:57:51 -06:00
Augusto Fraga Giachero
68bbc8438c
drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated.
2019-09-02 07:57:10 -06:00
Masayuki Ishikawa
fc250074b3
Merged in masayuki2009/nuttx.nuttx/gs2200m_supports_SIOCGIFHWADDR (pull request #1027 )
...
gs2200m supports SIOCGIFHWADDR
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-02 13:08:34 +00:00
Gregory Nutt
100fe59ff2
net/arp/arp.h: Remove an unused structure definition.
2019-09-01 17:49:44 -06:00
Gregory Nutt
85770966ff
boards/Board.mk: Add support to pass dependency paths. boards/arm/cxd56xx/common/Makefile: Add correct dependency paths for board/ and src/ subdirectories.
2019-09-01 12:19:36 -06:00
Gregory Nutt
d596e56c3d
net/local/local_conn.c: Removed un-ncessary memset(). Connection structure is allocated with kmm_zalloc() which will clear all memory.
2019-09-01 11:23:40 -06:00
Gregory Nutt
6266e067e9
net/: Re-order the content of all address-family socket 'connection' structures so that they begin with a comomon prologue. This permits better use of logic for different address family types.
2019-09-01 08:47:01 -06:00
Gregory Nutt
19e1db3f97
arch/arm/src/stm32/hardware/stm32_adc_*: Additional coding standard issues: Binary operators should be separated with spaces.
2019-08-31 17:54:38 -06:00
Gregory Nutt
97a71db3b1
arch/arm/src/stm32/hardware/stm32_adc_*: Clean up some coding standard issues.
2019-08-31 17:45:32 -06:00
Gregory Nutt
5f57b85438
arch/arm/src/stm32/stm32_adc.c: Another fix. adc_calibrate was called even when it was conditioned out, causing a link time failure.
2019-08-31 17:12:15 -06:00
Gregory Nutt
70fcf486a0
arch/arm/src/stm32/stm32_adc.c: Corect an error found in build testing. Recent commit to add STM32F1 calibration was not properly conditioned. Caused compilation errors on all STM32 F2 family members.
2019-08-31 17:06:24 -06:00
Gregory Nutt
c6434e3182
boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig: Correct shit defconfig file. Recent patch dumped a prohibited .config file as the defconfig file when a proper defconfig file created via 'make savdefconfig' is required. Bad.
2019-08-31 14:35:17 -06:00
Gregory Nutt
a52ceac13e
net/: Now handles reception of IPv4 packets with larger IPv4 headers containing options.
2019-08-31 12:25:30 -06:00
Gregory Nutt
9bdde04636
net/Kconfig: Ethernet packet buffer size cannot be permitted to go below 1294 is IPv6 is selected.
2019-08-31 09:08:32 -06:00
Gregory Nutt
89096d0fc7
tools/Makefile.win: Port changes of commit 3ed844640d
to Makefile.win. Untested because I don't have a Windows native build platform setup. There have been a log of changes to the build system lately do to directory re-organization so likely the native build is broken. Certainly tools/configure.bat should be replaces with tools/configure.c.
2019-08-30 09:28:47 -06:00
Gregory Nutt
e5c3874a3b
Tiva directories: Fix TM4C129XNCZAD part number in Kconfig and identifiers. Rationale: Fully specify that this is the 212-pin BGA package (ZAD ending) and for consistency with earlier changes to other Tiva TM4C12x part numbers in Kconfig names and identifiers.
2019-08-30 08:46:57 -06:00
Gregory Nutt
dc09d7018b
Coding style fixes. Run every new file through tools/nxstyle to assure that it is close to the NuttX coding standard.
2019-08-30 08:37:27 -06:00
Pavel Pisa
64c918783b
boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c: Provides for separate, non-standard uLAN registration at build-/run-time.
2019-08-30 07:58:05 -06:00
Gregory Nutt
d1a4715a81
README.txt and Documentstion/README.html: Update README file refences to include the LX_CPU board README file.
2019-08-30 07:53:47 -06:00