Skip to content

Commit e185e53

Browse files
committed
Initial: shell out RPC library
1 parent 5331af6 commit e185e53

File tree

1,536 files changed

+66
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,536 files changed

+66
-27
lines changed
File renamed without changes.
File renamed without changes.

variants/ENVIE_M4/RPC_internal.h renamed to libraries/RPC/RPC_internal.h

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extern "C" {
2626
#endif
2727
#define boolean boolean_t
2828
#include "openamp.h"
29+
#include "arduino_openamp.h"
2930
#undef boolean
3031
#ifdef bool
3132
#define boolean bool
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include "Arduino.h"
2+
#include "RPC_internal.h"
3+
4+
#define LED_BUILTIN PK_5
5+
6+
void setup() {
7+
// put your setup code here, to run once:
8+
RPC1.begin();
9+
//Serial.begin(115200);
10+
pinMode(LED_BUILTIN, OUTPUT);
11+
}
12+
13+
void loop() {
14+
// put your main code here, to run repeatedly:
15+
digitalWrite(LED_BUILTIN, HIGH);
16+
delay(1000);
17+
digitalWrite(LED_BUILTIN, LOW);
18+
delay(1000);
19+
RPC1.println("test");
20+
auto res = RPC1.client.call("add", 12, 45).as<int>();;
21+
RPC1.println(res);
22+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)