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
Abdelatif Guettouche
5c7d041b91
arch/xtensa/esp32: In SMP case move the internal memory to region 3.
...
Region 2 is only 15KB in SMP, so we don't have enough memory to play
with.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
cba44928d2
arch/xtensa/esp32: Part of the ROM regions in middle of DRAM are not
...
used, retrieve them as heap.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Abdelatif Guettouche
a68a39c785
xtensa/esp32: Move internal heap to the beginning of region 2.
...
Internal heap was occupying the region straight after .data up to
HEAP_REGION1. The issue with this is if static allocation is large,
we'll end up with too little memory left for the internal heap.
Moving it to the beginning of region 2 gives us more room to play with.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-16 16:22:08 +09:00
Gustavo Henrique Nihei
ecb9e03a7f
fs/mmap: Update mmap documentation of possible return values
2021-03-15 20:02:52 -07:00
Gustavo Henrique Nihei
00d9f81919
fs/mmap: Clarify MAP_PRIVATE dependency on CONFIG_FS_RAMMAP
2021-03-15 20:02:52 -07:00
Gustavo Henrique Nihei
4cde8dab5a
boards/esp32-wrover-kit: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
31816d2726
boards/esp32-ethernet-kit: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
Gustavo Henrique Nihei
a3f6a5fbb6
boards/esp32-devkitc: Mount tmpfs on bring up
2021-03-15 19:59:49 -07:00
raiden00pl
8cf752db55
nucleo-f446re: refactor bringup logic for consistency with other boards
2021-03-15 09:12:29 -07:00
raiden00pl
16a0b8ab94
nucleo-f446re: move clock configuration to board.h for consistency with other boards
2021-03-15 09:12:29 -07:00
raiden00pl
dab6140082
nucleo-f302r8: refactor bringup logic for consistency with other boards
2021-03-15 09:12:29 -07:00
Nathan Hartman
13816de7ac
arch/stm32f7: Fix nxstyle errors
...
arch/arm/include/stm32f7/chip.h:
arch/arm/include/stm32f7/irq.h:
arch/arm/include/stm32f7/stm32f72xx73xx_irq.h:
arch/arm/include/stm32f7/stm32f74xx75xx_irq.h:
arch/arm/include/stm32f7/stm32f76xx77xx_irq.h:
* Fix nxstyle errors.
2021-03-15 17:01:31 +01:00
YAMAMOTO Takashi
45098769e7
tcp_sendfile.c: Remove an unused copy of CONFIG_NET_TCP_SPLIT_SIZE
2021-03-15 04:52:58 -07:00
Masayuki Ishikawa
d6badc32b3
boards: sam4cmp-db: Fix style warnings in sam4cmp-db.h
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Masayuki Ishikawa
2b1b0a188d
boards: arm: Author Masayuki Ishikawa: Update license to Apache
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Masayuki Ishikawa
73786e71ff
arch: sam34: Author Masayuki Ishikawa: Update license to Apache
...
Signed-off-by: Masayuki Ishikawa <asayuki.Ishikawa@jp.sony.com>
2021-03-14 22:23:05 -07:00
Yuichi Nakamura
40fe666d3f
arm/rp2040: Fix SPI halfword DMA transfer
2021-03-14 22:21:22 -07:00
YAMAMOTO Takashi
87d5a39f68
find_blockdriver: Don't ferr() on MTDs
...
It's the normal path when you open a MTD. ferr() is too strong.
2021-03-14 22:14:56 -07:00
Alan C. Assis
a06aa8e512
lcd/backpack: Enable backlight if CONFIG_SLCD_CONSOLE
2021-03-14 20:14:40 -07:00
Alan C. Assis
837fa3c0ac
stm32f4discovery: Add support to LCD1602
2021-03-14 20:14:40 -07:00
Alan C. Assis
0fb2059fd9
stm32/common: Common LCD1602 based on PCF8574 Backpack
2021-03-14 20:14:40 -07:00
Alan C. Assis
43bce6d9b0
stm32f4discovery: Add support to LCD ST7789
2021-03-14 20:05:33 -07:00
Alan C. Assis
ffc43c2d31
lcd/st7789: Make X/Y Resolution configurable
2021-03-14 20:05:33 -07:00
Sara Souza
4ca0c6e3c8
xtensa/esp32: timer driver refactor
2021-03-14 20:22:36 -03:00
Michal Lenc
d889350822
boards/arm/stm32/nucleo-f446re: added support for CAN driver
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-03-14 20:18:27 -03:00
Abdelatif Guettouche
65a7ecec09
arch/risc-v: Remove a declaration of "up_boot" function that was never used.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-13 19:07:02 -03:00
Abdelatif Guettouche
ea0dc8c1d2
arch/risc-v: up_allocate_heap is already declared in nuttx/arch.h
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-13 19:07:02 -03:00
Abdelatif Guettouche
44ada05549
arch/risc-v: Internal functions should be prefixed with riscv_ not up_
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-13 19:07:02 -03:00
buyuer
3b23f3f0b8
vfs/epoll: Fix one bug of EPOLL_CTL_DEL.
...
N/A
Signed-off-by: buyuer <dingddding@163.com>
2021-03-13 10:55:41 -08:00
buyuer
c0f9c7b48c
vfs: Fix epoll cannot work under 64-bit operating system
...
by switching to the real file handle
Signed-off-by: buyuer <dingddding@163.com>
2021-03-13 10:55:41 -08:00
Alin Jerpelea
d66d881b87
nxstyle fixes
...
nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
Alin Jerpelea
5e6d58dd03
drivers: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the 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-13 05:56:43 -08:00
Alin Jerpelea
ce28c6c06c
libs: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
Alin Jerpelea
d72081df78
boards: Makefile: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the 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-13 05:56:43 -08:00
Alin Jerpelea
f7c11c92c3
arch: Makefile: Alan Carvalho de Assis: update licenses to Apache
...
Alan Carvalho de Assis has submitted the SGA and we can migrate the 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-13 05:56:43 -08:00