/Renode-v1.15.3-c57714d/platforms/boards/ |
D | zedboard-externals.repl | 12 gpio: 22 led0: Miscellaneous.LED @ gpio 61 24 led1: Miscellaneous.LED @ gpio 62 26 led2: Miscellaneous.LED @ gpio 63 28 led3: Miscellaneous.LED @ gpio 64 30 led4: Miscellaneous.LED @ gpio 65 32 led5: Miscellaneous.LED @ gpio 66 34 led6: Miscellaneous.LED @ gpio 67 36 led7: Miscellaneous.LED @ gpio 68
|
D | quark_c1000-cc2520.repl | 8 button: Miscellaneous.Button @ gpio 0x00000000 9 -> gpio@7 12 1 -> gpio@4 13 2 -> gpio@5 14 3 -> gpio@6 15 4 -> gpio@29 17 gpio:
|
D | renesas-rz_t2m_rsk.repl | 3 led0: Miscellaneous.LED @ gpio 4 led1: Miscellaneous.LED @ gpio 5 led2: Miscellaneous.LED @ gpio 6 led3: Miscellaneous.LED @ gpio 8 gpio:
|
D | arduino_101-shield.repl | 8 button: Miscellaneous.Button @ gpio 0x00000000 9 -> gpio@7 12 -> gpio@19
|
D | leon3-externals.repl | 9 gpio: 12 led: Miscellaneous.LED @ gpio 0
|
/Renode-v1.15.3-c57714d/tools/external_control_client/examples/gpio/ |
D | main.c | 105 renode_gpio_t *gpio; in main() local 106 if ((error = renode_get_gpio(machine, gpio_name, &gpio)) != NO_ERROR) { in main() 121 …if ((error = renode_register_gpio_state_change_callback(gpio, number, &user_data, gpio_callback)) … in main() 133 if ((error = renode_set_gpio_state(gpio, number, state)) != NO_ERROR) { in main() 140 if ((error = renode_get_gpio_state(gpio, number, &state)) != NO_ERROR) { in main() 150 free(gpio); in main() 159 free(gpio); in main()
|
/Renode-v1.15.3-c57714d/tools/external_control_client/include/ |
D | renode_api.h | 67 renode_error_t *renode_get_gpio(renode_machine_t *machine, const char *name, renode_gpio_t **gpio); 68 renode_error_t *renode_get_gpio_state(renode_gpio_t *gpio, int32_t id, bool *state); 69 renode_error_t *renode_set_gpio_state(renode_gpio_t *gpio, int32_t id, bool state); 76 renode_error_t *renode_register_gpio_state_change_callback(renode_gpio_t *gpio, int32_t id, void *u…
|
/Renode-v1.15.3-c57714d/platforms/cpus/ |
D | s32k118.repl | 76 sysbus new Bus.BusMultiRegistration { address: 0x400FF000; size: 0x40; region: "gpio" }; 84 sysbus new Bus.BusMultiRegistration { address: 0x400FF040; size: 0x40; region: "gpio" }; 91 sysbus new Bus.BusMultiRegistration { address: 0x400FF080; size: 0x40; region: "gpio" }; 98 sysbus new Bus.BusMultiRegistration { address: 0x400FF0C0; size: 0x40; region: "gpio" }; 105 sysbus new Bus.BusMultiRegistration { address: 0x400FF100; size: 0x40; region: "gpio" };
|
D | vybrid.repl | 61 sysbus new Bus.BusMultiRegistration { address: 0x400FF000; size: 0x40; region: "gpio" }; 68 sysbus new Bus.BusMultiRegistration { address: 0x400FF040; size: 0x40; region: "gpio" }; 73 sysbus new Bus.BusMultiRegistration { address: 0x400FF080; size: 0x40; region: "gpio" }; 78 sysbus new Bus.BusMultiRegistration { address: 0x400FF0C0; size: 0x40; region: "gpio" }; 83 sysbus new Bus.BusMultiRegistration { address: 0x400FF100; size: 0x40; region: "gpio" };
|
D | quark-c1000.repl | 43 gpio: X86.Quark_GPIOController @ sysbus 0xB0000C00 50 gpioPort: gpio
|
D | leon3.repl | 37 gpio: GPIOPort.Gaisler_GPIO @ sysbus 0x80000800
|
D | core-v-mcu.repl | 26 gpio: GPIOPort.PULP_APB_GPIO @ sysbus 0x1A101000
|
D | sifive-fu740.repl | 86 gpio: GPIOPort.SiFive_GPIO @ sysbus 0x10060000
|
/Renode-v1.15.3-c57714d/tools/external_control_client/lib/ |
D | renode_api.c | 730 renode_error_t *renode_get_gpio(renode_machine_t *machine, const char *name, renode_gpio_t **gpio) in renode_get_gpio() argument 735 *gpio = xmalloc(sizeof(renode_gpio_t)); in renode_get_gpio() 736 (*gpio)->machine = machine; in renode_get_gpio() 737 (*gpio)->id = id; in renode_get_gpio() 761 renode_error_t *renode_get_gpio_state(renode_gpio_t *gpio, int32_t id, bool *state) in renode_get_gpio_state() argument 766 .id = gpio->id, in renode_get_gpio_state() 774 …return_error_if_fails(renode_execute_command(gpio->machine->renode, GPIO, &frame, sizeof(frame), o… in renode_get_gpio_state() 783 renode_error_t *renode_set_gpio_state(renode_gpio_t *gpio, int32_t id, bool state) in renode_set_gpio_state() argument 788 .id = gpio->id, in renode_set_gpio_state() 796 …return_error_if_fails(renode_execute_command(gpio->machine->renode, GPIO, &frame, sizeof(frame), s… in renode_set_gpio_state() [all …]
|
/Renode-v1.15.3-c57714d/tools/external_control_client/ |
D | README.md | 97 ### `gpio` example 99 The example application using Renode API can be found in `examples/gpio`. 103 renode$ mkdir build && cmake -DAPP_NAME=gpio -DAPP_SOURCES_DIR=tools/external_control_client/exampl… 107 After starting the server in Renode, the `gpio` application can be used in three different modes. 118 ./gpio <PORT> <MACHINE_NAME> <GPIO_NAME> <NUMBER> [true|false|event]
|
/Renode-v1.15.3-c57714d/tests/platforms/ |
D | QuarkC1000.robot | 66 [Tags] zephyr uart interrupts gpio button non_critical 76 Execute Command gpio.button Toggle 78 Execute Command gpio.button Toggle 81 Execute Command gpio.button PressAndRelease 102 [Tags] zephyr uart spi ethernet gpio
|
D | OpenTitan-EarlGrey.robot | 44 ... gpio: ${\n} 50 ... led0: Miscellaneous.LED @ gpio 0 ${\n} 51 ... led1: Miscellaneous.LED @ gpio 1 ${\n} 52 ... led2: Miscellaneous.LED @ gpio 2 ${\n} 53 ... led3: Miscellaneous.LED @ gpio 3 ${\n} 123 ${led0}= Create LED Tester sysbus.gpio.led0 defaultTimeout=0.2 124 ${led1}= Create LED Tester sysbus.gpio.led1 defaultTimeout=0.2 125 ${led2}= Create LED Tester sysbus.gpio.led2 defaultTimeout=0.2 126 ${led3}= Create LED Tester sysbus.gpio.led3 defaultTimeout=0.2
|
D | ambiq-apollo4.robot | 148 …gpio: { 30 -> led30@0; 90 -> led90@0; 91 -> led91@0 }; led30: Miscellaneous.LED @ gpio 30; led90: … 151 ${led30_tester}= Create LED Tester sysbus.gpio.led30 defaultTimeout=0 152 ${led90_tester}= Create LED Tester sysbus.gpio.led90 defaultTimeout=0 153 ${led91_tester}= Create LED Tester sysbus.gpio.led91 defaultTimeout=0
|
D | Renesas_RZ_G2L.robot | 17 ... led: Miscellaneous.LED @ gpio 0 19 ... gpio: 24 ... button: Miscellaneous.Button @ gpio 1 25 ... ${SPACE*4}-> gpio@7 51 Create Led Tester sysbus.gpio.led 232 Execute Command sysbus.gpio.button PressAndRelease 236 Execute Command sysbus.gpio.button PressAndRelease
|
D | Zedboard.robot | 10 ${GPIO_DIRECTORY} /sys/class/gpio/gpio${GPIO_NUMBER} 11 ${GPIO_PERIPHERIAL} gpio.led0 457 [Tags] linux uart gpio 461 Execute Linux Command echo ${GPIO_NUMBER} > /sys/class/gpio/export 474 [Tags] linux uart gpio 479 Execute Linux Command echo ${GPIO_NUMBER} > /sys/class/gpio/export
|
D | Arnold.robot | 35 Create Machine arnold-pulp-gpio-s_380728-f9f273e2063a3ea7d4f9607cce4d7f12ea10bf63 36 … machine LoadPlatformDescriptionFromString "gpio: { 5 -> led@0 }; led: Miscellaneous.LED @ … 38 Create LED Tester sysbus.gpio.led
|
/Renode-v1.15.3-c57714d/src/Renode/Network/ExternalControl/ |
D | GPIOPort.cs | 49 if(sender.Connections.TryGetValue(id, out var gpio)) in Invoke() 51 return Response.Success(Identifier, BitConverter.GetBytes(gpio.IsSet)); in Invoke()
|
/Renode-v1.15.3-c57714d/tests/unit-tests/ |
D | hifive1-gpio-int.robot | 17 Should Pass Zephyr "drivers/gpio/gpio_api_1pin" test suite on HiFive1
|
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/hdl/modules/ |
D | renode.sv | 36 ) gpio ( instance 142 gpio.reset_assert(); 154 gpio.reset_deassert();
|
/Renode-v1.15.3-c57714d/tests/platforms/LiteX/ |
D | LiteX_Linux_VexRiscv.robot | 46 Write Line To Uart cd /sys/class/gpio 65 Write Line To Uart cd /sys/class/gpio
|