Commit Graph

896 Commits

Author SHA1 Message Date
Michal Lenc
d889350822 boards/arm/stm32/nucleo-f446re: added support for CAN driver
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-03-14 20:18:27 -03:00
Alin Jerpelea
d72081df78 boards: Makefile: Alan Carvalho de Assis: update licenses to Apache
Alan Carvalho de Assis has submitted the SGA and we can migrate the licenses
 to Apache.

Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-13 05:56:43 -08:00
Yuichi Nakamura
a657357640 boards/raspberrypi-pico: Support ENC28J60 SPI ethernet board 2021-03-11 19:31:17 -03:00
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
d4d996cc28 boards: spresense: Add CONFIG_ARCH_LEDS_CPU_ACTIVITY to board.h and cxd56_leds.c
Summary:
- This commit adds CPU activity LEDs feature to spresense

Impact:
- CONFIG_ARCH_LEDS_CPU_ACTIVITY=y only

Testing:
- Arch specific code and defconfigs will be commited later

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-11 15:30:38 +01:00
Pedro Bertoleti
a063974df2 Add INA219 support. 2021-03-11 10:41:52 +08: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
Pedro Bertoleti
9b7d0a01e4 Add BMP180 sensor support. 2021-03-09 18:33:24 -03:00
Gustavo Henrique Nihei
330eff36d7 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
13535d8725 linkerfiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Gustavo Henrique Nihei
47cb41c92f makefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Yuichi Nakamura
938b1daf02 arm/rp2040: RP2040 SPI DMA transfer support 2021-03-08 17:37:48 -03:00
Masayuki Ishikawa
5de82de889 boards: sabre-6quad: Add netnsh_smp configuration
Summary:
- This commit adds sabre-6quad:netnsh_smp configuration

Impact:
- None

Testing:
- Tested with telnetd, iperf (both -c and -s) with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-08 04:14:03 -08:00
Yuichi Nakamura
b9c5294226 boards/raspberrypi-pico: Support SPI and SD card 2021-03-08 17:06:07 +09:00
Masayuki Ishikawa
6ba23aabda Revert "boards: sabre-6quad: The iperf works with CONFIG_NET_TCP_WRITE_BUFFERS"
Summary:
- Let me revert the commit because I noticed that performance
  with iperf -s is much worth than before.

Impact:
- sabre-6quad:netnsh oly

Testing:
- Tested with iperf (both -c and -s) with QEMU

This reverts commit 07e7ccb80c.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-07 22:48:17 -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
Alin Jerpelea
0a797f1e8b boards: Makefile: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can migrate the licenses
 to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-05 04:08:55 -08:00
Jiuzhu Dong
3c0354aba6 net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
N/A

Change-Id: I7d10ec460c351e4fbcdc19b3a8284dcb77073722
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-03 19:01:41 -08:00
Yuichi Nakamura
81d917f741 boards/raspberrypi-pico: Add new config ssd1306 2021-03-03 09:35:45 -03:00
Yuichi Nakamura
599e5b1bb2 boards/raspberrypi-pico: Fix board settings to support i2c and ssd1306 2021-03-03 09:35:45 -03:00
Alan C. Assis
b1dc2199be stm32f103-minimum: Update README.txt to use MCP2515 module 2021-02-28 20:02:29 -08:00
Xiang Xiao
151cf49562 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Xiang Xiao
9473434587 Ensure the kernel component don't call userspace API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Masayuki Ishikawa
59a5d03842 boards: raspberrypi-pico: Update defconfigs
Summary:
- Adjust CONFIG_BOARD_LOOPSPERMSEC in all defconfigs
- Add CONFIG_TESTING_GETPRIM to nsh and nshsram
- Add CONFIG_SYSTEM_TASKSET to smp
- NOTE: CONFIG_SCHED_WAITPID is removed because it is selected

Impact:
- The smp app will take longer than before but it's a correct behavior

Testing:
- Tested with getprime, ostest, smp
2021-02-26 22:23:55 -06:00
Michal Lenc
3b219fb2da boards/arm/imxrt/teensy-4.x: allow configuration of all CANs
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-25 22:31:04 -08:00
Yuichi Nakamura
01699e00e0 arm/rp2040: Raspberry Pi Pico SMP support 2021-02-25 07:20:59 +09:00
Gustavo Henrique Nihei
07900cdce9 Fix typo in "repetitions" word 2021-02-23 07:18:33 -08:00
Yuichi Nakamura
7b8c72ec1b boards: raspberrypi-pico: Add nshsram defconfig for SRAM build 2021-02-22 09:11:09 -08:00
Masayuki Ishikawa
1f61c58e43 boards: raspberrypi-pico: Normalize nsh/defconfig
Summary:
- This commit normalizes nsh/defconfig

