dulibo1
e508e5c313
regulator: regulator_get input param add FAR
...
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2023-08-29 02:59:59 +08:00
dulibo1
127bd81674
regulator:check id conflict when register
...
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2023-08-29 02:59:59 +08:00
SPRESENSE
57d9083844
assert: Fix the printing alignment of interrupt stack during assert
...
Fix the printing alignment of interrupt stack during assert.
2023-08-29 02:59:38 +08:00
Alan Carvalho de Assis
610a06cf7c
stm32f7/stm32f769i-disco: Add common board support
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
51983159af
stm32f7/stm32f746-ws: Add common board support
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
04286eb191
stm32f7/stm32f746g-disco: Add common board support
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
4dcceb00cb
stm32f7/steval-eth001v1: Add common board support
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
0aeb17b973
stm32f7/nucleo-144: Add common board support
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
7f62e315c6
bh1750fvi: Fix compilation error
...
Error: sensors/bh1750fvi.c:73:16: error: unused function 'bh1750fvi_open' [-Werror,-Wunused-function]
static int bh1750fvi_open(FAR struct file *filep);
^
Error: sensors/bh1750fvi.c:74:16: error: unused function 'bh1750fvi_close' [-Werror,-Wunused-function]
static int bh1750fvi_close(FAR struct file *filep);
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
b41f526fa6
stm32f7: Add support to ProjectLab base board
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
69a0c28557
stm32f777zit6-meadow: Fix I2C1 pinout
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
3d45cf8bfc
stm32f7/common: Add support to BMI270 sensor
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
e40fae408c
stm32f7/common: Add light sensor BH1750
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
fd10727f13
stm32f777zit6-meadow: Modify to support common board drivers
2023-08-28 21:03:19 +03:00
Alan Carvalho de Assis
0e914506da
boards/stm32f7: Add Common Board Drivers support
2023-08-28 21:03:19 +03:00
yinshengkai
02d0762c6e
driver/note: fix trace dump: dump failed
...
Exceeding the length limit may cause an error when using sched_note_printf
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-29 00:09:10 +08:00
Michal Lenc
03e5c0217b
samv7: allow usage of QSPI in SPI mode for all MCUs
...
Current implementation of QSPI in SPI mode was available only for MCUs
that do not have standard SPI at all. MCUs with both QSPI and SPI can
however also use QSPI in SPI mode and thus have one more SPI bus. This
commit adds required defines and config options to support QSPI in SPI
mode for all SAMv7 MCUs.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-08-28 17:39:51 +03:00
chao an
518dcbdaad
sim/internal: add typedef pid_t to enhance sim compatibility
...
enhance sim compatibility on windows
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-28 17:12:45 +03:00
chao an
3a9088c144
libs/alloca: add alloca implement for MSVC
...
Reference:
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/alloca?view=msvc-170
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-28 11:10:08 -03:00
Ville Juven
01cc1687b3
mpfs/mpfs_i2c.c: Replace 1 second timeout with Time-on-Air based timeout
...
Calculate how long an I2C transation will take in microseconds, and use
this as the timeout for mpfs_i2c_sem_waitdone.
The reason for doing this is not to keep an i2c bus reserved for the full
1 second timeout, if e.g. a sensor is not on the bus / is faulty and
non-responsive. Reading the other sensors will be blocked for a relatively
long time (1 second) in this case. This fixes such behavior.
2023-08-28 21:16:23 +08:00
Xiang Xiao
47faeeb360
tls: Move task_tls_alloc and task_tls_destruct to libc
...
so task_tls_destruct can be called from usrspace, which is required by:
https://github.com/apache/nuttx/pull/10288
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-28 11:02:18 +03:00
Xiang Xiao
cb8df39207
binfmt/elf: Fix the minor style issue
...
and remove the unused macros and unnecessary cast
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-27 18:46:40 -03:00
makejian
98bb66998b
spresense/lte: use mbedtls version configured
...
Signed-off-by: makejian <makejian@xiaomi.com>
2023-08-28 01:48:47 +08:00
Xin Xu
e152391022
Apply suggestions from code review
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-27 21:41:53 +08:00
xuxin19
27c0e12d25
cmake:support newlib cmake build
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-27 21:41:53 +08:00
raiden00pl
af4a065efb
nrf52840-dk: add lsm9ds1 sensor support
2023-08-27 10:05:05 +08:00
raiden00pl
8665acaffa
lsm9ds1.c: fix printf warnings
2023-08-27 10:05:05 +08:00
raiden00pl
7109fd6121
sensors/Kconfig: fix wrong depends on SN_XXX
2023-08-26 20:00:12 +08:00
liaoao
3da7775543
libfdt: modify makefile
...
update LIBFDT to LIBC_FDT
update CONFIG_LIBFDT_DTC_VERSION to CONFIG_LIBC_FDT_DTC_VERSION
move dtc source code to fdt/dtc
move version_gen.h from apps/system/fdt to current dir
Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-08-26 17:07:02 +08:00
xuxin19
5dd4af19f2
cmake:export_header support origin link and export install
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-26 17:01:59 +08:00
Alexis Christoforides
033f265e53
Meadow.OS source code migration - Part 1 - Take 2
...
This patch starts to implement the ability to build Meadow.OS for the Meadow F7 board with the NuttX mainline. It will be followed by more patches, progressively enabling full Meadow.OS functionality. This configuration is a work in progress.
The Meadow.OS source code is needed to build this configuration. Meadow.OS is being open-sourced under the Apache 2.0 license. A prototype of the source code release and integration with NuttX is at https://github.com/WildernessLabs/Meadow.OS/tree/prototype
This is the second revision of this patch, as the first one (https://github.com/apache/nuttx/pull/9997 ) was causing build issues on NuttX CI and was reverted.
This should only impact the Meadow F7 board configurations.
No testing to be done, as the configuration is under development.
2023-08-26 08:49:17 +02:00
raiden00pl
81a9a2e5e0
boards/stm32h7: normalize configurations
2023-08-26 03:35:32 +08:00
raiden00pl
5407dfccc3
boards: disable CM4 for stm32h745i-disco and stm32h747i-disco
2023-08-26 03:35:32 +08:00
raiden00pl
03b058dddc
boards/stm32h7: add nucleo-h745zi
2023-08-26 03:35:32 +08:00
raiden00pl
2fffd7dad6
arch/stm32h7: add RPTUN support
2023-08-26 03:35:32 +08:00
raiden00pl
a6c25f657d
arch/stm32h7: add CM4 core support
2023-08-26 03:35:32 +08:00
raiden00pl
86134461f3
arch/stm32h7: use STM32_CPUCLK_FREQUENCY to initialize perf
2023-08-26 03:35:32 +08:00
raiden00pl
4c358419f0
arch/stm32h7: add an option to bypass clock configuration
2023-08-26 03:35:32 +08:00
raiden00pl
5ddded5561
arch/stm32h7/rcc: default value for BOARD_FLASH_PROGDELAY
2023-08-26 03:35:32 +08:00
raiden00pl
4c9d405a97
arch/stm32h7: add HSEM support
2023-08-26 03:35:32 +08:00
Xiang Xiao
a967da5270
arch/riscv: Move -mcmodel=medany from Make.defs to Toolchain.defs
...
to avoid the code duplication
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-25 21:22:47 +03:00
Xiang Xiao
940a68d6a4
boards/riscv: Add -melf64lriscv to 64bit USER_LDFLAGS/LDELFFLAGS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-25 21:22:47 +03:00
zhanghongyu
32b1af3008
tcp_send_buffered: change Not connected message level from error to warning
...
Non-blocking sockets are almost never in the connected state when app try to
get result of connect success through poll, to avoid confusion because of
this error print, so downgrade the print level to warning.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-08-25 20:38:59 +03:00
wanggang26
3dbface167
Revert commit 35602cc2ef
...
Reason for revert: when block device enable bch proxy, fsync calling would be failed
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2023-08-25 20:37:38 +03:00
chao an
563125fde3
make/archive: Use the full path name when matching or storing names in the archive
...
This pr will avoid targets with the same name can not be archive in the same library
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-26 01:21:10 +08:00
SPRESENSE
6d44c42707
arch/arm/src/cxd56xx: Fix file path on top comment
...
Fix file path described in top comment for each files.
2023-08-26 01:20:32 +08:00
SPRESENSE
f7400a857d
drivers/audio/cxd56: Move cxd56 sources into arch/cxd56xx
...
CXD56 audio functions are inside of the CXD56.
So implementation of it should be under arch directory.
2023-08-26 01:20:32 +08:00
raiden00pl
c795e06e01
Documentation: various improvements for stm32xx documentation
2023-08-26 01:20:00 +08:00
simbit18
612b8320bb
Documentation/quickstart/install.rst: update fix incorrect version
...
10.1.0 -> 12.2.1
2023-08-26 00:46:56 +08:00
ligd
b743d62703
syslog: remove unsed check
...
To simplify the code
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-08-25 17:31:31 +08:00