Skip to content

Commit f52597f

Browse files
committed
Fix CY8CPROTO_062_4343W baremetal build
Compile in Cypress WiFi and RTOS modules only if the library are included in the build
1 parent c4a0808 commit f52597f

File tree

8 files changed

+20
-0
lines changed

8 files changed

+20
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "cy_psoc6_whd",
3+
"config": {
4+
"present": 1
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "cy_psoc6_common_network",
3+
"config": {
4+
"present": 1
5+
}
6+
}

targets/TARGET_Cypress/TARGET_PSOC6/mbed_overrides.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#include "cyhal_hwmgr.h"
2222
#include "cybsp.h"
2323
#include "mbed_power_mgmt.h"
24+
#if MBED_CONF_RTOS_PRESENT
2425
#include "rtos_idle.h"
26+
#endif // MBED_CONF_RTOS_PRESENT
2527
#include "us_ticker_api.h"
2628

2729
#if defined(CY_ENABLE_XIP_PROGRAM)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "cy_psoc6csp_rtos",
3+
"config": {
4+
"present": 1
5+
}
6+
}

0 commit comments

Comments
 (0)