maclobdell / mbed-bootloader

Generic bootloader to be used in conjunction with mbed-cloud-client
https://cloud.mbed.com/
Apache License 2.0
0 stars 0 forks source link

Unable to build bootloader for CY8CPROTO with Mbed OS 5.13.1 #1

Open maclobdell opened 5 years ago

maclobdell commented 5 years ago

using this repo on branch add-cy8cproto

build command

mbed compile -m CY8CPROTO_062_4343w -t IAR --profile=tiny.json

results in

Compile [ 62.4%]: mbed_overrides.c
[Fatal Error] mbed_overrides.c@24,0: [Pe1696]: cannot open source file "rtos_idle.h"
[ERROR]
  #include "rtos_idle.h"

Looks like new updates to Cypress targets resulted in difficulty removing the RTOS.

maclobdell commented 5 years ago

This seems to be resolved by removing all references to rtos and idle loop functions here:

targets/TARGET_Cypress/TARGET_PSOC6/mbed_overrides.c