Impact:
- None

Testing:
- None
2021-02-22 12:14:47 +00:00
Masayuki Ishikawa
706740bfc3 boards: raspberrypi-pico: Introduce rp2040_reset.c to support reboot
Summary:
- This commit introduces rp2040_reset.c to support reboot

Impact:
- None

Testing:
- Tested with both BOOTSEL=ON and OFF
2021-02-21 13:22:35 +00:00
Masayuki Ishikawa
d68bfe1e1a boards: raspberrypi-pico: Introduce rp2040_bringup() to mount procfs
Summary:
- This commit introduces rp2040_bringup() to mount procfs

Impact:
- None

Testing:
- Tested with raspberrypi-pico:nsh
2021-02-21 13:22:35 +00:00
Yuichi Nakamura
b753eeabf1 boards/arm: Add Raspberry Pi Pico board support 2021-02-20 03:45:24 -08:00
Brennan Ashton
9f1017feb3 board/freedom-k64f: Add usbdev support with cdcacm example 2021-02-14 19:51:34 -08:00
YAMAMOTO Takashi
702bc95cac tiva/lm3s6965-ek: Add a few configs for qemu
Mainly for me. I keep forgetting how to run this on qemu.
Hopefully this can be useful for others too.
2021-02-13 07:31:46 -08:00
YAMAMOTO Takashi
7df273baf9 boards/arm/tiva/lm3s6965-ek/README.txt: Replace a few non-ascii characters
0xae -> (R)
0x99 -> removed
0x96 -> -
2021-02-13 07:31:46 -08:00
Jeonghyun Kim
830ec0c371 board: nucleo-l432kc: Add missing i2c_master_s definition
i2c_master_s definition of each i2c device is necessary but it's missing on past commit. so correct it.
2021-02-12 04:31:07 -08:00
Jeonghyun Kim
042f6e696d board: nucleo-l432kc: fix code style correctly 2021-02-11 06:39:09 -03:00
Jeonghyun Kim
e5c90232af board: nucleo-l432kc: Add I2C3 registering logic on app init
I2C3 hasn't been registered on /dev because registering logic cares about only I2C1, not I2C3. So, added I2C3 on it.
2021-02-11 06:39:09 -03:00
Jeonghyun Kim
d594a171ac board: nucleo-l432kc: Add missing I2C3 GPIO definition
I2C3 not worked due to it's GPIO pin definition has been missing on board.h.
Fix it through include two pin macros on stm32l4x3xx_pinmap.h to board.h.
GPIO_I2C3_SCL and GPIO_I2C3_SDA is pointing A7 and B4 respectively.
2021-02-11 06:39:09 -03:00
Masayuki Ishikawa
d87f350831 arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
  g_irq_spin for backword compatibility (In this case, NULL must be specified)

Impact:
- None

Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
Matias N
87596d74dd Documentation: introduce hardware platforms documentation 2021-02-07 08:38:51 -03: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
7a58144ff2 boards: imxrt1050-evk: Fix style warnings in imxrt_ethernet.c
Summary:
- This commit fixes style warnings in imxrt_ethernet.c
Impact:
- None

Testing:
- Built with imxrt1050-evk:netnsh

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 21:49:16 -08:00
Masayuki Ishikawa
940d0cb964 boards: imxrt1020-evk: Fix style warnings in imxrt_ethernet.c
Summary:
- This commit fixes style warnings in imxrt_ethernet.c

Impact:
- None

Testing:
- Built with imxrt1020-evk:netnsh

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 21:49:16 -08:00
Masayuki Ishikawa
0c1e784245 boards: imxrt1060-evk: Add iperf to netnsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-04 00:29:07 -08:00
Matias N
45b392be7e nRF52: add support for building SoftDevice BLE controller 2021-02-02 14:40:26 -08:00
Masayuki Ishikawa
778c805357 boards: lc823450-xgevk: Update rndis/defconfig
Summary:
- Add DEBUG_HARDFAULT_ALERT
- Add the iperf and optimize IOB and ETH_PKTSIZE
- Enable TCP_WRITE_BUFFER
- Remove SCHED_INSTRUMENTATION_PREEMPTION
- Remove NETINIT_DHCPC
- Add getprime

