Xiang Xiao
7990f90915
Indent the define statement by two spaces
...
follow the code style convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-21 09:52:08 -03: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
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
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
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
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
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
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
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
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
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
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
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
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
anjiahao
d1d46335df
Replace nxsem API when used as a lock with nxmutex API
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-17 15:59:46 +09:00
Xiang Xiao
2a574427c6
boards: Remove CONFIG_NETDEVICES=y from board defconfig
...
since it's enabled by default now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-01 19:12:15 +02:00
Takayoshi Koizumi
ea5ba0113e
spresense/configs: Add fmsynth defconfig
...
Add a defconfig for using fmsynth audio utility library.
2022-08-26 11:12:15 +09:00
SPRESENSE
2b4c7290c4
boards: spresense: Reduce power consumption with LTE board
...
The SPI2_CS_X and SPI2_SCK pins are used for connection to the LTE modem.
These pins are the special pins for the host interface that are set
automatically by latching the SYSTEM0/1 pins. So, it causes a problem
with increased current consumption when the modem is in power off state.
To prevent it, set these pins to GPIO HiZ during board initialization.
2022-08-03 08:31:48 +02:00
Masayuki Ishikawa
d35b39b25a
boards: spresense: Enable to test C++ static object in ELF
...
Summary:
- This commit enables to test C++ static object in ELF (hello++3)
Impact:
- elf defconfig only
Testing:
- Tested with spresense
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-22 21:38:17 +08:00
Alin Jerpelea
3366f1fb35
boards: spresense: defconfig: enable ISX019 camera driver
...
Enable the second camera driver for Spresense board
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-05-31 19:52:33 +08:00
Alin Jerpelea
72f399e052
drivers: video: add isx019 camera sensor
...
The driver is provided by Spresense SDK
ISX019 has the DOL-HDR feature, which combines images with different exposure so that
both bright and dark data of high-contrast subject can be viewed at the same time.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-05-31 19:52:33 +08:00
SPRESENSE
a25ac08774
boards: cxd56xx: Change pin initialization timing for camera
...
Change pin initialization timing for camera from board power on to camera device
power on for the following purposes.
- avoid unnecessary power consumption
- Make the corresponding pins available for other uses when camera is not in use
2022-05-30 20:38:47 +03:00
Xiang Xiao
1f920e55d3
Move warning option from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 15:40:35 +03:00
Xiang Xiao
cd001725b7
arch/arm: Remove FAR and CODE from board folder(1)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-03 16:50:52 +03:00
Xiang Xiao
aeb9c5d822
boards: Move -fno-strict-aliasing from Make.defs to Toolchain.defs
...
and migrate MAXOPTIMIZATION into ARCHOPTIMIZATION
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-01 11:36:41 +03:00
Xiang Xiao
b12c0a1e31
boards: Remove -std=c++1x from Make.defs
...
let the implementation of standard library choice what they want
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-29 21:08:14 -03:00
Xiang Xiao
8f8ee25a9c
boards: Move -g from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 16:23:03 +03:00
Xiang Xiao
75326e563d
boards: Move -fno-common from Make.defs to Toolchain.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-25 07:57:29 +03:00