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

Update CMSIS-Core and RTX to version 5 #4294

Merged
merged 24 commits into from
Jun 3, 2017
Merged

Update CMSIS-Core and RTX to version 5 #4294

merged 24 commits into from
Jun 3, 2017

Conversation

bulislaw
Copy link
Member

@bulislaw bulislaw commented May 10, 2017

Description

Main changes made by this PR:

  • Update CMSIS to v5
  • Update CMSIS-RTOS to v2
  • Update RTX to v5
  • Remove NVIC_SetVector and NVIC_GetVector from target code as it's provided by CMSIS
  • Copy interrupt vector table ROM->RAM
  • Rework boot sequence
  • Add RTOS1 compatibility including CMSIS adapter and RTOS1 types for both C and C++ APIs
  • Optimize memory usage in tests
  • Redefine thread/main/isr stack sizes
  • Remove Cortex A and ARM7 support

Status

IN DEVELOPMENT

Related PRs

List related PRs against other branches:

Todos

@Patater
Copy link
Contributor

Patater commented May 11, 2017

FYI, building for the EFM32GG_STK3700 target generates new warnings with this branch.

[Warning] objects.h@40,17: '<anonymous struct>::pin' is too small to hold all values of 'enum PinName'
[Warning] objects.h@88,17: 'gpio_irq_s::pin' is too small to hold all values of 'enum PinName'

@bulislaw
Copy link
Member Author

retest uvisor

1 similar comment
@bulislaw
Copy link
Member Author

retest uvisor

@c1728p9
Copy link
Contributor

c1728p9 commented May 12, 2017

Added commits to fix the hang seen on ST devices in #3683. This was due to calling NVIC_SetVector before the vector table had been relocated into RAM.

CC @bcostm, @bulislaw

@c1728p9
Copy link
Contributor

c1728p9 commented May 12, 2017

Merged with master so CI can be run again

@c1728p9
Copy link
Contributor

c1728p9 commented May 12, 2017

/morph test-nightly

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 208

Test failed!

@c1728p9
Copy link
Contributor

c1728p9 commented May 13, 2017

/morph test-nightly

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 211

All builds and test passed!

@bulislaw
Copy link
Member Author

@c1728p9 makes sense, thanks!

Copy link
Contributor

@bridadan bridadan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bulislaw There are still a mountain of warnings that are making the build times go through the roof for a number of targets: http://mbed-ci-master-2.austin.arm.com:8081/job/build_matrix/197/target=NUCLEO_F103RB,toolchain=GCC_ARM/console

That target went from taking ~10 seconds to ~9 minutes.

For your reference, here are the 3 targets that are problematic:

9 min 4 sec, build_matrix/target=NUCLEO_L152RE,toolchain=GCC_ARM #197
9 min 3 sec, build_matrix/target=XDOT_L151CC,toolchain=GCC_ARM #197
8 min 47 sec, build_matrix/target=NUCLEO_F103RB,toolchain=GCC_ARM #197

@bridadan
Copy link
Contributor

And just because data is cool, here's a current list of all build times for this PR 😄

