Masayuki Ishikawa
c3ace7a999
boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY=y to rndis_smp and wifi_smp
...
Summary:
- This commit adds CONFIG_ARCH_LEDS_CPU_ACTIVITY=y to rndis_smp and wifi_smp
Impact:
- spresense:rndis_smp and spresense:wifi_smp configurations
Testing:
- Tested with smp and ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Masayuki Ishikawa
06a81db203
boards: spresense: Update rndis_smp/defconfig
...
Summary:
- This commit updates rndis_smp/defconfig
- Adjust stack size to avoid hardfault
- Remove CONFIG_NET_TCP_WRITE_BUFFERS temporarily to avoid
unstable behaviors with nxplayer + telnet
Impact:
- spresense:rndis_smp only
Testing:
- Tested with nxplayer, telnet
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-10 14:14:52 +08:00
Masayuki Ishikawa
a11764525d
boards: spresense: Update rndis_smp/defconfig
...
Summary:
- This commit adds following parameters to rndis_smp/defconfig
- CONFIG_LIB_SENDFILE_BUFSIZE=1024
- CONFIG_MEMCPY_VIK=y
- CONFIG_MEMSET_64BIT=y
- CONFIG_MEMSET_OPTSPEED=y
- CONFIG_MQ_MAXMSGSIZE=64
Impact:
- rndis_smp only
Testing:
- Tested with nxplayer
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 19:51:12 -08:00
Masayuki Ishikawa
ad2e85433a
boards, include, sched: Remove CONFIG_SPINLOCK_IRQ
...
Summary:
- This commit removes CONFIG_SPINLOCK_IRQ to avoid complexity
Impact:
- None
Testing:
- Tested with the following configs
- spresense:wifi, spresense:smp
- esp32-devkitc:smp (QEMU), sabre-6quad:smp (QEMU)
- maix-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi
2021-02-05 22:50:04 -08:00
Masayuki Ishikawa
8706db6f48
boards: spresene: Add iperf to rndis and rndis_smp defcofigs
...
Summary:
- This commit adds iperf to rndis and rndis_smp defcofigs
Impact:
- rndis and rndis_smp
Testing:
- Tested with iperf
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-31 21:43:54 -08:00
Masayuki Ishikawa
7be1739b41
boards: spresense: Add graphics demos to wifi and wifi_smp
...
Summary:
- This commit enables LCD for spresense and adds graphics demos
Impact:
- Affects wifi and wifi_smp configurations
Testing:
- Tested with nx, nxdemo, nxhello and nxlines
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-12 09:37:29 +02:00
Masayuki Ishikawa
b592228cea
boards: spresense: Add CONFIG_ARCH_INTERRUPTSTACK=2048 to wifi and wifi_smp
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-12 09:37:29 +02:00
Masayuki Ishikawa
8d1dc11a36
boards: spresense: Add CONFIG_USERMAIN_STACKSIZE=3072 to wifi/defconfig
...
Summary:
- I noticed that stack for the init task was filled almost 100%
- This commit fixes this issue
Impact:
- Affects spresense:wifi configuration only
Testing:
- Tested with renew/mount/wget/nxplayer commands
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-01 08:45:48 +02:00
Masayuki Ishikawa
6696d72494
boards: spresense: Adjust parameters for wifi and wifi_smp
...
Summary:
- This commit adjusts parameters for audio streaming
Impact:
- Only affects spresense:wifi and spresense:wifi_smp
Testing:
- Tested with nxplayer
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-23 15:17:46 +02:00
Masayuki Ishikawa
b08eaf0fbb
boards: spresense: Add rndis_smp/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-23 10:45:29 +02:00
Masayuki Ishikawa
809b0aa02c
boards: spresense: Add CONFIG_SYSTEM_NXRECORDER=y to rndis/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-23 10:45:29 +02:00
Masayuki Ishikawa
5fec6191c3
boards: spresense: Update rndis/defconfig
...
Summary:
- This commit updates spresense:rndis defconfig
- Audio buffer has been changed from 4KBx16 to 2KBx32
- Also, increase PREALLOC_MQ_MSGS to 32
- Increase stack size for audio worker thread
- Add examples/tcpblaster
- Use default IOB settings
- Enable NET_TCP_WRITE_BUFFERS
Impact:
- Affects spresense:rndis only
Testing:
- Tested with nxplayer, tcpserver, tcpclient, webserver, telnetd.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-16 13:57:42 +02:00
Matias N
c1878406b5
fix: normalize two board configs which were not updated for CONFIG_NFILE_STREAMS change
2020-09-12 14:18:51 -07:00
Xiang Xiao
b0797263ca
libc/stdio: Allocate file_struct dynamically
...
1.Reduce the default size of task_group_s(~512B each task)
2.Scale better between simple and complex application
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ia872137504fddcf64d89c48d6f0593d76d582710
2020-09-11 17:58:17 +08:00
Masayuki Ishikawa
a712fbd0a0
boards: wifi_smp: Add CONFIG_CXD56_TESTSET=y to defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-10 08:52:22 +02:00
Masayuki Ishikawa
35b2e7c431
boards: spresense: Fix build error for wifi_smp
...
Summary:
- Fix build error introduced by PR1520
Impact:
- Affects spresense:wifi_smp only
Testing:
- Build check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-07 14:32:05 +08:00
Xiang Xiao
952af92690
sched/note: Move the circle buffer code to driver
...
so the format code can be shared by different transport
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Masayuki Ishikawa
5feab8057c
boards: cxd56xx: Add wifi_smp configuration
...
Summary:
- This commit adds a wifi_smp configuration for spresense
- To avoid deadlock, gs2200m_irq_enable() and gs2200m_irq_disable()
release global spinlock if they are not called on CPU0.
Impact:
- Only affects spresense:wifi_smp
Testing:
- Tested with ostest, renew, smp, telnetd.
- NOTE: tcpserver might be unstable
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-01 09:05:53 +02:00
Brennan Ashton
4cb193d530
Docs: Update links to old website and wiki
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-08-30 19:16:30 -03:00
Xiang Xiao
a0ce81d659
sched/wdog: Don't dynamically allocate wdog_s
...
to save the preserved space(1KB) and also avoid the heap overhead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I694073f68e1bd63960cedeea1ddec441437be025
2020-08-11 12:28:55 -06:00
Xiang Xiao
154852acb5
sched/mqueue: Reduce the initial memory consumption
...
Change the preallocated message and descriptor from 32/24 to 4.
The total size is reduce from 1892 to 532
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I79d199465daef678986868f773876289859f42fc
2020-08-10 08:07:50 +02:00
Masayuki Ishikawa
56181c0bdd
boards: spresense: Update wifi/defconfig
...
Summary:
- Add CONFIG_EXAMPLES_TCPBLASTER_GROUPSIZE=500
- Remove CONFIG_EXAMPLES_TCPBLASTER_SERVER_PORTNO=10001
- Add CONFIG_EXAMPLES_TCPBLASTER_TARGET2=y
Impact:
- This commit affects spresense:wifi only
Testing:
- Tested tcpclient and tcpserver
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-09 07:39:43 -05:00
Masayuki Ishikawa
9a1391d36b
boards: spresense: Enable CONFIG_RTC_HIRES in wifi/defconfig
...
Summary:
- This commit enable COFNIG_RTC_HIRES
Impact:
- This commit affects spresense:wifi configuration only
Testing:
- spresense:wifi with getprime
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-07 09:30:52 +01:00
Xiang Xiao
e1d3627bb1
sched/wdog: Change the default value of MAX_WDOGPARMS from 4 to 2
...
since the maximum number of argument pass to wd_start in the whole
code base is 2 and change CONFIG_MAX_WDOGPARMS in some defconfig
from 1 to 2 oherwise pthread_condclockwait will fail
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib6cb28b8c0722058849e7be916e164513431d21c
2020-08-06 10:36:22 -06:00
SPRESENSE
d560ce65ff
cxd56xx: spresense: Add some improvements and fix bugs for Spresense board
...
- Add new functions of GNSS
- Support the lower PWM frequency
- Add CONFIG_CPUFREQ_RELEASE_LOCK
- Add high speed ADC support
- Add HPADC input gain configuration
- Add eMMC device
- Frame buffer support
- Fix SD/GNSS/sensor drivers not worked
- Build errors
- Fix nxstyle issues
2020-07-28 09:13:05 +02:00
Masayuki Ishikawa
4cf307584f
boards: spresense: Remove CONFIG_SCHED_LPWORK=y from wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-19 21:11:46 -05:00
Xiang Xiao
a62b45380b
spresense:example_camera: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE
...
since it doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 12:41:19 +09:00
Alin Jerpelea
5d0b93a0d9
boards: arm: cxd56xx: enable basic snapshot camera example
...
This camera example grabs a specified number of pictures
and saves them on the available storage
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-07-08 23:59:29 +01:00
Xiang Xiao
49020acfdc
boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y
...
since cxx initialization is controlled by CONFIG_HAVE_CXXINITIALIZE now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I39438dc3006d0a0b810052ecef50cd3c92f09d83
2020-07-01 10:41:37 -06:00
Masayuki Ishikawa
48dffbb2db
boards: spresense: Add nxrecorder to wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-10 20:17:09 -07:00
Masayuki Ishikawa
8ae0a13b36
boards: spresense: Change audio buffer size and mq size for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-10 09:11:15 -03:00
Masayuki Ishikawa
76e216981e
boards: spresense: Increase CONFIG_CXD56_AUDIO_NUM_BUFFERS for streaming
...
NOTE: http audio streaming is more stable now
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-21 12:46:10 +02:00
Masayuki Ishikawa
3fdbff3638
boards: spresense: Add nxplayer to rndis and wifi configs
...
NOTE: currently audio driver supports fs=48kHz only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-20 10:09:58 +02:00
Masayuki Ishikawa
3387da6316
boards: spresense: Add ftpc to wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-19 07:02:33 +02:00
Masayuki Ishikawa
bb39907b9c
boards: spresense: Add ftpc and ftpd to rndis/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-19 07:02:33 +02:00
Masayuki Ishikawa
0bd5dda2a3
boards: spresense: Remove CONFIG_EXAMPLES_FTPC=y to avoid compile error on CI
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-05-14 14:17:47 +02:00
Masayuki Ishikawa
d2de9238a4
boards: spresense: Add support ftpc and ftpd to wifi/defconfig
...
NOTE: lpwork's priority has been changed from 30 to 60 to avoid an
error when calling getsockname() just after connect() in ftpc.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 14:17:47 +02:00
Masayuki Ishikawa
e479a97aec
boards: spresense: Enable tcpblaster and udpblaster for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Masayuki Ishikawa
1e47d60032
boards: spresense: Improve memcpy/memset performance for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-04-30 09:09:17 +02:00
Xiang Xiao
2810220ea9
Update defconfig per refresh.sh report
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-20 07:07:32 -06:00
Xiang Xiao
2ec8f60e53
Run refresh.sh --silent all
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-18 07:17:38 -06:00
Ouss4
674ca92485
spresnese/audio_sdk: Add CONFIG_AUDIO to have a warning free build.
2020-04-16 19:10:45 -06:00
Alin Jerpelea
50431e6694
boards: cxd56: spresense: add configuration for the NuttX audio driver driver
...
This configuration uses the NuttX audio driver
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-16 12:50:05 -06:00
Alin Jerpelea
c35fd3bb25
boards: cxd56: spresense: add configuration for SDK audio driver
...
This configuration uses the driver audio from SDK
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-16 12:50:05 -06:00
Masayuki Ishikawa
860e07317c
boards: spresense: Remove CONFIG_NET_LOCAL=y from wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-28 09:54:04 +01:00
Masayuki Ishikawa
b48e0a6e55
boards: spresense: Change CONFIG_FAT_MAXFNAME and CONFIG_NAME_MAX
...
CONFIG_FAT_MAXFNAME is set to 255 and CONFIG_NAME_MAX is set to 765
which can support max file name including Japanese characters.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-27 08:58:08 +01:00
Masayuki Ishikawa
9909b7636c
boards: spresense: Add CONFIG_NSH_FILE_APPS=y to rndis and wifi configs
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-20 08:49:23 +01:00
Masayuki Ishikawa
c19ac7da25
boards: spresense: Add module configuration
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-06 09:21:51 +01:00
Masayuki Ishikawa
d430be293f
boards: spresense: Add elf configuration
...
NOTE: you need to apply another PR to apps to avoid crash in task test
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-05 08:55:48 +01:00
Masayuki Ishikawa
5a24d499cf
boards: spresense: Add posix_spawn configuration
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-01-30 09:22:21 +01:00