@@ -12,10 +12,6 @@ const CCFG = scripting.addModule("/ti/devices/CCFG");
1212const ADC = scripting.addModule("/ti/drivers/ADC", {}, false);
1313const ADC1 = ADC.addInstance();
1414const GPIO = scripting.addModule("/ti/drivers/GPIO", {}, false);
15- const GPIO2 = GPIO.addInstance();
16- const GPIO3 = GPIO.addInstance();
17- const GPIO4 = GPIO.addInstance();
18- const GPIO5 = GPIO.addInstance();
1915const UART2 = scripting.addModule("/ti/drivers/UART2", {}, false);
2016const UART21 = UART2.addInstance();
2117const easylink = scripting.addModule("/ti/easylink/easylink");
@@ -29,20 +25,9 @@ CCFG.ccfgTemplate.$name = "ti_devices_CCFGTemplate0";
2925ADC1.$name = "ADC_0";
3026ADC1.samplingDuration = "170 us";
3127
32- GPIO2.$name = "CONFIG_GPIO_0";
33- GPIO2.$hardware = system.deviceData.board.components.LED_RED;
34-
35- GPIO3.$name = "CONFIG_GPIO_1";
36- GPIO3.$hardware = system.deviceData.board.components.LED_GREEN;
37-
38- GPIO4.$name = "CONFIG_GPIO_2";
39- GPIO4.$hardware = system.deviceData.board.components["BTN-1"];
40-
41- GPIO5.$name = "CONFIG_GPIO_3";
42- GPIO5.$hardware = system.deviceData.board.components["BTN-2"];
43-
44- UART21.$name = "UART0";
45- UART21.$hardware = system.deviceData.board.components.XDS110UART;
28+ UART21.$name = "UART0";
29+ UART21.$hardware = system.deviceData.board.components.XDS110UART;
30+ UART21.rxRingBufferSize = 256;
4631
4732easylink.EasyLink_Phy_50kbps2gfsk = true;
4833easylink.EasyLink_Phy_5kbpsSlLr = true;
@@ -64,10 +49,6 @@ easylink.radioConfigEasylinkPhy200kbps2gfsk.codeExportConfig.$name = "ti_devices
6449 */
6550ADC1.adc.$suggestSolution = "ADC0";
6651ADC1.adc.adcPin.$suggestSolution = "boosterpack.2";
67- GPIO2.gpioPin.$suggestSolution = "boosterpack.39";
68- GPIO3.gpioPin.$suggestSolution = "boosterpack.40";
69- GPIO4.gpioPin.$suggestSolution = "boosterpack.13";
70- GPIO5.gpioPin.$suggestSolution = "boosterpack.12";
7152UART21.uart.$suggestSolution = "UART0";
7253UART21.uart.txPin.$suggestSolution = "boosterpack.4";
7354UART21.uart.rxPin.$suggestSolution = "boosterpack.3";
0 commit comments