Fix CY8CPROTO_062_4343W baremetal build

Make a Mbed library with Cypress WHD files so it is automatically excluded
when building with the bare metal profile. Create another Mbed library to
group network files that use WHD so they can also be excluded fro the bare
metal profile.
pull/12438/head
Hugues Kamba 2020-02-14 15:46:40 +00:00
parent c4a0808fe6
commit 18193abdb5
8 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
"name": "cy_psoc6_whd",
"config": {
"present": 1
}
}

View File

@ -0,0 +1,6 @@
{
"name": "cy_psoc6_common_network",
"config": {
"present": 1
}
}

View File

@ -21,7 +21,9 @@
#include "cyhal_hwmgr.h"
#include "cybsp.h"
#include "mbed_power_mgmt.h"
#if MBED_CONF_RTOS_PRESENT
#include "rtos_idle.h"
#endif // MBED_CONF_RTOS_PRESENT
#include "us_ticker_api.h"
#if defined(CY_ENABLE_XIP_PROGRAM)

View File

@ -0,0 +1,6 @@
{
"name": "cy_psoc6csp_rtos",
"config": {
"present": 1
}
}