Xiang Xiao
55083b31a9
boards/sim: Enable CONFIG_NSH_FILE_APPS for loadable config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 12:46:58 +09:00
Sergey Nikitenko
74b38d3c65
boards/stm32wb/flipperzero: adding LCD support
2022-10-31 09:40:13 +08:00
Xiang Xiao
e9f630ecb5
Fix clang compiler warning in boards/arm/stm32/
...
Error: board/stm32_ssd1289.c:290:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
putreg32(FSMC_BTR_ADDSET(5) | FSMC_BTR_ADDHLD(0) |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:164:42: note: expanded from macro 'FSMC_BTR_ADDHLD'
^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
^
Error: board/stm32_ssd1289.c:291:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
FSMC_BTR_DATAST(9) | FSMC_BTR_BUSTURN(0) |
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:172:42: note: expanded from macro 'FSMC_BTR_BUSTURN'
^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
^
Error: board/stm32_ssd1289.c:292:12: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
FSMC_BTR_CLKDIV(0) | FSMC_BTR_DATLAT(0) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:176:42: note: expanded from macro 'FSMC_BTR_CLKDIV'
^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
^
Error: board/stm32_ssd1289.c:292:33: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
FSMC_BTR_CLKDIV(0) | FSMC_BTR_DATLAT(0) |
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/chip/hardware/stm32_fsmc.h:180:42: note: expanded from macro 'FSMC_BTR_DATLAT'
^
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:135:54: note: expanded from macro 'putreg32'
^
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01: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
anjiahao
d7b4e91dda
Call nxsem_destroy or nxmutex_destry in the error path
...
1.Don't check the return value of nxsem_init or nxmutex_init
2.Fix some style issue
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 13:56:52 +01:00
Alan Carvalho de Assis
99cfffc96a
esp32: Add MAX6675 temperature sensor support
2022-10-30 12:05:19 +08:00
Roberto Bucher
a2ff09642c
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
5bc2bfcd0f
Files for pysimCoder on nucleo-h743ZI2 board
2022-10-29 18:03:37 -03:00
Roberto Bucher
18abd44e0e
Files for pysimCoder on nucleo-h743ZI2 board
2022-10-29 18:03:37 -03:00
Roberto Bucher
80ed34cae5
Files for pysimCoder on nucleo-h743zi1
2022-10-29 18:03:37 -03:00
Roberto Bucher
e944cd2340
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
ac64214963
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
944bb6164d
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
79f5906a7b
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
795d35e2cd
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
e6708bcb4b
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
94edb5d1aa
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
d68adac733
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
793f37c007
Files for pysimCoder on nucleo-h743zi2
2022-10-29 18:03:37 -03:00
Roberto Bucher
6844a529aa
Set deadtime for complementary PWM
2022-10-29 18:03:37 -03:00
Alan Carvalho de Assis
06d0dbc927
esp32c3-devkit-rust-1: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
Alan Carvalho de Assis
09d5919563
esp32c3-devkit: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
wangbowen6
f56710c121
rpmsgblk: rpmsg block device support
...
Like rpmsgdev and rpmsgmtd, rpmsgblk allow the local cpu to
access the block device in the remote cpu.
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-10-28 01:13:58 +08:00
Roberto Bucher
dfcfce24f6
New configuration for CAN bus
2022-10-26 21:56:17 +08:00
Roberto Bucher
bc432118b0
New files for pysimCoder
2022-10-26 21:56:17 +08:00
nietingting
f361d1cd41
CI: add example to sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-26 10:55:50 +08:00
Andrés Sánchez Pascual
b5052a8475
board/stm32h7: update mcuboot-loader configuration
...
Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com>
2022-10-26 00:53:29 +08: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
Sergey Nikitenko
1feb0e759d
boards/stm32wb: Flipper Zero initial support
2022-10-25 12:39:55 +08: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
chao an
09cc29af4d
arch/armv6-m: fix compile error on LLVM clang
...
armv6-m/arm_exception.S:139:2: error: invalid instruction, any one of the following would fix this:
sub r1, #(4 * (10))
^
armv6-m/arm_exception.S:139:2: note: instruction requires: thumb2
sub r1, #(4 * (10))
^
armv6-m/arm_exception.S:139:10: note: invalid operand for instruction
sub r1, #(4 * (10))
^
armv6-m/arm_exception.S:139:2: note: no flag-preserving variant of this instruction available
sub r1, #(4 * (10))
^
armv6-m/arm_exception.S:139:10: note: operand must be a register in range [r0, r7]
sub r1, #(4 * (10))
^
-----------------------------------------
bringup.c:125:18: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
return ret;
^~~
bringup.c:73:10: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-25 00:52:00 +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
chao an
fa0577ebfb
boards/arm/gcc: disable coverage analysis temporarily
...
**Please revert this change if arm resolved this issue in the next release**
ARM GNU toolchain 11.3.Rel1 missing gcov_* symbols:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53354/arm-gnu-toolchain-11-3-rel1-missing-gcov_-symbols
$ arm-none-eabi-gcc -v
...
gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)
$ cat main.c
int __start(void)
{
return 0;
}
Compiler with arm GCC-11.3:
$ arm-none-eabi-gcc -c -Wstrict-prototypes -Os -fno-strict-aliasing -fomit-frame-pointer -fprofile-generate \
-ftest-coverage -mthumb --coverage -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -g \
-mlittle-endian -mcpu=cortex-m0 -mthumb -mfloat-abi=soft main.c -o main.o
$ arm-none-eabi-ld --entry=__start -nostdlib --gc-sections -Tpimoroni-tiny2040-flash.ld -o test_gcov --start-group main.o \
~/gcc/linux/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/thumb/v6-m/nofp/libgcov.a --end-group
arm-none-eabi-ld: main.o: in function `__start':
/home/archer/code/nuttx/n4/incubator-nuttx/main.c:2: undefined reference to `__gcov_indirect_call_profiler_v4'
arm-none-eabi-ld: /home/archer/code/nuttx/n4/incubator-nuttx/main.c:4: undefined reference to `__gcov_indirect_call'
arm-none-eabi-ld: /home/archer/code/nuttx/n4/incubator-nuttx/main.c:4: undefined reference to `__gcov_time_profiler_counter'
link success with arm GCC-10.3:
$ arm-none-eabi-ld --entry=__start -nostdlib --gc-sections -Tpimoroni-tiny2040-flash.ld -o test_gcov --start-group main.o \
~/lib/gcc/arm-none-eabi/10.3.1/thumb/v6-m/nofp/libgcov.a --end-group
$ ls -l test_gcov
-rwxrwxr-x 1 archer archer 68744 10月 24 12:51 test_gcov
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-24 20:23:28 +08:00
Tiago Medicci Serrano
1d0a37cd10
xtensa/esp32: fix if define convention to use parentheses
2022-10-22 15:18:35 +08:00
Tiago Medicci Serrano
ebf9af662e
xtensa/esp32s2: add support for the CS4344 audio codec
...
Include i2schar and audio defconfigs for ESP32-S2-Saola-1 board.
2022-10-22 15:18:35 +08:00
Tiago Medicci Serrano
16b99ee013
xtensa/esp32s2: add initial support for I2S
...
Add initial support for the I2S peripheral on ESP32S2.
Add I2S character driver and generic I2S audio driver.
Include i2schar defconfig for ESP32-S2-Saola-1 board.
2022-10-22 15:18:35 +08:00
anjiahao
5724c6b2e4
sem:remove sem default protocl
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 14:50:48 +08:00
AuroraRAS
280aaa7b1d
Implement Interface method for ESP32C3: go_setpintype
...
Signed-off-by: AuroraRAS <chplee@gmail.com>
2022-10-22 09:01:37 +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
nietingting
8438396f33
ci: add qemu run support
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-21 14:57:43 +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
Alan Carvalho de Assis
11ca921b71
esp32s2-saola-1: Add SPI example using max6675
2022-10-20 10:11:26 +08:00
Lucas Saavedra Vaz
b0f96fc204
esp32/i2c: Add macros to conform with other peripherals and fix typos
...
Fix coding style
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-19 20:31:29 -03:00
raiden00pl
0646ae92ff
nucleo-144/f722: add CAN and SocketCAN configurations
2022-10-20 00:08:36 +08:00
raiden00pl
a3db5fe24b
stm32f7: add SocketCAN support
2022-10-20 00:08:36 +08:00
raiden00pl
0d8b8ce5e2
stm32f7/nucleo-144: refactor bringup logic
2022-10-20 00:08:36 +08:00
raiden00pl
0954b60df6
stm32f7/nucleo-144: add CAN1 pins selection
2022-10-20 00:08:36 +08:00
Xiang Xiao
dcbad62fef
boards/sim: Restore ostest from https://github.com/apache/incubator-nuttx/pull/7109
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-19 08:22:56 +09: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
Xiang Xiao
6b31918b42
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 08:51:45 +02:00
Xiang Xiao
7923ea3bef
boards: Refresh defconfig after the default value of FS_PROCFS_EXCLUDE_xxx
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 15:10:26 +09:00
Xiang Xiao
c6f3ad3da5
boards/sim: Enable CONFIG_NSH_TELNET_LOGIN for adb
...
to test the telnet login functionality
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 08:01:28 +09:00
Masayuki Ishikawa
c2caccf1d0
boards: rv-virt: Update README.txt
...
Summary:
- This commit updates README.txt regarding how to build kernel
and apps for BUILD_KERNEL
- Also update on parallel build for BUILD_FLAT
Impact:
- None
Testing:
- Tested with qemu-7.1.0
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-17 19:19:00 +08: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
Alan Carvalho de Assis
0dfd1f004d
esp32-devkitc: Add board support to Rotary Encoder
...
Reviewed-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-17 00:30:53 +02:00
Xiang Xiao
b9cd0508e7
boards: Correct xxx_main prototype
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:02:44 +02:00
Xiang Xiao
78f6a02bc8
boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:02:44 +02:00
Masayuki Ishikawa
18ce70c1e7
boards: qemu-armv8a: Fix pthread_attr_setstacksize failed in ostest
...
Summary:
- This commit adjusts CONFIG_TESTING_OSTEST_STACKSIZE to fix
pthread_attr_setstacksize failed error in ostest
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-15 08:46:01 +02:00
Masayuki Ishikawa
07b642ae8d
boards: qemu-intel64: Fix pthread_attr_setstacksize failed in ostest
...
Summary:
- This commit adjusts CONFIG_TESTING_OSTEST_STACKSIZE to fix
pthread_attr_setstacksize failed error in ostest
Impact:
- None
Testing:
- Tested with ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-15 08:46:01 +02:00
Hidenori Matsubayashi
28180b49d1
arm64: add Cortex-A57 and Cortex-A72 configurations
...
This change adds the following:
- Rename the board configuration name from qemu-a53 to qemu-v8a.
- Add the configurations for Cortex-A57 and Cortex-A72.
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-10-14 09:27:35 +08:00
zhanghongyu
e9db7bbb8c
arm64/qemu/qemu-a53: Ensure the purity of the defconfig
...
Configuring...
Building NuttX...
Normalize qemu-a53/nsh
13a14
> CONFIG_ARCH_CHIP_QEMU_A53=y
Saving the new configuration file
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: boards/arm64/qemu/qemu-a53/configs/nsh/defconfig
modified: boards/arm64/qemu/qemu-a53/configs/nsh_smp/defconfig
retrigger ci build.
2022-10-13 21:10:30 +02:00
Hidenori Matsubayashi
06cf41901f
arch/arm64: cleanup defconfigs
...
Use CONFIG_ARCH_CHIP_QEMU instead of CONFIG_ARCH_CHIP_QEMU_A53. This is because these configurations depend on the hardware configuration of qemu (memory map, irq numbers, etc.).
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-10-13 19:26:26 +08:00
liangchaozhong
f9a9a02e3e
usersock: Add driver with type of rpmsg interface
...
move usrsock rpmsg driver from userspace to kernel to reduce extra
context switch for usrsock operations
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-10-11 00:57:49 +08:00
nietingting
70053700b8
add ci run on sim
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-09 20:12:39 +08:00
wangbowen6
5d8cbfb279
rpmsgdev: add rpmsgdev poll() support.
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-10-09 02:40:06 +08:00
Nathan Hartman
d8f9c60e9e
boards/tm4c129e-launchpad: Enable priority inheritance in ostest config
2022-10-08 10:44:31 +09:00
Masayuki Ishikawa
d5d76560ef
boards: rv-virt: Add ksmp64 configuration
...
Summary:
- This commit adds ksmp64 configuration to test BUILD_KERNEL+SMP
- NOTE: README.txt has been updated
Impact:
- None
Testing:
- Tested with QEMU 6.2
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-08 09:25:41 +08:00
Tiago Medicci Serrano
5089c5d2fd
esp32: fix wapi stack size on board examples
...
Fix the error on issue 7193:
(https://github.com/apache/incubator-nuttx/issues/7193 )
2022-10-07 14:44:30 +08:00
Masayuki Ishikawa
07b9ebc555
boards: sabre-6quad: Add the skeleton network driver
...
Summary:
- This commit adds the skeleton network driver to netnsh/defconfig
- Also, enable IPv6 to check compilation
Impact:
- None
Testing:
- Build with sabre-6quad:netnsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-07 14:34:03 +08:00
raiden00pl
2c722883bc
nucleo-f446re: add romfs support
2022-10-06 00:44:58 +08:00
Xiang Xiao
92f156c969
boards: Change the linker generated symbols from uint32_t to uint8_t array
...
since the symbol generated by linker is always used as an address not a value.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-05 14:24:47 +02:00
Masayuki Ishikawa
72a29f3fa8
boards: raspberrypi-pico: Adjust CONFIG_UART0_TXBUFSIZE for SMP
...
Summary:
- I noticed that sometimes automatic tests failed due to
missing serial outputs, although the kernel is still alive.
- This commit fixes the issue.
Impact:
- raspberrypi-pico:smp only
Testing:
- Tested with smp, ostest, etc.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-05 13:21:36 +08:00
Gustavo Henrique Nihei
73678c4839
xtensa/esp32: Allow allocation of user data in SPI RAM
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-04 21:32:42 +02:00
Brennan Ashton
102c63be9e
bl602: Add initial DMA support, including SPI over DMA.
2022-10-03 16:01:30 -03: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
Tiago Medicci Serrano
06bc2220b9
xtensa/esp32: add support for the CS4344 audio codec
...
Include i2schar and audio drivers defconfigs for ESP32-DevKitC board.
2022-09-30 17:23:17 -03:00
Tiago Medicci Serrano
18c715ba92
xtensa/esp32: add initial support for I2S
...
Add initial support for the I2S peripheral on ESP32.
Add I2S character driver and generic I2S audio driver.
Include i2schar defconfig for ESP32-DevKitC board.
2022-09-30 17:23:17 -03:00
Xiang Xiao
d906c2ff3b
sim/adb: Enable netdb
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-30 15:37:48 -03:00
Xiang Xiao
bdeaea3742
Remove the unnessary empty line after label
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-30 17:54:56 +02:00
Xiang Xiao
0fa17f32f2
drivers/telnet: Remove io work thread
...
The thread isn't really needed but complicate the workflow
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-30 12:54:29 +09:00
Xiang Xiao
d6bb08f6fd
boards/sim: Enable telnetd in adb config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-29 19:12:33 -03:00
Fotis Panagiotopoulos
41b4af1ec3
Style fixes.
2022-09-28 09:38:55 +08:00
Fotis Panagiotopoulos
bbf3f2866d
Fixed non-UTF8 characters.
2022-09-28 09:38:55 +08:00
wangbowen6
589647308c
arm/tlsr82: move peripherals pin config to board.h
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-09-28 09:30:06 +08:00
Masayuki Ishikawa
00ce58963f
boards: icicle: Fix license information to use the OpenSBI
...
Summary:
- I noticed that the OpenSBI library depends on the BSD license
- This commit fixes this issue
Impact:
- None
Testing:
- Build only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-09-27 18:29:09 +02:00
chao an
a2cd1b0db3
arm/armlink: add support of link time optimization(lto)
...
Optimization goal(Code size)
Smaller GCC(-Os) GCC(-flto -Os) CLANG(-flto -Oz) ARMCLANG(-flto -Oz/-Omin)
lm3s6965-ek/qemu-flat(Cortex-M3) 208662 193893 199525 195464
-7.07% -4.37% -6.32%
sabre-6quad/smp(Cortex-A9) 131360 122500 N/A 123988
-6.74% N/A -5.61%
Faster performance GCC(-O3) GCC(-flto -O3) CLANG(-flto -Ofast) ARMCLANG(-flto -Ofast) ARMCLANG(-flto -Omax)
lm3s6965-ek/qemu-flat(Cortex-M3) 257502 296364 369465 346696 384204
+15.00% +43.40% +34.60% +49.20%
sabre-6quad/smp(Cortex-A9) 166520 196004 N/A 207908 224140
+17.70% N/A +24.85% +34.60%
Reference:
https://developer.arm.com/documentation/101754/0618/armclang-Reference/armclang-Command-line-Options/-O--armclang-
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-26 18:23:27 +08:00
wangbowen6
344c8be049
poll: add poll_notify() api and call it in all drivers
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-09-26 12:06:32 +08:00
Nathan Hartman
34192c07de
boards/tm4c129e-launchpad: Expand README.txt
...
* boards/arm/tiva/tm4c129e-launchpad/README.txt:
Expand this documentation with information about: toolchains,
debugging (including the elusive openocd incantation to flash program
the board), MCU clocking, more details about the Virtual COM port
exposed via ICDI, and a description of the recently added ostest
configuration.
2022-09-26 04:36:56 +08:00
chao an
d71e8dacd4
sim/windows: add more net configs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-26 00:14:49 +09:00
Nathan Hartman
d129c95fd2
boards/b-g474e-dpow1: Add note about udev/sudo regarding openocd
...
* boards/arm/stm32/b-g474e-dpow1/README.txt:
(Debugging): OpenOCD requires permissions for certain operations. The
preferred thing to do is to properly configure udev rules. The
expedient thing to do is to run it as root with 'sudo', but we do not
want to encourage that, as discussed earlier on this PR [1]. This
revised text offers a compromise where we mention both options, but
we talk about udev rules first and explicitly say that using 'sudo'
is not encouraged. We leave it up to developers to decide what is
best in their particular situation.
References:
[1] https://github.com/apache/incubator-nuttx/pull/7177
2022-09-25 08:13:01 -07:00
Xiang Xiao
70290b6e38
arch: Change the linker generated symbols from uint32_t to uint8_t *
...
and remove the duplicated declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-24 21:26:56 +02:00
Nathan Hartman
a1bc1e89b0
boards/arm/stm32: Add b-g474e-dpow1:ostest configuration.
...
* boards/arm/stm32/b-g474e-dpow1/configs/ostest/defconfig:
New file. Compared to b-g474e-dpow1:nsh, it adds the following
configs:
+CONFIG_BUILTIN=y
+CONFIG_NSH_BUILTIN_APPS=y
+CONFIG_TESTING_OSTEST=y
and, because ostest currently fails when priority inheritance is
enabled, it removes the following configs:
-CONFIG_PRIORITY_INHERITANCE=y
-CONFIG_PTHREAD_MUTEX_DEFAULT_PRIO_INHERIT=y
2022-09-24 00:44:27 +08:00
chao an
b134995d92
arm/tlsr82: replace incompatible instruction sets to internal implement
...
1. some arm instructions are not compatible with arch tlsr:
{standard input}: Assembler messages:
{standard input}:53: Error: bad instruction `svc #0 '
2. remove unsupport compile option
cc1: error: unrecognized command line option "-mlittle-endian"
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-23 23:54:25 +08:00
Lucas Saavedra Vaz
0c33a93dde
boards/esp32-lyrat: Changed board_memorymap.h according to #7160
2022-09-23 23:38:26 +08:00
Lucas Saavedra Vaz
4ee22e8739
boards: initial support for the ESP32-LyraT
...
boards/esp32-lyrat: Fix board name in comment
boards/esp32-lyrat: Fix coding style
boards/esp32-lyrat: Removed BOOT_BUTTON support
boards/esp32-lyrat: Improved code maintainability and fixed styling
boards/esp32-lyrat: Specified board version in configuration files
boards/esp32-lyrat: Added wapi config
boards/esp32-lyrat: Added documentation
boards/esp32-lyrat: Fix typo in documentation
boards/esp32-lyrat: Added comment on BUTTON_BOOT
2022-09-23 23:38:26 +08:00
Xiang Xiao
3c1c29f2c4
arch: move non arm g_current_regs defintion to common place
...
to avoid the code duplicaiton
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-21 22:23:11 +02:00
Xiang Xiao
229b57d6cb
arch/armv[6|7|8]-m: Move _vectors to arm_internal.h to avoid the duplication
...
and change the type of _vectors from uint32_t to const void *
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-21 22:23:11 +02:00
chao an
fb4c593e89
armv7-r/tms570: fix build break
...
1.
make[1]: *** No rule to make target 'tms570_spi.c', needed by '.depend'. Stop.
2.
In file included from armv7-r/arm_gicv2.c:36:
armv7-r/gic.h: In function 'arm_gic_nlines':
armv7-r/mpcore.h:63:29: error: 'CHIP_MPCORE_VBASE' undeclared (first use in this function)
63 | #define MPCORE_ICD_VBASE (CHIP_MPCORE_VBASE+MPCORE_ICD_OFFSET)
| ^~~~~~~~~~~~~~~~~
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-22 02:22:18 +08:00