Yang ChungFan
8181a92a1d
ched/sched/sched_waitpid.c: In waitpid, remember to grab the exited child ptr. After being unblocked in waitpid, the child pointer might be NULL. Modify to use group_exitchild to get the pointer of recent exited child.
2019-07-20 07:20:21 -06:00
Nathan Hartman
19f9e0038e
configs/tm4c1294-launchpad/tools/oocd.sh: Fix syntax error.
2019-07-20 06:38:23 -06:00
Gregory Nutt
bdd8887bad
configs/makerlisp/src/ez80_boot.c: The VGA display controller and keyboard controller come up by default emulating a terminal with 'newline mode' on. That is newlines expance to carriage-return, newline. This patch turns that mode off.
2019-07-20 06:37:37 -06:00
Gregory Nutt
f60454a38c
configs/olimex-stm32-e407: Add support for MRF24J40 radio.
2019-07-18 08:06:43 +02:00
Alan Carvalho de Assis
3ac3451404
configs/stm32ldiscovery/: Add button suppot o stm32Ldiscovery. Add
...
chronometer board config.
2019-07-17 12:25:24 +02:00
Alin Jerpelea
db901120aa
Merged in alinjerpelea/nuttx (pull request #950 )
...
tools: flash_writer: license change
license update for project compliance
Signed-off-by: Jerpelea <Alin.Jerpelea@sonymobile.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-17 10:15:13 +00:00
Pierre-Olivier Vauboin
994e52c7c8
arch/arm/src/stm32h7/stm32_ethernet.c: Fix typo in define.
2019-07-16 19:12:10 +02:00
David Sidrane
4da872f059
Merged in david_s5/nuttx/master_rt_fix (pull request #949 )
...
imxrt:Fix compiler error for CONFIG_IMXRT_USDHC1 && !CONFIG_IMXRT_USDHC2
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-13 16:53:57 +00:00
Gregory Nutt
1783c909d9
configs/stm32f769i-disco/src/stm32_pwm.c: Enable PWM support for stm32f769i-disco board.
2019-07-13 10:36:28 -06:00
Gregory Nutt
a9b84eb941
arch/arm/src/stm32/Kconfig: Revert duplicate dependency introduced by 9f6361060d
2019-07-13 10:21:42 -06:00
Joao Matos
5a53f39069
include/sys/syscall.h: Fixed SYS_mount syscall define when CONFIG_FS_READABLE is undefined.
2019-07-13 10:15:52 -06:00
Gregory Nutt
9f6361060d
arch/arm/src/stm32/Kconfig: Segment LCD source clock selection should debug on CONFIG_STM32_LCD.
2019-07-13 10:07:02 -06:00
Alan Carvalho de Assis
b10df23454
arch/arm/src/stm32/Kconfig: Add the missing STM32 LCD Clock Source Selections.
2019-07-13 09:54:57 -06:00
Juan Flores
324969142b
configs/olimex-stm32-e407: Add timer driver support.
2019-07-12 07:47:46 -06:00
Juan Flores
3174bf4165
configs/olimex-stm32-e407: Add IN219 support.
2019-07-12 07:29:03 -06:00
Juan Flores
09757bec7d
configs/olimex-stm32-e407: Add DAC support.
2019-07-12 07:22:20 -06:00
Alin Jerpelea
5867fdc0e1
Merged in alinjerpelea/nuttx (pull request #948 )
...
arch: arm: cxd56xx: add GNSS device and UART0
* arch: arm: cxd56xx: add GNSS device
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add Geofence Support
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch: arm: cxd56xx: add UART0 iterface
UART0 is an interface with hardware flow control in the application subsystem.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* configs: spresense: path correction
In the initial commit the path reference was not updated
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-12 11:29:22 +00:00
Masayuki Ishikawa
1a1321df6b
Merged in masayuki2009/nuttx.nuttx/fix_spresense_led (pull request #947 )
...
configs/spresense: Fix and refactor cxd56_leds.c
In previous implementation, board auto led patterns were incorrect.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-12 10:25:38 +00:00
Gregory Nutt
ad1adffba6
arch/arm/src/lpc11xx, arch/arm/include/lpc11xx, configs/lpcxpresso-lpc1115: Support for the LPCXpresso-LPC1115 and for the LPC1115 architecture in general was removed after NuttX-7.30. The LPC11 port was never really used (to my knowledge) and was no longer supported. A snapshot of the port is still available in the Obsoleted repository. It can be brought back into the main repository at any time if anyone is willing to provide support for the architecture.
2019-07-11 16:16:11 -06:00
rajan gill
fdac44d193
include/fixedmath.h: Regarding the single precision float to/from fixed point conversions in fixedmath.h, I believe the floating point literals should be appended with the letter 'f' to avoid (expensive) conversions from single to double precision, and thereby also avoid (expensive if done in SW) double point arithmetic (which is what is happening upon inspection of my disassembly).
2019-07-11 15:13:02 -06:00
Gregory Nutt
23df4a25d2
configs/lpc4088-quickstart: Remove crap configurations that do not build.
2019-07-11 12:33:32 -06:00
Gregory Nutt
0ff2bdae61
configs/lpc4088-devkit: Remove crap configurations that do not build.
2019-07-11 12:13:20 -06:00
Gregory Nutt
7221311578
arch/arm/src/lpc11xx: Fix a few of the easy copy-paste naming problems.
2019-07-11 11:47:30 -06:00
Gregory Nutt
021a32b97d
Fix some issues revealed by name changin of commit e5dfd805e6
.
2019-07-11 11:19:03 -06:00
jjlange
e5dfd805e6
Merged in jjlange/nuttx/lpc40xx (pull request #946 )
...
Add support for LPC40xx family chips
* Corrected a few peripheral definitions and pin functions for the LPC17xx family.
Added configuration options, chip definitions, and additional pin functions for the LPC40xx family.
Added board configurations for Embedded Artists LPC4088 Quickstart board and LPC4088 Developer's kit. These configurations are still something of a work in progress. In particular, the LCD functionality is untested.
* First pass rename in *.c and *.h files.
* Renamed LPC17XX to LPC17XX_40XX in config files
* Rplaced LPC17xx with LPC17xx/LPC40xx in .c files
* Replaced LPC17xx with LPC17xx/LPC40xx in .h files
* Updated some documentation
* Working on moving directories
* moved arch/arm/src/lpc17xx and arch/arm/include/lpc17xx to lpc17xx_40xx
* Renamed LPC17_* constants / configuration options to LPC17_40_*
* Updated chip family name defines
* Renamed some chip-specific files
* Updated references to renamed files
* Updated references to lpc17_ to lpc17_40_
* Renamed source files from lpc17_* to lpc17_40_*
* Clean up white space
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-11 16:50:00 +00:00
Daniel P. Carvalho
8578ce9832
include/nuttx/spi/spi.h: Added standard definitions for ADC SPI device ID.
2019-07-11 10:28:42 -06:00
Juan Flores
906e044ece
configs/olimex-stm32-e407: Added BMP180 initialization and a configuration to test the BMP180.
2019-07-11 06:20:09 -06:00
junmin-kim
9e78931b91
include/cxx/cstddef: Add C11++ std::nullptr_t
2019-07-11 06:07:34 -06:00
Alin Jerpelea
29c7b06b0a
Merged in alinjerpelea/nuttx (pull request #945 )
...
configs: spresense: defconfig: enable smartfs
* configs: spresense: defconfig: enable smartfs
Enable internal flash storage for spresense boards
The smartfs flash is mounted under /mnt/spif folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* configs: spresense: defconfig: change USER_ENTRYPOINT
for compatibility with SDK we need to change the USER_ENTRYPOINT
to spresense_main
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-11 10:43:23 +00:00
Gregory Nutt
61d7fb5e41
video/videomode/videomode_lookup.c: At some additional lookups from FreeBSD. Not currently used in NuttX so ifdef'ed out for now.
2019-07-10 17:26:07 -06:00
Gregory Nutt
77c7454773
viedo/videomode: Rename video/edid to video/videomode. There is more there than just EDID but it is all basically videomode stuff
...
video/videomode/vesagtf.c: Bring VESA Generalized Timing Formula (GTF) from FreeBSD.
2019-07-10 16:21:37 -06:00
Gregory Nutt
9ec264b2e1
video/edid: Add debug functions to dump the EDID and videomode content.
2019-07-10 12:38:11 -06:00
Gregory Nutt
2811a297c7
Squashed commit of the following:
...
drivers/lcd/tda19988.c: Now uses the new common videomode structure of include/nuttx/video/videomode.h as do other video components.
video/, include/nuttx/video/videomode.h: Separate EDID and from videomode managment. They really are separate things.
2019-07-10 09:00:17 -06:00
Juan Flores
d2e884f43c
drivers/sensors/vl53l1x.c: Added support for VL53L1X TOF sensor.
2019-07-10 07:58:20 -06:00
uan Flores
628fdbfa56
configs/olimex-stm32-e407/src/stm32_spi.c: Add SPI initialization logic.
2019-07-10 07:39:35 -06:00
Michael Jung
6aaea06da9
syscall/: Adapt the conditional compile logic on when to include the vfork() syscall proxy and stub to the logic used for vfork() itself.
2019-07-10 07:25:00 -06:00
Alin Jerpelea
ffb4f00da9
Merged in alinjerpelea/nuttx (pull request #944 )
...
drivers: sensors: add I2C Bosch BMP280 and I2C Asahi AK09911/AK09912 Compass Sensor
* drivers: sensors: add Bosch BMP280 Barometic Pressure Sensor
add driver for the Bosch BMP280 barometic pressure sensor
This sensor is connected over I2C bus
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* drivers: sensors: add Asahi AK09911/AK09912 Compass Sensor
add driver for AK09911/AK09912 Compass sensor over I2C bus
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:31:36 +00:00
Masayuki Ishikawa
fb720cb817
Merged in masayuki2009/nuttx.nuttx/add_ch_setting (pull request #943 )
...
drivers/wireless: Add channel parameter for AP mode in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:26:39 +00:00
Gregory Nutt
07b839965b
arch/arm/src/am335x/Kconfig: Remove unused configuration settings left over from original copy-paste.
2019-07-09 19:11:50 -06:00
Petro Karashchenko
c9ff188f3e
arch/arm/src/am335x: Changes related to Control Module
2019-07-09 15:38:38 -06:00
Petro Karashchenko
eed706d458
arch/arm/src/am335x/hardware/am335x_prcm.h: Rename am335x_cm.h to am335x_cm.h.
2019-07-09 14:50:07 -06:00
Gregory Nutt
8be74cdc48
configs/beaglebone-black/src/am335x_lcd.c: Can't use TDA19988 yet because there is no I2C driver. In the mean time, support LCD initialization using a fixed, configurable video mode.
2019-07-09 13:43:04 -06:00
Gregory Nutt
c100f7ec7f
configs/beaglebone-black/src/am335x_lcd.c: Needs to include tda19988.h.
2019-07-09 10:29:04 -06:00
Gregory Nutt
5c50854091
configs/beaglebone-black/src/am335x_lcd.c: Framework (only) for TDA19988 and LCD support for Beaglebone Black.
2019-07-09 10:21:38 -06:00
Gregory Nutt
21457e9292
Update README file.
2019-07-09 08:45:06 -06:00
Michael Jung
fc47c4ecea
configs/pnev5180b/knsh: Add PROTECTED mode configuration with NuttShell.
2019-07-09 07:30:06 -06:00
Michael Jung
d5ec2ab9bc
On the LPC1769 there are two 16 KiB AHB SRAM blocks, which are mapped back to
...
back at physical address 0x2007C000 and 0x20080000 (i.e. right below and right
above a 512 KiB boundary). Memory from those two blocks is considered
continuous when assigned to a heap.
In the protected build mode, when the memory protection unit is used, though,
it must be split into two MPU regions. This is because MPU regions must be
naturally aligned, and the 32KiB continuous address space of the two 16KiB AHB
SRAM blocks does not start at an address divisible by 32KiB.
The only other configurations that use protected build mode on lpc17xx are
currently open1788/knsh and open1788/knxterm. The LPC1788 has the AHB SRAM
blocks mapped more sanely (from an MPU region point of view), which is
probably why no problems emerged here. Both still compile with my change and
other than wasting an MPU region (which would otherwise remain unused) should
work fine. That said, I have no hardware to confirm.
2019-07-09 07:23:10 -06:00
Gregory Nutt
721c33695f
Update COPYING file. Tools in the tools/ directory are not intended for binary redistribution and may not all conform to BSD licensing.
2019-07-09 07:15:33 -06:00
Gregory Nutt
a9d03db61b
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2019-07-09 07:06:04 -06:00
Alin Jerpelea
98fd07ee5f
Merged in alinjerpelea/nuttx (pull request #942 )
...
tools: add flash_writter for cxd56 boards
this flash writter is using the xmodem for firmware transfer
for flashing please use
tools/flash_writer.py -s -c /dev/ttyUSB0 -d -b 115200 -n nuttx.spk
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-09 13:04:54 +00:00