Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Dependents:   denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more

Issue: revisior 12 not compiling offline targeting LPC1768 (KEIL)

Hello,

After sync of lib.: mbed-rtos from revisior 11 to 12 KEIL is complaining about 4 issues.

Build output revisior: 12

mbed-rtos\rtx\LPC4088\ARM\HAL_CM4.c(157): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
mbed-rtos\rtx\LPC4088\ARM\HAL_CM4.c(175): error: A1854E: Unknown opcode 'VLDMIANE', maybe wrong target CPU?
mbed-rtos\rtx\LPC4088\ARM\HAL_CM4.c(240): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
mbed-rtos\rtx\LPC4088\ARM\HAL_CM4.c(257): error: A1854E: Unknown opcode 'VLDMIANE', maybe wrong target CPU?

Reverting to revisior 11 KEIL is compiling successfully

Some info:

  • target: LPC1768
  • online compiler: none beta
  • offline compiler: KEIL uVision 4.72.1

code example: _rtos_basic

#include "mbed.h"
#include "rtos.h"
 
DigitalOut led1(LED1);
DigitalOut led2(LED2);
 
void led2_thread(void const *args) {
    while (true) {
        led2 = !led2;
        Thread::wait(1000);
    }
}
 
int main() {
    Thread thread(led2_thread);
    
    while (true) {
        led1 = !led1;
        Thread::wait(500);
    }
}