incubator-nuttx/boards/arm/stm32
hujun5 908df725ad arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS
reason:
1 On different architectures, we can utilize more optimized strategies
  to implement up_current_regs/up_set_current_regs.
eg. use interrupt registersor percpu registers.

code size
before
    text    data     bss     dec     hex filename
 262848   49985   63893  376726   5bf96 nuttx

after
       text    data     bss     dec     hex filename
 262844   49985   63893  376722   5bf92 nuttx

size change -4

Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
   -machine virt,virtualization=on,gic-version=3 \
   -net none -chardev stdio,id=con,mux=on -serial chardev:con \
   -mon chardev=con,mode=readline -kernel ./nuttx

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-13 23:18:58 +08:00
..
axoloti nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
b-g431b-esc1 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
b-g474e-dpow1 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
clicker2-stm32 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
cloudctrl nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
common feat: add basic driver for amg88xx sensor 2024-09-07 12:03:38 +08:00
emw3162 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
et-stm32-stamp nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
fire-stm32v2 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
hymini-stm32v nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
maple nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
mikroe-stm32f4 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f4x1re nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f103rb nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f207zg nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f302r8 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f303re nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f303ze nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f334r8 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f410rb nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f412zg nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-f429zi arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
nucleo-f446re nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-g431kb nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-g431rb nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-g474re nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nucleo-l152re nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
odrive36 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-e407 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-h405 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-h407 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-p107 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-p207 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimex-stm32-p407 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
olimexino-stm32 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
omnibusf4 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
photon nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
shenzhou nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32_tiny nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32butterfly2 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f3discovery nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f4discovery boards: Add TLS_NELEM dependency to libcxxabi 2024-09-06 09:52:33 +08:00
stm32f103-minimum nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f334-disco nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f401rc-rs485 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f411-minimum nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f411e-disco nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f429i-disco nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32ldiscovery nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32vldiscovery nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm3210e-eval nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm3220g-eval nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm3240g-eval nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
viewtool-stm32f107 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00