Commit Graph

349 Commits

Author SHA1 Message Date
simbit18
6ca0f90d43 nuttx/boards /arm/cxd56xx/drivers/sensors/Kconfig: Fix bmp280 texts in Kconfig
Fix SENSORS_BMP280_SCU texts in Kconfig
2023-04-21 11:12:28 +02:00
SPRESENSE
0747ee1ea2 cxd56_power: Fixup code style
Fix code style by checkpatch.sh.
2023-04-19 11:02:23 +02:00
SPRESENSE
97a6fd4d18 cxd56_power: Add lowerhalf interface to keep power when cold sleep
Add board interface to keep power when entering/recover sleep.
Some driver wants to keep power when entering sleep mode.
2023-04-19 11:02:23 +02:00
raiden00pl
17e8163b6e boards/spresense: add rndis composite support 2023-03-24 14:53:45 -03:00
zhanghongyu
16ea80e53b rndis: support iob offload
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-02 02:50:59 +08:00
SPRESENSE
8c7fc2c175 boards: spresense: Add LCD support on LTE board
Add a configuration to use SPI3 on LTE extension board for LCD.
2023-03-01 09:21:19 +01:00
SPRESENSE
1ce5dd948e boards: spresense: Add eMMC initialization into bringup function
Add eMMC initialization into bringup function.
2023-03-01 09:21:19 +01:00
SPRESENSE
9717f48a18 boards: spresense: Support eMMC late initialization
Support eMMC late initialization to initialize eMMC from user application.
2023-03-01 09:21:19 +01:00
SPRESENSE
171f8a731c boards: spresense: Remove duplicate definitions
Remove duplicate definitions are defined in board.h.
2023-03-01 09:21:19 +01:00
SPRESENSE
56d43a4a1d boards: spresense: Add eMMC power-on wait time
Add 10msec wait time before eMMC device is powered on.
2023-03-01 09:21:19 +01:00
SPRESENSE
96da997b23 boards: spresense: Add board function for eMMC finalization
- Un-mount the FAT filesystem for eMMC
- Un-initialize eMMC driver
- Turn off the eMMC device
2023-03-01 09:21:19 +01:00
SPRESENSE
5b3496fb7b boards: spresense: Add configuration for eMMC power control
Update Kconfig to add eMMC power pin selection.
2023-03-01 09:21:19 +01:00
SPRESENSE
b60fbefabe boards: spresense: Support using GPIO for power control
Introduce CHIP_TYPE_GPIO to allow GPIO to be used for power control.
2023-03-01 09:21:19 +01:00
SPRESENSE
4a405ca107 boards: spresense: Remove wrong build condition
Remove wrong build condition and always build cxd56_gpioif.c.
2023-03-01 09:21:19 +01:00
SPRESENSE
e867b84458 boards: cxd56_imageproc: Change alpha blend interface
- Remove unnecessary member
- Some member changed to appropriate type
- Add usage description
2023-02-22 12:48:11 +02:00
SPRESENSE
987ca0c682 boards: cxd56_imageproc: Fix some bugs in imageproc driver
- Fix resize scaling factor setting mistakes
- Fix input vertical size check is not worked
- Fix comment mistakes and style in header file
2023-02-22 12:48:11 +02:00
Xiang Xiao
ee24396d77 drivers/note: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
follow other driver config style

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-20 14:30:59 +08:00
Fotis Panagiotopoulos
f207072121 Improvements in usrsock connections allocation. 2023-02-20 09:06:46 +08:00
SPRESENSE
a8e5dcbfa9 boards/spresense: Enable broadcast flag in DHCP process
In spresense:wifi, renew command will be failed with disabling
broadcast flag.
For spresense defconfig, enabling it.
2023-02-16 20:11:35 +09:00
chao an
74ce3b81d3 build/Kconfig: add BINDIR/APPSBINDIR to support out of tree build
First decoupling changes related to CMAKE

