Alan C. Assis
edb52cc32c
Doc: Add initial documentation to the simulator
2021-09-06 10:34:57 +08:00
Xiang Xiao
c60002cd74
drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:26:31 -03:00
Xiang Xiao
c1f9d2c2d5
drivers/mmcsd: Handle the failure correctly in mmcsd_slotinitialize
...
1.Return -ENOMEM directly if kmm_malloc return NULL
2.Call nxsem_destroy if the initialization can't succeed
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:24:41 -03:00
Xiang Xiao
7312a553bb
drivers/mmcsd: Change up_udelay to nxsig_usleep if delay >= 1ms
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:22:47 -03:00
Xiang Xiao
76a725cab2
drivers/mmcsd: Change mmsd_ prefix to mmcsd_ prefix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:21:44 -03:00
Juha Niskanen
b70ae9ae82
arch/arm/src/stm32l4/stm32l4_flash.c: fix FLASH_CONFIG_I to use dual-bank access
...
This is currently only used on STM32L4+ devices. Page erase in
flash_erase() function supports only dual-bank mode so it makes little
sense to configure this for unsupported single-bank mode.
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-09-04 14:31:16 +08:00
Sara Souza
26397c6695
xtensa/esp32: Wi-Fi board logic refactoring.
...
This commit removes the initialization of the Wi-Fi partition
from the Wi-Fi board logic and moves it to the SPI Flash board code.
It creates 2 different partition (one for Wi-Fi and one for general
use).
It also allows these partitions to be mounted over several FSs.
2021-09-04 14:30:02 +08:00
Juha Niskanen
508215581f
arch/arm/src/stm32l4: fix STM32L4+ option bytes memory address
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-09-03 09:55:54 -03:00
liucheng5
fdb9576d7a
feature: driver: Add a Linux SPI into simulator.
...
When SIM_SPI is valid, a specified Linux SPI device ‘spidevN.P’(N is bus number and P is CS number) is attached to nuttx simulator, shown as 'spi0' under /dev. One may type spi command (need SPITOOL valid) in NSH to control the Linux SPI and exchange data, other devices such sensors can use it to debug in simulator on a Ubuntu PC. Note that a USB<>SPI module (e.g. CH341A/B) should be plugged in to achieve Linux SPI ports.
Change-Id: I275b2c2bbf6d14bcdf514c89efb9a2264d69e9a3
Signed-off-by: liucheng5 <liucheng5@xiaomi.com>
2021-09-03 18:15:25 +08:00
Alin Jerpelea
7049687e71
LICENSE: BDS License: add AES cypher support
...
Add AES cypher support to the ALLOW_BSD help
This change will increase awareness on which components
are disabled by the ALLOW_BSD menu
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-03 17:38:33 +08:00
Alin Jerpelea
a20d4ac4ec
author: Aleksandr Vyhovanec: update licenses to Apache
...
Aleksandr Vyhovanec has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-03 17:38:33 +08:00
Alin Jerpelea
dda6733178
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
ae3088c501
crypto: add BSD barrier for AES crypto
...
add BSD barrier for AES crypto
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
7f0aefa632
include: nxstyle fixes
...
fixes for nxstyle warnings reported by the nexstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
be9a0debf2
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
9acf4d6f2e
drivers: mtd: add BSD barrier for nand driver
...
add BSD barrier for nand driver
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
110632293c
LICENSE: revert to the original license from Atmel Corporation
...
revert to the original license from Atmel Corporation and add the files to
the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
a9bfe50fe1
author: Brennan Ashton: update licenses to Apache
...
Brennan Ashton has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
abf8a72ef0
LICENSE: add libs/libc/math/ to license file
...
Add Sun Microsystems license for libs/libc/math/__sin.c
and libs/libc/math/__cos.c
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
9389ecc3d6
LICENSE: add libs/libc/machine/arm/armv8-m
...
Add ARM license for libs/libc/machine/arm/armv8-m code
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
4e5a9b168a
libs: libc: armv8-m: revert to original license
...
Revert to the BSD Arm lincese
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
87f173f430
tools: update licenses to Apache
...
Ken Pettit has submitted the ICLA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Xiang Xiao
b05737d78f
arch: Replace ar and nm with gcc-ar and gcc-nm
...
to make enable LTO easily
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-02 10:02:14 -03:00
zhuyanlin
fd9ce0137e
arch:xtensa: add xtensa mpu support
...
Add support for Xtensa Memory Protect Unit.
Change-Id: I27e2f05daae24429ef7513d843b4f217daeefa0d
2021-09-02 09:17:26 -03:00
Alin Jerpelea
9d870e1502
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 09:00:43 -03:00
Alin Jerpelea
2ab9e7fef0
Revert "esp32: remove FS_SPIFFS from defconfigs"
...
This reverts commit 35a004bdd0
.
2021-09-02 09:00:43 -03:00
Alin Jerpelea
cf884b7460
Revert "defconfig: remove NFS from defconfig"
...
This reverts commit ff07cb8b2f
.
2021-09-02 09:00:43 -03:00
zhuyanlin
5c5975d887
makefile: let clean_context
in distclean
command
...
In multi-jobs build, `distclean` may be faster than `clean_context`,
Fix the case `distclean` use the dirctorys that have been
removed by `clean_context` in board/xtensa with xt-xcc
2021-09-02 15:05:33 +08:00
Gustavo Henrique Nihei
8af91aae3d
tools/ci: Omit error message when tool is not found
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-02 14:21:58 +08:00
Gustavo Henrique Nihei
08ae93c1de
tools/ci: Fix issues reported by ShellCheck
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-02 14:21:58 +08:00
zhuyanlin
2ff63388b3
uClibcxx: remove function that conflict with libsupc++
...
The New_/del_ function already contain in libsupc++.
2021-09-02 13:59:10 +08:00
zhuyanlin
ba44da9a32
Revert "libxx:uClibxx:add-weak-function-for-new-del-operations"
...
This reverts commit 40a110b4a8
.
2021-09-02 13:59:10 +08:00
Gustavo Henrique Nihei
13bf6f0fc2
github: Update links to Docker Linux image
...
GitHub's Docker registry has been replaced by the Container registry.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-02 08:46:30 +08:00
Neo Xu
5941532fb5
libc/gettext: Initialize path field when creating mofile struct.
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2021-09-01 14:35:24 -03:00
Gustavo Henrique Nihei
98c30c2f7e
tools/esp32: Rename signed binary image to match clean pattern
...
This is just a workaround for adding the MCUboot signed binary image to
the clean step of the build system. Once the NuttX build system becomes
aware of general signed images, a new naming pattern should be defined
for the signed images to be used by every platform.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
54d436116e
boards/esp32-ethernet-kit: Add config for MCUboot API usage example
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
5bc3586b20
boards/esp32-ethernet-kit: Add config for MCUboot-based FW update agent
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
efbabfad04
boards/esp32-devkitc: Add config for MCUboot API usage example
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
509008cfbe
boards/esp32-devkitc: Add config for MCUboot-based FW update agent
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
c61399cca5
boards/esp32-wrover-kit: Add config for MCUboot API usage example
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Gustavo Henrique Nihei
57bde4ff89
boards/esp32-wrover-kit: Add config for MCUboot-based FW update agent
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 14:13:28 -03:00
Sara Souza
8081228556
xtensa/esp32-s2: Adds support to the timer driver
...
Only one more support for ESP32-S2 chip.
2021-09-01 14:10:01 -03:00
Alan C. Assis
afc0e2f0f4
sim/lvgl: Add CONFIG_INPUT_MOUSE to get GUI working
2021-09-01 13:54:36 -03:00
Gustavo Henrique Nihei
2071aadc0e
sim: Inhibit stack protector on stack coloration function
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 23:11:03 +08:00
Gustavo Henrique Nihei
a6e9be88c4
nuttx: Add function attribute for inhibiting stack protector
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 23:11:03 +08:00
Alin Jerpelea
151f6eab3c
author: Anton D. Kachalov: update licenses to Apache
...
Anton D. Kachalov has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-01 21:02:34 +08:00
Alin Jerpelea
24aa7e6278
author: Matt Poppe: update licenses to Apache
...
Matt Poppe has submitted the ICLA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-01 21:02:34 +08:00
Gustavo Henrique Nihei
c260fee516
libs/libxx: Enforce RTTI for building libcxxabi
...
It is okay for the application to be built without RTTI (-fno-rrti), but
libcxxabi requires RTTI at least for the library.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-01 21:02:17 +08:00
Alan C. Assis
ad83e7bc88
open1788/fb: Fix CONFIG_MQ_MAXMSGSIZE
2021-09-01 11:58:22 +08:00
Alan C. Assis
72973629a7
user/trap: Enforce CONFIG_MQ_MAXMSGSIZE >=64 when NX Server is used
2021-09-01 11:58:22 +08:00