Commit Graph

35219 Commits

Author SHA1 Message Date
Daniel Pereira Volpato
61055cee94 Add support for STM32G070xx
arch/arm/include/stm32f0l0g0: add support for STM32G070CB, STM32G070KB, STM32G070RB
arch/arm/src/stm32f0l0g0: add support for STM32G070CB, STM32G070KB, STM32G070RB
2019-09-17 11:10:38 -06:00
Alin Jerpelea
b55c518a1a Merged in alinjerpelea/nuttx (pull request #1031)
boards: spresense: add isx012 camera initialization and config

* boards: spresense: add isx012 camera initialization

    Add the initialization for the isx012 camera sensor.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: spresense: add camera defconfig

    For easy configuration add camera defconfig for spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-17 16:58:09 +00:00
Juha Niskanen
ebc6f51641 Fix some typos 2019-09-17 10:46:23 -06:00
Gregory Nutt
8d87e624bf boards/arm/cxd56xx/spresense/Kconfig: Add a configuration to select if an extension board is attached to the SPresence. If there is no extension board attached, the SPresense may run in a low-power mode by default (as determined by the CONFIG_CXD56_CUSTOM_PINCONFIG option). If an extension board is present, then the SPresense will need to run at a higher power mode, selected by the new CONFIG_SPRESENSE_EXTENSION option. 2019-09-17 05:41:10 -06:00
Takayoshi Koizumi
ef28729374 boards/arm/cxd56xx/spresense/include/board_pinconfig.h: Add board specific pin configurations of CXD5602 pins to fit Spresense board. 2019-09-16 15:32:58 -06:00
Gregory Nutt
ecb0b15fd0 libs/libc/math/Kconfig: Should select the NuttX float.h file automatically if the NuttX math library is selected. 2019-09-16 13:29:47 -06:00
Gregory Nutt
a5a7fe2d8a Kconfig and arch/Kconfig: Add some protection so that you cannot select an architecture-specific header file if the architecture does not provide the header file. 2019-09-16 11:47:26 -06:00
Gregory Nutt
20f4e05b09 arch/arm/src/stm32h7/stm32_ethernet.c: Bazooka Joe's fix to the STM32 F7 Ethernet driver (ec4a7be5c2) should be applied to the H7 as well. The other STM32 Ethernet driver already has the change. 2019-09-16 08:24:58 -06:00
Gregory Nutt
5995714cfd boards/mips Linker Scripts: The PIC32M* start-up code initializes .bss by writing 16 bytes at a time in a loop. The start (_sbss) alignment is only required to be 4 bytes since the write is done with 4 store instructions. In a previous change, the end address, _ebss, was aligned to 16 byte to prevent initializing past the end off the .bss region. However, that does not work unless the start address, _sbss, is also aligned to 16 bytes. 2019-09-16 08:14:32 -06:00
Bazooka Joe
ec4a7be5c2 Merged in BazookaJoe1900/nuttx/pr-network_stm32_freebuffer (pull request #1030)
Large ethernet packet can leads network halt

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-16 13:52:56 +00:00
Juha Niskanen
8fa646f0e8 drivers/syslog: syslog_force does not set errno so do not test against it. Some changes to comments. 2019-09-16 07:48:48 -06:00
Gregory Nutt
63c9c0c935 sched/semaphore/spinlock.c: Fix build failure caused by a missing semicolon. 2019-09-16 07:44:01 -06:00
Xiang Xiao
ba436b9434 tools/Makefile.unix: Fix build error when issue 'make -B'. mkdir: cannot create directory 'staging': File exists: tools/Makefile.unix:269: recipe for target 'staging' failed' 2019-09-16 07:41:25 -06:00
Xiang Xiao
bf3ffddf2f tools/configure.*: Add -s option to skip .config/Make.defs existence check. 2019-09-16 07:38:29 -06:00
Gregory Nutt
66a55c91e7 Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
Gregory Nutt
805fa49a4e Back out/change some of the alignments in the previous comments. Non-ARM CPUs my have different alignment requirements. AVR, for example, has none. MIPS requires 16-byte alignment of the end of .bss. 2019-09-15 18:02:00 -06:00
Gregory Nutt
2925c28f8f All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00
Gregory Nutt
0bd60c3722 All linker scripts: Preface all _ebss defininitions with . = ALIGN(4). Otherwise, the last bytes in the .bss section will not be initialized properly. Also convert all linker scripts that use TABs to spaces. 2019-09-15 15:27:58 -06:00
Gregory Nutt
03fc3a2218 Fix a typo I introducted in the last commit. My bad. 2019-09-15 11:14:47 -06:00
Xiang Xiao
bf84868360 tools/Config.mk and Makefile.unix: Support the incremental build for configuration change. 2019-09-15 10:56:26 -06:00
anchao
7ce51e66b9 tools/Config.mk: Eliminate use of the built-in implicit rules. 2019-09-15 08:48:25 -06:00
YanLin Zhu
bcdf9074fe drivers/mtd/gd5f.c: Add gigadevice SPI NAND FLASH driver. 2019-09-15 08:33:22 -06:00
YanLin Zhu
8b10b8ad25 drivers/mtd/gd25.c: Add support for GD25 device with 256-Mbit capacity. 2019-09-15 08:19:06 -06:00
zhangbo_a
636d180219 drivers/mtd/gd25.c: Add support for a new FLASH vendor. 2019-09-15 08:17:19 -06:00
Gregory Nutt
c5ed221e87 Trivial typo fix 2019-09-15 08:16:37 -06:00
Gregory Nutt
a9c55d40ab Update the NuttX 'About' document in preparation for the NuttX-8.1 release. 2019-09-14 09:54:50 -06:00
Gregory Nutt
627724749d Update ReleaseNotes in preparation for the NuttX-8.1 release. 2019-09-14 08:56:25 -06:00
Gregory Nutt
57bd46d931 Fix some typos in the ChangeLog. 2019-09-13 19:01:05 -06:00
Gregory Nutt
e2e3582be3 Update ChangeLog in preparation for the NuttX-8.1 Release. 2019-09-13 11:19:31 -06:00
Gregory Nutt
e2949d0dcf boards/arm/stm32/axoloti, omnibusf4, and stm32f4discovery: If CONFIG_SCHED_CRITMONITOR is selected, then make sure that ITM and DWT resources are enabled before accessing ITM and DWT registers. By default, these registers are disabled. Suggested by Juha Niskanen. 2019-09-13 07:22:00 -06:00
Nathan Hartman
3ca55cc439 boards/arm/tiva/tm4c123g-launchpad/scripts/tm4c123g-launchpad.ld: Add alignments for the TMC4123G-LaunchPad as well. 2019-09-12 10:03:39 -06:00
Gregory Nutt
bbbe9d85c5 Move EXIDX assignments inside of braces so that we can be assure that the symbols have the correct alignment. Suggested by Daniel P. Volpato
Squashed commit of the following:

    Some scripts use TABs, others spaced.  Make usage consistent.
    Move __exidx_end assignment inside of brackets.
    Remove old __exidx_end assignment.
    Move __exidx_start assignment inside of brackets.
    Remove old __exidx_start assignment
2019-09-12 09:57:50 -06:00
Gregory Nutt
94224639ca Fix a few errors introduced into linker scripts by recent commits. 2019-09-12 08:11:27 -06:00
Gregory Nutt
50f9e26d5d Modify all a few more linker scripts missed in 415e3d3448, probably because they were created after 2eb4fe5ffb. 2019-09-11 21:10:51 -06:00
Alan Carvalho de Assis
415e3d3448 Modify all files from 2eb4fe5ffb to use solution from Daniel P. Volpato. 2019-09-11 21:00:41 -06:00
Daniel Pereira Volpato
490d945f3e boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script: Fix .ARM.exidx section overlap with .data 2019-09-11 12:49:37 -06:00
Gregory Nutt
254a906409 libs/libc/builtin/: builtint_isavail() should not set the errno variable because this functions may be used by internal OS logic for which setting the rrno variable would be inappropriate. 2019-09-11 12:37:29 -06:00
Gregory Nutt
d8adf712a2 boards/arm/imx6/sabre-6quad/scripts/Make.defs: Yet another boards/ re-organization fixup. 2019-09-11 11:17:07 -06:00
Gregory Nutt
5a41d7f9b5 boards/: Several more fixes to Make.defs files and README.txt files. More collateral damage from the big boargs/ directory re-organization. 2019-09-11 11:15:56 -06:00
Gregory Nutt
ad0248db44 boards/z80: Correct path to linker script in all boards using the ZDS-II toolchain. Yet more fallout from the big boards/ directory re-organization. 2019-09-11 10:19:16 -06:00
Nathan Hartman
366053e464 Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. 2019-09-11 08:56:56 -06:00
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