Xiang Xiao
c11cd7f103
libc/pthread: Implement pthread_attr_[set|get]stackaddr
...
https://pubs.opengroup.org/onlinepubs/009696799/functions/pthread_attr_getstackaddr.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 13:53:02 -03:00
Xiang Xiao
36b74bab02
libc/pthread: Implement pthread_rwlockattr API
...
https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlockattr_getpshared.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 13:53:02 -03:00
Xiang Xiao
679544cd32
Documentation: Remove the supported function from the unsupported list
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 13:53:02 -03:00
Stuart Ianna
f49c20d28f
litex: System clock frequency selectable from Kconfig.
2023-01-24 08:20:16 +01:00
Xiang Xiao
e166360e8d
sched: Map both NZERO and PTHREAD_DEFAULT_PRIORITY to SCHED_PRIORITY_DEFAULT
...
to unify the default thread priority
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 08:06:42 +01:00
Xiang Xiao
55565a6099
pthread: Implement pthread_gettid_np
...
which is provided by bionic libc:
https://android.googlesource.com/platform/bionic/+/master/libc/include/pthread.h#172
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 08:05:16 +01:00
Gustavo Henrique Nihei
1b94806b35
boards/esp32: Remove duplicated MCUboot-related defconfigs
...
These are basically the same from the esp32-devkitc board. As the
defconfigs do not make use of any board-specific peripheral, there
is no need to duplicate them in every ESP32 board.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-24 08:44:22 +09:00
Gustavo Henrique Nihei
e77e12e145
espressif: Stabilize MCUboot support on Espressif chips
...
MCUboot support is no longer behind EXPERIMENTAL for the following
chips:
- ESP32
- ESP32-S2
- ESP32-S3
- ESP32-C3
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-24 08:44:22 +09:00
Xiang Xiao
d3525ec637
tools/ci: Enable stm32u5, stm32wb and stm32wl5
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-24 08:40:50 +09:00
Lucas Saavedra Vaz
d3a6de2439
boards/esp32-devkitc: Add coremark config
2023-01-24 06:47:34 +08:00
David Sidrane
15462f3e7a
s32k1xx:serial Do not use TC use TDRE & TIE
2023-01-24 06:47:21 +08:00
raiden00pl
aa7d4b40c1
stm32/foc: move the warning in the right place - should be in stm32f7
2023-01-24 00:44:41 +08:00
Xiang Xiao
27afd0e5e3
mm/mempool: Fix the minor style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-22 23:23:28 +02:00
Alan Carvalho de Assis
7bd7daa659
boards/z80/hc: Remove not needed CONFIG_STDIO_DISABLE_BUFFERING
2023-01-23 03:04:51 +08:00
Alan Carvalho de Assis
eef1c4697e
nucleo-wl55jc: remove duplicated peripheral placed manually
2023-01-23 03:04:51 +08:00
Alan Carvalho de Assis
b730fff6c3
b-u585i-iot02a: Don't need to disable CONFIG_ARCH_LEDS
2023-01-23 03:04:51 +08:00
Alan Carvalho de Assis
f0289577bf
boards: Update all boards config after updating NSH_CMDPARMS
2023-01-23 03:04:51 +08:00
raiden00pl
d7e7990548
boards/b-g431b-esc1: support for BEMF sensing
2023-01-22 12:58:04 -03:00
raiden00pl
bfdb7f8909
stm32f7,stm32/foc: support for BEMF sensing
...
stm32 version tested with b-g431b-esc1
stm32f7 version not tested on HW
2023-01-22 12:58:04 -03:00
raiden00pl
01d84408e6
stm32,stm32f7/adc: add interface to configure multi mode ADC
2023-01-22 12:58:04 -03:00
raiden00pl
f3fde0e9a8
stm32,stm32f7/foc: improve pwm_off
2023-01-22 12:58:04 -03:00
Alan Carvalho de Assis
1c6dd7030f
stm32f4disco: Add support to mount /tmp
2023-01-22 22:54:45 +08:00
raiden00pl
bd6a0b08db
stm32,stm32f7/foc: support for pwm_off()
2023-01-21 12:28:16 +08:00
raiden00pl
30015b862c
drivers/foc: add ioctl interface that turn off all PWM switches
2023-01-21 12:28:16 +08:00
Lucas Saavedra Vaz
39162ebafb
arch/xtensa/esp32: Add support for RTC IRQs
2023-01-21 12:27:35 +08:00
Lucas Saavedra Vaz
454570532e
docs/boards/esp32-devkitc: Fix watchdog example
2023-01-21 12:27:35 +08:00
raiden00pl
91d43edffd
drivers/foc: support for BEMF sensing
2023-01-20 21:26:27 +02:00
Karel Kočí
6d16792d33
limits.h: add PTRDIFF_MAX and PTRDIFF_MIN
...
ptrdiff_t is defined as intptr_t that is defined as _ssize_t in Nuttx.
The real size depends on architecture and the PTR_MAX and PTR_MIN is
specified by it.
2023-01-20 22:33:39 +08:00
Alan Carvalho de Assis
c3a34a5956
fs: Avoid accessing filep fields if it is NULL & add DEBUGASSERTs
2023-01-20 22:31:00 +08:00
Xiang Xiao
125d090b9c
fs: Map madvice to posix_madvice
...
https://man7.org/linux/man-pages/man2/madvise.2.html
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-20 11:38:41 +02:00
Alan Carvalho de Assis
9b187446f4
esp32s2-saola-1: Initialize EFUSE driver
2023-01-20 15:41:13 +08:00
Alan Carvalho de Assis
2bdb7c0e8d
esp32s2: Add support to EFUSE
2023-01-20 15:41:13 +08:00
Alan Carvalho de Assis
1be9d7c57f
esp32s3-devkit: Initialize EFUSE driver
2023-01-20 15:40:46 +08:00
Alan Carvalho de Assis
adc5f52fcf
esp32s3: Add support to EFUSE
2023-01-20 15:40:46 +08:00
Max Kriegleder
57034f483d
esp32: fix lower half oneshot for usage with nxsched_oneshot_start
2023-01-20 15:39:47 +08:00
Jukka Laitinen
e2a7cee5ed
arch/mpfs: Make selection of SBI boot or direct boot run-time configurable
...
Allow bootloader to select run-time whether the payload binary is booted with
SBI or directly by jumping to entrypoint address.
- Use just one bitmask to select sbi or direct boot for each hart
- Add mpfs_set_use_sbi function to allow selecting how to boot
- Initialize the bitmask by default according to the configuration flags
- Add a header file for including the function prototypes in bootloader code
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2023-01-20 00:08:51 +08:00
Xiang Xiao
931677a86e
tools: Add showstack.sh to parse *.su files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 10:35:20 -03:00
Xiang Xiao
fd64e38072
build: Add STACK_USAGE(-fstack-usage) to assist the stack analysis
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 10:35:20 -03:00
Peter Bee
ab059a7ba3
Documentation/p/a/rp2040: add docs for waveshare-rp2040-lcd-1.28
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-01-19 18:52:01 +08:00
Ville Juven
6c2e0b7333
mm/mm_extend: Increase total heap size accordingly
...
When adding more heap memory, the total heap size was not updated. This
results in a crash in mm_mallinfo:
DEBUGASSERT((size_t)info->uordblks + info->fordblks == heap->mm_heapsize);
This commit fixes this issue
2023-01-19 16:41:43 +08:00
Xiang Xiao
82550887c2
c++: Change the default value of CXX_STANDARD from c++17 to gnu++17
...
since many 3rd party code use some gnu c++ extension
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 08:21:48 +01:00
Xiang Xiao
6b1e0ad1c4
tm4c1294-launchpad/Kconfig: Fix warning: defaults for choice values not supported
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 08:21:35 +01:00
Masayuki Ishikawa
138f3faeef
boards: sabre-6quad: Adjust TCP and UDP configurations
...
Summary:
- This commit adjusts TCP and UDP configurations based on
sabre-6quad/configs/netnsh/defconfig
Impact:
- sabre-6quad only
Testing:
- Tested with QEMU-7.1
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-01-19 08:09:33 +01:00
Gustavo Henrique Nihei
11e401c0bc
esp32[c3|s3]: Fix relative path in file header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Gustavo Henrique Nihei
5a25b46b8b
esp32[c3|s3]: Improve documentation of Linker Scripts
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Gustavo Henrique Nihei
2436065096
espressif: Add missing Apache Foundation copyright header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Gustavo Henrique Nihei
ed91c97f93
xtensa/esp32: Remove deprecated CONFIGFILE variable
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Xiang Xiao
530e67ba4b
fs: Define DT_xxx to number directly
...
and map DTYPE_xxx to DT_xxx like other OS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-19 00:52:25 +02:00
Peter Bee
85f57fb50c
boards/arm/rp2040: add waveshare rp2040 lcd 1.28
...
Added board files and sample configs for waveshare-rp2040-lcd-1.28.
https://www.waveshare.com/wiki/RP2040-LCD-1.28
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-01-18 19:31:43 -03:00
Peter Bee
9deeae0dee
boards/arm/rp2040: add gc9a01 drivers
...
Added gc9a01 drivers to rp2040
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-01-18 19:31:43 -03:00