zhuyanlin
8940d85668
libxx:uClibcxx:fix-GCC-specific-definitiion error
...
Use __GNUC__ instead of __GCC__
Change-Id: I285bd099cf973a89e21c5c7825250d1840615f36
2021-08-31 11:23:29 +08:00
Gustavo Henrique Nihei
23effc505c
tools/ci: Install imgtool for CI build
...
This is mainly required for macOS builds which do not rely on a base
Docker image that would contain imgtool already preinstalled.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:58 +08:00
Gustavo Henrique Nihei
bdbbc3e514
tools/ci: Add imgtool to Docker image
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:58 +08:00
Gustavo Henrique Nihei
558b772146
include/threads: Fix pthread_mutexattr_t initialization on mtx_init
...
pthread_attr_init was being erroneously called for initializing an
instance of pthread_mutexattr_t.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00
Gustavo Henrique Nihei
270e9196c6
include/threads: Prevent operator precedence issues
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00
Gustavo Henrique Nihei
b628d92e63
include/threads: Fix incompatible pointer type on call to pthread_join
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:22 +08:00
Alin Jerpelea
da92258333
arch: k210: remove extra license information
...
the Apache license header uses a standard format and the extra information
should be removed.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-31 08:20:18 +09:00
Xiang Xiao
d6c3381ef1
libxx: Remove the unused libxx_stdthrow.cxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 15:57:22 -03:00
Alin Jerpelea
ff07cb8b2f
defconfig: remove NFS from defconfig
...
NFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
35a004bdd0
esp32: remove FS_SPIFFS from defconfigs
...
FS_SPIFFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
f74cbb7774
sim: spiffs: allow BSD components for testing purposes
...
SPIFFS is BSD and we should allow BSD components for testing purposes
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
f48e561abb
LICENSE: add fs/spiffs license
...
Add add fs/spiffs license to the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
a5a120b823
License: BSD: spiffs client file system
...
Add add fs/spiffs license to the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
bad2ea95dd
LICENSE: add fs/nfs license
...
Add add fs/nfs license to the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
bca973ac51
License: BSD: NFS client file system
...
the NFS client file system uses the BSD license and should
be excluded by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Xiang Xiao
ce73f9cbfc
libxx: Move libcxxabi special setting from libcxx.defs to libcxxabi.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 10:44:24 +02:00
Xiang Xiao
397d329966
libxx: Give VERSION make variable prefix to avoid the conflict
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-30 10:44:24 +02:00
zhuyanlin
e01e5f5008
libc:machine: add atomic_load/store/exchange API
...
Add atomic_load/store/exchange API
Change-Id: I6196b077d1e76cd1e0506ee66e2885e541525eb1
2021-08-30 11:10:11 +08:00
daviepeng
60b6199120
fix nxstyle
2021-08-30 02:52:30 +08:00
daviepeng
c7cda607f4
Adds driver for msa301 sensore module
2021-08-30 02:52:30 +08:00
Xiang Xiao
a941c93f72
openamp: Move the download to context target
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-29 20:02:24 +02:00
Alan C. Assis
e89933d02a
esp32/ttgo_lora_esp32: Add support to SSD1306 OLED display
2021-08-29 10:48:35 +08:00
yangjiukui
19beb307dd
sensor: fix the bug that lsm6dsl selftest is invalid in nuttx.
...
Modified the logic of the selftest according to the ST manual.
Signed-off-by: yangjiukui <yangjiukui@xiaomi.com>
Change-Id: Id55139abf173728de4647533b26f7ab5e9a6b1fe
2021-08-28 17:35:10 -03:00
Xiang Xiao
b0c782255c
libxx: Change CXX_LIBSUPCXX to LIBSUPCXX
...
align with other Kconfig(e.g. LIBCXXABI, LIBCXX, UCLIBCXX)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:14:48 -03:00
Xiang Xiao
e3ab1179fa
board: Enable CONFIG_LIBCXXABI when CONFIG_LIBCXX is enabled
...
to avoid link libsupc++.a which is provided by toolchain
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
Xiang Xiao
ceb8bd4bce
libxx: Disable CXX_EXCEPTION by default to save the code space
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1b1fafa95f0e385a615dba78f43858b797c5ce69
2021-08-28 17:13:43 -03:00
Xiang Xiao
bdc86e85d7
libcxx: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
Xiang Xiao
95ff2e16a3
libcxxabi: Avoid the waring: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-28 17:13:43 -03:00
zhuyanlin
9ea7676731
arch:xtensa: rename XCHAL_INT_NLEVELS to XCHAL_NUM_INTLEVELS
...
The name used in Tensilica support file core-isa.h for all vendors is
`XCHAL_NUM_INTLEVELS`.
Use a new name may be confused by newer porting xtensa arch.
Change-Id: Ie108d3fdfcc02c81f0eacfca852a1cfc9eea17de
2021-08-28 21:51:45 +02:00
zhuyanlin
cd18d1f050
arch:riscv: remove arch atomic, use libc atomic when need
...
It is more common for implement in libc/machine
Change-Id: I3da6c3db64adb78c05ddb26d3956817ac6ada93e
2021-08-28 13:17:30 -03:00
zhuyanlin
3da0bb7829
libc:machine: add common atomic operation.
...
Add common atomic operation.
Change-Id: I9f6b891f1406d54871a3f50c217a1029b434d2e8
2021-08-28 13:17:30 -03:00
Gustavo Henrique Nihei
84e9ff085f
drivers/mtd: Fix code alignment for compliance to coding standard
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-28 02:28:03 +08:00
Gustavo Henrique Nihei
f153e42fcb
drivers/mtd: Fix /proc/partitions column alignment on NSH
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-28 02:28:03 +08:00
panran
2568cc1212
nuttx:Correct code comment errors
...
N/A
Signed-off-by: panran <panran@xiaomi.com>
Change-Id: I9c9fa0855ae7851b7268a7ace6b5a86d5562a6b1
2021-08-27 20:21:19 +02:00
zhuyanlin
3c58b01721
stddef: Let `offset` be defined from toolchain
...
Let `offset` could be defined from toolchain,
Which will be usefull for fixed code project.
2021-08-27 08:55:45 -07:00
Xiang Xiao
f0001574ed
arch/armv8-m: Update per the latest architecture reference manual
...
https://developer.arm.com/documentation/ddi0553/latest
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-27 11:39:27 +02:00
ligd
35379403f8
sched/wdog: move SMP enter_critical_section to sched_timerexpiration.c
...
Change-Id: Id654e6d2151e3b807ed2df4ab8169b90ab07b015
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-08-27 16:59:20 +09:00
ligd
9116ed9247
sched/wdog: fix switch_context caused error in wd_start()
...
Thead A: Thread B:
wd_start(wdogX)
wd_cancel
nxsched_cancel_timer --> wd_start(wdogX)
wd_cancel
add wdogX to g_wdactivelist
<--
add wdogX to g_wdactivelist
then, you will find wdogX add twice.
Change-Id: Icbf3b2badff20908e115c9134e2400cdcb32b1e0
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-08-27 16:59:20 +09:00
Abdelatif Guettouche
1385ea7673
arch/esp32: Properly handle GPIO interrupt in SMP.
...
The PRO CPU and APP CPU have different peripherals for GPIO interrupts.
Each CPU needs to allocate an interrupt and attach it to its GPIO
peripheral.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-27 13:24:00 +09:00
Alan C. Assis
5df1a544cf
boards/esp32: Add basic support to TTGO-LoRa-SX1276-ESP32
...
Link to this board's project: https://github.com/LilyGO/TTGO-LORA32
2021-08-26 18:51:15 -03:00
Alan C. Assis
de64a1eee8
doc/esp32: Add instructions to use softap
...
Co-author: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-08-26 20:57:19 +02:00
Alin Jerpelea
a43650648e
risc-V: remove ble defconfigs
...
By default the components with BSD license should be disabled
NOTE:
the BLUETOOTH components was enabled in a non bluetooth config
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
5bc10ba9a6
nrf52832-mdk: remove sdc defconfig
...
By default the Bluetooth configuration is disabled due to BSD license
Please enable the use of BSD licenses and the Bluetooth config
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
c29cc7e241
stm32f4discovery: hciuart: remove hciuart defconfig
...
By default the components with BSD license should be disabled
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
8119e1e8e0
sim: enable BSD components
...
By default the components with BSD license are disabled.
NOTE:
We are making an exception and enable the BSD components for
Simulator build to be able to thest the functionality.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
dc590e6414
tools: cxd56: update licenses to Apache
...
Sony has submitted the SGA and we can update the remaining licenses
to Apache
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Alin Jerpelea
29bfbf8769
License: add Bluetooth LE support to the license guard
...
If ALLOW_BSD_COMPONENTS is not enabled in the license setup,
Bluetooth LE support will be disabled
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
zhuyanlin
528d18ef26
libxx: rename NUTTX_LIBCXX
...
NUTTX_LIBCXX is only basic C++ support, do not support many c++
library function, NUTTX_NOCXXLIB is more suitable.
When NUTTX_NOCXXLIB is select, do not select lower level support.
Change-Id: I158937a4ba02f8fa3c76101acbdfb295d8cd736f
2021-08-26 19:32:24 +08:00
zhuyanlin
f2fe51c22d
libc:libcxx: add support for libcxxabi.
...
libcxxabi is either-or select with glibcxx.
Change-Id: I4fbea19f0648ddc318379dd43bac8406f7c86927
2021-08-26 19:32:24 +08:00
zhuyanlin
7f48d13c47
libc:libxx: add new low level c++ standard library support
...
LLVM libc++abi is a new implementation of low level support for
a standard C++ library.
Change-Id: Ica9c81bd96fd27b169a06e352b0c394d47aed5b6
2021-08-26 19:32:24 +08:00