Skip to content

Commit 08a0920

Browse files
authored
Merge pull request #12864 from MarceloSalazar/platform_cleanup3
Remove unsupported targets
2 parents 6d8d024 + 84b596d commit 08a0920

File tree

1,451 files changed

+3686
-835797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,451 files changed

+3686
-835797
lines changed

TESTS/integration/COMMON/target_extended.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
"nanostack.configuration" : "thread_router",
198198
"nanostack-hal.event_loop_thread_stack_size": 8192
199199
},
200-
"MTB_ADV_WISE_1570": {
200+
"ADV_WISE_1570": {
201201
"target.components_add" : ["SPIF"],
202202
"spif-driver.SPI_FREQ" : 20000000,
203203
"target.network-default-interface-type" : "CELLULAR",

TESTS/mbed_hal/qspi/flash_configs/NXP/KL82Z/flash_config.h

Lines changed: 0 additions & 119 deletions
This file was deleted.

TESTS/mbed_hal/qspi/flash_configs/flash_configs.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@
5959
#elif defined(TARGET_K82F)
6060
#include "NXP/K82F/flash_config.h"
6161

62-
#elif defined(TARGET_KL82Z)
63-
#include "NXP/KL82Z/flash_config.h"
64-
6562
#elif defined(TARGET_LPC546XX)
6663
#include "NXP/LPC546XX/flash_config.h"
6764

@@ -88,4 +85,3 @@
8885
#endif
8986

9087
#endif // MBED_FLASH_CONFIGS_H
91-

TESTS/network/emac/emac_TestMemoryManager.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,7 @@ char s_trace_buffer[100] = MEM_MNGR_TRACE;
4949
/* For LPC boards define the heap memory bank ourselves to give us section placement
5050
control */
5151
#ifndef ETHMEM_SECTION
52-
#if defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
53-
# if defined (__ICCARM__)
54-
# define ETHMEM_SECTION
55-
# elif defined(TOOLCHAIN_GCC_CR)
56-
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
57-
# else
58-
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
59-
# endif
60-
#elif defined(TARGET_LPC1768) || defined(TARGET_LPC1769)
52+
#if defined(TARGET_LPC1768)
6153
# if defined (__ICCARM__)
6254
# define ETHMEM_SECTION
6355
# elif defined(TOOLCHAIN_GCC_CR)

TESTS/network/emac/emac_util.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,7 @@ using namespace utest::v1;
3838
/* For LPC boards define the memory bank ourselves to give us section placement
3939
control */
4040
#ifndef ETHMEM_SECTION
41-
#if defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
42-
# if defined (__ICCARM__)
43-
# define ETHMEM_SECTION
44-
# elif defined(TOOLCHAIN_GCC_CR)
45-
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
46-
# else
47-
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
48-
# endif
49-
#elif defined(TARGET_LPC1768) || defined(TARGET_LPC1769)
41+
#if defined(TARGET_LPC1768)
5042
# if defined (__ICCARM__)
5143
# define ETHMEM_SECTION
5244
# elif defined(TOOLCHAIN_GCC_CR)

TEST_APPS/testcases/nanostack_mac_tester/ED_scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self):
4242
'*': {
4343
"count":3,
4444
"type": "hardware",
45-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
45+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4646
"application": {
4747
"name": "TEST_APPS-device-nanostack_mac_tester"
4848
}

TEST_APPS/testcases/nanostack_mac_tester/address_read_and_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self):
4141
'*': {
4242
"count":1,
4343
"type": "hardware",
44-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
44+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4545
"application": {
4646
"name": "TEST_APPS-device-nanostack_mac_tester"
4747
}

TEST_APPS/testcases/nanostack_mac_tester/create_and_join_PAN.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self):
4141
'*': {
4242
"count":3,
4343
"type": "hardware",
44-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
44+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4545
"application": {
4646
"name": "TEST_APPS-device-nanostack_mac_tester"
4747
}

TEST_APPS/testcases/nanostack_mac_tester/send_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self):
4141
'*': {
4242
"count":2,
4343
"type": "hardware",
44-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
44+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4545
"application": {
4646
"name": "TEST_APPS-device-nanostack_mac_tester"
4747
}

TEST_APPS/testcases/nanostack_mac_tester/send_data_indirect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self):
4141
'*': {
4242
"count":3,
4343
"type": "hardware",
44-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
44+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4545
"application": {
4646
"name": "TEST_APPS-device-nanostack_mac_tester"
4747
}

TEST_APPS/testcases/nanostack_mac_tester/send_large_payloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self):
4141
'*': {
4242
"count":2,
4343
"type": "hardware",
44-
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW24D", "KW41Z"],
44+
"allowed_platforms": ["K64F", "K66F", "NUCLEO_F429ZI", "KW41Z"],
4545
"application": {
4646
"name": "TEST_APPS-device-nanostack_mac_tester"
4747
}

components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ void MCR20Drv_Init
115115
xcvr_spi_configure_speed(gXcvrSpiInstance_c, 8000000);
116116

117117
gXcvrDeassertCS_d();
118-
#if !defined(TARGET_KW24D)
119-
MCR20Drv_RST_B_Deassert();
120-
#endif
121118
RF_IRQ_Init();
122119
RF_IRQ_Disable();
123120
mPhyIrqDisableCnt = 1;
@@ -640,7 +637,6 @@ void MCR20Drv_RESET
640637
void
641638
)
642639
{
643-
#if !defined(TARGET_KW24D)
644640
volatile uint32_t delay = 1000;
645641
//assert RST_B
646642
MCR20Drv_RST_B_Assert();
@@ -649,7 +645,6 @@ void MCR20Drv_RESET
649645

650646
//deassert RST_B
651647
MCR20Drv_RST_B_Deassert();
652-
#endif
653648
}
654649

655650
/*---------------------------------------------------------------------------

components/802.15.4_RF/mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,8 @@ extern "C" {
6161
#define gCcaCCA_MODE1_c 1
6262

6363
#define gXcvrRunState_d gXcvrPwrAutodoze_c
64-
#if !defined(TARGET_KW24D)
6564
#define gXcvrLowPowerState_d gXcvrPwrHibernate_c
66-
#else
6765
#define gXcvrLowPowerState_d gXcvrPwrAutodoze_c
68-
#endif
6966

7067
namespace {
7168

@@ -504,9 +501,7 @@ static void rf_init(void)
504501
/* Disable Tristate on MISO for SPI reads */
505502
MCR20Drv_IndirectAccessSPIWrite(MISC_PAD_CTRL, 0x02);
506503
/* Set XCVR clock output settings */
507-
#if !defined(TARGET_KW24D)
508504
MCR20Drv_Set_CLK_OUT_Freq(gMCR20_ClkOutFreq_d);
509-
#endif
510505
/* Set default XCVR power state */
511506
rf_set_power_state(gXcvrRunState_d);
512507

@@ -1758,7 +1753,7 @@ void NanostackRfPhyMcr20a::_pins_clear()
17581753
irq_thread = NULL;
17591754
}
17601755

