Skip to content

Commit 11d13cc

Browse files
committed
hw/mcu/nordic: Add common flash HAL
1 parent 7a15120 commit 11d13cc

File tree

56 files changed

+165
-1131
lines changed

Some content is hidden

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

56 files changed

+165
-1131
lines changed

hw/bsp/ada_feather_nrf52/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ hal_bsp_flash_dev(uint8_t id)
4949
* Internal flash mapped to id 0.
5050
*/
5151
if (id == 0) {
52-
return &nrf52k_flash_dev;
52+
return &nrf_flash_dev;
5353
}
5454

5555
return NULL;

hw/bsp/arduino_primo_nrf52/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ hal_bsp_flash_dev(uint8_t id)
5151
if (id != 0) {
5252
return NULL;
5353
}
54-
return &nrf52k_flash_dev;
54+
return &nrf_flash_dev;
5555
}
5656

5757
const struct hal_bsp_mem_dump *

hw/bsp/bbc_microbit/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ hal_bsp_flash_dev(uint8_t id)
115115
if (id != 0) {
116116
return NULL;
117117
}
118-
return &nrf51_flash_dev;
118+
return &nrf_flash_dev;
119119
}
120120

121121
const struct hal_bsp_mem_dump *

hw/bsp/ble400/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ hal_bsp_flash_dev(uint8_t id)
116116
if (id != 0) {
117117
return NULL;
118118
}
119-
return &nrf51_flash_dev;
119+
return &nrf_flash_dev;
120120
}
121121

122122
const struct hal_bsp_mem_dump *

hw/bsp/bmd200/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ hal_bsp_flash_dev(uint8_t id)
116116
if (id != 0) {
117117
return NULL;
118118
}
119-
return &nrf51_flash_dev;
119+
return &nrf_flash_dev;
120120
}
121121

122122
const struct hal_bsp_mem_dump *

hw/bsp/bmd300eval/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ hal_bsp_flash_dev(uint8_t id)
5252
if (id != 0) {
5353
return NULL;
5454
}
55-
return &nrf52k_flash_dev;
55+
return &nrf_flash_dev;
5656
}
5757

5858
const struct hal_bsp_mem_dump *

hw/bsp/calliope_mini/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ hal_bsp_flash_dev(uint8_t id)
117117
if (id != 0) {
118118
return NULL;
119119
}
120-
return &nrf51_flash_dev;
120+
return &nrf_flash_dev;
121121
}
122122

123123
const struct hal_bsp_mem_dump *

hw/bsp/dwm1001-dev/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ hal_bsp_flash_dev(uint8_t id)
5353
if (id != 0) {
5454
return NULL;
5555
}
56-
return &nrf52k_flash_dev;
56+
return &nrf_flash_dev;
5757
}
5858

5959
const struct hal_bsp_mem_dump *

hw/bsp/fanstel-ev-bt840/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const struct hal_flash *
4343
hal_bsp_flash_dev(uint8_t id)
4444
{
4545
if (id == 0) {
46-
return &nrf52k_flash_dev;
46+
return &nrf_flash_dev;
4747
}
4848

4949
return NULL;

hw/bsp/nina-b1/src/hal_bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ hal_bsp_flash_dev(uint8_t id)
5252
if (id != 0) {
5353
return NULL;
5454
}
55-
return &nrf52k_flash_dev;
55+
return &nrf_flash_dev;
5656
}
5757

5858
const struct hal_bsp_mem_dump *

0 commit comments

Comments
 (0)