Impact:
- lc823450-xgevk:rndis only

Testing:
- Tested with iperf, telnet, wget
- NOTE: need to update iperf in apps

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-01 18:40:39 -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
Alan C. Assis
b0d611d3dc Replace ARM_LWL_CONSOLE with generic LWL_CONSOLE 2021-01-31 06:14:50 -08:00
Pavel Pisa
bd372724cc boards/arm/imxrt/teensy-4.x: added configuration for PiKRON's BaseBoard v1.
The BaseBoard carries Teensy 4.1 SBC. The complete design
of the baseboard (teensy_bb-1.tdb) is available at

  https://gitlab.com/pikron/projects/imxrt-devel/-/tree/master/hw

Attempt is to provide configuration which enables most
of interfaces of the BaseBoard and allows runtime applications
loading over TFTP.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
Pavel Pisa
c5d25d5887 boards/arm/lpc17xx_40xx/lx_cpu: enable CLOCK_MONOTONIC and NETDB support.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
Pavel Pisa
e7ed720699 boards/arm/lpc17xx_40xx/lx_cpu/: increase sections alignment and fix .ARM.exidx overlap.
The ARMv7 specifies minimal alignment to be 8 for EABI. Ensure
that sections are placed with even greater minimal alignment.
Sections final alignment should be adjusted according
to alignment of their inputs, but for some reasons some
combinations lead to .ARM.exidx overlap with .data.
When alignment is increased then the direct fetch of the
fill location

  _eronly = ABSOLUTE(.);

does not match with final LMA placement of the .data section.
Use constructs which should result in matching .data LMA
address for all cases

  _eronly = ABSOLUTE(.);

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
Pavel Pisa
210689535a boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh: increase number of memory regions.
There was one region missing to register external SDRAM
into heap.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
Pavel Pisa
d77fe3390f board/arm/imxrt: the request for map file in Make.defs LDFLAGS results in absolute path in export target.
The BSP MAke.defs line

  LDFLAGS += -Map=$(TOPDIR)/nuttx.map

results  in absolute path in nuttx-export/scripts/Make.defs
which would mean that each application rebuild would attempt
to modify file inside original build of NuttX system.

Even worse, it prevents linking by GCC, because -Map=xxx/nuttx.map
works directly in LD, it would require -Wl,-Map= for GCC.

Fixed name of map file prevents to define map file by build
system using exported NuttX libraries and link kit.

Change is done to allow OMK template based applications
development for another NuttX BSP

  https://github.com/ppisa/nuttx-devel/tree/master/nuttx-omk-template

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
Masayuki Ishikawa
07e7ccb80c boards: sabre-6quad: The iperf works with CONFIG_NET_TCP_WRITE_BUFFERS
Summary:
- This commit makes the iperf work with CONFIG_NET_TCP_WRITE_BUFFERS
- Since the iperf sends a large packet (e.g. 16KB), CONFIG_IOB_NBUFFERS
  must be increased enough to hold the packet
- To improve performance CONFIG_IMX_ENET_NTXBUFFERS was changed to
  the default (i.e. 2)

Impact:
- sabre-6quad:netnsh only

Testing:
- Tested with iperf with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-29 00:05:01 -08:00
Masayuki Ishikawa
0356a6db31 boards: sabre-6quad: Update netnsh/defconfig
Summary:
- This commit updates the followings
- Remove CONFIG_DEBUG_XXX except for CONFIG_DEBUG_FULLOPT and CONFIG_DEBUG_SYMBOLS
- Add CONFIG_EXAMPLES_IPERF=y and CONFIG_EXAMPLES_TCPBLASTER=y
- Set CONFIG_IMX_ENET_NTXBUFFERS=1 and CONFIG_NET_ETH_PKTSIZE=1514
- Add CONFIG_SCHED_LPWORK=y and CONFIG_SYSLOG_TIMESTAMP=y
- Add CONFIG_SYSTEM_DHCPC_RENEW=y and CONFIG_SYSTEM_DHCPC_RENEW=y

Impact:
- sabre-6quad:netnsh only

