nuttx/boards/arm
chao an fa0577ebfb boards/arm/gcc: disable coverage analysis temporarily
**Please revert this change if arm resolved this issue in the next release**

ARM GNU toolchain 11.3.Rel1 missing gcov_* symbols:

https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53354/arm-gnu-toolchain-11-3-rel1-missing-gcov_-symbols

$ arm-none-eabi-gcc -v
...
gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)

$ cat main.c
int __start(void)
{
  return 0;
}

Compiler with arm GCC-11.3:

$ arm-none-eabi-gcc -c -Wstrict-prototypes -Os -fno-strict-aliasing -fomit-frame-pointer -fprofile-generate \
-ftest-coverage -mthumb --coverage -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -g \
-mlittle-endian -mcpu=cortex-m0 -mthumb -mfloat-abi=soft main.c -o main.o

$ arm-none-eabi-ld --entry=__start -nostdlib --gc-sections -Tpimoroni-tiny2040-flash.ld -o test_gcov --start-group main.o \
~/gcc/linux/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/thumb/v6-m/nofp/libgcov.a --end-group
arm-none-eabi-ld: main.o: in function `__start':
/home/archer/code/nuttx/n4/incubator-nuttx/main.c:2: undefined reference to `__gcov_indirect_call_profiler_v4'
arm-none-eabi-ld: /home/archer/code/nuttx/n4/incubator-nuttx/main.c:4: undefined reference to `__gcov_indirect_call'
arm-none-eabi-ld: /home/archer/code/nuttx/n4/incubator-nuttx/main.c:4: undefined reference to `__gcov_time_profiler_counter'

link success with arm GCC-10.3:

$ arm-none-eabi-ld --entry=__start -nostdlib --gc-sections -Tpimoroni-tiny2040-flash.ld -o test_gcov --start-group main.o \
~/lib/gcc/arm-none-eabi/10.3.1/thumb/v6-m/nofp/libgcov.a --end-group
$ ls -l test_gcov
-rwxrwxr-x 1 archer archer 68744 10月 24 12:51 test_gcov

Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-24 20:23:28 +08:00
..
a1x/pcduino-a10
am335x/beaglebone-black
c5471/c5471evm boards: Remove CONFIG_NETDEVICES=y from board defconfig 2022-10-01 19:12:15 +02:00
cxd56xx sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
dm320/ntosd-dm320 boards: Remove CONFIG_NETDEVICES=y from board defconfig 2022-10-01 19:12:15 +02:00
efm32
eoss3/quickfeather
gd32f4/gd32f450zk-eval boards: Change the linker generated symbols from uint32_t to uint8_t array 2022-10-05 14:24:47 +02:00
imx6/sabre-6quad ci: add qemu run support 2022-10-21 14:57:43 +08:00
imxrt Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
kinetis Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
kl
lc823450/lc823450-xgevk board: Change CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB 2022-10-18 22:18:51 +02:00
lpc17xx_40xx Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
lpc31xx Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
lpc43xx Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
lpc54xx/lpcxpresso-lpc54628
lpc214x Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
lpc2378/olimex-lpc2378
max326xx/max32660-evsys
moxart/moxa boards: Remove CONFIG_NETDEVICES=y from board defconfig 2022-10-01 19:12:15 +02:00
nrf52
nrf53/nrf5340-audio-dk
nuc1xx/nutiny-nuc120
phy62xx/phy6222
rp2040 boards/arm/gcc: disable coverage analysis temporarily 2022-10-24 20:23:28 +08:00
s32k1xx
s32k3xx
sam34 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
sama5 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
samd2l2
samd5e5 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
samv7 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
stm32 board: Change CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB 2022-10-18 22:18:51 +02:00
stm32f0l0g0 boards: Refresh defconfig after the default value of FS_PROCFS_EXCLUDE_xxx 2022-10-18 15:10:26 +09:00
stm32f7 nucleo-144/f722: add CAN and SocketCAN configurations 2022-10-20 00:08:36 +08:00
stm32h7 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
stm32l4 Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
stm32l5
stm32u5
stm32wb/nucleo-wb55rg
stm32wl5/nucleo-wl55jc
str71x/olimex-strp711 Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
tiva board: Change CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB 2022-10-18 22:18:51 +02:00
tlsr82/tlsr8278adk80d boards: Refresh defconfig after the default value of FS_PROCFS_EXCLUDE_xxx 2022-10-18 15:10:26 +09:00
tms570
xmc4