0177774ワット発電中さん
2020/10/31(土) 16:46:28.16ID:PoIv2v2tSipeed MaixシリーズのArduino用のRISC-V RV64GCインラインアセンブラ デモプログラム(PlatformIO IDE対応版)
https://pastebin.com/Yih6K59b
PlatformIO IDEでビルドする場合はplatformio.iniに
下記オプションのいずれかを指定してください
build_unflags = -march=rv64imafc
build_flags = -mabi=lp64f -march=rv64gc
build_unflags = -Os -march=rv64imafc
build_flags = -O2 -mabi=lp64f -march=rv64gc
build_unflags = -Os -march=rv64imafc
build_flags = -O3 -mabi=lp64f -march=rv64gc
Arduino IDEでビルドする場合は下記のやり方でオプションを変更してください
(オプション変更に関しては自己責任でお願いします)
https://pastebin.com/E66j9e7f