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
raiden00pl
98784e83f7
nrf9160-dk: add timer support
2023-07-09 10:41:13 -03:00
raiden00pl
db82126faa
nrf91/common: add configuration checks for linker script
2023-07-09 10:41:13 -03:00
raiden00pl
872a05911e
arch/nrf91: add errata workarounds
2023-07-09 10:41:13 -03:00
raiden00pl
bbabcf3c78
arch/nrf91: modem shmem always at the RAM start
2023-07-09 10:41:13 -03:00
raiden00pl
88bc4cb1a0
nRF91: add mcuboot support
2023-07-09 10:41:13 -03:00
chao an
6ee9ec7656
build: add initial cmake build system
...
1. Update all CMakeLists.txt to adapt to new layout
2. Fix cmake build break
3. Update all new file license
4. Fully compatible with current compilation environment(use configure.sh or cmake as you choose)
------------------
How to test
From within nuttx/. Configure:
cmake -B build -DBOARD_CONFIG=sim/nsh -GNinja
cmake -B build -DBOARD_CONFIG=sim:nsh -GNinja
cmake -B build -DBOARD_CONFIG=sabre-6quad/smp -GNinja
cmake -B build -DBOARD_CONFIG=lm3s6965-ek/qemu-flat -GNinja
(or full path in custom board) :
cmake -B build -DBOARD_CONFIG=$PWD/boards/sim/sim/sim/configs/nsh -GNinja
This uses ninja generator (install with sudo apt install ninja-build). To build:
$ cmake --build build
menuconfig:
$ cmake --build build -t menuconfig
--------------------------
2. cmake/build: reformat the cmake style by cmake-format
https://github.com/cheshirekow/cmake_format
$ pip install cmakelang
$ for i in `find -name CMakeLists.txt`;do cmake-format $i -o $i;done
$ for i in `find -name *\.cmake`;do cmake-format $i -o $i;done
Co-authored-by: Matias N <matias@protobits.dev>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-08 13:50:48 +08:00
Xiang Xiao
8f38fa6062
symtab: Remove the unnessary inclusion of nuttx/symtab.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-06 09:24:02 -03:00
SPRESENSE
4eb6da33c2
cxd56/alt1250: Change power on sequence
...
Change the power on sequence according to ALT1250 modem spec.
2023-07-06 13:18:57 +08:00
SPRESENSE
6611bf99c4
drivers: video: isx012: Fix system clock to HV mode
...
ISX012 doesn't work if CONFIG_CPUFREQ_RELEASE_LOCK is enabled
without this changes.
2023-07-04 12:34:13 +03:00
SPRESENSE
d0d787c1b0
drivers: video: isx019: Fix system clock to HV mode
...
ISX019 doesn't work if CONFIG_CPUFREQ_RELEASE_LOCK
is enabled without this changes.
Signed-off-by: Takumi Ando <t-ando@advaly.co.jp>
2023-07-04 12:34:13 +03:00
raiden00pl
3d9a64ce27
boards: initial support for nrf9160-dk
2023-07-02 10:10:35 -03:00
ThomasNS
f51d6b8c72
add userled driver initialization
2023-06-30 10:29:33 -03:00
ThomasNS
7864bf4870
spi4 working xmc4700-relax
2023-06-30 10:29:33 -03:00
raiden00pl
0aa1af7ff1
boards/thingy52: add sx1509 support
...
SX1509 is used to control various peripherals and RGB LEDs available on the board.
2023-06-27 14:44:00 -03:00
GD32-MCU
ec2a62c397
add gd32f470 support
2023-06-27 14:59:33 +08:00
Xiang Xiao
0eeca0f375
build: Replace "$(shell $(INCDIR) $(CC) ...)" with $(INCDIR_PREFIX)
...
to unify the way to get include directories
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-23 00:11:25 +03:00
Nicolas Caramelli
f763cb118d
stm32f429i-disco: Register the BUTTON driver
2023-06-22 15:10:55 -03:00
simbit18
f0a74eb492
Fix Kconfig style
...
Remove spaces from Kconfig files
2023-06-22 11:46:09 +09:00
Alan Carvalho de Assis
c9f610f44f
stm32f777zit6-meadow: Fix external RAM pinout and add board profile
...
This patch will fix an issue that was preventing the stm32f7 board
from working with external SDRAM memory.
2023-06-20 10:04:33 +08:00
simbit18
3f4151525d
Fix Kconfig style
...
Remove TABs from Kconfig files
Add comments
2023-06-19 20:05:57 +03:00