9 min 4 sec, build_matrix/target=NUCLEO_L152RE,toolchain=GCC_ARM #197
9 min 3 sec, build_matrix/target=XDOT_L151CC,toolchain=GCC_ARM #197
8 min 47 sec, build_matrix/target=NUCLEO_F103RB,toolchain=GCC_ARM #197
1 min 12 sec, build_matrix/target=NUCLEO_L152RE,toolchain=IAR #197
1 min 11 sec, build_matrix/target=XDOT_L151CC,toolchain=IAR #197
1 min 9 sec, build_matrix/target=DISCO_F769NI,toolchain=IAR #197
1 min 7 sec, build_matrix/target=NUCLEO_F756ZG,toolchain=IAR #197
1 min 7 sec, build_matrix/target=NUCLEO_F767ZI,toolchain=IAR #197
1 min 5 sec, build_matrix/target=UBLOX_C030_U201,toolchain=IAR #197
1 min 4 sec, build_matrix/target=UBLOX_C030_N211,toolchain=IAR #197
1 min 3 sec, build_matrix/target=NUCLEO_F103RB,toolchain=IAR #197
1 min 3 sec, build_matrix/target=DISCO_F429ZI,toolchain=IAR #197
1 min 3 sec, build_matrix/target=NUCLEO_F439ZI,toolchain=IAR #197
1 min 3 sec, build_matrix/target=K64F,toolchain=IAR #197
1 min 2 sec, build_matrix/target=UBLOX_EVK_ODIN_W2,toolchain=IAR #197
57 sec, build_matrix/target=DISCO_F746NG,toolchain=IAR #197
57 sec, build_matrix/target=NUCLEO_F746ZG,toolchain=IAR #197
57 sec, build_matrix/target=NUMAKER_PFM_NUC472,toolchain=IAR #197
56 sec, build_matrix/target=MTS_DRAGONFLY_F411RE,toolchain=IAR #197
55 sec, build_matrix/target=TB_SENSE_1,toolchain=IAR #197
55 sec, build_matrix/target=NUCLEO_L476RG,toolchain=IAR #197
54 sec, build_matrix/target=NUCLEO_L486RG,toolchain=IAR #197
54 sec, build_matrix/target=DISCO_L476VG,toolchain=IAR #197
54 sec, build_matrix/target=NRF52840_DK,toolchain=IAR #197
54 sec, build_matrix/target=NUCLEO_F429ZI,toolchain=IAR #197
52 sec, build_matrix/target=DELTA_DFBM_NQ620,toolchain=IAR #197
52 sec, build_matrix/target=NRF52_DK,toolchain=IAR #197
52 sec, build_matrix/target=UBLOX_EVK_NINA_B1,toolchain=IAR #197
52 sec, build_matrix/target=NUCLEO_F207ZG,toolchain=IAR #197
51 sec, build_matrix/target=NUCLEO_L432KC,toolchain=IAR #197
51 sec, build_matrix/target=DISCO_F469NI,toolchain=IAR #197
51 sec, build_matrix/target=NRF51_DONGLE,toolchain=IAR #197
50 sec, build_matrix/target=NUCLEO_F446ZE,toolchain=IAR #197
50 sec, build_matrix/target=NUCLEO_F412ZG,toolchain=IAR #197
49 sec, build_matrix/target=NUCLEO_F446RE,toolchain=IAR #197
47 sec, build_matrix/target=TB_SENSE_12,toolchain=IAR #197
46 sec, build_matrix/target=B96B_F446VE,toolchain=IAR #197
46 sec, build_matrix/target=NUCLEO_F401RE,toolchain=IAR #197
46 sec, build_matrix/target=NUCLEO_F446RE,toolchain=GCC_ARM #197
44 sec, build_matrix/target=EFM32GG_STK3700,toolchain=IAR #197
44 sec, build_matrix/target=EFM32WG_STK3800,toolchain=IAR #197
44 sec, build_matrix/target=DISCO_L072CZ_LRWAN1,toolchain=IAR #197
44 sec, build_matrix/target=NUCLEO_L073RZ,toolchain=IAR #197
44 sec, build_matrix/target=UBLOX_EVA_NINA,toolchain=IAR #197
44 sec, build_matrix/target=EFM32PG_STK3401,toolchain=IAR #197
44 sec, build_matrix/target=NUCLEO_F072RB,toolchain=IAR #197
44 sec, build_matrix/target=EFM32LG_STK3600,toolchain=IAR #197
43 sec, build_matrix/target=NUMAKER_PFM_M453,toolchain=IAR #197
43 sec, build_matrix/target=UBLOX_C030_N211,toolchain=GCC_ARM #197
43 sec, build_matrix/target=K66F,toolchain=IAR #197
43 sec, build_matrix/target=NUCLEO_F746ZG,toolchain=GCC_ARM #197
43 sec, build_matrix/target=NUCLEO_F303RE,toolchain=IAR #197
43 sec, build_matrix/target=UBLOX_EVK_NINA_B1,toolchain=GCC_ARM #197
42 sec, build_matrix/target=NUCLEO_F303ZE,toolchain=IAR #197
42 sec, build_matrix/target=HEXIWEAR,toolchain=IAR #197
42 sec, build_matrix/target=K82F,toolchain=IAR #197
41 sec, build_matrix/target=NRF51_DONGLE,toolchain=GCC_ARM #197
41 sec, build_matrix/target=NRF52_DK,toolchain=GCC_ARM #197
41 sec, build_matrix/target=K22F,toolchain=IAR #197
41 sec, build_matrix/target=UBLOX_EVK_ODIN_W2,toolchain=GCC_ARM #197
41 sec, build_matrix/target=NUCLEO_F429ZI,toolchain=GCC_ARM #197
41 sec, build_matrix/target=LPC4088_DM,toolchain=IAR #197
41 sec, build_matrix/target=NUCLEO_F410RB,toolchain=IAR #197
40 sec, build_matrix/target=LPC4088,toolchain=IAR #197
40 sec, build_matrix/target=UBLOX_C030_U201,toolchain=GCC_ARM #197
40 sec, build_matrix/target=EFM32PG12_STK3402,toolchain=IAR #197
40 sec, build_matrix/target=KW24D,toolchain=IAR #197
40 sec, build_matrix/target=TY51822R3,toolchain=IAR #197
40 sec, build_matrix/target=NRF51_DK,toolchain=IAR #197
40 sec, build_matrix/target=UBLOX_C027,toolchain=IAR #197
40 sec, build_matrix/target=LPC1768,toolchain=IAR #197
39 sec, build_matrix/target=NUCLEO_F411RE,toolchain=IAR #197
39 sec, build_matrix/target=MTS_MDOT_F411RE,toolchain=IAR #197
38 sec, build_matrix/target=MAX32625MBED,toolchain=IAR #197
38 sec, build_matrix/target=MAX32620HSP,toolchain=IAR #197
38 sec, build_matrix/target=KL82Z,toolchain=IAR #197
38 sec, build_matrix/target=NUCLEO_F091RC,toolchain=IAR #197
37 sec, build_matrix/target=KW41Z,toolchain=IAR #197
36 sec, build_matrix/target=MAXWSNENV,toolchain=IAR #197
36 sec, build_matrix/target=ARM_BEETLE_SOC,toolchain=IAR #197
36 sec, build_matrix/target=KL43Z,toolchain=IAR #197
35 sec, build_matrix/target=NUCLEO_F070RB,toolchain=IAR #197
35 sec, build_matrix/target=ARCH_PRO,toolchain=IAR #197
33 sec, build_matrix/target=KL46Z,toolchain=IAR #197
33 sec, build_matrix/target=DISCO_F429ZI,toolchain=GCC_ARM #197
32 sec, build_matrix/target=KL25Z,toolchain=IAR #197
32 sec, build_matrix/target=NUCLEO_F410RB,toolchain=GCC_ARM #197
32 sec, build_matrix/target=MAX32625NEXPAQ,toolchain=IAR #197
31 sec, build_matrix/target=MAX32630FTHR,toolchain=IAR #197
31 sec, build_matrix/target=LPC4088,toolchain=GCC_ARM #197
31 sec, build_matrix/target=SARA_NBIOT_EVK,toolchain=IAR #197
31 sec, build_matrix/target=NCS36510,toolchain=IAR #197
31 sec, build_matrix/target=MTS_MDOT_F411RE,toolchain=GCC_ARM #197
31 sec, build_matrix/target=NUCLEO_F401RE,toolchain=GCC_ARM #197
31 sec, build_matrix/target=DISCO_L072CZ_LRWAN1,toolchain=GCC_ARM #197
30 sec, build_matrix/target=TB_SENSE_12,toolchain=GCC_ARM #197
30 sec, build_matrix/target=EFM32PG12_STK3402,toolchain=GCC_ARM #197
30 sec, build_matrix/target=NCS36510,toolchain=GCC_ARM #197
29 sec, build_matrix/target=NUCLEO_F091RC,toolchain=GCC_ARM #197
29 sec, build_matrix/target=EFM32WG_STK3800,toolchain=GCC_ARM #197
29 sec, build_matrix/target=NUCLEO_F103RB,toolchain=ARM #197
28 sec, build_matrix/target=NUCLEO_F070RB,toolchain=GCC_ARM #197
28 sec, build_matrix/target=MAX32600MBED,toolchain=IAR #197
27 sec, build_matrix/target=KW24D,toolchain=GCC_ARM #197
26 sec, build_matrix/target=KW41Z,toolchain=GCC_ARM #197
26 sec, build_matrix/target=MAX32625MBED,toolchain=GCC_ARM #197
26 sec, build_matrix/target=MAX32630FTHR,toolchain=GCC_ARM #197
26 sec, build_matrix/target=MAX32625NEXPAQ,toolchain=GCC_ARM #197
24 sec, build_matrix/target=SARA_NBIOT_EVK,toolchain=GCC_ARM #197
23 sec, build_matrix/target=DISCO_L476VG,toolchain=GCC_ARM #197
21 sec, build_matrix/target=XDOT_L151CC,toolchain=ARM #197
21 sec, build_matrix/target=NRF52840_DK,toolchain=ARM #197
20 sec, build_matrix/target=NUCLEO_L152RE,toolchain=ARM #197
19 sec, build_matrix/target=DELTA_DFBM_NQ620,toolchain=ARM #197
19 sec, build_matrix/target=NRF52_DK,toolchain=ARM #197
19 sec, build_matrix/target=DELTA_DFBM_NQ620,toolchain=GCC_ARM #197
19 sec, build_matrix/target=DISCO_L476VG,toolchain=ARM #197
19 sec, build_matrix/target=NRF51_DONGLE,toolchain=ARM #197
19 sec, build_matrix/target=NRF52840_DK,toolchain=GCC_ARM #197
18 sec, build_matrix/target=NUCLEO_F439ZI,toolchain=GCC_ARM #197
17 sec, build_matrix/target=NUCLEO_F412ZG,toolchain=ARM #197
17 sec, build_matrix/target=MTS_MDOT_F411RE,toolchain=ARM #197
16 sec, build_matrix/target=NUCLEO_F411RE,toolchain=ARM #197
15 sec, build_matrix/target=EFM32WG_STK3800,toolchain=ARM #197
15 sec, build_matrix/target=TB_SENSE_1,toolchain=ARM #197
15 sec, build_matrix/target=NUCLEO_F412ZG,toolchain=GCC_ARM #197
15 sec, build_matrix/target=NUCLEO_L432KC,toolchain=GCC_ARM #197
14 sec, build_matrix/target=HEXIWEAR,toolchain=GCC_ARM #197
14 sec, build_matrix/target=NUCLEO_F303ZE,toolchain=GCC_ARM #197
14 sec, build_matrix/target=KL43Z,toolchain=ARM #197
14 sec, build_matrix/target=NUCLEO_L073RZ,toolchain=GCC_ARM #197
14 sec, build_matrix/target=LPC4088,toolchain=ARM #197
13 sec, build_matrix/target=TB_SENSE_1,toolchain=GCC_ARM #197
13 sec, build_matrix/target=UBLOX_EVK_NINA_B1,toolchain=ARM #197
13 sec, build_matrix/target=MAXWSNENV,toolchain=ARM #197
13 sec, build_matrix/target=UBLOX_C027,toolchain=GCC_ARM #197
13 sec, build_matrix/target=NRF51_DK,toolchain=ARM #197
12 sec, build_matrix/target=K22F,toolchain=GCC_ARM #197
12 sec, build_matrix/target=DISCO_F769NI,toolchain=ARM #197
12 sec, build_matrix/target=UBLOX_EVA_NINA,toolchain=ARM #197
12 sec, build_matrix/target=TY51822R3,toolchain=ARM #197
12 sec, build_matrix/target=NUCLEO_F756ZG,toolchain=ARM #197
12 sec, build_matrix/target=MAXWSNENV,toolchain=GCC_ARM #197
12 sec, build_matrix/target=NUCLEO_F767ZI,toolchain=ARM #197
12 sec, build_matrix/target=NUCLEO_F746ZG,toolchain=ARM #197
12 sec, build_matrix/target=DISCO_F746NG,toolchain=ARM #197
12 sec, build_matrix/target=TY51822R3,toolchain=GCC_ARM #197
12 sec, build_matrix/target=KL25Z,toolchain=ARM #197
12 sec, build_matrix/target=K64F,toolchain=ARM #197
12 sec, build_matrix/target=NUCLEO_F439ZI,toolchain=ARM #197
11 sec, build_matrix/target=UBLOX_EVA_NINA,toolchain=GCC_ARM #197
11 sec, build_matrix/target=UBLOX_C030_U201,toolchain=ARM #197
11 sec, build_matrix/target=NUCLEO_F429ZI,toolchain=ARM #197
11 sec, build_matrix/target=UBLOX_C030_N211,toolchain=ARM #197
11 sec, build_matrix/target=NRF51_DK,toolchain=GCC_ARM #197
11 sec, build_matrix/target=NUMAKER_PFM_NUC472,toolchain=ARM #197
11 sec, build_matrix/target=UBLOX_EVK_ODIN_W2,toolchain=ARM #197
11 sec, build_matrix/target=MAX32600MBED,toolchain=GCC_ARM #197
11 sec, build_matrix/target=NUCLEO_L486RG,toolchain=ARM #197
11 sec, build_matrix/target=NUCLEO_L476RG,toolchain=ARM #197
11 sec, build_matrix/target=K64F,toolchain=GCC_ARM #197
10 sec, build_matrix/target=DISCO_F469NI,toolchain=ARM #197
10 sec, build_matrix/target=DISCO_F429ZI,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F303RE,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F446RE,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F207ZG,toolchain=ARM #197
10 sec, build_matrix/target=DISCO_F769NI,toolchain=GCC_ARM #197
10 sec, build_matrix/target=MTS_DRAGONFLY_F411RE,toolchain=ARM #197
10 sec, build_matrix/target=B96B_F446VE,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F446ZE,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_L432KC,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_L486RG,toolchain=GCC_ARM #197
10 sec, build_matrix/target=NUCLEO_F767ZI,toolchain=GCC_ARM #197
10 sec, build_matrix/target=NUCLEO_F756ZG,toolchain=GCC_ARM #197
10 sec, build_matrix/target=NUCLEO_F303ZE,toolchain=ARM #197
10 sec, build_matrix/target=EFM32PG12_STK3402,toolchain=ARM #197
10 sec, build_matrix/target=DISCO_F746NG,toolchain=GCC_ARM #197
10 sec, build_matrix/target=NUCLEO_F072RB,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F091RC,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_F410RB,toolchain=ARM #197
10 sec, build_matrix/target=TB_SENSE_12,toolchain=ARM #197
10 sec, build_matrix/target=K66F,toolchain=ARM #197
10 sec, build_matrix/target=NUCLEO_L476RG,toolchain=GCC_ARM #197
9.9 sec, build_matrix/target=NUCLEO_L073RZ,toolchain=ARM #197
9.9 sec, build_matrix/target=DISCO_L072CZ_LRWAN1,toolchain=ARM #197
9.9 sec, build_matrix/target=NUCLEO_F401RE,toolchain=ARM #197
9.8 sec, build_matrix/target=DISCO_F469NI,toolchain=GCC_ARM #197
9.8 sec, build_matrix/target=EFM32PG_STK3401,toolchain=ARM #197
9.7 sec, build_matrix/target=K82F,toolchain=ARM #197
9.7 sec, build_matrix/target=NUCLEO_F070RB,toolchain=ARM #197
9.6 sec, build_matrix/target=EFM32LG_STK3600,toolchain=ARM #197
9.6 sec, build_matrix/target=NUMAKER_PFM_NUC472,toolchain=GCC_ARM #197
9.5 sec, build_matrix/target=EFM32GG_STK3700,toolchain=ARM #197
9.5 sec, build_matrix/target=NUMAKER_PFM_M453,toolchain=ARM #197
9.4 sec, build_matrix/target=HEXIWEAR,toolchain=ARM #197
9.4 sec, build_matrix/target=NUCLEO_F446ZE,toolchain=GCC_ARM #197
9.3 sec, build_matrix/target=KL82Z,toolchain=ARM #197
9.3 sec, build_matrix/target=EFM32PG_STK3401,toolchain=GCC_ARM #197
9.2 sec, build_matrix/target=NCS36510,toolchain=ARM #197
9.2 sec, build_matrix/target=KW24D,toolchain=ARM #197
9.2 sec, build_matrix/target=K22F,toolchain=ARM #197
9.2 sec, build_matrix/target=NUCLEO_F207ZG,toolchain=GCC_ARM #197
9.2 sec, build_matrix/target=UBLOX_C027,toolchain=ARM #197
9.2 sec, build_matrix/target=KW41Z,toolchain=ARM #197
9.1 sec, build_matrix/target=K66F,toolchain=GCC_ARM #197
9.1 sec, build_matrix/target=ARM_BEETLE_SOC,toolchain=ARM #197
9.1 sec, build_matrix/target=NUCLEO_F072RB,toolchain=GCC_ARM #197
8.9 sec, build_matrix/target=EFM32LG_STK3600,toolchain=GCC_ARM #197
8.9 sec, build_matrix/target=NUCLEO_F303RE,toolchain=GCC_ARM #197
8.9 sec, build_matrix/target=B96B_F446VE,toolchain=GCC_ARM #197
8.8 sec, build_matrix/target=NUCLEO_F411RE,toolchain=GCC_ARM #197
8.8 sec, build_matrix/target=MTS_DRAGONFLY_F411RE,toolchain=GCC_ARM #197
8.6 sec, build_matrix/target=MAX32625NEXPAQ,toolchain=ARM #197
8.6 sec, build_matrix/target=SARA_NBIOT_EVK,toolchain=ARM #197
8.6 sec, build_matrix/target=MAX32630FTHR,toolchain=ARM #197
8.6 sec, build_matrix/target=LPC1768,toolchain=ARM #197
8.5 sec, build_matrix/target=MAX32620HSP,toolchain=GCC_ARM #197
8.5 sec, build_matrix/target=ARCH_PRO,toolchain=ARM #197
8.5 sec, build_matrix/target=ARM_BEETLE_SOC,toolchain=GCC_ARM #197
8.5 sec, build_matrix/target=K82F,toolchain=GCC_ARM #197
8.5 sec, build_matrix/target=MAX32625MBED,toolchain=ARM #197
8.4 sec, build_matrix/target=LPC1768,toolchain=GCC_ARM #197
8.4 sec, build_matrix/target=MAX32620HSP,toolchain=ARM #197
8.4 sec, build_matrix/target=MAX32600MBED,toolchain=ARM #197
8.3 sec, build_matrix/target=EFM32GG_STK3700,toolchain=GCC_ARM #197
8.3 sec, build_matrix/target=LPC4088_DM,toolchain=ARM #197
8.2 sec, build_matrix/target=NUMAKER_PFM_M453,toolchain=GCC_ARM #197
8.2 sec, build_matrix/target=KL43Z,toolchain=GCC_ARM #197
8.2 sec, build_matrix/target=LPC4088_DM,toolchain=GCC_ARM #197
8.2 sec, build_matrix/target=KL25Z,toolchain=GCC_ARM #197
8.1 sec, build_matrix/target=KL82Z,toolchain=GCC_ARM #197
8.1 sec, build_matrix/target=KL46Z,toolchain=ARM #197
7.9 sec, build_matrix/target=ARCH_PRO,toolchain=GCC_ARM #197
7.4 sec, build_matrix/target=KL46Z,toolchain=GCC_ARM #197

