Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imx93 base addr #258

Closed
wants to merge 1,118 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1118 commits
Select commit Hold shift + click to select a range
9a6fa48
x86_64_acpi.c: avoid debug messages in acpi_init()
szafonimateusz-mi Apr 23, 2024
b265942
lpc17_40 i2c: Fix I2C driver state desynchronization.
Apr 24, 2024
f4e31a6
Extend default appdir list.
cederom Apr 24, 2024
ea5583b
xtensa/esp32s3: Support ESP32-S3 PM standby and sleep.
cwespressif Mar 27, 2024
9735aba
xtensa/esp32s3: Fix static_assert compilation error
cwespressif Apr 22, 2024
dab1621
esp32s3: use common espressif code instead of chip-specific.
tmedicci Apr 15, 2024
da4c229
arch/riscv: replace atomic operations to AMO
anchao Apr 25, 2024
a51ebea
arch/risc-v: decouple Per-CPU scratch with ARCH_USE_S_MODE
anchao Apr 23, 2024
00d208b
mm/iob: replace CONFIG_IOB_BUFSIZE to IOB_BUFSIZE(iob)
zhhyu7 Apr 23, 2024
b934555
mm/iob: Support alloc IOB via malloc
zhhyu7 Apr 1, 2024
e3f4749
imx9_clockconfig: Add way to query / calculate PLL frequencies
pussuw Apr 23, 2024
0d9a3d9
imx9_clockconfig: Add way to set PLL frequencies
pussuw Apr 24, 2024
1f71471
arch/risc-v: fix break on kernel mode
anchao Apr 26, 2024
3822d88
mm/arch: userspace device mapping support
yf13 Apr 17, 2024
f3b7329
arch/x86_64: enable CUSTOMOPT
szafonimateusz-mi Apr 25, 2024
0040e9a
drivers/serial:support arm cmsdk drivers
anjiahao1 Dec 13, 2023
1ea10dd
mps3:Support NuttX running on qemu cortex-m55
anjiahao1 Dec 13, 2023
3edda2a
stm32f7: Add I2S audio driver
acassis Apr 25, 2024
d9148ad
stm32f7/common: Add CS4344 audio codec initialization
acassis Apr 25, 2024
12849b6
stm32f777zit6-meadow: Add audio support (CS4344)
acassis Apr 25, 2024
07d4316
boards/arm/stm32/common/src/stm32_bh1750.c: fix compilation
raiden00pl May 31, 2023
dd611b9
arch/nrf91: enable FPU
raiden00pl Apr 14, 2024
1ef3767
arch/risc-v: unfiy IPI access
inochisa Apr 12, 2024
a333134
arch/risc-v: introduce dynamic stack allocation.
inochisa Apr 14, 2024
1d7afb5
arch/risc-v: report correct interrupt stack base
inochisa Apr 15, 2024
3cabc92
arch/risc-v: add risc-v SSTC extension support
inochisa Apr 15, 2024
49b3f52
arch/riscv/qemu-rv: replace M-mode init code with SBI in kernel build
inochisa Apr 18, 2024
0f56d1d
sensors/bh1749nuc_uorb.c: fix compilation when poll interface is disa…
raiden00pl Apr 22, 2024
7a789d0
sensors/bmm150_uorb.c: fix compilation for poll interface
raiden00pl Apr 22, 2024
1985dcd
drivers/adxl362_uorb: various fixes
raiden00pl Apr 23, 2024
a34007b
sensors/bmi270_uorb.c: fix condition for sensor stop
raiden00pl Apr 23, 2024
322551b
sensors/adxl372_uorb: wait for data ready in thread
raiden00pl Apr 27, 2024
c148e8f
arch/risc-v: Fix typo in riscv_set_inital_sp
inochisa Apr 28, 2024
6deda9b
boards/stm32f103-minimum: fix i2c driver register
HeyGoda Apr 28, 2024
6621748
sensors/bmi270_uorb.c: move init sequence to register function
raiden00pl Apr 28, 2024
2264638
sim/lvgl: upgrade to lvgl version v9
XuNeo Feb 23, 2024
62c2b3e
lvgl: update existing config to use lvgl v9
XuNeo Apr 22, 2024
4b3ef4d
stm32h7/linum-stm32h753bi: Add support to rndis(etherver over usb)
JorgeGzm Apr 28, 2024
2c0dac8
board/stm32f401rc-rs485: Add support to RNDIS
rcsim Apr 28, 2024
88fa598
arch/arm/src/samv7/sam_pwm.c: option to enable only the L PWM outputs
zdebanos Apr 22, 2024
3dc6b4c
Add basic support for locales in order to C++ streams to build and wo…
Apr 24, 2024
22ffa8e
build(deps): bump github/super-linter from 5 to 6
dependabot[bot] Apr 29, 2024
f739fd0
icmpv6_neighbor: skip neighbor solicitation on L3 Nic
zhhyu7 Jan 24, 2024
0cd893f
icmpv6_neighbor: Simply skip IPv6 conflict detection on L3 Nic
zhhyu7 Feb 6, 2024
4556822
tcp: decouple TCP_NODELAY and NET_TCP_KEEPALIVE
zhhyu7 Apr 29, 2024
8f23a2d
samv7: build sam_qencoder.c only if at least one timer counter is ena…
michallenc Apr 29, 2024
94d8fba
cmake:bugfix generate config.h contain ; characters will be handled i…
xuxin930 Apr 29, 2024
6ad202e
board/stm32f401rc-rs485: Add support to Mass Storage
rcsim Apr 20, 2024
0db7417
esp32/lvgl: fix lvgl v9 configuration error
XuNeo Apr 29, 2024
7e30d38
drivers/sensors/Kconfig: Added if SENSORS_BME680 for common dependency
simbit18 Apr 29, 2024
891d67b
esp32[c3|h2|c6]: Add support to TWAI/CANBus controller
eren-terzioglu Apr 2, 2024
2295fa8
esp32s3: give ESP32S3_APP_FORMAT_LEGACY a prompt
yamt Apr 30, 2024
e4d4c67
serial/pl011: configurable clock frequency
anchao Apr 30, 2024
8821a03
arch/risc-v: correct minor issues regarding comments
anchao Apr 30, 2024
3079caf
arm64/imx9: Add DMA memory allocator
pussuw Apr 18, 2024
3b5b755
arch/imx9_lpspi: Use DMA safe buffers to do the DMA transfers
pussuw Apr 18, 2024
b87804c
libc/string: replace __builtin_ffsl with inline function
Gary-Hobson Apr 29, 2024
4f1ac51
arch/mx8mp: add rptun/rpmsg client support
AndreHeinemans-NXP Mar 18, 2024
8a6aa5f
sched/sched: There is no need to use sched_[un]lock
hujun260 Apr 16, 2024
e4d0f40
driver: There is no need to use sched_[un]lock
hujun260 Dec 10, 2023
622abe0
arch/xtensa: Fix esp32s3 build warnings
eren-terzioglu Apr 30, 2024
4482d7b
imxrt:Add DMA preflight Support
davids5 Apr 15, 2024
a4aad28
sched: wqueue: Remove sched_[un]lock from kwork_inherit.c
hujun260 Dec 11, 2023
c4f199e
esp32s3: add a variation with 32MB flash
yamt May 1, 2024
b4d9777
stm32h7/linum-stm32h753bi: Add support to usbmsc with sdcard
JorgeGzm Apr 24, 2024
4f2f5e1
stm32l4/doc: fix b_l475e_iot01a documentation board
JorgeGzm May 1, 2024
9eac743
cmake:bugfix __KERNEL__ should not be defined in libc,mm.. in FLAT mode
xuxin930 May 1, 2024
b283b94
arch/risc-v: implement standard ecall interface for nuttsbi
inochisa Apr 28, 2024
bd89522
arch/risc-v: implement sbi_ipi_send
inochisa Apr 28, 2024
d62dca0
esp32[c3|c6]: Fix chipname on docs
eren-terzioglu Apr 26, 2024
9277be2
Add configuration option for RTL8211F RGMII PHY
jlaitine Apr 23, 2024
cc9c3ed
arch/arm64/src/imx9: Add Ethernet driver
jlaitine May 2, 2024
0cd5689
riscv/pgmap: Fix bug in kernel page directory init
pussuw May 2, 2024
0f5ba00
mm/map: revise device mapping functions
yf13 May 2, 2024
041ef1d
video/fb: kernel build framebuffer support
yf13 May 2, 2024
0e67a79
fix nxstyle
simbit18 May 3, 2024
4b12062
Documentation/rv-virt: add required minimal QEMU version information
inochisa May 4, 2024
8ef7238
docs/implementation: fix minor typos
yf13 May 3, 2024
03446fb
riscv/rv-virt: fix kernel build booting issue
yf13 May 4, 2024
339da96
risc-v/virt: update `kfb64` config
yf13 May 5, 2024
9d6e2b9
video/fb: add munmap support
yf13 May 5, 2024
8d3d93e
Add ESP32-S3 ADC driver
nuttxs May 6, 2024
03895f1
sched: sched: Simplify the scheduling logic in nxsched_add_readytorun…
hujun260 Dec 12, 2023
04e4018
arch/risc-v: Make bl602 allocate idle stack after ebss
inochisa May 6, 2024
32d3dc4
arch: armv7-a: Disable IRQ to make the A core
hujun260 Nov 27, 2023
6e941ae
Added support in Nucleo-L476RG board for BMP280 sensor.
ivan95603 May 5, 2024
3a9d163
esp32_c3/pm: Fix assert issue in PM mode
cwespressif Apr 10, 2024
4ffad26
build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /Documentation
dependabot[bot] May 6, 2024
908814a
libc/lib_bzero:Add bzero prototype.
zhhyu7 May 7, 2024
c352b04
risc-v/sbi: add SRST extenstion usage in S-mode
yf13 May 6, 2024
c9a2e4a
risc-v/virt: enable gradeful shutdown in kernel build
yf13 May 6, 2024
602bd68
arm64/imx9: Add uSDHC driver
jpaali May 2, 2024
c11ffaa
arm64/imx9: Add DMA preflight support for uSDHC
jpaali May 6, 2024
0d3a1bc
arm64/imx9: Fix fat_dma_ macro issue.
jpaali May 7, 2024
5b3ef20
arm64/imx9: Allocate 64B granules instead of 256B
jpaali May 7, 2024
ef15b52
riscv/virt: M-mode poweroff support
yf13 May 8, 2024
ce8cfde
nuttx/sched.h: minor revision on comments
yf13 May 8, 2024
64e008f
sched/task: minor polish on task_init()
yf13 May 8, 2024
f4a38c0
arch/risc-v: Make esp32 SoCs allocate idle stack after ebss
inochisa May 7, 2024
8de8308
Documentation/Documentation/platforms/arm/gd32f4/boards/gd32f470zk-ev…
simbit18 May 8, 2024
adcabeb
esp32-devkitc/wamr_wasi_debug: Remove a few things to reduce the size
yamt May 8, 2024
b049b49
esp32-devkitc/wamr_wasi_debug: fix image size in an example
yamt May 8, 2024
297b3b0
arch/arm/src/samv7/sam_pwm.c: option to make channels synchronous
zdebanos Apr 26, 2024
c4dbabb
drivers/devicetree: Add a set of commonly used FDT utilities.
g2gps May 8, 2024
e187dbd
chip/s698pm_cpustart.c: Fix compile error
hujun260 May 7, 2024
90f9ffc
sched/sched: CONFIG_SCHED_RESUMESCHEDULER macro define error
hujun260 May 7, 2024
5cee996
up_putc: int up_putc, enter_critical_section may be called
hujun260 Dec 7, 2023
2ee8aa6
sched: we use spin_lock_irqsave replace enter_critical_section to pro…
hujun260 Jan 11, 2024
ace5dde
arm/imx6: we use spin_lock_irqsave replace enter_critical_section to …
hujun260 May 6, 2024
9a36b8b
csection: We can save execution time by removing judgments.
hujun260 May 8, 2024
8eadde8
riscv/qemu: enable debug features
yf13 May 8, 2024
a1f5fd4
icjx: use iC-JX interrupt config instead of the general one
michallenc May 6, 2024
792b994
fix nxstyle
simbit18 May 9, 2024
c4017a4
cmake/romfs: separate c flags to avoid compile fail
anchao May 9, 2024
bc4a020
Revert "esp32s3: give ESP32S3_APP_FORMAT_LEGACY a prompt"
tmedicci May 6, 2024
8dca62f
esp32s3: Limit MTD partition size according to the flash size
tmedicci May 6, 2024
1b5b984
esp32s3-devkit/toywasm: use ARCH_CHIP_ESP32S3WROOM2_32M
yamt May 7, 2024
0ed714b
esp32s3/adc: Update the bootloader configuration for ESP32-S3
tmedicci May 9, 2024
a35b2a5
sched/posixspawn: disable tedious logging
yf13 May 10, 2024
7ec304e
pthread/join: catch null pexit_value case
yf13 May 10, 2024
1890b58
sched/misc: dump stack as platform bit width
anchao May 10, 2024
975d99c
drivers/mmcsd/mmcsd_sdio.c: Fix SD card 4-bit support
jpaali May 2, 2024
a8f81e4
imxrt: lpuart singlewire transfer support
PetervdPerk-NXP May 8, 2024
09bfaa7
fix nxstyle
simbit18 May 10, 2024
afb5a66
arch/risc-v: unify idle stack calculation
inochisa May 9, 2024
bc022f8
arch/risc-v: remove g_cpux_idlestack
inochisa Apr 30, 2024
4d2d9ec
arch/risc-v: fix idle stack assign order
inochisa May 12, 2024
1f3c477
boards/stm32h7: Add initial support to WeAct STM32H743
acassis May 11, 2024
e67df47
add support for zero-cross driver
halyssonJr May 11, 2024
ab78050
esp32s3/esp32s2: Fix D_I_BUS_OFFSET
yamt May 13, 2024
a7961a3
driver/vnc:fix vnc kbd assert cause by wrong data conversion
jianglianfang Dec 4, 2023
3a4560e
esp32s3: make textheap return i-bus address consistently
yamt May 13, 2024
66509e4
sched/mqueue: add support of tick based send() and receive()
anchao May 10, 2024
d1789d8
fix nxstyle
simbit18 May 13, 2024
98d5e11
[icmpv6] fix resource leak of icmpv6
Meissi-jian Mar 6, 2024
34aeeb0
net/netlink: Add RTM route support
Meissi-jian Apr 9, 2024
8eaefd2
net/netlink: Add RTM neigh notify support
Meissi-jian Apr 16, 2024
4702a09
net/netlink: Add RTM preifx notify support
Meissi-jian Apr 19, 2024
42a23be
net/netlink: Add doc for netlink route
Meissi-jian May 13, 2024
667b9ea
[driver][tun]: add tx packets dump
Meissi-jian May 6, 2024
35f8c19
[net][route] fix Mico definition bug
Meissi-jian Mar 20, 2024
47b0cae
esp/hr_timer: Fix issue with timed-out timers
tmedicci Apr 18, 2024
9e8c9ea
esp: Update libc stubs to properly acquire/release locks.
tmedicci Apr 24, 2024
2c4963d
esp32c6/wifi: Add support for the Wi-Fi in ESP32-C6
tmedicci Apr 5, 2024
7ed64e7
esp32c3: Substitute `/` to `$(DELIM)`
tmedicci Apr 25, 2024
c412dad
esp32c3/wifi: Add support for the Wi-Fi in ESP32-C3
tmedicci Apr 25, 2024
8a37d1f
espressif: Minor changes to keep consistency between sources
tmedicci May 14, 2024
11dfc58
[ipv6][netlink] add netlink report when get ipv6 address by icmpv6
Meissi-jian Feb 2, 2024
6c1b900
arm64: optimise for arm64_switchcontext
hujun260 Dec 11, 2023
c234fac
net/netdev: Check quota when registering lower-half devices
wengzhe May 13, 2024
d199249
[net][udp] fix udp wrb-iob leak when NIC was down
Meissi-jian May 7, 2024
53a72a3
sys/socket.h: add the definition of SCM_TIMESTAMP.
zhhyu7 May 14, 2024
10c8c39
xtensa/esp32s3: pending interrupt should be clear while disable GPIO IRQ
sdc-g May 8, 2024
5df4925
esp32s3_textheap.c: fix range checks
yamt May 15, 2024
056eb46
nxstyle: Ignore long line for file path at line 2
acassis May 14, 2024
360c2fc
fix nxstyle
simbit18 May 14, 2024
fecf203
videoio: modify the v4l2_pix_format type is the same as mplane
shizhenghui Apr 12, 2024
03c756d
videoio: modify data type of v4l2_buffer from uint32_t to uint16_t
shizhenghui Apr 18, 2024
ed1ad1b
Add v4l2m2m & sim decoder
shizhenghui Mar 21, 2024
932cdf2
Add v4l2m2m sim encoder
shizhenghui Feb 5, 2024
d6b7d78
arch/sim_hostencoder: To avoid system calls being interrupted when us…
yangsen5 May 7, 2024
33b5e14
arch/sim_encoder: g_bufsize initialization error in g_sim_encoder_ops…
yangsen5 Apr 29, 2024
63294c5
add Port selection on xmc4800
Rdk-T Feb 29, 2024
fcbae59
Added support in Nucleo-L476RG board for MPU9250 sensor.
ivan95603 May 14, 2024
6ef6d75
PM: change domain field state after callback done
jasonbu Apr 12, 2024
c9170c3
pm: fix when RTC_HIRES enabled pm procfs err
jasonbu May 4, 2024
03dbb82
Add c symbols to std
nicolas71640 May 15, 2024
35ee532
boards/imx93-evk: Fix potential warning about unused variable
pussuw May 16, 2024
9257af5
risc-v/mpfs: Change linker symbols _ssbi_ddr and _esbi_ddr into _ssbi…
jlaitine May 16, 2024
77f3225
tools/minidump: support 64-bit stack dump
yf13 May 17, 2024
fb31f06
Fix Kconfig style
simbit18 May 16, 2024
3762bda
pm: procfs add pm prepare fail stats
May 16, 2024
015e7cd
imxrt: 1170 MPU config ensure no lockups can occur
PetervdPerk-NXP May 17, 2024
a00fbbe
espressif: Add option to disable the GIT_DEPTH to pull submodules
tmedicci May 15, 2024
8b1a388
boards/risc-v/mpfs/common/src: Update mpfs_emmcsd.c and mpfs_composite.c
jlaitine May 17, 2024
1d19c6a
fix: call rwb->rhreload() when nblocks > 0
May 17, 2024
72c1f77
add stm32h755II chip
jfbblue0922 May 15, 2024
f25a506
include: When defining NDEBUG, assert will implement alignment standards
Gary-Hobson May 13, 2024
20ebe0e
Replace all asserts in kernel code with ASSERT
Gary-Hobson May 13, 2024
e6ed8c6
sim: add sqlite config
Gary-Hobson May 8, 2024
8fb458b
board/stm32f401rc-rs485: Add support to ultrasonic sensor HC-SR04
rcsim May 18, 2024
29775f8
drivers/sensors/Kconfig: Fix HC-SR04 configuration
rcsim May 18, 2024
7044e38
stm32h7/linum-stm32h753bi: add support to ethernet connection
JorgeGzm May 4, 2024
a517f12
tools/docker: install file/tclsh tools
Gary-Hobson May 20, 2024
9d76849
sensors/bh1749nuc_uorb.c: add sensor reset
raiden00pl May 1, 2024
147b576
sensors/bh1749nuc_uorb.c: don't wait for VALID flag in fetch interface
raiden00pl May 1, 2024
c9bf7a8
sensors/bh1749nuc: configure I2C frequency
raiden00pl May 1, 2024
697e30e
sensors/bmm150: configure I2C frequency
raiden00pl May 1, 2024
44bed11
boards: rv-virt: Use config to compute memory layout for kernel build
inochisa May 19, 2024
87d038c
Fixed collision between CAN1 and I2C1. Board nucleo-l476rg.
ivan95603 May 19, 2024
d3d52ee
pm_procfs: update state up to now when pm procfs read
jasonbu May 8, 2024
8e9f24e
arch/sim: temporary remove vfork test to fix cibreak on arch sim
Donny9 May 20, 2024
d196f80
Add a few optional text heap APIs to support esp32s3
yamt May 15, 2024
1ee279c
nuttx kconfig: rename a few recently-added options
yamt May 20, 2024
e067f89
sched: remove redundant variables "switched"
hujun260 Dec 26, 2023
ae00569
imx9_clockconfig: fix a thinko
eenurkka May 15, 2024
0f9a262
arm64: provide EL3 support
eenurkka May 15, 2024
505f57d
arm64: introduce MMU support for EL3
eenurkka May 15, 2024
1c30829
arm64: provide EL3 interrupt support via FIQs
eenurkka May 15, 2024
1d3ce6b
arm64/imx9: provide EL3 bootloader support for iMX9
eenurkka May 15, 2024
2f753a4
arm64: s/ARCH_BOOT_EL3/ARCH_ARM64_EXCEPTION_LEVEL/g
eenurkka May 17, 2024
29ace4e
---
dependabot[bot] May 21, 2024
c647593
doc: corrected board names
simbit18 May 21, 2024
8b9568e
Fix ECAT_P1_LED_LINK_ACT in xmc4800 board.
Rdk-T May 21, 2024
3bfdb14
ci/riscv: fix rv-virt/kfb64 CI issue
yf13 May 21, 2024
7db71c8
ci/riscv: fix unused var in esp_twai.c
yf13 May 22, 2024
4b2b26c
ci/ltp: enlarge timeout for LTP test
yf13 May 22, 2024
f8749ef
arch/risc-v: guard tcb->name usage
yf13 May 22, 2024
d019828
sched/pthread: rename pthread_initialize.c as pthread_sem.c
yf13 May 22, 2024
61caf7c
types: on some arch, execution speed can be accelerated
hujun260 Jan 11, 2024
0bad215
net/tcp: fix tcp will not close when tcp retransmission reaches TCP_M…
Meissi-jian May 21, 2024
59a2376
arch/arm/samv7: remove duplicated prototypes
pkarashchenko May 22, 2024
357f809
arch/arm/samv7: fix U(S)ART clock enable for 1-wire
pkarashchenko May 22, 2024
d144a2a
arch/arm/samv7: enforce compilation error for incompatible configurat…
pkarashchenko May 22, 2024
07f0e0c
PM: add stability governer
jasonbu Apr 12, 2024
44e118e
esp32[c3]: Add RTC IRQ support
eren-terzioglu May 13, 2024
aa0bb55
esp32[c3|c6|h2]: Add RWDT support
eren-terzioglu May 17, 2024
ea9eea4
esp32[c3|c6|h2]: Add MWDT1 support
eren-terzioglu May 21, 2024
00cf0ad
Revert "arch/sim: temporary remove vfork test to fix cibreak on arch …
Donny9 May 23, 2024
b3513c0
esp32s2/esp32s3 textheap: do not require RTC heap
yamt May 22, 2024
9d4bd91
riscv_pmp.c: Check that size is power of two for NAPOT
jpaali May 23, 2024
cfa5443
mpfs_mpu: Check that size is valid for MPUCFG
jpaali May 24, 2024
53307ea
armv7-m:MPU fix CONFIG naming to include ARM
davids5 May 24, 2024
602e69a
armv8-m:MPU fix CONFIG naming to include ARM
davids5 May 24, 2024
e039632
armv7-r:MPU fix CONFIG naming to include ARM
davids5 May 24, 2024
4197b5a
pm: do struct timespec copy to decrease api call times.
jasonbu May 24, 2024
0fc2e74
sched/mqueue: reclaim message upon failure
yf13 May 26, 2024
44ef021
analog: add configuration option to set DAC FIFO size
michallenc May 27, 2024
42865ca
nuttx/arch.h: Update parameter type to match definition.
g2gps May 21, 2024
97836bf
board: esp32c3, esp32 and esp32s3 corrected PM block
simbit18 May 27, 2024
1cacc70
boards/risc-v/litex/arty_a7/Kconfig: Added if LITEX_SDIO for common d…
simbit18 May 27, 2024
8d7d687
Add support to transparent OLED SSD1309
acassis May 26, 2024
bfa1799
arm64/imx9evk: enlarge ocram size to unblock CI
yf13 May 27, 2024
2e98f29
tls: fix build error under CONFIG_PTHREAD_ATFORK enabled
royfengsss May 28, 2024
d0f893d
tools/ci/platforms: linux.sh and ubuntu.sh fix mkdir: wamrc: File exists
simbit18 May 28, 2024
649ccb2
samv7: add support for user signature area in embedded flash
michallenc May 28, 2024
3b2faa3
tools/ci/testlist: msys2.dat add qemu-v8a:nsh_smp
simbit18 May 28, 2024
c59b483
timers/mcp794xx: add possibility to store datetime in UTC
michallenc May 28, 2024
3cc65d5
timers/mcp794xx: add option to digital trimming
michallenc May 28, 2024
047c9fc
libc.csv: Guard execv with LIBC_EXECFUNCS
no1wudi May 29, 2024
97ec55d
syscall.csv: Correct macro guard of setsockopt
no1wudi May 29, 2024
f47f9c0
docs: add API description for ADC/DAC peripherals
michallenc May 28, 2024
4d9e346
docs: add API description for qencoder peripheral
michallenc May 28, 2024
f525bc2
docs: add API description for pulse width modulation peripheral
michallenc May 28, 2024
105b97d
boards/raspberrypi-pico: Add support to BMP280
acassis May 28, 2024
c06c10f
armv6/7/8-m: use ISB instruction immediately after the MSR instruction
hujun260 Jan 24, 2024
fde641f
Fix Kconfig style
simbit18 May 29, 2024
1b03e00
Add S3MUA base address for Security Enclave
joukkone May 7, 2024
cabd6dc
Map iMX93 OCRAM memory to mmu
joukkone May 16, 2024
aee0653
imx9: map flexspi peripheral interface
joukkone May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
74 changes: 71 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:

strategy:
matrix:
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v, sim-01, sim-02, xtensa, codechecker]
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v, sim-01, sim-02, xtensa]

steps:
- name: Download Source Artifact
Expand Down Expand Up @@ -192,12 +192,12 @@ jobs:

- name: Restore Tools Cache
id: cache-tools
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: ${{ runner.os }}-cache-tools
with:
path: ./sources/tools
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/nuttx/tools/ci/cibuild.sh') }}
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/nuttx/tools/ci/platforms/darwin.sh') }}

- name: Export NuttX Repo SHA
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
Expand All @@ -219,3 +219,71 @@ jobs:
name: macos-builds
path: buildartifacts/
continue-on-error: true

msys2:
needs: Fetch-Source
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
boards: [msys2]

defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
update: false
install: >-
base-devel
gcc
gperf
automake
autoconf
git
python3
ncurses-devel
unzip
zip
tio
zlib-devel
cmake
ninja
python-pip
vim

- name: pip3 install
run: |
pip3 install --root-user-action=ignore --no-cache-dir pyelftools cxxfilt kconfiglib

- run: git config --global core.autocrlf false

- name: Download Source Artifact
uses: actions/download-artifact@v3
with:
name: source-bundle
path: .

- name: Extract sources
run: tar zxf sources.tar.gz

- name: Export NuttX Repo SHA
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV

- name: Run Builds
run: |
echo "::add-matcher::sources/nuttx/.github/gcc.json"
export ARTIFACTDIR=`pwd`/buildartifacts
git config --global --add safe.directory /github/workspace/sources/nuttx
git config --global --add safe.directory /github/workspace/sources/apps
cd sources/nuttx/tools/ci
./cibuild.sh -g -i -A -C -R testlist/${{matrix.boards}}.dat

- uses: actions/upload-artifact@v3
with:
name: msys2-builds
path: buildartifacts/
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 0
- run: mkdir super-linter.report
- name: Lint
uses: github/super-linter@v5
uses: github/super-linter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ uImage
.context\ *
# $(TOPDIR)/Makefile.[unix|win]::$(DIRLINKS_EXTERNAL_DIRS)
.dirlinks
.fakelnk
.vscode
.DS_Store
tools/gdb/__pycache__
/build
.ccls-cache
compile_commands.json
115 changes: 82 additions & 33 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ endif()

# Basic CMake configuration ##################################################

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_EXTENSIONS OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
Expand Down Expand Up @@ -84,7 +83,12 @@ if(NOT KCONFIGLIB)
$ pip install kconfiglib")
endif()

if(EXISTS ${BOARD_CONFIG} AND EXISTS ${BOARD_CONFIG}/defconfig)
# BOARD CONFIG can be set to directory path, or <board-name>[/:]<config-name>
# configuration pair

if((EXISTS ${BOARD_CONFIG} AND EXISTS ${BOARD_CONFIG}/defconfig)
OR (EXISTS ${NUTTX_DIR}/${BOARD_CONFIG}
AND EXISTS ${NUTTX_DIR}/${BOARD_CONFIG}/defconfig))
get_filename_component(NUTTX_BOARD_ABS_DIR ${BOARD_CONFIG} ABSOLUTE BASE_DIR
${NUTTX_DIR})

Expand All @@ -103,7 +107,7 @@ if(EXISTS ${BOARD_CONFIG} AND EXISTS ${BOARD_CONFIG}/defconfig)

string(REGEX REPLACE "(.*)/(.*)/${NUTTX_CONFIG}" "\\1" NUTTX_BOARD_DIR
${NUTTX_BOARD_ABS_DIR})
set(NUTTX_DEFCONFIG ${BOARD_CONFIG}/defconfig)
set(NUTTX_DEFCONFIG ${NUTTX_BOARD_ABS_DIR}/defconfig)
else()
if(BOARD_CONFIG MATCHES "/")
set(MATCH_REGEX "/")
Expand Down Expand Up @@ -241,7 +245,7 @@ else()
endif()

if(NOT EXISTS ${CMAKE_BINARY_DIR}/boards/dummy/Kconfig)
if(CONFIG_ARCH_BOARD_CUSTOM)
if(CONFIG_ARCH_BOARD_CUSTOM AND EXISTS ${NUTTX_BOARD_ABS_DIR}/Kconfig)
nuttx_create_symlink(${NUTTX_BOARD_ABS_DIR}/Kconfig
${CMAKE_BINARY_DIR}/boards/dummy/Kconfig)
else()
Expand Down Expand Up @@ -278,7 +282,7 @@ if(NOT EXISTS ${CMAKE_BINARY_DIR}/arch/dummy)
endif()

if(NOT EXISTS ${CMAKE_BINARY_DIR}/arch/dummy/Kconfig)
if(CONFIG_ARCH_CHIP_CUSTOM)
if(CONFIG_ARCH_CHIP_CUSTOM AND EXISTS ${NUTTX_CHIP_ABS_DIR}/Kconfig)
nuttx_create_symlink(${NUTTX_CHIP_ABS_DIR}/Kconfig
${CMAKE_BINARY_DIR}/arch/dummy/Kconfig)
else()
Expand Down Expand Up @@ -372,6 +376,7 @@ include(nuttx_add_symtab)
include(nuttx_add_module)
include(nuttx_add_dependencies)
include(nuttx_export_header)
include(nuttx_source_file_properties)
include(menuconfig)

include(ExternalProject)
Expand Down Expand Up @@ -412,6 +417,14 @@ include(platform)
# Setup main nuttx target ####################################################

add_executable(nuttx)
if(CONFIG_BUILD_PROTECTED)
add_executable(nuttx_user)
endif()

if(CONFIG_ALLSYMS)
include(nuttx_allsyms)
endif()

add_dependencies(nuttx nuttx_context)

if(WIN32)
Expand All @@ -436,6 +449,7 @@ if(CONFIG_ARCH_SIM)
TARGET nuttx
PROPERTY NUTTX_KERNEL_COMPILE_OPTIONS)
target_compile_options(sim_head PRIVATE ${options})
target_compile_options(sim_head PRIVATE -fvisibility=default)

# We need the relocatable object to be first in the list of libraries to be
# linked against final nuttx binary
Expand Down Expand Up @@ -475,15 +489,17 @@ if(WIN32)
else()
add_compile_options(
# system wide warnings
-Wall
$<$<COMPILE_LANGUAGE:C>:-Wstrict-prototypes>
-Wshadow
-Wundef
-Wall $<$<COMPILE_LANGUAGE:C>:-Wstrict-prototypes> -Wshadow -Wundef
# system wide options
$<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>
$<$<COMPILE_LANGUAGE:ASM>:-D__ASSEMBLY__>)
endif()

if(NOT CONFIG_LIBCXXTOOLCHAIN)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-nostdinc++>)
else()
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-D_STDLIB_H_>)
endif()

if(NOT CONFIG_CXX_EXCEPTION)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>
$<$<COMPILE_LANGUAGE:CXX>:-fcheck-new>)
Expand Down Expand Up @@ -542,11 +558,15 @@ endif()

# Add apps/ to the build (if present)

if(EXISTS ${NUTTX_APPS_DIR}/CMakeLists.txt)
add_subdirectory(${NUTTX_APPS_DIR} apps)
else()
message(
STATUS "Application directory not found at ${NUTTX_APPS_DIR}, skipping")
if(NOT CONFIG_BUILD_KERNEL)

if(EXISTS ${NUTTX_APPS_DIR}/CMakeLists.txt)
add_subdirectory(${NUTTX_APPS_DIR} apps)
else()
message(
STATUS "Application directory not found at ${NUTTX_APPS_DIR}, skipping")
endif()

endif()

# Link step ##################################################################
Expand Down Expand Up @@ -589,11 +609,12 @@ endif()
file(TOUCH ${CMAKE_BINARY_DIR}/nuttx.manifest)

get_property(nuttx_kernel_libs GLOBAL PROPERTY NUTTX_KERNEL_LIBRARIES)
get_property(nuttx_extra_libs GLOBAL PROPERTY NUTTX_EXTRA_LIBRARIES)

if(CONFIG_BUILD_FLAT)
get_property(nuttx_system_libs GLOBAL PROPERTY NUTTX_SYSTEM_LIBRARIES)
get_property(nuttx_apps_libs GLOBAL PROPERTY NUTTX_APPS_LIBRARIES)
endif()
get_property(nuttx_apps_libs GLOBAL PROPERTY NUTTX_APPS_LIBRARIES)
get_property(nuttx_extra_libs GLOBAL PROPERTY NUTTX_EXTRA_LIBRARIES)

set(nuttx_libs ${nuttx_kernel_libs} ${nuttx_system_libs} ${nuttx_apps_libs})

Expand Down Expand Up @@ -688,16 +709,28 @@ else()
list(APPEND nuttx_libs_paths $<TARGET_FILE:${lib}>)
endforeach()

add_custom_command(
OUTPUT nuttx.rel
COMMAND
${CMAKE_C_COMPILER} ARGS -r $<$<BOOL:${CONFIG_SIM_M32}>:-m32>
$<TARGET_OBJECTS:sim_head> $<$<NOT:$<BOOL:${APPLE}>>:-Wl,--start-group>
${nuttx_libs_paths} ${nuttx_extra_libs}
$<$<NOT:$<BOOL:${APPLE}>>:-Wl,--end-group> -o nuttx.rel
COMMAND ${CMAKE_OBJCOPY} --redefine-syms=nuttx-names.dat nuttx.rel
DEPENDS ${nuttx_libs} ${nuttx_extra_libs} sim_head
COMMAND_EXPAND_LISTS)
if(APPLE)
add_custom_command(
OUTPUT nuttx.rel
COMMAND
${CMAKE_LINKER} ARGS -r $<$<BOOL:${CONFIG_SIM_M32}>:-m32>
$<TARGET_OBJECTS:sim_head> $<$<NOT:$<BOOL:${APPLE}>>:-Wl,--start-group>
${nuttx_libs_paths} ${nuttx_extra_libs}
$<$<NOT:$<BOOL:${APPLE}>>:-Wl,--end-group> -o nuttx.rel
DEPENDS ${nuttx_libs} ${nuttx_extra_libs} sim_head
COMMAND_EXPAND_LISTS)
else()
add_custom_command(
OUTPUT nuttx.rel
COMMAND
${CMAKE_C_COMPILER} ARGS -r $<$<BOOL:${CONFIG_SIM_M32}>:-m32>
$<TARGET_OBJECTS:sim_head> $<$<NOT:$<BOOL:${APPLE}>>:-Wl,--start-group>
${nuttx_libs_paths} ${nuttx_extra_libs}
$<$<NOT:$<BOOL:${APPLE}>>:-Wl,--end-group> -o nuttx.rel
COMMAND ${CMAKE_OBJCOPY} --redefine-syms=nuttx-names.dat nuttx.rel
DEPENDS ${nuttx_libs} ${nuttx_extra_libs} sim_head
COMMAND_EXPAND_LISTS)
endif()
add_custom_target(nuttx-rel DEPENDS nuttx.rel
$<$<NOT:$<BOOL:${APPLE}>>:nuttx.ld>)

Expand All @@ -714,26 +747,37 @@ endif()

# Userspace portion ##########################################################

if(NOT CONFIG_BUILD_FLAT)
add_executable(nuttx_user)
if(CONFIG_BUILD_PROTECTED)

get_property(nuttx_system_libs GLOBAL PROPERTY NUTTX_SYSTEM_LIBRARIES)

get_property(nuttx_apps_libs GLOBAL PROPERTY NUTTX_APPS_LIBRARIES)

get_property(user_ldscript GLOBAL PROPERTY LD_SCRIPT_USER)
list(TRANSFORM user_ldscript PREPEND "-Wl,--script=")

execute_process(
COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS} ${NUTTX_EXTRA_FLAGS}
--print-libgcc-file-name
OUTPUT_STRIP_TRAILING_WHITESPACE
OUTPUT_VARIABLE nuttx_user_libgcc)

# reset link options for userspace to prevent sections from being accidentally
# deleted
set_target_properties(nuttx_user PROPERTIES LINK_OPTIONS "")

target_link_options(
nuttx_user PRIVATE -nostartfiles -nodefaultlibs
-Wl,--entry=${CONFIG_USER_ENTRYPOINT}
-Wl,--undefined=${CONFIG_USER_ENTRYPOINT})
-Wl,--entry=${CONFIG_INIT_ENTRYPOINT}
-Wl,--undefined=${CONFIG_INIT_ENTRYPOINT})

target_link_libraries(
nuttx_user
PRIVATE ${user_ldscript}
userspace
$<$<NOT:$<BOOL:${APPLE}>>:-Wl,--start-group>
${nuttx_system_libs}
gcc
${nuttx_apps_libs}
${nuttx_user_libgcc}
$<$<BOOL:${CONFIG_HAVE_CXX}>:supc++>
$<$<NOT:$<BOOL:${APPLE}>>:-Wl,--end-group>)

Expand All @@ -759,3 +803,8 @@ if(NOT CONFIG_BUILD_FLAT)

# TODO: could also merge elf binaries
endif()

if(CONFIG_BUILD_KERNEL)
# TODO: generate nuttx-export-xxx.tar.gz for userland development

endif()
12 changes: 7 additions & 5 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -j 1 -W -A nuttx_versions="latest,${NUTTX_VERSIONS}"
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
SPHINXOPTS ?= -j 1 -W -A nuttx_versions="latest,${NUTTX_VERSIONS}"
SPHINXAUTOOPTS ?= -j 8 -W
SPHINXBUILD ?= sphinx-build
SPHINXAUTOBUILD ?= sphinx-autobuild
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -37,7 +39,7 @@ help:
html: clean

autobuild: clean
sphinx-autobuild . _build -j=8
@$(SPHINXAUTOBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXAUTOOPTS) $(O)

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Expand Down
Loading
Loading