Skip to content

Commit 37ee008

Browse files
authored
Merge pull request #12961 from MarceloSalazar/remove_nrf51
Remove nRF51 targets
2 parents 1014f8c + ccd95f1 commit 37ee008

File tree

139 files changed

+8
-50136
lines changed

Some content is hidden

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

139 files changed

+8
-50136
lines changed

TESTS/mbed_hal/critical_section/main.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,12 @@ using utest::v1::Case;
2929

3030
bool test_are_interrupts_enabled(void)
3131
{
32-
// NRF51 targets don't disable interrupts when in critical section, instead they mask application interrupts.
33-
// This is due to SoftDevice BLE stack (BLE to be operational requires some interrupts to be always enabled)
34-
#if defined(TARGET_NRF51)
35-
// check if APP interrupts are masked for other NRF51 boards
36-
return ((NVIC->ISER[0] & __NRF_NVIC_APP_IRQS_0) != 0);
37-
#else
3832
#if defined(__CORTEX_A9)
3933
return ((__get_CPSR() & 0x80) == 0);
4034
#else
4135
return ((__get_PRIMASK() & 0x1) == 0);
4236
#endif
43-
#endif
37+
4438
}
4539

4640

components/storage/blockdevice/COMPONENT_SD/mbed_lib.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@
8686
"SPI_CLK": "PD_14",
8787
"SPI_CS": "PD_13"
8888
},
89-
"nRF51822": {
90-
"SPI_MOSI": "p12",
91-
"SPI_MISO": "p13",
92-
"SPI_CLK": "p15",
93-
"SPI_CS": "p14"
94-
},
9589
"RZ_A1H": {
9690
"SPI_MOSI": "P8_5",
9791
"SPI_MISO": "P8_6",

features/frameworks/mbed-trace/Jenkinsfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ properties ([
1313
def morpheusTargets = [
1414
//"LPC1768",
1515
//"NUCLEO_F401RE",
16-
//"NRF51DK",
1716
"K64F"
1817
]
1918
// Map morpheus toolchains to compiler labels on Jenkins
@@ -26,7 +25,6 @@ def toolchains = [
2625
def yottaTargets = [
2726
"frdm-k64f-gcc": "gcc",
2827
"frdm-k64f-armcc": "armcc",
29-
"nrf51dk-gcc": "gcc",
3028
"stm32f429i-disco-gcc": "gcc",
3129
"x86-linux-native": "linux && astyle"
3230
]

platform/source/mbed_board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
WEAK MBED_NORETURN void mbed_die(void)
2727
{
28-
#if !defined (NRF51_H) && !defined(TARGET_EFM32)
28+
#if !defined(TARGET_EFM32)
2929
core_util_critical_section_enter();
3030
#endif
3131
gpio_t led_err;

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h

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

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h

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

targets/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h

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

0 commit comments

Comments
 (0)