Skip to content

Commit eca714c

Browse files
jeromecoutantgpsimenos
authored andcommitted
[STD-PIN] update tests and components
1 parent 9d453cc commit eca714c

File tree

11 files changed

+47
-59
lines changed

11 files changed

+47
-59
lines changed

TESTS/integration/COMMON/target_extended.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"target_overrides": {
33
"NUCLEO_F412ZG": {
44
"target.components_add" : ["SD", "WIFI_WIZFI310"],
5-
"sd.SPI_MOSI" : "D11",
6-
"sd.SPI_MISO" : "D12",
7-
"sd.SPI_CLK" : "D13",
8-
"sd.SPI_CS" : "D10",
5+
"sd.SPI_MOSI" : "ARDUINO_UNO_SPI_MOSI",
6+
"sd.SPI_MISO" : "ARDUINO_UNO_SPI_MISO",
7+
"sd.SPI_CLK" : "ARDUINO_UNO_SPI_SCK",
8+
"sd.SPI_CS" : "ARDUINO_UNO_SPI_CS",
99
"target.network-default-interface-type" : "WIFI",
1010
"wizfi310.tx" : "PD_5",
1111
"wizfi310.rx" : "PD_6",
@@ -47,15 +47,15 @@
4747
"NUCLEO_L476RG": {
4848
"target.macros_remove" : ["MBED_TICKLESS"],
4949
"target.components_add" : ["SD", "WIFI_WIZFI310"],
50-
"sd.SPI_MOSI" : "D11",
51-
"sd.SPI_MISO" : "D12",
52-
"sd.SPI_CLK" : "D13",
53-
"sd.SPI_CS" : "D10",
50+
"sd.SPI_MOSI" : "ARDUINO_UNO_SPI_MOSI",
51+
"sd.SPI_MISO" : "ARDUINO_UNO_SPI_MIS0",
52+
"sd.SPI_CLK" : "ARDUINO_UNO_SPI_SCK",
53+
"sd.SPI_CS" : "ARDUINO_UNO_SPI_CS",
5454
"target.network-default-interface-type" : "WIFI",
55-
"wizfi310.tx" : "D8",
56-
"wizfi310.rx" : "D2",
57-
"wizfi310.rts" : "D3",
58-
"wizfi310.cts" : "D5",
55+
"wizfi310.tx" : "ARDUINO_UNO_D8",
56+
"wizfi310.rx" : "ARDUINO_UNO_D2",
57+
"wizfi310.rts" : "ARDUINO_UNO_D3",
58+
"wizfi310.cts" : "ARDUINO_UNO_D5",
5959
"wizfi310.rx-buffer-size" : 64,
6060
"wizfi310.stacksize" : 1536,
6161
"wizfi310.event-queue-size" : 256,
@@ -65,13 +65,13 @@
6565
"NUCLEO_L4R5ZI": {
6666
"target.macros_remove" : ["MBED_TICKLESS"],
6767
"target.components_add" : ["SD", "WIFI_WIZFI310"],
68-
"sd.SPI_MOSI" : "D11",
69-
"sd.SPI_MISO" : "D12",
70-
"sd.SPI_CLK" : "D13",
71-
"sd.SPI_CS" : "D10",
68+
"sd.SPI_MOSI" : "ARDUINO_UNO_SPI_MOSI",
69+
"sd.SPI_MISO" : "ARDUINO_UNO_SPI_MIS0",
70+
"sd.SPI_CLK" : "ARDUINO_UNO_SPI_SCK",
71+
"sd.SPI_CS" : "ARDUINO_UNO_SPI_CS",
7272
"target.network-default-interface-type" : "WIFI",
73-
"wizfi310.tx" : "D1",
74-
"wizfi310.rx" : "D0",
73+
"wizfi310.tx" : "ARDUINO_UNO_UART_TX",
74+
"wizfi310.rx" : "ARDUINO_UNO_UART_RX",
7575
"wizfi310.rts" : "PB_1",
7676
"wizfi310.cts" : "PB_13",
7777
"wizfi310.rx-buffer-size" : 512,
@@ -82,13 +82,13 @@
8282
"NUCLEO_L496ZG": {
8383
"target.macros_remove" : ["MBED_TICKLESS"],
8484
"target.components_add" : ["SD", "WIFI_WIZFI310"],
85-
"sd.SPI_MOSI" : "D11",
86-
"sd.SPI_MISO" : "D12",
87-
"sd.SPI_CLK" : "D13",
88-
"sd.SPI_CS" : "D10",
85+
"sd.SPI_MOSI" : "ARDUINO_UNO_SPI_MOSI",
86+
"sd.SPI_MISO" : "ARDUINO_UNO_SPI_MIS0",
87+
"sd.SPI_CLK" : "ARDUINO_UNO_SPI_SCK",
88+
"sd.SPI_CS" : "ARDUINO_UNO_SPI_CS",
8989
"target.network-default-interface-type" : "WIFI",
90-
"wizfi310.tx" : "D1",
91-
"wizfi310.rx" : "D0",
90+
"wizfi310.tx" : "ARDUINO_UNO_UART_TX",
91+
"wizfi310.rx" : "ARDUINO_UNO_UART_RX",
9292
"wizfi310.rts" : "PB_1",
9393
"wizfi310.cts" : "PB_13",
9494
"wizfi310.rx-buffer-size" : 512,
@@ -121,10 +121,10 @@
121121
"DISCO_F469NI": {
122122
"target.components_add" : ["WIFI_WIZFI310"],
123123
"target.network-default-interface-type" : "WIFI",
124-
"wizfi310.tx" : "D1",
125-
"wizfi310.rx" : "D0",
126-
"wizfi310.rts" : "D4",
127-
"wizfi310.cts" : "D2",
124+
"wizfi310.tx" : "ARDUINO_UNO_UART_TX",
125+
"wizfi310.rx" : "ARDUINO_UNO_UART_RX",
126+
"wizfi310.rts" : "ARDUINO_UNO_D4",
127+
"wizfi310.cts" : "ARDUINO_UNO_D2",
128128
"wizfi310.rx-buffer-size" : 512,
129129
"wizfi310.stacksize" : 1536,
130130
"wizfi310.event-queue-size" : 1024,

connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_MS/mbed_lib.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "bluenrg_ms",
33
"config": {
4-
"SPI_MOSI": "D11",
5-
"SPI_MISO": "D12",
6-
"SPI_nCS": "A1",
7-
"SPI_RESET": "D7",
8-
"SPI_IRQ": "A0",
9-
"SPI_SCK": "D3",
4+
"SPI_MOSI": "ARDUINO_UNO_SPI_MOSI",
5+
"SPI_MISO": "ARDUINO_UNO_SPI_MISO",
6+
"SPI_nCS": "ARDUINO_UNO_A1",
7+
"SPI_RESET": "ARDUINO_UNO_D7",
8+
"SPI_IRQ": "ARDUINO_UNO_A0",
9+
"SPI_SCK": "ARDUINO_UNO_D3",
1010
"valid-public-bd-address": {
1111
"help": "Read the BD public address at startup",
1212
"value": false
1313
}
1414
},
1515
"target_overrides": {
1616
"K64F": {
17-
"SPI_SCK": "D13"
17+
"SPI_SCK": "ARDUINO_UNO_SPI_SCK"
1818
},
1919
"DISCO_L475VG_IOT01A": {
2020
"SPI_MOSI": "PC_12",

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] Analog in not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/gpio/main.cpp

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

1818
#if !COMPONENT_FPGA_CI_TEST_SHIELD
1919
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
20-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
20+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2121
#error [NOT_SUPPORTED] Test not supported for this form factor
2222
#else
2323

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/gpio_irq/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] test not supported
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] I2C not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/pwm/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] PWM not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/spi/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] SPI not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_hal_fpga_ci_test_shield/uart/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#error [NOT_SUPPORTED] SERIAL not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
22+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2323
#error [NOT_SUPPORTED] Test not supported for this form factor
2424
#else
2525

hal/tests/TESTS/mbed_timing_fpga_ci_test_shield/watchdog/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#error [NOT_SUPPORTED] Watchdog not supported for this target
1919
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2020
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
21-
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
21+
#elif !(defined(TARGET_FF_ARDUINO) || defined(TARGET_FF_ARDUINO_UNO)) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
2222
#error [NOT_SUPPORTED] Test not supported for this form factor
2323
#else
2424

0 commit comments

Comments
 (0)