Skip to content

Commit

Permalink
hw/bsp: Update boards to nrfx 3.3.0
Browse files Browse the repository at this point in the history
Now nrfx_config.h uses more specific selector for Nordic MCUs.
This adds definition NRF5xxxx_XXAA to all affected BSPs.
Definition NRF52/1 is still in place in case code other then NRFX
needs it.

Signed-off-by: Jerzy Kasenberg <[email protected]>
  • Loading branch information
kasjer committed Jan 10, 2024
1 parent 1a731a0 commit a44aa50
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/bsp/ada_feather_nrf52/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/arduino_primo_nrf52/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/bbc_microbit/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/ble400/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/bmd200/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/bmd300eval/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/calliope_mini/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/dwm1001-dev/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nina-b1/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nordic_pca10028-16k/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51422_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nordic_pca10028/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51422_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nordic_pca10040/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nordic_pca20020/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nrf51-arduino_101/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/nrf51-blenano/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/pinetime/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'
# TODO: Move to more specific variable, however this currently causes a build failure '-DNRF52832_XXAA'

pkg.deps:
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/puckjs/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/rb-blend2/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/rb-nano2/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/ruuvitag_rev_b/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/telee02/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/vbluno51/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF51'
- '-DNRF51822_XXAA'

pkg.deps:
- "@apache-mynewt-core/hw/mcu/nordic/nrf51xxx"
Expand Down
1 change: 1 addition & 0 deletions hw/bsp/vbluno52/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkg.keywords:

pkg.cflags:
- '-DNRF52'
- '-DNRF52832_XXAA'

pkg.cflags.HARDFLOAT:
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
Expand Down

0 comments on commit a44aa50

Please sign in to comment.