Skip to content

Remove debug and fix notification message #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 17, 2024
Merged

Remove debug and fix notification message #2

merged 4 commits into from
Jan 17, 2024

Conversation

facchinm
Copy link
Member

@facchinm facchinm commented Jan 15, 2024

Should be applied on par with arduino/ArduinoCore-mbed@9bcf502

Related arduino/portentax8-stm32h7-fw#44 .

@aentinger
Copy link
Contributor

aentinger commented Jan 15, 2024

In order to rebuild the m4-proxy edit m4-proxy.bb

 SRC_URI = " \
-    git://${GO_IMPORT}.git;protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=master \
+    git://${GO_IMPORT}.git;protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT};branch=refactor \
     file://m4-proxy.service \

folled by editing conf/auto.conf

-INHERIT += "rm_work"
+#INHERIT += "rm_work"

followed by re-building it

bitbake m4-proxy

followed by pushing the updated version to the X8

adb push deploy/ipk/cortexa53/m4-proxy_1.0-r0_cortexa53.ipk /home/fio
adb shell
sudo opkg install --force-reinstall m4-proxy_1.0-r0_cortexa53.ipk

@aentinger
Copy link
Contributor

Building and uploading an example application

arduino-cli compile -b arduino-git:mbed:portenta_x8 -v RPC/examples/PortentaX8_EchoServer -u -p /dev/ttyACM0

@aentinger
Copy link
Contributor

aentinger commented Jan 16, 2024

Build and upload the RPC example

git clone https://github.com/arduino/portentax8-m4-proxy && cd portentax8-m4-proxy
git checkout refactor
cd example
GOOS=linux GOARCH=arm64 go build
adb push example /home/fio

get access to /dev/ttyGS0 and run it

sudo chmod ugo+rw /dev/ttyGS0
./example

@aentinger aentinger self-assigned this Jan 17, 2024
Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and verified 👍

@aentinger aentinger merged commit 29d8acf into master Jan 17, 2024
@aentinger aentinger deleted the refactor branch January 17, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants