Xiang Xiao
b9d7d00943
arch: Remove the unused arch color function variant
...
up_check_tcbstack_remain, up_check_stack, up_check_stack_remain and up_check_intstack_remain
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-24 22:40:52 +02:00
zhangyuan21
45394eb6dc
arch: save user context in assert common code
...
This is the work continue with #7875
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-24 13:02:56 +08:00
Peter van der Perk
aac9eb57e8
S32K3XX Progmem dataflash with littlefs support
2022-12-24 12:03:56 +08:00
rajvinder kaur
3fd10fd504
s32k1xx\Kconfig: Add config option to enable UART invert setting.
2022-12-23 10:46:27 +08:00
Peter van der Perk
371f81d157
S32K3XX FlexCAN kconfig fix to work in conjunction with EMAC ioctl
2022-12-23 00:32:59 +08:00
Peter van der Perk
7f3cd2d3e8
S32K3XX EMAC MII PHY implementation
2022-12-23 00:32:59 +08:00
Peter van der Perk
7c8f3b4916
LPC17_40 CAN driver SocketCAN enforce TX fifo behaviour
...
Apply suggestions from code review
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-22 11:55:59 +08:00
TimJTi
e1b8c02f96
Add SAMA5D2 MCAN support
...
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
Update arch/arm/src/sama5/sam_mcan.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 14:51:57 -03:00
Petro Karashchenko
b107e4f417
nuttx: unify MIN, MAX and ABS macro definition across the code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-21 09:31:28 +08:00
Xiang Xiao
fd0d6a9bf5
compiler.h: Add _ between format|printf|syslog|scanf|strftime and like
...
align with other macro naming style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-21 01:05:19 +02:00
TimJTi
bc9b476d55
Update sam_mcan.c
2022-12-20 19:49:13 -03:00
David Sidrane
4fa163ade7
s32k3xx:EDMA fix git count
2022-12-20 18:01:21 +08:00
David Sidrane
d33475d2d4
s32k3xx:Serial add DMA
2022-12-20 13:28:54 +08:00
TimJTi
e6bfaa14ee
SAMA5D2 add Flexcom SPI
...
Flexcom working, DMA not looked at for SAMA5D2
Update sam_flexcom_spi.c
Update sam_flexcom_spi.h
Update sam_config.h
Update hardware/sam_flexcom_spi.h
pkarashchenko reviews
SAMA5 serial and flexcom serial corrections
2022-12-20 12:20:28 +08:00
David Sidrane
e89e7eab8d
s32k1xx:serial:Fix selection of RTS to iflow
2022-12-20 01:51:10 +08:00
David Sidrane
033adeced4
imxrt:serial:Fix selection of RTS to iflow
2022-12-20 01:50:57 +08:00
Peter van der Perk
b5fd0b2381
S32K3XX MR-CANHUBK3 Add protected knsh support
2022-12-19 20:10:34 +08:00
GD32-MCU
659bd495b0
Add i2c driver for gd32f450 MCU
2022-12-17 17:12:26 +08:00
Petro Karashchenko
cc0ee12092
arch/arm/samv7: add ARCH_RAMVECTORS support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-17 13:57:03 +08:00
Petro Karashchenko
e28e4fd320
arch/arm: fix typos in start files
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-17 13:56:17 +08:00
TimJTi
ad33ccfa53
SAMA5 serial and flexcom serial corrections
2022-12-17 01:09:43 +02:00
Xiang Xiao
d5689e070b
net/arp: Remove nuttx/net/arp.h
...
1.move ARPHRD_ETHER to netinet/arp.h
1.move arp_entry_s to net/arp/arp.h
2.move arp_input to nuttx/net/netdev.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-16 22:10:59 +02:00
zhangyuan21
453a1a7332
arch: move stack and task dump to common code
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-17 01:59:35 +08:00
zhangyuan21
632d87ee71
arch: remove up_release_pending function
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-16 21:29:57 +08:00
Peter van der Perk
19ca5ecbb0
Fix S32K1XX PM which was broken by #7869
2022-12-16 20:37:47 +08:00
Peter Bee
aeed8f5d26
include/nuttx/video: remove validate_buf
...
Removing validate_buf since it's only locally called in driver
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-16 17:03:35 +08:00
David Sidrane
707ac4b8f6
s32k1xx:Apply style changes from code review
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-16 01:06:12 +08:00
David Sidrane
75baa5b932
s32k1xx:LPSPI use DMA
2022-12-16 01:06:12 +08:00
David Sidrane
89f99dceed
s32ke3xx:EDMA Usage Clean up
2022-12-15 22:21:32 +08:00
David Sidrane
df4eb4896d
s32k3xx:LPSPI register usage cleanup
2022-12-15 22:21:32 +08:00
Petro Karashchenko
949a0d6032
arch/arm: remove FAR from ARM files
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-15 11:38:17 +08:00
Peter van der Perk
d172d8cd0f
S32K FlexCAN don't use a blocking wait in tx avail
2022-12-14 10:45:43 -05:00
David Sidrane
1760057e29
s32k1xx:Apply Style Changes from code review
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-12-14 21:03:31 +08:00
David Sidrane
592e946bdf
32k1xx:serial:Support GPIO (buffler level) Flow control
2022-12-14 21:03:31 +08:00
David Sidrane
5a948ed3dd
32k1xx:serial fix HW Handshaking
2022-12-14 21:03:31 +08:00
David Sidrane
9bb1226b04
s32k1xx:serial Add EDMA
2022-12-14 21:03:31 +08:00
David Sidrane
8a412ba59b
s32k1xx:Refactor DMAMUX for s32k11x, s32k14x
2022-12-14 21:03:31 +08:00
anjiahao
bc0fe0ea16
crypto:add some hardware support
...
esp32c3: aes hmac-sha1 hmac-sha256
stm32f0l0g0 stm32l1 : aes
sam34: aes
lpc43: aes
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-14 02:33:56 +08:00
anjiahao
2b071b7a42
arch/armv8m:support pmu api
...
The register definition comes from CMSIS
https: //github.com/ARM-software/CMSIS_5
commit id:10bf763a82318c0c852ff9ecc2d5cd8cebe7d761
file: Core/Include/pmu_armv8.h
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-14 00:27:02 +08:00
David Sidrane
4284d0398b
imxrt:Serial LPUART_STAT_PF s/b LPUART_STAT_NF
...
as a result of a typo LPUART_STAT_NF was not checked and
cleared on LPUART_STAT_PF.
2022-12-14 00:26:42 +08:00
Peter van der Perk
6b3b5751c1
S32K automatically calculate size of periphclocks array
2022-12-13 19:50:01 +08:00
chao an
47fbfa215e
fs/hostfs: mode_t of mkdir(2) should use the nuttx prototype
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-13 18:16:20 +08:00
田昕
0382b63f5d
move common assert logic together.
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-12-12 17:05:02 +08:00
zhangyuan21
ffd2eb5b14
arch/arm: only compare callee-saved registers for fpu
...
Registers S0-S15 (D0-D7, Q0-Q3) do not need to be preserved. They can be used for passing
arguments or returning results in standard procedure-call variants.
Registers D16-D31 (Q8-Q15), do not need to be preserved.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2022-12-09 11:00:38 +08:00
wangbowen6
27ea9f7625
arm/Kconfig: add cortex-m85 config
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-12-09 01:53:10 +08:00
wangbowen6
c44f87eb1a
arm: add syscall SYS_save_context support for old arm and armv7-r
...
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-12-08 12:37:29 +08:00
TimJTi
18482efc39
SAMA5D2 fix printf formatter
...
Update sam_adc.c
Update sam_adc.c
%08x -> PRIx32
More %08x
Revert incorrect change (PRIx32)
Update sam_tc.c
Update sam_tc.c
more style corrections/typos
Update arch/arm/src/sama5/sam_adc.c
Co-authored-by: Xiang Xiao <xiaoxiang781216@gmail.com>
2022-12-07 21:33:17 +01:00
Peter van der Perk
9c27d96b8a
s32k3xx:LPSPI Check for TX complete before RX
...
Co-authored-by: David Sidrane <david.sidrane@nscdg.com>
2022-12-05 22:35:21 +08:00
Peter van der Perk
e7449cf97a
S32K3XX EDMA Set Backdoor for DTCM memory map
2022-12-05 22:35:21 +08:00
chao an
d12ddf56df
arm/arm: sync ARM_THUMB support from cortex-a
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-05 01:09:31 +08:00