Ville Juven
30c25a95f3
MPFS: Fix error in flat build linker script
...
Use sram instead of ksram (copy&paste error)
2022-03-28 14:05:51 +03:00
Petro Karashchenko
c61710c7b8
boards/arm/uid: fix pointer to int compare
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-28 00:31:27 +08:00
zouboan
466063ac9e
sched/sched/sched_timerexpiration: change from sched_time to eventtime
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-27 18:22:58 +03:00
ligd
f623ac0f13
armv7-m/armv8-m: move up_pref* api to common place
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-26 13:39:18 +02:00
Gustavo Henrique Nihei
0f0f85979e
sim: Enable CXX_EXCEPTION and CXX_RTTI on C++ defconfigs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-26 05:56:37 +02:00
Gustavo Henrique Nihei
2cd1769619
libxx: Add CXX_RTTI for enabling RTTI support for C++ applications
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-26 05:56:37 +02:00
Gustavo Henrique Nihei
5198a56fe8
esp32s3-devkit: Fix the number of memory regions in some configurations
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-25 15:56:44 +02:00
Masayuki Ishikawa
594ae1e7fc
boards: rv-virt: Fix stack corruption for rv64 configs
...
Summary:
- This commit fixes stack corruption for rv64 configs
Impact:
- None
Testing:
- Tested with qemu-6.2
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-25 12:26:12 +02:00
Michael Mogenson
97fa9b849c
defconfig: add Lua configs for sim and teensy-4.x
2022-03-24 14:02:32 +08:00
Gustavo Henrique Nihei
c92c4af304
xtensa/esp32s2: Initialize instruction cache on startup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 20:05:40 -03:00
Gustavo Henrique Nihei
7cb8f02ecc
esp32s2-saola-1: Use cache-related definitions from Kconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 19:38:28 -03:00
Gustavo Henrique Nihei
04b80cc8d2
xtensa/esp32s2: Remove unused and not unsupported configs from Kconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 19:38:28 -03:00
Gustavo Henrique Nihei
23cfded18f
esp32s3-devkit: Add support for BOOT button as user button
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 07:23:51 +09:00
Petro Karashchenko
68902d8732
pid_t: unify usage of special task IDs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 21:22:32 +08:00
Petro Karashchenko
757d01d915
progmem: eliminate PROGMEM_ERASESTATE configuration option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:01:41 -03:00
Petro Karashchenko
9a9a06dd7d
boards/arm/same70-qmtech: Remove dead code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:01:09 +08:00
Abdelatif Guettouche
954ff496b4
esp32s3-devkit/spiflash: Use SmartFS instead of LittleFS.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-03-21 22:17:23 +08:00
Xiang Xiao
85550ee340
boards/sim: Enable uinput for rpproxy and rpserver
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
d19aa5aca4
input: Move uinput initialization from boards/sim to drivers
...
since uinput can be used not only on simulator but also on real device
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
fd5fb26f51
input/uinput: Rename UINPUT_TOUCHSCREEN to UINPUT_TOUCH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Gerson Fernando Budke
49b15e3577
boards/arm/samv7/samv71-xult: Fix mcuboot update example missing config
...
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 21:00:16 +02:00
Gerson Fernando Budke
6740ec3fee
boards/arm/samv7/samv71-xult: Add mcuboot update example configs
...
Add MCUboot Update Agent and Slot Confirm configurations. It uses
ethernet with dhcp client to perform download of new image into
internal flash memory.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
2965345e14
boards/arm/samv7: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
2d906bb28f
boards/xtensa/esp32: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
4caa8b19e9
boards/risc-v/esp32c3: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Petro Karashchenko
c01cd62666
boards/arm/samv7/same70-qmtech: add gpio driver support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 17:37:18 +08:00
Petro Karashchenko
2af9b574f6
boards/arm/samv7: define MTD progmem partitions at board level
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:42:10 +08:00
Petro Karashchenko
fe0fbdc088
config: finalize transition from USERMAIN_STACKSIZE to INIT_STACKSIZE
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:32:47 +08:00
Petro Karashchenko
20ac85860c
config: finalize transition from USER_ENTRYPOINT to INIT_ENTRYPOINT
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:32:47 +08:00
Huang Qi
edef327655
arch/arm: Move ARCHCPUFLAGS to Toolchain.defs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-19 02:24:00 +08:00
Petro Karashchenko
c1fb14ccaa
boards/arm/samv7/same70-qmtech: add /dev/timer0 support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 02:21:03 +08:00
Petro Karashchenko
6472a698b6
style/typo: fix few style and typo issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-18 17:05:10 +01:00
Janne Rosberg
49abe527ca
risc-v/mpfs/icicle: add example config for ethernet
2022-03-18 17:22:27 +02:00
Janne Rosberg
8c755c9414
esp32c3-devkit/ble: add CONFIG_NETDEV_LATEINIT to defconfig
2022-03-18 17:22:27 +02:00
Janne Rosberg
cff7c760a5
bl602evb/wifi: add CONFIG_NETDEV_LATEINIT to defconfig
2022-03-18 17:22:27 +02:00
Ville Juven
15960f25a5
MPFS: Add board_memorymap.h
...
Move the target specific memory map to a separate file so there is no
need to copy&paste the __xxram_start etc linker symbols to each file
that needs them.
Also add MMU flags for I/O and kernel areas, they will be needed
when the kernel runs with virtual addresses also.
2022-03-18 09:35:00 -03:00
Ville Juven
13fd93ed2a
MPFS: Add linker script for CONFIG_BUILD_KERNEL
2022-03-18 18:20:12 +08:00
yinshengkai
eebd736891
board/sim: update uinput init & Kconfig
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-03-17 19:44:17 +02:00
Masayuki Ishikawa
2cbad5d92e
boards: sabre-6quad: Enable environ and path in knsh/defconfig
...
Summary:
- This commit enables environ and path in knsh/defconfig
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-17 13:41:01 +08:00
YAMAMOTO Takashi
439e5d0030
Add an esp32 config with efuse (esp32-devkitc:efuse)
...
esp32-devkitc:wapi + efuse enabled.
2022-03-17 13:40:51 +08:00
YAMAMOTO Takashi
cab24374b5
esp32: fix build errors with efuse
...
```
board/esp32_bringup.c: In function 'esp32_bringup':
board/esp32_bringup.c:171:9: error: implicit declaration of function 'esp32_efuse_initialize'; did you mean 'esp32_mmcsd_initialize'? [-Werror=implicit-function-declaration]
ret = esp32_efuse_initialize("/dev/efuse");
^~~~~~~~~~~~~~~~~~~~~~
esp32_mmcsd_initialize
```
2022-03-17 13:40:51 +08:00
Petro Karashchenko
b302173f31
Revert "zig-build added"
...
This reverts commit 4880613b26
.
2022-03-16 22:17:16 +02:00
Matheus Catarino França
4880613b26
zig-build added
...
zig install added on CI - fixed
Docker - zig install
parent 5d2e3573c25b48ba7c3d697de11e64896e818aea
author Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
committer Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
zig-build added
zig install added on CI - fixed
Docker - zig install
CI - replace wget2curl
rm bloat curl command & zig latest version
ZIG_ENV - rm bin folder
ident format
Apply suggestions from code review
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
rm arch-zigoptimization
rm arch-zigoptimization ref
2022-03-17 02:09:36 +08:00
chao.an
7a27b58ca1
sim: Enable garbage collection of unused input sections
...
LDFLAGS += -Wl,--gc-sections
GC should be enabled on arch/sim/src/Makefile:
326 $(if $(CONFIG_HAVE_CXX),\
327 $(Q) "$(CXX)" $(CFLAGS) $(LDFLAGS) -o $(TOPDIR)/$@ $(HEADOBJ) nuttx.rel $(HOSTOBJS) $(STDLIBS),\
328 $(Q) "$(CC)" $(CFLAGS) $(LDFLAGS) -o $(TOPDIR)/$@ $(HEADOBJ) nuttx.rel $(HOSTOBJS) $(STDLIBS))
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-16 15:40:06 +02:00
Xiang Xiao
bbf12f3b1b
boards/sim/adb: Enable CONFIG_ADBD_SOCKET_SERVICE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-16 10:17:15 +02:00
Petro Karashchenko
985829190e
arch/arm/samv7/sam_tc: implement timer driver support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-16 03:19:57 +08:00
Matthew Trescott
bc80bbddc7
Add Tiva CAN driver
2022-03-15 11:32:31 -04:00
Petro Karashchenko
b04447d066
timer_lowerhalf: minor improvements
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-15 10:30:48 +08:00
chao.an
22e71e2d71
board/sim: add support of custom optimization level
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-14 23:25:26 +08:00
Xiang Xiao
54e630e14d
arch: Merge up_arch.h into up_internal.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-14 09:32:17 +02:00
Xiang Xiao
c96c96a399
drivers: Merge the common driver initialization into one place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-13 11:24:48 -03:00
Gustavo Henrique Nihei
d7364a6506
esp32s3-devkit: Enable RT-Timer on board bringup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-12 15:27:30 +02:00
Masayuki Ishikawa
023b1a5260
boards: sabre-6quad: Add CONFIG_DEBUG_FULLOPT=y to knsh/defconfig
...
Summary:
- I noticed that undefined instruction happens with getprime and gcc-10.3.1
- Actually, the issue does not happen with gcc-9.3.1
- This is a tentative solution to avoid the issue
Impact:
- sabre-6quad:knsh only
Testing:
- Tested with hello/getprime
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-12 11:49:53 +08:00
Petro Karashchenko
dab5bb6bd3
boards/Kconfig: introduce ARCH_BOARD_COMMON option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-11 16:00:00 +08:00
Petro Karashchenko
a958e7f58e
boards/arm/samv7: rework linker script usage logic to allow custom linker scripts
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-11 11:25:50 +08:00
Jukka Laitinen
81a19c1ce8
arch/riscv/src/mpfs: Make cleaner pinmux configurations for USB
...
Mux USB IO pins one-by-one using package specific pinmux definitions. This avoids accidentally overwriting IO settings for other pins.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-03-11 00:22:43 +02:00
Xiang Xiao
ee931c137f
boards: Remove -fno-builtin
...
it's more efficent to generate the machine code directly if possible
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
3017c87b7b
boards/bm3803: Remove CONFIG_EXAMPLES_ELF from nsh/defconfig
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
caf8377248
boards/lc823450-xgevk: Ensure PATH_MAX bigger than NAME_MAX
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
3c5e1a865a
board/stm32_vs1053.c:191:27: Fix error: 'sprintf' writing a terminating nul past the end of the destination
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
3b786a53cd
Fix error: '%d' directive writing between 1 and 10 bytes into a region of size 3
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Xiang Xiao
f1339ba479
fs/fat: Change the default value of FAT_MAXFNAME to NAME_MAX
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
Alan C. Assis
dc1b6776b9
xtensa/esp32s3: Add SPI RAM/PSRAM Support
2022-03-09 19:22:56 +02:00
Petro Karashchenko
700e09103a
boards/arm/stm32[f7|l4]: fix SPI chip select GPIO access
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-10 01:18:09 +08:00
chao.an
88d59f4d58
sim/segger: enable CONFIG_SCHED_INSTRUMENTATION_SYSCALL
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-09 22:32:39 +08:00
chao.an
ba2cb65a91
arch/sim: add all symbols support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-09 10:16:54 +02:00
Gustavo Henrique Nihei
4a29fa903b
xtensa/esp32s3: Enable SMP support
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-09 10:42:50 +08:00
Gustavo Henrique Nihei
c164324122
esp32s2-saola-1: Initialize Watchdog Timers on bringup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-08 22:24:07 -03:00
Gustavo Henrique Nihei
bd7ee0d675
xtensa/esp32s2: Sync IRQ management API with ESP32 and ESP32-S3
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-08 11:36:32 -03:00
Xiang Xiao
d72562328c
boards/sim/nsh: Enable ONFIG_LIBC_NUMBERED_ARGS and ONFIG_SCHED_BACKTRACE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-08 11:33:54 -03:00
Huang Qi
bfedbf1c05
arm/imx6: Enable setjmp test in ostest
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-08 21:00:29 +08:00
Eero Nurkkala
8c1ab129ac
risc-v/mpfs: add USB device driver
...
This adds a simple USB device driver for the mpfs. However,
this driver is still at its early phase. Only limited testing
with CDC/ACM has been conducted.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-03-08 16:49:29 +08:00
Eero Nurkkala
18b5048dda
risc-v/mpfs: add USB IOMUX definitions
...
This adds the proper IOMUX definitions for the Icicle and
m100pfsevp boards.
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-03-08 16:49:29 +08:00
Xiang Xiao
5659f685c1
boards/sim: Add adb config for test
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-05 17:23:48 +02:00
Xiang Xiao
671973b39c
boards/sim: Enable -ffunction-sections, -fdata-sections and --gc-sections
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-05 17:23:48 +02:00
Michael Mogenson
66c61d4ac3
imxrt: userleds: Teensy 4.x board LED is active high
2022-03-05 02:08:52 +08:00
Xiang Xiao
4910879848
boards/stm32f4discovery: Remove CONFIG_LIBC_EXECFUNCS from adb defconfig
...
since libuv select it automatically now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-03 20:31:50 +02:00
Petro Karashchenko
9caf4fc209
boards/arm/samv7: default BOARD_SAMV7_COMMON to n
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-04 01:03:42 +08:00
Abdelatif Guettouche
c820085a23
arch/xtensa/esp32s3: Add encrypted support for SPI FLASH.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-03-03 19:57:59 +08:00
Abdelatif Guettouche
9d5b13cd0e
xtensa/esp32s3: Add SPI-Flash support.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-03-03 19:57:59 +08:00
Petro Karashchenko
d69cf37b73
boards/arm/samv7: fix typos left after file renaming
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-03 19:56:16 +08:00
Michael Mogenson
f5e431483e
imxrt: fix userled config in appinit
...
The imxrt1064, imxrt1064, and teensy-4.x board configs would fail to
build when CONFIG_USERLED_LOWER was enabled, due to a missing header in
imxrt_appinit.c and an unset local define.
Verified a build succeds for the specified boards with the following
defconfig modifications:
# CONFIG_ARCH_LEDS is not set
CONFIG_USERLED=y
CONFIG_USERLED_LOWER=y
Tested the "leds" Led driver example on a Teensy 4.1.
2022-03-03 02:06:12 +08:00
Gustavo Henrique Nihei
3b7a6ae311
xtensa/esp32s3: Add support for Tickless kernel using Systimer
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-02 18:08:44 +01:00
Huang Qi
31da1faa99
boards: Remove -nostartfiles -nodefaultlibs from phy62xx
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-02 21:49:52 +08:00
Huang Qi
8caa496947
ekk-lm3s9b96: Remove unused mmcsd option
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-02 18:27:02 +08:00
Alin Jerpelea
dc99ce5867
boards: s32k1xx: revert to the original license
...
The configuration is taken from NXP sample code and should preserve
the original license
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-01 23:09:49 +08:00
Alin Jerpelea
b975fa6edc
boards: olimex-lpc2378: Makefile: change license to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-01 23:09:49 +08:00
Masayuki Ishikawa
224241bd0a
boards: esp32-devkitc: Increase INIT_STACKSIZE to 3072 in smp/defconfig
...
Summary:
- I noticed that automatic tests sometimes fail
- This commit fixes this issue
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-01 22:07:07 +08:00
Masayuki Ishikawa
955153aac4
boards: sabre-6quad: Add knsh
...
Summary:
- Add sabre-6quad:knsh to test BUILD_KERNEL with qemu
- Update README.txt to run the nuttx with qemu
Impact:
- None
Testing:
- Tested with QEMU
- NOTE: getprime crashes with undefined instruction when
compiled with gcc 10.3.x (please use 9.3.1)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-01 09:57:57 -03:00
Xiang Xiao
a8ab090764
sim: Simplify boards and arch's Makefile
...
1.Remove the unused LIBPATHS and HOSTLDFLAGS
2.Move HOSTCFLAGS to arch/Makefile
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 12:33:56 +01:00
Xiang Xiao
7b366114c9
boards/sparc: Remove HOSTCC related flags from Make.defs
...
since these variables are defined in Config.mk now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 10:21:57 +01:00
Xiang Xiao
9bc2b4c31b
board/sim: Remove CCLINKFLAGS, use CFLAGS/CXXFLAGS instead
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-28 23:13:22 +08:00
Huang Qi
281ecf110d
boards/arm/stm32: Update adb configs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:04:46 +08:00
Huang Qi
1f84f5b0ed
boards: Add --gc-sections for photon and stm32f4discovery
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:04:46 +08:00
Xiang Xiao
44bd3212d4
arch: Remove SYS_RESERVED from Kconfg
...
let's arch define the correct value instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-27 22:54:13 +08:00
Gustavo Henrique Nihei
15f599059c
esp32-devkitc: Fix boot failure on tickless defconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-02-25 22:45:47 +08:00
John Bonham
7c99bce16e
Added registering logic SPI on /dev.
2022-02-25 20:34:25 +08:00
Gustavo Henrique Nihei
71e8727397
esp32s3-devkit: Initialize Oneshot timer on bringup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-02-25 10:51:25 +08:00
Masayuki Ishikawa
de95a8550f
arch, board: Add thumb support to i.MX6
...
Summary:
- This commit adds thumb support to i.MX6
- Also, applies the same coding style to arch_elf.c
Impact:
- i.MX6 only
Testing:
- Tested with sabre-6quad:smp (QEMU, Dev board)
- Tested with sabre-6quad:netnsh (QEMU)
- Tested with sabre-6quad:netknsh (QEMU, not merged yet)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-25 10:51:12 +08:00
Gustavo Henrique Nihei
3511ec823c
esp32s3-devkit: Initialize Watchdog Timers on bringup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-02-25 02:13:00 +08:00
Gustavo Henrique Nihei
16132c3345
esp32s3-devkit: Initialize general purpose timers on bringup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-02-25 00:13:34 +08:00
Alan C. Assis
73098e2a55
example/oneshot: Update defconfig to use default 2s
2022-02-25 00:10:45 +08:00
Alin Jerpelea
66e58e4b9b
boards: olimex-stm32-p407: defconfig: remove BSD components
...
The LSM303AGR and LSM6DSL depend on BSD license and should be disabled by default
They can be enabled after BSD components are selected in menuconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
ecb1d6ec37
boards: lc823450-xgevk: defconfig: remove NET_TUN
...
NET_TUN depends on BSD components
Can be enabled after developer enables the BSD_LICENSE option in the menu
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
54891e7cb3
boards: u-blox-c027: defconfig: remove PPPD_PAP
...
the PPPD is dependent on BSD licenses and should be disabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
04f8d72745
boards: lpc17xx_40xx: lpc17_40_boot: fix late_init
...
the modem init should not be enabled if MODEM_U_BLOX
is not enabled
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
9a17ad6b26
defconfig: add ALLOW_BSD_COMPONENTS to tcpblaster and tcploop
...
for testing reasons we should enable ALLOW_BSD_COMPONENTS for
simulator defconfigs
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
f248480f20
boards: u-blox-c027: defconfig: disable BSD components
...
The BSD components should not be enabled by default.
Each developer can enable non Apache components locally
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
9b9acf7684
defconfig: add ALLOW_BSD_COMPONENTS to ipforward
...
for testing reasons we should enable ALLOW_BSD_COMPONENTS for
simulator defconfigs
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
fec5f6f4fa
defconfig: add ALLOW_BSD_COMPONENTS to btuart
...
for testing reasons we should enable ALLOW_BSD_COMPONENTS for
simulator defconfigs
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Xiang Xiao
67cda6ce1e
board/esp32: Update esp-wireless-drivers-3rdparty
...
and add -fno-common since the symbol duplication is fixed in the new firmware
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-24 09:05:40 +01:00
Masayuki Ishikawa
a6eff3b1e1
boards: lm3s6965-ek: Fix qemu-kostest
...
Summary:
- I noticed two issues in the previous commit
- QEMU setting is missing
- The ostest takes longer time (i.e. 6m13s)
- This commit fixes these issues
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-24 11:29:39 +08:00
Xiang Xiao
d7fe0127b0
Replece clock_gettime(CLOCK_REALTIME) with clock_systime_timespec if suitable
...
it's better to call the kernrel api insteaad user space api in kernel
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-24 01:06:36 +08:00
Xiang Xiao
43f57240e0
Replece clock_gettime(CLOCK_MONOTONIC) with clock_systime_timespec
...
it's better to call the kernrel api insteaad user space api in kernel
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-24 01:06:36 +08:00
Masayuki Ishikawa
e0606a059e
boards: lm3s6965-ek: Add qemu-kostest
...
Summary:
- This commit adds lm3s6965-ek:qemu-kostest
- Also, updates README.txt
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-23 15:21:00 +01:00
Xiang Xiao
037d5038f9
boards/kinetis: Fix multiple definition of `i2c_dev'
...
when -fno-common is enabled
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 22:00:32 +08:00
Xiang Xiao
54b886ca0d
boards: Add -fno-common to ARCHCFLAGS and ARCHCXXFLAGS
...
since elf loader can't handle SHN_COMMON
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 22:00:32 +08:00
chao.an
d93fb526c7
boards/sama5: update the reserved syscall count
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-02-23 15:04:29 +09:00
Xiang Xiao
9836c6be9b
boards: Remove CONFIG_CLOCK_MONOTONIC from all defconfig
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
YAMAMOTO Takashi
3987d39be1
boards/sim/sim/sim/configs/ostest: Add a script to run ostest
2022-02-22 13:30:57 +08:00
YAMAMOTO Takashi
e5d7179e4c
boards/sim/sim/sim/configs/ostest/defconfig: Reduce the number of loops
...
I plan to run this on the CI. 100 is too much for the purpose.
2022-02-22 13:30:57 +08:00
Xiang Xiao
163fe4ff0b
boards: Replace CONFIG_CYGWIN_WINTOOL with CONVERT_PATH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 21:15:36 +01:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Xiang Xiao
746b68befc
boards/sim: Rename ARCHCPUFLAGS[XX] to ARCHC[XX]FLAGS
...
follow other board files usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:51:31 +01:00
Xiang Xiao
7047ba1b79
boards: Remove the unnecessary customize Make.defs
...
since the general Make.defs in scripts folder is enough
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:48:24 +01:00
Piet
2ed4ab64a9
sim: defconfig for hello_rust based on sim:nsh
2022-02-20 20:06:54 +08:00
Piet
baa4bf17b7
sim: Enable Rust suppport for hello_rust application.
2022-02-18 23:01:04 +08:00
Huang Qi
928b90b48d
boards: Add missing options to sim:vncserver
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-18 09:06:46 -03:00
Huang Qi
0c5aff9be6
risc-v/qemu-rv: Supports SMP up to 8 cores
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-18 13:25:01 +08:00
Peter Kalbus
6abdf73535
sim: Initial support on MacOS M1 and Linux AARCH64 based hosts.
2022-02-17 09:35:09 +08:00
Xiang Xiao
844ce47a2b
sim/nimble: Enable assert
...
until this patch get merged:
https://github.com/apache/mynewt-nimble/pull/1161
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-16 12:03:07 -08:00
Alan Rosenthal
8defb843aa
Remove duplicate linker script definitions
...
## Summary
A lot of linker scripts were listed twice, once for unix, once for windows.
This PR cleans up the logic so they're only listed once.
## Impact
Any opportunity to use a single source of truth and reduce lines of code is a win!
## Testing
CI will test all build
2022-02-17 02:55:25 +08:00
Huang Qi
f40a673fdf
boards/rv-virt: Supports FPU test and ostest in both rv32/rv64
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-17 01:09:51 +08:00
Petro Karashchenko
41c95da594
register_driver: fix driver modes accross the code
...
State of problem:
- Some drivers that do not support write operations (does not
have write handler or ioctl do not perform any write actions)
are registered with write permissions
- Some drivers that do not support read operation (does not
have read handler or ioctl do not perform any read actions)
are registered with read permissions
- Some drivers are registered with execute permissions
Solution:
- Iterate code where register_driver() is used and change 'mode'
parameter to reflect the actual read/write operations executed
by a driver
- Remove execute permissions from 'mode' parameter
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-16 16:15:29 +08:00
Xiang Xiao
b0fa232918
boards: Remove -D__NuttX__ from the individual Make.defs
...
since it is defined globally in tools/Config.mk now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-15 15:26:38 +01:00
Masayuki Ishikawa
613cbbf688
boards: risc-v: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS
...
Summary:
- Apply the same style as sabre-6quad
Impact:
- None
- NOTE: esp32c3-devkit still remains old style because of link errors
Testing:
- Build only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-15 16:27:53 +08:00
Masayuki Ishikawa
85a339eb66
boards: sama5d4-ek: Move -fno-common option to previous ARCHCFLAGS/ARCHCXXFLAGS
...
Summary:
- Apply the same style as sabre-6quad
Impact:
- None
Testing:
- Build only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-15 16:27:53 +08:00
Masayuki Ishikawa
de8f442d84
boards: sabre-6quad: Add -fno-common to Make.defs
...
Summary:
- I noticed that the following error happened when loading the init
'elf_symvalue: SHN_COMMON: Re-compile with -fno-common'
- This commit fixes this issue
Impact:
- sabre-6quad only
Testings:
- Tested with sabre-6quad:netknsh (not merged yet)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-15 16:27:53 +08:00
fenghang
555d25633a
add phyplus_rel_1.4
...
update source for phyplus driver rel_1.4
update source for phyplus driver rel 1.4
update source for phyplus driver 1.4
update phy6222 config files
2022-02-15 10:21:10 +08:00
Xiang Xiao
47e38eb70f
binfmt: Decouple builtin from binfs file system
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-14 09:35:35 -03:00
Huang Qi
ae3fa5cfbf
boards/k210: Add -mstrict-align to arch level flags since it don't support unaligned memory access
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-14 11:32:34 +08:00
Michael Jung
6086f42bfb
b-u585i-iot02a: Board Support
...
Support for the STMicroelectronics B-U585I-IOT02A development board. This
is a proof-of-concept port that demonstrates running NuttX as the
Non-Secure TrustZone domain companion to TrustedFirmware-M.
Signed-off-by: Michael Jung <mijung@gmx.net>
2022-02-13 16:32:35 +08:00
Huang Qi
64130b4775
risc-v: Use _ebss instead of _default_stack_limit as idle stack base
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-13 14:37:57 +08:00
Michal Lenc
4236fa926f
boards/arm/samv7/same70-xplained: added PWM support
...
This commit adds board level support of PWM driver to SAME70-XPLAINED
board. The functionality is tested with two new configurations
pwm:
An example configuration with configured PWM.
pysim:
This configuration contains support for pysimCoder application and
includes ADC and PWM peripherals and Ethernet driver.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2022-02-13 03:20:07 +08:00
Huang Qi
ef3219e83d
boards: Refresh all configs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-09 21:21:43 +08:00
Huang Qi
c0a0de97ce
Revert "libc: Call pthread_exit in user-space by up_pthread_exit"
...
This reverts commit f4a0b7aedd
.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-09 21:21:43 +08:00
Xiang Xiao
845640bc33
serial/pty: Decouple SUSv1 style from pseudo fs operation
...
and always enable BSD style PTYs since this feature doesn't
consume the additional code size
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-09 20:35:59 +08:00
Alin Jerpelea
7a674b6287
Makefiles: change license to Apache
...
Make files are recipes based on contributions from from Gregory Nutt
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-09 19:58:52 +08:00
John Bonham
f731763211
board: nucleo-l152re: Added registering logic I2C on /dev.
...
board: nucleo-l152re: Added registering logic I2C on /dev.
squash 5 commits
board: nucleo-l152re: Add missing I2C1 GPIO definition
I2C1 not worked due to it's GPIO pin definition has been missing on board.h.
Fix it through include two pin macros on stm32l15xxx_pinmap.h(arch/arm/src/stm32/hardware) to board.h
GPIO_I2C1_SCL => PB8 (CN5 pin 10, D15)
GPIO_I2C1_SDA => PB9 (CN5 pin 9, D14)
Added board_late_initialize() function for init I2C.
board: nucleo-l152re: Added registering logic I2C on /dev.
I2C1 hasn't been registered on /dev. Fix it.
board: nucleo-l152re: Fix code style.
Update board.h
board: nucleo-l152re: Fix code style.
Variables starting with symbol '"g_*" means it is a global variable, I think this is not the case here.
Fix code style
2022-02-09 12:26:01 +08:00
SPRESENSE
8de07b2ae8
boards: cxd56xx: audio: Support I2S input
...
Enable the driver setting of I2S input.
2022-02-08 10:47:03 +01:00