Testing:
- Tested with sabre-6quad:netnsh with QEMU

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-28 18:41:34 -08:00
baggio63446333
0261e58a8b boards: cxd56xx: Add I2C bitbang driver registration
Add board API to register i2c bitbang driver as i2c device.
2021-01-26 13:59:30 -03:00
Alin Jerpelea
e76f0f3de9 arch: arm: cxd56xx: replace licenses with Apache 2.0
This change is a license change to Apache 2.0 license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-25 04:34:41 -08:00
Alin Jerpelea
0881e0e8db boards: arm: cxd56xx: drivers: update license to Apache 2.0
This is a license change to Apache 2.0 license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-25 04:34:41 -08:00
Alin Jerpelea
94774f4d5b boards: arm: cxd56xx: common: update license to Apache 2.0
This is a license change to Apache 2.0 license.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-01-25 04:34:41 -08:00
Matias N
76cc5c36e4 bmp280: convert to common sensor interface 2021-01-18 21:08:34 -03:00
Brennan Ashton
3a64783273 nrf52: Add simple i2c test configuration
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2021-01-17 23:46:01 -08:00
Xiang Xiao
7df322c6be bluetooth: Move the lower half null check to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-17 20:49:19 -08:00
Xiang Xiao
eda15d23c2 boards/imxrt1020-evk: Don't include the unused bt_uart_shim.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-17 20:49:19 -08:00
Alan C. Assis
0c5f71c849 boards/stm32f4discovery: Add a LWL board profile and improve the README.txt 2021-01-16 16:16:46 -08:00
Masayuki Ishikawa
aa4a30f81c boards: lm3s6965-ek: Add iperf to discover/defconfig
Summary:
- This commit adds the following configs
  +CONFIG_EXAMPLES_IPERF=y
  +CONFIG_EXAMPLES_IPERFTEST_DEVNAME="eth0"
  +CONFIG_NET_ETH_PKTSIZE=1514

Impact:
- lm3s6965-ek:discover only

Testing:
- Tested with qemu

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-15 08:30:05 -06:00
Xiang Xiao
0dc6990166 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Xiang Xiao
0536953ded Kernel module should prefer functions with nx/kmm prefix
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-01-13 08:57:58 +01:00
Masayuki Ishikawa
84283d0911 boards: sabre-6quad: Update README.txt
Summary:
- This commit updates how to build the u-boot
- Also adds tftpboot

Impact:
- No impact

Testing:
- Tested with sabre-6quad board

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-01-06 20:18:28 -06:00
Xiang Xiao
753cb6c22b bluetooth: Remove BLUETOOTH_UART_BT860 from Kconfig
it isn't difference from BLUETOOTH_UART_OTHER, so let's use the later instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-29 18:11:21 -08:00
Masayuki Ishikawa
3e4917e3b6 boards: stm32f4discovery: Replace license header with Apache License 2.0
Summary:
- This commit replaces SHES related headers under stm32f4discovery

Impact:
- No impact

Testing:
- Build check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
Masayuki Ishikawa
96769b0722 boards: cxd56xx: Replace license header with Apache License 2.0
Summary:
- This commit replaces SHES related headers under cxd56xx

Impact:
- No impact

Testing:
- Build check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
Masayuki Ishikawa
38733b76df boards: stm32f4discovery: Fix style violations
Summary:
- This commit fixes style violations in stm32_mmcsd.c

Impact:
- No impact

Testing:
- Build check only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-28 08:43:35 +01:00
Masayuki Ishikawa
ace6e70f57 arch: imx6: Add imx_enet driver
Summary:
- This commit adds imx_enet driver derived from imxrt_enet

Impact:
- imx6 only

Testing:
- Tested with sabre-6quad:netnsh
- NOTE: telnetd works with QEMU
2020-12-23 16:56:25 -03:00
Michal Lenc
6439d1b976 boards/arm/imxrt/teensy-4.x: Added lcd-4.1 config to README.txt
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
Michal Lenc
1502693f93 boards/arm/imxrt/teensy-4.x: Added support for LCD display with ST7789
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-23 11:19:53 -03:00
Xiang Xiao
9ea229cea0 boards: Remove CINCPATH and CXXINCPATH
these macro doesn't need anymore with commit:
commit d32e9c38df
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date:   Sat Jul 11 18:37:40 2020 +0800

boards: Move the C/C++ search path to the common place

so all boards support uClibc++/libc++ automatically
2020-12-20 13:52:50 +01:00
Masayuki Ishikawa
7fdfc9377e boards: stm32f4discovery: Add adb configuration
Summary:
- This commit adds adb configuration

Impact:
- stm32f4discovery:adb only

