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