nuttx/boards/arm
wangbowen6 360e319959 arm/tlsr82: ble performance optimize and problems solve.
RF and system timer interrupt are used for ble.

tlsr82_flash.c:
1. BLE will loss packets during flash operation beacause the interrupt
   is disabled and the operation take too long (especially erasing,
   about 100ms), so allow RF and system timer interrupt during flash
   operation;
2. Add sched_lock()/sched_unlock() to avoid the task switch in ble and
   system timer interrupt;

flash_boot_ble.ld:
3. Because of 1, the code executes in RF and system timer interrupt
   must be in ram to avoid bus error. The sem_post() will be called and
   const variable g_tasklisttable will be accessed in RF and system
   timer interrupt handler;
4. To improve the performance, copy some frequently called function to
   ram as well, such as: sem_take(), sched_lock(), sched_unlock(),
   some lib functions, some zephyr ble functions and some tinycrypt
   functions;
5. The RF and system timer interrupt handler will call some libgcc
   functions, so copy all the libgcc functions to ram exclude _divdi3.o,
   _udivdi3.o and _umoddi3.o;

tlsr82_serial.c
6. Make up_putc() be thread safe, add enter/leave_critical_section() in
   function uart_send_byte();

tc32_doirq.c
7. Increase the RF and system timer interrupt response priority;

Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-05-30 19:52:38 +08:00
..
a1x/pcduino-a10 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
am335x/beaglebone-black Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
c5471/c5471evm boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
cxd56xx Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
dm320/ntosd-dm320 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
efm32 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
eoss3/quickfeather Move "-nostartfiles -nodefaultlibs" from Make.defs to Toolchian.defs 2022-05-18 08:26:02 -04:00
imx6/sabre-6quad arch: imx6: add support kernel build and smp 2022-05-27 01:31:58 +08:00
imxrt Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
kinetis boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
kl boards: arm: kl: keep cfmconfig sections in linker script 2022-05-21 00:03:03 +08:00
lc823450/lc823450-xgevk boards/xxx: Remove CONFIG_SCHED_ATEXIT/ONEXIT from all defconfigs 2022-05-25 15:28:43 +08:00
lpc17xx_40xx boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc31xx Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
lpc43xx boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc54xx/lpcxpresso-lpc54628 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
lpc214x boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
lpc2378/olimex-lpc2378 boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
max326xx/max32660-evsys Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
moxart/moxa boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
nrf52 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
nuc1xx/nutiny-nuc120 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
phy62xx/phy6222 boards/arm: Remove "LDFLAGS += -g" whichi is already added by Toolchain.defs 2022-05-16 11:17:08 +03:00
rp2040 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
s32k1xx Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
sam34 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
sama5 Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE 2022-05-28 18:41:51 +03:00
samd2l2 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
samd5e5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
samv7 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32f0l0g0 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32f7 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
stm32h7 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32l4 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32l5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
stm32u5 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
str71x/olimex-strp711 boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
tiva boards: Remove the unnessary CONFIG_SCHED_LPWORK=y from defconfig 2022-05-28 18:41:51 +03:00
tlsr82/tlsr8278adk80d arm/tlsr82: ble performance optimize and problems solve. 2022-05-30 19:52:38 +08:00
tms570 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00
xmc4 Move warning option from Make.defs to Toolchain.defs 2022-05-15 15:40:35 +03:00