@c1728p9
Copy link
Contributor

c1728p9 commented May 15, 2017

Merged master into CMSIS_5 so it is up to date

@c1728p9
Copy link
Contributor

c1728p9 commented May 15, 2017

/morph test-nightly

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 226

Build failed!

@bulislaw
Copy link
Member Author

Thanks @bridadan I'll have a look, I know there was some noise from IAR warnings, but didn't know about GCC.
On a separate note it sounds like something is fishy with the CI as well, if we go from 10s to 9min because of warnings. I mean build warnings happen on host machine, what sort of pipe are we using that it stretches it 6000% (my math can be off).

@bulislaw
Copy link
Member Author

/morph test-nightly

@c1728p9
Copy link
Contributor

c1728p9 commented May 16, 2017

@bulislaw can you make a PR against master for "Remove redefinitions of register macros from target code
" - 484d144. Adding it here is just going to add more noise.

@bulislaw
Copy link
Member Author

bulislaw commented May 16, 2017

The macros that I'm removing from target code weren't defined by the old CMSIS.

@bulislaw
Copy link
Member Author

Also let's not try to split CMSIS and RTX as it's just generating confusion and uncertainty with tests and quality rather than progressing things towards master.

@@ -8631,58 +8631,24 @@ typedef struct

/******************* Bit definition for SCB_CFSR register *******************/
/*!< MFSR */
#define SCB_CFSR_IACCVIOL_Pos (0U)
#define SCB_CFSR_IACCVIOL_Msk (0x1U << SCB_CFSR_IACCVIOL_Pos) /*!< 0x00000001 */
Copy link
Contributor