Testing:
- Tested with adb client on ubuntu18.04 x86_64
- adb shell works but still unstable

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-17 02:53:15 -06:00
Masayuki Ishikawa
9f586a6042 boards: stm32f4discovery: Call usbdev_adb_initialize() in stm32_bringup.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-17 02:53:15 -06:00
Masayuki Ishikawa
aa6ddf6e5d boards: sabre-6quad: Update Make.defs to remove unused code
Summary:
- Add -ffunction-sections -fdata-sections to ARCHCFLAG
- Add --gc-sections to LDFLAGS

Impact:
- sabre-6quad only

Testing:
- Tested with nsh and smp configurations

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-15 20:56:08 -06:00
Michal Lenc
3ec7cd186a boards/arm/imxrt/teensy-4.x: CDC-ACM console support
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-12-14 04:25:56 -06:00
Masayuki Ishikawa
1aa7f3498f boards: stm32f4discovery: Update usbnsh/defconfig
Summary:
- Enable CONFIG_DEBUG_SYMBOLS and CONFIG_DEBUG_FULLOPT
- Add CONFIG_EXAMPLES_HELLO=y
- Remove CONFIG_HOST_WINDOWS=y
- Enable CONFIG_RAMLOG and CONFIG_RAMLOG_SYSLOG
- Add CONFIG_STACK_COLORATION=y

Impact:
- stm32f4discovery:usbnsh only

Testing:
- Tested with stm32f4discovery board

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-12-14 03:39:24 -06:00
Diego Herranz
375211f5a1 boards/arm/stm32: add common and stm32f103-minimum support for WS2812 LEDs. 2020-12-09 22:55:27 +01:00
raiden00pl
0c05f2ea38 stm32: add stm32g43x support and nucleo-g431rb board 2020-12-09 09:43:25 -03:00
Diego Herranz
258fc77999 boards/arm/stm32/stm32f103-minimum: cleanup
- Remove prototypes no longer needed after some code was moved to common folder
- Fix function names in syslog messages
- Minor typos
2020-12-09 12:54:25 +01:00
Diego Herranz
d838ea596f boards/arm/stm32/common: devpath not long enough for apa102 and veml6070
Also header path updated in drivers/leds/apa102.c
2020-12-09 09:22:03 +01:00
Simon Piriou
33125e929c stm32f103-minimum: add Android Debug Bridge defconfig 2020-12-08 10:13:29 -06:00
Simon Piriou
2bb31dca4c stm32f103-minimum: add board reset 2020-12-08 10:13:29 -06:00
Simon Piriou
2883dbdaf0 stm32f103-minimum: optimize flash size 2020-12-08 10:13:29 -06:00
YAMAMOTO Takashi
1e12c57bba boards/arm/lpc214x/zp214xpa/src/lpc2148_spi1.c: Don't assume debug macro expansion 2020-12-06 09:03:09 -06:00
YAMAMOTO Takashi
faa23102fe boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
60795464ef boards/arm/s32k1xx/rddrone-uavcan146/src/s32k1xx_bringup.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
46974c29bd boards/arm/sam34/sam4e-ek/src/sam_at25.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
392c2948e5 boards/arm/sam34/sam4e-ek/src/sam_at25.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
61579ed140 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Fix syslog formats 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
c007f70de5 boards/arm/sam34/sam3u-ek/src/sam_lcd.c: Appease nxstyle
The following nxstyle errrors are intentionally left.
They are a part of a large table, which is not trivial to fix.

boards/arm/sam34/sam3u-ek/src/sam_lcd.c:43:87: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:44:86: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:45:87: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:46:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:47:89: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:48:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:49:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:50:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:51:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:52:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:53:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:54:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:55:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:56:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:57:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:58:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:59:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:60:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:61:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:62:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:63:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:64:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:65:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:66:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:67:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:68:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:69:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:70:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:71:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:72:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:73:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:74:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:75:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:76:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:77:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:78:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:79:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:80:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:81:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:82:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:83:84: error: Long line found
boards/arm/sam34/sam3u-ek/src/sam_lcd.c:84:84: error: Long line found
2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
3599120dbb boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Fix a syslog format 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
b69dbbcbcf boards/arm/sama5/sama5d4-ek/src/sam_at25.c: Appease nxstyle 2020-12-06 07:41:37 -06:00
YAMAMOTO Takashi
25ea93cb4a boards/arm/sama5/sama5d3x-ek/src/sam_at25.c: Fix a syslog format 2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
6d692fad82 boards/arm/sama5/sama5d3x-ek/src/sam_at25.c: Appease nxstyle 2020-12-05 08:13:32 -06:00