BINDIR/APPSBINDIR:
Output path of Kconfig which dynamically generated by NuttX Kernel/Apps
This option is consistent with the TOPDIR/APPSDIR by default, and will
be changed when out-of-tree compilation is supported

Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:13:04 +08:00
chao an
3a0fdb019d nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems()
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:05:44 +08:00
Xiang Xiao
df102d1f06 Remove OK macro from the code base
let's use OK from sys/types.h instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-02 13:58:16 +01:00
Gustavo Henrique Nihei
e6b204f438 nuttx: Use MIN/MAX definitions from "sys/param.h"
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-02-01 23:47:44 +08:00
Petro Karashchenko
af55d894f9 boards/spresense: remove BOARDIOC_SDCARD_SETNOTIFYCB ioctl
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-26 23:08:28 +08:00
Xiang Xiao
99e89809d7 board: Pass the assertion expression to board_crashdump too
continue the follow work:
commit 43e7b13697
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date:   Sun Jan 22 19:31:32 2023 +0800

    assert: Log the assertion expression in case of fail

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-25 16:00:48 -03:00
Petro Karashchenko
74d5c3948d boards/arm/cxd56xx/spresense: fix card detect status reading
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-13 12:18:36 +08:00
Petro Karashchenko
5f92c62874 boards/cxd56xx/spresense: add fs automount driver for SD Card
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-01-10 10:39:23 +09:00
Xiang Xiao
779a610ca3 Remove the unnecessary NULL fields in global instance definition of file_operations
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-04 00:32:13 +02:00
chao an
813dfe9756 spresense/rndis: set default throttle entries to 24 (2*MTU)
Reserve more throttle entries to avoid data discarded in NIC

Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-06 16:59:02 +09:00
Masayuki Ishikawa
5215eb7e0f boards: cxd56xx: Fix the build error in cxd56_crashdump.c
Summary:
- This commit fixes the build error in cxd56_crashdump.c
  regressed by https://github.com/apache/nuttx/pull/7707

Impact:
- None

Tesing:
- Tested with spresense:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-11-28 08:18:47 +01:00
Xiang Xiao
6d30726a1b Remove the unnecessary "return;" at the end of function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-27 22:23:50 +01:00
Xiang Xiao
39338ce96c boards: Refresh ursock related config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-22 20:45:26 +09:00
chao an
52235b468b spresense/wifi: icmp/arp message should talk to GS2200M through usrsock
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 03:11:26 +08:00
chao an
422272044b boards/iperf: device name will vary across different NICs
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 19:44:32 +08:00
anjiahao
a4563b8744 Fix the coding style and typo issue
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-14 09:34:04 +09:00
anjiahao
d07792a343 Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-14 09:34:04 +09:00
Xiang Xiao
4e43fef5cd boards: Update telnetd related config after apps/nshlib change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 15:24:29 +09:00
SPRESENSE
77528fbeb9 boards/cxd56xx/spresense: Add CXD56_LTE_LATE_INITIALIZE config
This CXD56_LTE_LATE_INITIALIZE enables to initialize alt1250 lte
driver in the application side code.
2022-11-01 09:20:34 +08:00
SPRESENSE
76e411eca0 boards: cxd56xx: Add CXD56_CAMERA_LATE_INITIALIZE config
This CXD56_CAMERA_LATE_INITIALIZE enables to initialize camera device
drivers in the application side code.
2022-11-01 09:20:34 +08:00
SPRESENSE
9a8576911f boards: cxd56xx: Fix power-off time of video driver
Add a power-off time for image sensor by the device specification.
2022-11-01 09:20:34 +08:00
Xiang Xiao
e46bdeca1d Fix Error: board/cxd56_leds.c:43:20: error: unused function 'led_clrbits' [-Werror,-Wunused-function]
static inline void led_clrbits(unsigned int clrbits)
                   ^
Error: board/cxd56_leds.c:66:20: error: unused function 'led_setbits' [-Werror,-Wunused-function]
static inline void led_setbits(unsigned int setbits)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01:00
Xiang Xiao
2e3473c9d6 Fix src/cxd56_ili9340.c:276:22: error: cast to smaller integer type 'uint16_t' (aka 'unsigned short') from 'uint8_t *' (aka 'unsigned char *') [-Werror,-Wpointer-to-int-cast]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01:00
Xiang Xiao
d8babf8dfd Fix board/cxd56_sdcard.c:128:11: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01:00
yinshengkai
f018a9cb54 Makefile: Remove INCDIROPT
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.

See git commit # 5eae32577e in the main
2022-10-25 12:05:38 +02:00
Alin Jerpelea
42a0f444ee boards: spresense: enable lte modem
Enable and configure ALT1250 LTE modem

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-25 03:25:20 +08:00
SPRESENSE
00d1a7db29 boards: cxd56xx: Update imageproc driver
Fix raster operation bug in non-scaling case, and change the type
of return value to int with error code for some functions.
2022-10-24 22:54:46 +08:00
anjiahao
5724c6b2e4 sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
Alin Jerpelea
06c8e43df9 drivers: modem: update altair modem
update Altair modem with the ALT1250 implementation

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-22 09:00:32 +08:00
SPRESENSE
62c98d4187 boards: cxd56xx: Remove unnecessary i2c uninitialize process
Remove unnecessary i2c uninitialize process to fix an issue that
i2c tool does not work well.
2022-10-20 21:49:07 +02:00
Xiang Xiao
edd68d8ae9 board: Change CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB
follow the apps side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 22:18:51 +02:00