@geky geky May 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So these are defined by cmsis/rtx?

Is it normal for the rtos to define target-specific registers? Just curious

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they are defined by CMSIS-Core. And ARM Core registers are sort of fixed in memory map afaik http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Cihcfefj.html

@bridadan
Copy link
Contributor

@bulislaw I don't think the CI is doing anything wrong here (besides Jenkins generally being a bit sluggish). It takes time to print output to the console, and the log size increased from 651KB to 20MB. That's a 30x increase in log size. 10 seconds * 30 = 5 mins. I realize it might not scale 100% linearly (and it obviously isn't), but there will definitely be an appreciable increase in run time.

This should be fixed as soon as client and its dependencies
are updated to resolve conflicts there. We expect this to be reverted asap.
@studavekar
Copy link
Contributor

mbed_hal-lp_ticker.tests-mbed_hal-lp_ticker – failing on k22f and k64f

@sg-
Copy link
Contributor

sg- commented Jun 2, 2017

/morph test-nightly

@sg-
Copy link
Contributor

sg- commented Jun 2, 2017

Need to reduce 168 bytes from .\TESTS\mbed_hal\ticker now that 64bit ticker has been merged with new tests?

@sg-
Copy link
Contributor

sg- commented Jun 2, 2017

/morph test-nightly

JanneKiiskila pushed a commit to ARMmbed/mbed-os-example-client that referenced this pull request Jun 2, 2017
Point the libs to pal.lib PR having the CMSIS support and mbed OS lib
to the CMSIS branch (ARMmbed/mbed-os#4294).
@bridadan
Copy link
Contributor

bridadan commented Jun 2, 2017

/morph test-nightly

1 similar comment
@studavekar
Copy link
Contributor

/morph test-nightly

@mbed-bot
Copy link

mbed-bot commented Jun 3, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 424

All builds and test passed!

@sg- sg- merged commit 5f13881 into master Jun 3, 2017
@LMESTM
Copy link
Contributor

LMESTM commented Jun 6, 2017

@bulislaw @bridadan @sg- @0xc0170 @bcostm @jeromecoutant
Hi - we're having issues of constant timeouts on STM32 platforms on main lastest / master branch. Quick tests seem to point toward this commit. We'll be running more tests and start debugging, but haven't you faced any issue while testingn STM32 targets on this branch before merging ?

@jeromecoutant
Copy link
Collaborator

Yes, not easy to find the exact faulty commit as all commit can not be compiled... :-(

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 6, 2017

Hi - we're having issues of constant timeouts on STM32 platforms on main lastest / master branch. Quick tests seem to point toward this commit. We'll be running more tests and start debugging, but haven't you faced any issue while testingn STM32 targets on this branch before merging ?

The test above did not uncover any issue for STM32 devices. I'll test some devices, just run any test to get this timeout? Please create an issue with details

@LMESTM
Copy link
Contributor

LMESTM commented Jun 6, 2017

We're facing timeout with any test so far indeed.
As mentioned we'll investigate further as well and share all the details in a dedicated issue if/when confirmed

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 6, 2017

OK, I run,no issues. lets discuss this in the new issue, but we havent seen any regression so far.

# using latest master
a41e08c - (HEAD -> master, upstream/master) Merge pull request #4365 from LMESTM/fix_i2C_pcf_F1F2F4L1 (20 hours ago) <Anna Bridge>

This is the output

mbedgt: test suite report:
+-------------------+---------------+-------------------------+--------+--------------------+-------------+
| target            | platform_name | test suite              | result | elapsed_time (sec) | copy_method |
+-------------------+---------------+-------------------------+--------+--------------------+-------------+
| NUCLEO_F411RE-ARM | NUCLEO_F411RE | tests-mbed_drivers-echo | OK     | 22.37              | shell       |
+-------------------+---------------+-------------------------+--------+--------------------+-------------+

@LMESTM
Copy link
Contributor

LMESTM commented Jun 6, 2017

ok sounds good thanks

@jeromecoutant
Copy link
Collaborator

Did you upgrade something on your PC: tool chain, packages, python, ....?

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 6, 2017

Did you upgrade something on your PC: tool chain, packages, python, ....?

I havent. You can describe in the issue your environment (all of these versions that you use). However timeouts should not be there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.