Skip to content

Commit f10cf7f

Browse files
committed
Merge remote-tracking branch 'mbed-nordic/epr_integration' into nrf52_nrf51_unified_integration
2 parents db60d6a + 6399ad1 commit f10cf7f

File tree

344 files changed

+111719
-19250
lines changed

Some content is hidden

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

344 files changed

+111719
-19250
lines changed

hal/targets.json

Lines changed: 113 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@
14871487
"extra_labels_add": ["DELTA_DFCM_NNN40"],
14881488
"macros_add": ["TARGET_DELTA_DFCM_NNN40", "TARGET_NRF_LFCLK_RC"]
14891489
},
1490-
"NRF51_DK": {
1490+
"NRF51_DK_LEGACY": {
14911491
"supported_form_factors": ["ARDUINO"],
14921492
"inherits": ["MCU_NRF51_32K"],
14931493
"progen": {"target": "nrf51-dk"},
@@ -1868,6 +1868,118 @@
18681868
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH"],
18691869
"default_build": "standard"
18701870
},
1871+
"MCU_NRF51_UNIFIED": {
1872+
"inherits": ["Target"],
1873+
"core": "Cortex-M0",
1874+
"OVERRIDE_BOOTLOADER_FILENAME": "nrf51822_bootloader.hex",
1875+
"macros": [
1876+
"NRF51",
1877+
"TARGET_NRF51822",
1878+
"BLE_STACK_SUPPORT_REQD",
1879+
"SOFTDEVICE_PRESENT",
1880+
"S130",
1881+
"TARGET_MCU_NRF51822"
1882+
],
1883+
"MERGE_BOOTLOADER": false,
1884+
"extra_labels": ["NORDIC", "MCU_NRF51", "MCU_NRF51822_UNIFIED", "NRF5"],
1885+
"OUTPUT_EXT": "hex",
1886+
"is_disk_virtual": true,
1887+
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
1888+
"public": false,
1889+
"MERGE_SOFT_DEVICE": true,
1890+
"EXPECTED_SOFTDEVICES_WITH_OFFSETS": [
1891+
{
1892+
"boot": "",
1893+
"name": "s130_nrf51_2.0.0_softdevice.hex",
1894+
"offset": 110592
1895+
}
1896+
],
1897+
"detect_code": ["1070"],
1898+
"post_binary_hook": {
1899+
"function": "MCU_NRF51Code.binary_hook",
1900+
"toolchains": ["ARM_STD", "GCC_ARM", "IAR"]
1901+
},
1902+
"program_cycle_s": 6,
1903+
"default_build": "small",
1904+
"features": ["BLE"],
1905+
"config":{
1906+
"lf_clock_src": {
1907+
"value": "NRF_LF_SRC_XTAL",
1908+
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"
1909+
}
1910+
}
1911+
},
1912+
"MCU_NRF51_32K_UNIFIED": {
1913+
"inherits": ["MCU_NRF51_UNIFIED"],
1914+
"extra_labels_add": ["MCU_NORDIC_32K", "MCU_NRF51_32K"],
1915+
"macros_add": ["TARGET_MCU_NORDIC_32K", "TARGET_MCU_NRF51_32K"],
1916+
"public": false
1917+
},
1918+
"NRF51_DK": {
1919+
"supported_form_factors": ["ARDUINO"],
1920+
"inherits": ["MCU_NRF51_32K_UNIFIED"],
1921+
"progen": {"target": "nrf51-dk"},
1922+
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"]
1923+
},
1924+
"MCU_NRF52": {
1925+
"inherits": ["Target"],
1926+
"core": "Cortex-M4F",
1927+
"macros": ["NRF52", "TARGET_NRF52832", "BLE_STACK_SUPPORT_REQD", "SOFTDEVICE_PRESENT", "S132"],
1928+
"extra_labels": ["NORDIC", "MCU_NRF52", "MCU_NRF52832", "NRF5"],
1929+
"OUTPUT_EXT": "hex",
1930+
"is_disk_virtual": true,
1931+
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
1932+
"public": false,
1933+
"detect_code": ["1101"],
1934+
"program_cycle_s": 6,
1935+
"MERGE_SOFT_DEVICE": true,
1936+
"EXPECTED_SOFTDEVICES_WITH_OFFSETS": [
1937+
{
1938+
"boot": "",
1939+
"name": "s132_nrf52_2.0.0_softdevice.hex",
1940+
"offset": 114688
1941+
}
1942+
],
1943+
"post_binary_hook": {
1944+
"function": "MCU_NRF51Code.binary_hook",
1945+
"toolchains": ["ARM_STD", "GCC_ARM", "IAR"]
1946+
},
1947+
"MERGE_BOOTLOADER": false,
1948+
"features": ["BLE"],
1949+
"config":{
1950+
"lf_clock_src": {
1951+
"value": "NRF_LF_SRC_XTAL",
1952+
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"
1953+
}
1954+
}
1955+
},
1956+
"NRF52_DK": {
1957+
"supported_form_factors": ["ARDUINO"],
1958+
"inherits": ["MCU_NRF52"],
1959+
"progen": {"target": "nrf52-dk"},
1960+
"macros_add": [
1961+
"BOARD_PCA10040",
1962+
"NRF52_PAN_12",
1963+
"NRF52_PAN_15",
1964+
"NRF52_PAN_58",
1965+
"NRF52_PAN_55",
1966+
"NRF52_PAN_54",
1967+
"NRF52_PAN_31",
1968+
"NRF52_PAN_30",
1969+
"NRF52_PAN_51",
1970+
"NRF52_PAN_36",
1971+
"NRF52_PAN_53",
1972+
"S132",
1973+
"CONFIG_GPIO_AS_PINRESET",
1974+
"BLE_STACK_SUPPORT_REQD",
1975+
"SWI_DISABLE0",
1976+
"NRF52_PAN_20",
1977+
"NRF52_PAN_64",
1978+
"NRF52_PAN_62",
1979+
"NRF52_PAN_63"
1980+
],
1981+
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"]
1982+
},
18711983
"BLUEPILL_F103C8": {
18721984
"core": "Cortex-M3",
18731985
"default_toolchain": "GCC_ARM",

hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/compiler_abstraction.h

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

hal/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h

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

0 commit comments

Comments
 (0)