1761-
#if MBED_CONF_MCR20A_PROVIDE_DEFAULT || TARGET_KW24D
1756+
#if MBED_CONF_MCR20A_PROVIDE_DEFAULT
17621757

17631758
NanostackRfPhy &NanostackRfPhy::get_default_instance()
17641759
{

components/storage/blockdevice/COMPONENT_SD/mbed_lib.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@
3535
"NUCLEO_F410RB": {
3636
"TEST_BUFFER": 4096
3737
},
38-
"K20D50M": {
39-
"SPI_MOSI": "PTD2",
40-
"SPI_MISO": "PTD3",
41-
"SPI_CLK": "PTD1",
42-
"SPI_CS": "PTC2"
43-
},
4438
"KL22F": {
4539
"SPI_MOSI": "PTD6",
4640
"SPI_MISO": "PTD7",

components/storage/blockdevice/COMPONENT_SPIF/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"SPI_CLK": "PB_13",
4444
"SPI_CS": "PA_10"
4545
},
46-
"MTB_ADV_WISE_1570": {
46+
"ADV_WISE_1570": {
4747
"SPI_MOSI": "PA_7",
4848
"SPI_MISO": "PA_6",
4949
"SPI_CLK": "PA_5",

features/lwipstack/lwip-sys/arch/cc.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,7 @@ void trace_to_ascii_hex_dump(char* prefix, int len, char *data);
126126

127127
/* Define the memory area for the lwip's memory pools */
128128
#ifndef MEMP_SECTION
129-
#if defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
130-
# if defined (__ICCARM__)
131-
# define MEMP_SECTION
132-
# elif defined(TOOLCHAIN_GCC_CR)
133-
# define MEMP_SECTION __attribute__((section(".data.$RamPeriph32")))
134-
# else
135-
# define MEMP_SECTION __attribute__((section("AHBSRAM0"),aligned))
136-
# endif
137-
#elif defined(TARGET_LPC1768)
129+
#if defined(TARGET_LPC1768)
138130
# if defined (__ICCARM__)
139131
# define MEMP_SECTION
140132
# elif defined(TOOLCHAIN_GCC_CR)

features/lwipstack/lwip-sys/arch/lwip_sys_arch.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@
3131

3232
/* Define the heap ourselves to give us section placement control */
3333
#ifndef ETHMEM_SECTION
34-
#if defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
35-
# if defined (__ICCARM__)
36-
# define ETHMEM_SECTION
37-
# elif defined(TOOLCHAIN_GCC_CR)
38-
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
39-
# else
40-
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
41-
# endif
42-
#elif defined(TARGET_LPC1768)
34+
#if defined(TARGET_LPC1768)
4335
# if defined (__ICCARM__)
4436
# define ETHMEM_SECTION
4537
# elif defined(TOOLCHAIN_GCC_CR)

features/lwipstack/mbed_lib.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,6 @@
165165
"LPC1768": {
166166
"mem-size": 16362
167167
},
168-
"LPC4088": {
169-
"mem-size": 15360
170-
},
171-
"LPC4088_DM": {
172-
"mem-size": 15360
173-
},
174168
"UBLOX_C027": {
175169
"mem-size": 16362
176170
},

features/nanostack/mbed-mesh-api/mbed_lib.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,6 @@
193193
}
194194
},
195195
"target_overrides": {
196-
"KW24D": {
197-
"mbed-mesh-api.use-malloc-for-heap": true,
198-
"mbed-mesh-api.heap-size": 14000
199-
},
200-
"NCS36510": {
201-
"mbed-mesh-api.heap-size": 14000
202-
},
203196
"KW41Z": {
204197
"mbed-mesh-api.heap-size": 14000
205198
}

features/nanostack/sal-stack-nanostack/mbed_lib.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
},
1010
"macros": ["NS_USE_EXTERNAL_MBED_TLS"],
1111
"target_overrides": {
12-
"KW24D": {
13-
"nanostack.configuration": "lowpan_router"
14-
},
15-
"NCS36510": {
16-
"nanostack.configuration": "lowpan_router"
17-
},
1812
"TB_SENSE_12": {
1913
"nanostack.configuration": "lowpan_router"
2014
},

0 commit comments

Comments
 (0)