Alin Jerpelea
c0b0cc9d46
boards: renesas: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
543302d04f
boards: or1k: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
f082b813c8
boards: misoc: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
e8c8286f78
boards: mips: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
bfdeccff4d
boards: hc: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Alin Jerpelea
586f458a46
boards: avr: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-17 08:40:08 -07:00
Jiuzhu Dong
e96c8b9283
fs: allocate file/socket dynamically
...
Change-Id: I8aea63eaf0275f47f21fc8d5482b51ffecd5c906
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Jiuzhu Dong
59eb4fa8d6
fs: delete NFILE_DESCRIPTORS for allocating dynamically
...
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Jiuzhu Dong
cf61df9c5f
fs/aio: unify socket into fs operate
...
Change-Id: I3aa88a47d88feaa7fd156caea9e0425b20554eee
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
SPRESENSE
2f29521dd1
cxd56_cpu1signal: Fix an issue that gnss does not work
...
Because a thread of gnss receiver is created by pthread in the
AppBringUp task, the thread would be killed when AppBringUp
task exits.
Change to use kthread_create instead of pthread_create to prevent
this issue.
2021-03-17 06:36:33 -07:00
SPRESENSE
d5f66e5583
stdio/lib_clearerr: Did not clear stream buffer flags in clearerr
...
Stream buffer flags has a dependency with allocated buffer,
and it cannot clear without buffer operation.
Change clearerr to keep buffer flags to prevent unexpected
buffer operation.
2021-03-17 03:15:17 -07:00
SPRESENSE
f7047d8ea3
cxd56_gnss: Add missing include header for cxd56_gnss.c
...
cxd56_gnss.c uses file descriptor operation from next change.
0536953
Kernel module should prefer functions with nx/kmm prefix
But this change need to add fcntl.h in include header.
So, add missing header.
2021-03-17 03:11:54 -07:00
YAMAMOTO Takashi
3c0c8e5c1f
boards/z80/ez80/z20x/src/ez80_w25.c: CONFIG_BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
4494a2a501
boards/arm/samv7/samv71-xult/src/sam_bringup.c: CONFIG_BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
dd86f7d461
boards/arm/samv7/same70-xplained/src/sam_bringup.c: CONFIG_BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
ed10984e06
boards/arm/sama5/sama5d4-ek/src/sam_at25.c: CONFIG_BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
19edcab554
boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c: CONFIG_BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
ed305ccc64
drivers/bch/bchlib_cache.c: Fix build with CONFIG_BCH_ENCRYPTION
...
It seems no one has built this since 2014.
I only build-tested this with esp32-devkitc:wapi +
CONFIG_BCH_ENCRYPTION + CONFIG_ESP32_AES_ACCELERATOR.
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
9bd10898d2
arch/arm/src/lc823450: Make LC823450_IPL2 select BCH
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
5652de3fdf
fs: try blockproxy only if BCH is enabled
2021-03-17 01:25:16 -07:00
YAMAMOTO Takashi
39b3998149
bch: Enable with CONFIG_BCH, instead of !CONFIG_DISABLE_MOUNTPOINT
...
BCH can be used without mount points.
Mount points can be used without BCH.
They are independent each other.
2021-03-17 01:25:16 -07:00
Peter van der Perk
4dd457854d
[FlexCAN] Correct reset state for CTRL1 register
2021-03-16 19:50:58 -07:00
Masayuki Ishikawa
7758f3dcb1
sched: semaphore: Remove a redundant critical section in nxsem_tickwait()
...
Summary:
- This commit removes a redundant critical section in nxsem_tickkwait()
Impact:
- None
Testing:
- Tested with ping with the following configs
- spresense:rndis, spresense:rndis_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-16 19:50:18 -07:00
Masayuki Ishikawa
65dec5d10a
sched: semaphore: Remove a redundant critical section in nxsem_clockwait()
...
Summary:
- This commit removes a redundant critical section in nxsem_clockwait()
Impact:
- None
Testing:
- Tested with ostest with the following configurations
- maix-bit:smp (QEMU), sim:smp, esp32-devkitc:smp (QEMU)
- sabre-6quad:smp (QEMU), spresense:smp
- maix-bit:nsh (QEMU), sim:ostest, esp32-devkitc:ostest (QEMU)
- sabre-6quad:nsh (QEMU), spresense:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-16 19:50:18 -07:00
Gustavo Henrique Nihei
a93d538f3b
boards/esp32c3-devkit: Use nx_mount to avoid overriding errno
2021-03-16 19:49:21 -07:00
Gustavo L F Walbon
f616c72ee2
lpc17xx_40xx/mbed : refresh defconfig
...
The toolchain used was the buildroot instead of the current the GNU as
default.
Signed-off-by: Gustavo L F Walbon <gustavowalbon@gmail.com>
2021-03-16 19:40:24 -07:00
Nathan Hartman
f165270a80
arch/stm32l4: Fix nxstyle errors
...
arch/arm/include/stm32l4/chip.h:
arch/arm/include/stm32l4/irq.h:
arch/arm/include/stm32l4/stm32l4x5xx_irq.h:
arch/arm/include/stm32l4/stm32l4x6xx_irq.h:
* Fix nxstyle errors.
2021-03-16 19:38:30 -07:00
Michael Jung
b3ab373f3a
stm32l5: Fix findings with latest nxstyle
...
Fix some incorrect relative file paths in ASF headers found with the
latest version of nxstyle.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
fb14125320
stm32l5: Coding style fixes
...
Put blanks around the '+' in register address definitions.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
3581289661
stm32l5: Put a timeout on waiting for LSE
...
Do not run into an infinite loop if the LSE does not start up.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
c031e4d2ee
stm32l562xx_pinmap.h: Coding style fix
...
Remove spaces around binary-or operators in GPIO defines everywhere to
get a consistent coding style.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
8e14cb6065
stm32l5: Remove drive strengths from GPIO defines
...
As proposed by David Sidrane. Required drive strength is board specific
and should be defined in the respective board.h file.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
78a69a89d8
stm32l5: Remove unused CACHE_LINESIZE defines
...
Cortex-M33 does neither have an I- nor a D-Cache. Both defines are not
used across the stm32l5 architecture code. Thus, just remove them.
_Originally posted by @acassis in https://github.com/apache/incubator-nuttx/pull/2974#discussion_r588224862_
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
33892dcc54
armv8-m/arm_svcall.c: Fix compiler warning
...
regs[REG_R0] is uint32_t type, but '%d' expects int type.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
9b679a7860
stm32l562e-dk: Board Support
...
Support for the STMicroelectronics STM32L562E-DK development board. This
is a proof-of-concept port that demonstrates running NuttX as the
Non-Secure TrustZone domain companion to TrustedFirmware-M.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
70c9d38437
nucleo-l552ze: Board Support
...
Support for the STMicroelectronics NUCLEO-L552ZE-Q development board.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Michael Jung
f3a5675cc4
stm32l5: Architecture Support for STM32L5
...
Architecture support for STMicroelectronics STM32L552xx and STM32L562xx
MCUs. This is based on corresponding code for STM32L4, but has been
considerably adjusted. Tested with Nucleo-L552ZE-Q and STM32L562E-DK
boards with simple NSH configurations.
Signed-off-by: Michael Jung <mijung@gmx.net>
2021-03-16 12:04:00 -07:00
Byron Ellacott
c9db653c8d
symtabs: improve handling of symbol lookups
...
When CONFIG_SYMTAB_ORDEREDBYNAME is selected most code will use
the ordered search function. When it is not selected no code will
use the ordered search function. This change merges the two
functions and varies its behaviour based on the config setting,
such that all callers can simply call the one search function
and get the best behaviour.
An additional configuration option allows leading underscores to
be stripped from symbols being relocated in loaded objects. This
allows toolchains which prefix C symbol with underscores to make
loadable ELF objects.
2021-03-16 10:18:17 -07:00
Gustavo Henrique Nihei
c80cdf06c2
fs/mmap: Return EACCES for incompatible file descriptors
2021-03-16 10:17:07 -07:00
hotislandn
fb7a5b86ca
arch:rv64:c906:demo protect build without PMP.
...
Signed-off-by: hotislandn <hotislandn@hotmail.com>
2021-03-16 11:43:10 -03:00
Dong Heng
458caf2732
riscv/esp32c3: Add ESP32-C3 WLAN netcard driver
2021-03-16 10:42:32 -03:00
Dong Heng
b2f5031e96
xtensa/esp32: Refactor ESP32 WiFi driver to support station and softAP coexistence
2021-03-16 10:20:59 -03:00
Yuichi Nakamura
5699dd86eb
boards/raspberrypi-pico: Pico Display Pack (ST7789 LCD) support
2021-03-16 06:35:04 -03:00
Yuichi Nakamura
aa718dcbac
lcd/st7789: X/Y offset and screen orientation support
2021-03-16 06:35:04 -03:00
YAMAMOTO Takashi
f8d56b9da2
iob_trimhead.c: Fix a comment typo
2021-03-16 02:07:34 -07:00
YAMAMOTO Takashi
6b9d2fef00
mm/iob/Kconfig: Fix a typo (other other -> other)
2021-03-16 02:07:34 -07:00
Abdelatif Guettouche
28160823b6
arch/xtensa/esp32: ~6KB of memory at address 0x3ffae6f0 is not used by
...
the ROM bootloader, add that to the heap as well.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
8389e83742
esp32/memory_layout.h: Update the layout taking under consideration the
...
changes to the heap regions and to the internal heap.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
9cfc30fa85
memory_layout.h: Fix the start of region2 when a QEMU image generation
...
is enabled.
That region is technically part of the PRO CPU and we should be able to
allocate it early. However, QEMU uses a slightly different bootloader
image that uses the same part for both CPU. So, when APP CPU starts
during the SMP bring up it will corrupt some data.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
7fbc350589
xtensa/esp32: Warn about unused memory regions.
...
In case CONFIG_MM_REGIONS doesn't include all the available memory
regions the user will have a warning to increase it.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00