Commit Graph

1350 Commits

Author SHA1 Message Date
SPRESENSE
64e5867a8b cxd56/spresense: Add callback mechanism to notice SDCard injection
Add a mechanism to callback to an application to notice the SDCard
status is changed (inserted or ejected).
2022-04-12 07:55:00 +09:00
SPRESENSE
81534df8a3 boards: cxd56xx: Add board function for scd41 sensor driver
Add board function for SCD41 CO2, temperature and humidity sensor driver.
2022-04-12 07:55:00 +09:00
SPRESENSE
771bd8ca17 board/spresense: Add pin selection of ILI934x
Add Kconfig choice for selecting RST and DC pins on ILI934x LCD.
2022-04-12 07:55:00 +09:00
SPRESENSE
22d2ef0bf4 boards: cxd56xx: Make board_late_initialize a weak function
Add a weak_function to the board_late_initialize function so that
it can be replaced by another file, such as a user application.
2022-04-12 07:55:00 +09:00
SPRESENSE
c2e45444ff boards: cxd56xx: Fix an issue i2c tool not working
It caused i2c tool not to work due to i2c uninitializing processing.
Since this process is not necessary in the normal case, we will
move it to the error case.
2022-04-12 07:55:00 +09:00
Xiang Xiao
c235c0fa43 boards/lx_cpu: Enable up_perf API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-08 21:02:13 -03:00
Xiang Xiao
1f7b49d700 boards/nucleo-h743zi2: Enable up_perf API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-08 21:02:13 -03:00
Jiuzhu Dong
d87cf8d4ca fs/poll: change format for type pollevent_t
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-07 12:14:06 +08:00
Michael Jung
747da36eae b-u585i-iot02a:nsh: Drop TrustedFirmware-M dependency
Make the nsh defconfig for the b-u585i-iot02a run stand-alone (i.e. not
as a companion that relies on TF-M doing low-level board
initialization).
2022-04-03 23:20:03 +03:00
Michael Jung
9d07559906 b-u585i-iot02a: Fix stdclock initialization
Correct the respective defines to initialize the B-U585I-IOT02A clock
tree correctly by means of stm32_stdclockconfig().
2022-04-03 23:20:03 +03:00
raiden00pl
7403678db7 boards/nucleo-f446re: initialize up_perf 2022-04-02 10:34:35 -03:00
Gustavo Henrique Nihei
e1f28c19c2 arch/arm: Make CXX exception and RTTI depend on Kconfig options
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Petro Karashchenko
f5665db1f2 boards: correct path to RCRAWS files during file copy
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-29 12:11:09 +08: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
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
Michael Mogenson
97fa9b849c defconfig: add Lua configs for sim and teensy-4.x 2022-03-24 14:02:32 +08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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