Alan Carvalho de Assis
0e914506da
boards/stm32f7: Add Common Board Drivers support
2023-08-28 21:03:19 +03:00
Xiang Xiao
47faeeb360
tls: Move task_tls_alloc and task_tls_destruct to libc
...
so task_tls_destruct can be called from usrspace, which is required by:
https://github.com/apache/nuttx/pull/10288
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-28 11:02:18 +03:00
makejian
98bb66998b
spresense/lte: use mbedtls version configured
...
Signed-off-by: makejian <makejian@xiaomi.com>
2023-08-28 01:48:47 +08:00
raiden00pl
af4a065efb
nrf52840-dk: add lsm9ds1 sensor support
2023-08-27 10:05:05 +08:00
Alexis Christoforides
033f265e53
Meadow.OS source code migration - Part 1 - Take 2
...
This patch starts to implement the ability to build Meadow.OS for the Meadow F7 board with the NuttX mainline. It will be followed by more patches, progressively enabling full Meadow.OS functionality. This configuration is a work in progress.
The Meadow.OS source code is needed to build this configuration. Meadow.OS is being open-sourced under the Apache 2.0 license. A prototype of the source code release and integration with NuttX is at https://github.com/WildernessLabs/Meadow.OS/tree/prototype
This is the second revision of this patch, as the first one (https://github.com/apache/nuttx/pull/9997 ) was causing build issues on NuttX CI and was reverted.
This should only impact the Meadow F7 board configurations.
No testing to be done, as the configuration is under development.
2023-08-26 08:49:17 +02:00
raiden00pl
81a9a2e5e0
boards/stm32h7: normalize configurations
2023-08-26 03:35:32 +08:00
raiden00pl
5407dfccc3
boards: disable CM4 for stm32h745i-disco and stm32h747i-disco
2023-08-26 03:35:32 +08:00
raiden00pl
03b058dddc
boards/stm32h7: add nucleo-h745zi
2023-08-26 03:35:32 +08:00
SPRESENSE
f7400a857d
drivers/audio/cxd56: Move cxd56 sources into arch/cxd56xx
...
CXD56 audio functions are inside of the CXD56.
So implementation of it should be under arch directory.
2023-08-26 01:20:32 +08:00
SPRESENSE
7d0d6234eb
sensors: Move SCU-specific bmp280 sensor into spresense board
...
Move SCU-specific bmp280 sensor into spresense board layer.
2023-08-25 17:06:00 +08:00
SPRESENSE
ffcea1da4f
sensors: Move SCU-specific bmi160 sensor into spresense board
...
Move SCU-specific bmi160 sensor into spresense board layer.
2023-08-25 17:06:00 +08:00
SPRESENSE
795dcee521
sensors: Move SCU-specific ak09912 sensor into spresense board
...
Move SCU-specific ak09912 sensor into spresense board layer.
Rename a function name to register SCU sensor driver
from ak09912_register to ak09912_scu_register.
2023-08-25 17:06:00 +08:00
raiden00pl
9117cf44e1
Documentation: migrate STM32F1
2023-08-25 00:11:05 +08:00
raiden00pl
00db279c00
Documentation: migrate STM32F4
2023-08-24 12:07:40 -03:00
SPRESENSE
0953d0cbb5
boards: cxd56xx: Fix charger and gauge initialize functions
...
Fix the function definitions to match the prototype declarations.
2023-08-24 20:11:20 +08:00
Philippe Leduc
e084c52e12
Add i.MX8MP Cortex-M7 port for NuttX
2023-08-24 20:10:48 +08:00
raiden00pl
a4637613d8
Documentation: migrate STM32F7
2023-08-24 17:56:59 +08:00
raiden00pl
c3f8753ecd
Documentation: migrate STM32L4
2023-08-24 17:56:39 +08:00
raiden00pl
32ddfe918d
Documentation: migrate STM32L5
2023-08-23 23:39:25 +08:00
raiden00pl
635488b04a
Documentation: migrate STM32U5
2023-08-23 23:38:56 +08:00
raiden00pl
87b028c227
Documentation: migrate STM32F3
2023-08-23 23:38:16 +08:00
raiden00pl
2b6f8ede4b
Documentation: migrate STM32L1
2023-08-23 23:29:50 +08:00
raiden00pl
d3b727eec3
Documentation: migrate STM32F2
2023-08-23 23:29:08 +08:00
raiden00pl
fe874d1d5c
Documentation: migrate STM32H7
2023-08-23 23:23:08 +08:00
raiden00pl
a630f9f210
Documentation: migrate STM32G4
2023-08-23 23:22:41 +08:00
raiden00pl
8a03b886dd
Documentation: migrate STM32WB
2023-08-23 23:22:14 +08:00
raiden00pl
77716ee264
Documentation: migrate STM32L0
2023-08-23 23:21:54 +08:00
raiden00pl
44f288a37c
Documentation: migrate STM32G0
2023-08-23 23:20:52 +08:00
raiden00pl
8da255309b
Documentation: migrate STM32F0
2023-08-23 23:20:08 +08:00
raiden00pl
81118db95d
Documenation: migrate XMC4
2023-08-23 12:12:14 +08:00
Masayuki Ishikawa
cc906e28e4
boards: Fix QEMU_VIRTIO_MMIO_NUM
...
Summary:
- I noticed that device discovery for virtio-mmio devices does not
work without bus=virtio-mmio-bus.x option. Without this option,
qemu assigns the virtio device into the virtio-mmio space
in reverse order automatically.
- To fix this issue, we must specify the correct numbers for the
target machines. (i.e. arm32/64->32, rv32/64->8)
Impact:
- None
Testing:
- Tested with qemu-7.2.4
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-08-22 20:26:10 +08:00
raiden00pl
72a0b19141
boards/nrf5340-dk: enable rpmsg uart for rptun configurations
2023-08-21 17:34:36 +08:00
raiden00pl
187a067866
arch/nrf53/rptun: remove dependency on DEV_SIMPLE_ADDRENV
2023-08-21 17:34:36 +08:00
raiden00pl
74cc036536
boards/nrf53: add missing shmem section
2023-08-21 17:34:36 +08:00
fangxinyong
6c8b0ba9f3
libc/netdb: add dependence to net ip config
...
avoid to invalid enabled if no net ip config
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-21 13:01:04 +08:00
Xiang Xiao
90f8315432
arch: Remove up_netinitialize
...
since this api change to xxx_netinitialize
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-20 14:33:17 +03:00
raiden00pl
3350609a8a
boards/arduino-nano-33ble{-rev2}: use bool for leds state
2023-08-18 20:06:22 +08:00
simbit18
e374f327c1
Fix Kconfig style
...
Remove spaces from Kconfig
2023-08-18 08:13:26 +02:00
wangming9
8cee6f0cc8
boards/arm/qemu: Add qemu board for ARM
...
See boards/arm/qemu/qemu-armv7a/README.txt for details
Signed-off-by: wangming9 <wangming9@xiaomi.com>
2023-08-15 23:56:41 +08:00
raiden00pl
ae6067fb29
boards/stm32h7: HCLK and ACLK are delivered from SYSCLK not CPUCLK
2023-08-14 23:40:46 +08:00
raiden00pl
a1d7b2961d
boards/nrf52: add Arduino Nano 33 BLE Rev2 board
2023-08-14 20:42:59 +08:00
Brian Doherty
f444de0882
Initial port to Arduino Nano 33 BLE.
2023-08-14 11:11:50 +08:00
wanggang26
92eeaa4277
enable CONFIG_BOARDCTL for ofloader
...
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2023-08-13 11:43:43 -03:00
Xiang Xiao
b183114d43
arch/arm: Change the default value to ARCH_TRUSTZONE_NONSECURE
...
since nuttx normally run inside the non secure execution environment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-13 08:43:01 +02:00
Alexander Lunev
73867b9759
boards/arm/stm32h7/stm32h745i-disco: supported external SDRAM
...
Supported external SDRAM (MT48LC4M32B2B5-6AIT:L) on STM32H745I-DISCO dev board.
Though MT48LC4M32B2B5-6AIT:L SDRAM itself provides 32-bit data bus, STM32H745I-DISCO board
routes only DQ[15:0] bits. Thus only half of the memory can be accessed: the accessible memory
configuration is only 1 Meg x 16 x 4 banks instead of 1 Meg x 32 x 4 banks.
Thus the accessible memory size is 8 MBytes.
Testing:
nsh> ramtest -a 0xD0000000 -s 8388608
RAMTest: Marching ones: d0000000 8388608
RAMTest: Marching zeroes: d0000000 8388608
RAMTest: Pattern test: d0000000 8388608 55555555 aaaaaaaa
RAMTest: Pattern test: d0000000 8388608 66666666 99999999
RAMTest: Pattern test: d0000000 8388608 33333333 cccccccc
RAMTest: Address-in-address test: d0000000 8388608
nsh>
2023-08-12 18:18:23 +08:00
Xiang Xiao
4bb30ab0c1
freedom-k28f/nshsdusb: Remove CONFIG_NETDB_BUFSIZE
...
since it isn't really used by this config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-12 00:36:52 +03:00
Alan Carvalho de Assis
9d51024434
Revert "Meadow.OS source code migration - Part 1"
...
It is causing error in the mainline:
boards/arm/stm32f7/.../src/Meadow.OS/espcp/Kconfig: No such file or directory
This reverts commit 24e37ec3e8
.
2023-08-12 00:36:31 +03:00
Alexis Christoforides
24e37ec3e8
Meadow.OS source code migration - Part 1
2023-08-11 16:37:10 -03:00
Peter van der Perk
d582e4d37e
boards: imxrt teensy-4.x/imxrt1064: Enable dma for lpi2c/lpspi
2023-08-11 13:41:49 -03:00
Peter van der Perk
c63cb4c2f3
boards: ucans32k146: Enable lpi2c/lpspi dma in can config
2023-08-11 13:41:49 -03:00
Peter van der Perk
2a6c5ed728
board: mr-canhubk3: enable lpi2c/lpspi edma for net config
2023-08-11 13:41:49 -03:00
Xiang Xiao
6b4e5c0d15
binfmt: Change the default of BINFMT_DISABLE to DEFAULT_SMALL
...
to optimize the image size when and DEFAULT_SMALL is enabled
and refresh the defconfig in boards/
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-10 11:35:41 +03:00
Alan Carvalho de Assis
5417e193d6
stm32f7-meadow: Update usbnsh defconfig to include QSPI Flash
2023-08-09 11:06:23 +08:00
Alan Carvalho de Assis
1a57847e04
stm32f7-meadow: Fix QUADSPI call function
...
New board uses a different flash model
2023-08-09 11:06:23 +08:00
xuxin19
4cd916d16b
cmake:support armv7-r and tms570 chip
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-07 10:06:05 -07:00
SPRESENSE
bfc51d6a87
boards: cxd56xx: Fix duplicate make target
...
Remove a build warning by target 'cxd56_audio.o' given more than once
in the same rule.
2023-08-07 12:45:37 +02:00
SPRESENSE
72b9d97560
boards: cxd56xx: Disable NET_ARP from lte defconfig
...
LTE does not support ARP, and so disable CONFIG_NET_ARP.
2023-08-07 02:18:19 -07:00
anjiahao
3a808bab19
support stm32f429i-disco run open flash loader
...
We can use the driver in nuttx to download
files with debugger
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-05 12:40:02 -07:00
cuiziwei
25eb09c3bb
nuttx/boards:add KEEP to *(.init_array .init_array.*)
...
replace *(.init_array .init_array.*) with KEEP(*(.init_array .init_array.*)).
The KEEP statement within a linker script will instruct the linker to keep the specified section, even if no symbols inside it are referenced. This statement is used within the SECTIONS section of the linker script. This becomes relevant when garbage collection is performed at link time, enabled by passing the --gc-sections switch to the linker. The KEEP statement instructs the linker to use the specified section as a root node when creating a dependency graph, looking for unused sections. Essentially forcing the section to be marked as used.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-05 05:02:25 -07:00
simbit18
2868e28837
fix incorrect comments
...
stm32_bh1750.c: barometer -> ambient light sensor
xmc4_max6675.c: barometer -> temperature
esp32_max6675.c: barometer -> temperature
esp32s2_max6675.c: barometer -> temperature
2023-08-03 08:04:51 -07:00
raiden00pl
4f83811a09
nucleo-f446re: add systemview configuration
2023-08-02 08:05:37 -07:00
simbit18
1b8714f79f
fix incorrect comments
...
boards/arm/cxd56xx/drivers/sensors/bmi160_scu.c: fix incorrect comments to the Right of Statements.
drivers/sensors/ak09912.c: fix incorrect function description ak09912_putreg8 and ak09912_getreg8
2023-08-01 13:24:16 -04:00
simbit18
8f744592d5
Fix nuttx coding style
...
Fix Comments
2023-07-31 10:54:53 -03:00
SPRESENSE
f04dce1314
boards: cxd56xx: Fix issue that GPO is not iniitalized by watchdog
...
Fix an issue that GPO pins is not iniitalized by watchdog reboot.
If the watchdog expires during LTE is in use, it causes the LTE
to remain powered on and fails to launch after reboot.
2023-07-31 03:28:43 -07:00
Xiang Xiao
fc5e85da1b
drivers: Format pointer through "%p" for kthread_create
...
to remove the unnecessary cast and unify the usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-30 23:40:59 +03:00
hujun5
618d47570d
arm/trustzone: update defconfig
...
we should add CONFIG_ARCH_TRUSTZONE_NONSECURE=y to ap's defconfig
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-07-29 06:58:24 -07:00
hujun5
ad6b12acf5
arm/trustzone: update defconfig
...
we should add CONFIG_ARCH_TRUSTZONE_NONSECURE=y to ap's defconfig
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-07-26 18:53:28 -07:00
Xiang Xiao
f3269a6caa
sched: Rename DEBUG_TCBINFO to ARCH_HAVE_TCBINFO
...
and select if the arch support to define g_tcbinfo variable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-26 09:33:38 +02:00
raiden00pl
4aa54e8405
cmake: port more stm32 boards and format already ported stm32 boards
2023-07-25 06:08:54 -07:00
raiden00pl
e64335f24c
cmake: format Nordic boards
2023-07-25 06:08:54 -07:00
raiden00pl
dffb472ad9
cmake: port stm32f0l0g0
2023-07-24 10:13:26 -07:00
kcheshmedzhiev
ea87d008a0
Initial support for NUCLEO-U5A5ZJ-Q board
...
Fix for ci error
Typo changes
Fixed typo in boards/arm/stm32u5/nucleo-u5a5zj-q/src/stm32_bringup.c
Typo changes
Typo fixes
Typo fixes
Typo changes
Typo changes
Typo changes
2023-07-23 18:42:05 -07:00
raiden00pl
f3e22c0bb0
boards/nrf9160-dk: update modem configuration
2023-07-23 19:56:38 +08:00
raiden00pl
26dda05cdf
tools/ci: migrate some ci build configurations to CMake
2023-07-22 00:59:44 +08:00
raiden00pl
f97199340e
cmake: port missing nrf52 boards
2023-07-22 00:59:44 +08:00
Xiang Xiao
a51be33a41
libc/tls: Change the default value of TLS_NELEM to zero
...
to ensure the default config as small as possible.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-20 08:11:30 +02:00
raiden00pl
9da715db12
boards: use the example from NuttX-apps for all NimBLE configurations
2023-07-20 01:45:38 +08:00
Alexis Christoforides
fcc2398078
Set product/manufacturer id strings
2023-07-18 23:46:34 +08:00
Alan Carvalho de Assis
3be1949126
stm32f777zit6-meadow: Add usbnsh board profile
2023-07-18 23:46:34 +08:00
Alan Carvalho de Assis
3eab3ccf69
Remove extra #endif from stm32_usb.c
2023-07-18 23:46:34 +08:00
Alan Carvalho de Assis
65ad9c2b7e
Fix PLLSAI clock frequency
2023-07-18 23:46:34 +08:00
Xiang Xiao
abfe082a6f
Kconfig: Simplify the conditional default statement
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-16 14:39:20 -03:00
Xiang Xiao
e031a73aef
Kconfig: Change some "default y" to "default !DEFAULT_SMALL"
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-16 14:39:20 -03:00
raiden00pl
cf871b48d8
cmake: convert more stm32 boards
2023-07-14 21:33:53 +08:00
simbit18
d991ef77e8
Fix nuttx coding style
...
Remove TABs
Fix indentation
2023-07-14 20:48:24 +08:00
simbit18
b0965ab963
Fix nuttx coding style
...
Remove TABs
Fix indentation
Fix Multi-line comments
Fix Comments to the Right of Statements.
2023-07-14 01:16:06 +08:00
simbit18
1b1ac6f3b7
Fix nuttx coding style
...
Remove TABs
Fix indentation
Fix Multi-line comments
Fix Comments to the Right of Statements.
Fix nuttx coding style
Fix Comments to the Right of Statements.
2023-07-13 19:30:56 +08:00
Xiang Xiao
0ee304954a
boards/tiva: Enable LTO for lm3s6432-s2e/nsh
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-13 10:13:21 +08:00
raiden00pl
f43c7e99be
boards/stm32h7: Add stm32h745i-disco board
2023-07-12 11:30:57 -03:00
raiden00pl
92040a2bdf
cmake: convert some stm32 boards
2023-07-11 15:52:56 -03:00
raiden00pl
6dcfe61b0e
cmake: add support for stm32h7
2023-07-11 15:52:56 -03:00
raiden00pl
ab6fd2e6c8
cmake: add support for stm32f7
2023-07-11 15:52:56 -03:00
simbit18
9681c52517
Fix nuttx coding style
...
Remove TABs
Fix indentation
2023-07-11 23:32:17 +08:00
Xiang Xiao
9dc59e9109
Fix error: Mixed case identifier found
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-10 23:03:17 +03:00
raiden00pl
389df1ec1f
cmake: add intial support for nrf91
2023-07-10 22:24:44 +08:00
raiden00pl
f1bb29820e
cmake: add intial support for nrf53
2023-07-10 22:24:44 +08:00
raiden00pl
59e261e92f
cmake: add initial support for nrf52
2023-07-10 22:24:44 +08:00
raiden00pl
225740b1b7
nrf9160-dk add non-secure modem configuration
2023-07-09 10:41:13 -03:00
raiden00pl
8111430530
nrf9160-dk add secure miniboot configuration that jumpt to non-secure code
2023-07-09 10:41:13 -03:00
raiden00pl
691d9ae738
nrf91/common: add support for non-secure boot
2023-07-09 10:41:13 -03:00