Skip to content

Commit

Permalink
variants: Update definitions for boards that use Open-AMP.
Browse files Browse the repository at this point in the history
- Update deprecated Open-AMP definitions.
- Update RPMSG buffer size to match the default configuration.

Signed-off-by: iabdalkader <[email protected]>
  • Loading branch information
iabdalkader committed Dec 29, 2023
1 parent 3e5f478 commit facf540
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion variants/GENERIC_STM32H747_M4/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_SLAVE_ONLY
-DVIRTIO_DEVICE_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down
4 changes: 2 additions & 2 deletions variants/GIGA/conf/mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"target.mbed_app_start": "0x8040000",
"target.macros_add": [
"METAL_INTERNAL",
"VIRTIO_MASTER_ONLY",
"VIRTIO_DRIVER_ONLY",
"NO_ATOMIC_64_SUPPORT",
"METAL_MAX_DEVICE_REGIONS=2",
"RPMSG_BUFFER_SIZE=100"
"RPMSG_BUFFER_SIZE=2048"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions variants/GIGA/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
-DMETAL_MAX_DEVICE_REGIONS=2
-DNO_ATOMIC_64_SUPPORT
-DQSPI_NO_SAMPLE_SHIFT
-DRPMSG_BUFFER_SIZE=100
-DRPMSG_BUFFER_SIZE=2048
-DSTM32H747xx
-DTARGET_CORDIO
-DTARGET_CORTEX
Expand All @@ -78,7 +78,7 @@
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_MASTER_ONLY
-DVIRTIO_DRIVER_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down
2 changes: 1 addition & 1 deletion variants/NICLA_VISION/conf/mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"target.mbed_app_start": "0x8040000",
"target.macros_add": [
"METAL_INTERNAL",
"VIRTIO_MASTER_ONLY",
"VIRTIO_DRIVER_ONLY",
"NO_ATOMIC_64_SUPPORT",
"METAL_MAX_DEVICE_REGIONS=2",
"RPMSG_BUFFER_SIZE=100"
Expand Down
4 changes: 2 additions & 2 deletions variants/NICLA_VISION/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
-DMETAL_MAX_DEVICE_REGIONS=2
-DNO_ATOMIC_64_SUPPORT
-DQSPI_NO_SAMPLE_SHIFT
-DRPMSG_BUFFER_SIZE=100
-DRPMSG_BUFFER_SIZE=2048
-DSTM32H747xx
-DT1oI2C
-DT1oI2C_UM11225
Expand All @@ -81,7 +81,7 @@
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_MASTER_ONLY
-DVIRTIO_DRIVER_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down
4 changes: 2 additions & 2 deletions variants/OPTA/conf/mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"target.mbed_app_start": "0x8040000",
"target.macros_add": [
"METAL_INTERNAL",
"VIRTIO_MASTER_ONLY",
"VIRTIO_DRIVER_ONLY",
"NO_ATOMIC_64_SUPPORT",
"METAL_MAX_DEVICE_REGIONS=2",
"RPMSG_BUFFER_SIZE=100"
"RPMSG_BUFFER_SIZE=2048"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions variants/OPTA/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
-DMETAL_MAX_DEVICE_REGIONS=2
-DNO_ATOMIC_64_SUPPORT
-DQSPI_NO_SAMPLE_SHIFT
-DRPMSG_BUFFER_SIZE=100
-DRPMSG_BUFFER_SIZE=2048
-DSTM32H747xx
-DTARGET_CORDIO
-DTARGET_CORTEX
Expand All @@ -78,7 +78,7 @@
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_MASTER_ONLY
-DVIRTIO_DRIVER_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down
2 changes: 1 addition & 1 deletion variants/PORTENTA_H7_M7/conf/mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"BT_UART_NO_3M_SUPPORT",
"USB_DYNAMIC_CONFIGURATION",
"METAL_INTERNAL",
"VIRTIO_MASTER_ONLY",
"VIRTIO_DRIVER_ONLY",
"NO_ATOMIC_64_SUPPORT",
"METAL_MAX_DEVICE_REGIONS=2",
"RPMSG_BUFFER_SIZE=2048",
Expand Down
2 changes: 1 addition & 1 deletion variants/PORTENTA_H7_M7/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
-DUSB_DYNAMIC_CONFIGURATION
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_MASTER_ONLY
-DVIRTIO_DRIVER_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down
2 changes: 1 addition & 1 deletion variants/PORTENTA_X8/defines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_SLAVE_ONLY
-DVIRTIO_DEVICE_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=
-DCORE_MINOR=
Expand Down

0 comments on commit facf540

Please sign in to comment.