Skip to content

Added RA6M5 Core. #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 91 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
c2d23ab
WiFiS3 Modem timeout at ERROR response fix
JAndrassy Sep 24, 2023
01e107f
platform: put bossac in own section
facchinm Nov 16, 2023
182af85
debugger: implement latest arduino-cli specifications
facchinm Nov 16, 2023
5756ff6
fix openOCD config paths
umbynos Nov 16, 2023
8840b37
debugger: force hard breakpoints
facchinm Nov 20, 2023
43cbb8f
debugger: change default request type to attach
umbynos Nov 21, 2023
71d6ebe
OTAUpdate: do not use Error enum to return error codes
pennam Nov 30, 2023
e104e77
Fixed encoding of KeySlot ID.
lagosantol Dec 20, 2023
bd61f70
Ethernet.begin - fix parameters ordering
JAndrassy Dec 22, 2023
05248d5
WiFiS3 let WiFi.h include WiFiClient, WiFiUDP, WiFiServer
JAndrassy Dec 23, 2023
c05a5a3
Fixed hash algo to be selected based on input instead of being hardco…
lagosantol Dec 20, 2023
c04a5cb
SSLClient: rebuild libmbedse05x.a to fix signature algo selection
pennam Jan 5, 2024
e191781
Fix: prevent artefacts from appearing on the screen during a SCROLL_L…
aentinger Jan 9, 2024
2dc9b73
Fixing the scrolling function allows to shot the full text.
aentinger Jan 9, 2024
23a2447
Eliminate Serial.begin(), streamline code, reduce scroll speed.
aentinger Jan 9, 2024
9ca7bad
Merge pull request #232 from arduino/fix-226
aentinger Jan 9, 2024
79e014e
Merge pull request #222 from JAndrassy/ethernet_begin_fix_params
aentinger Jan 9, 2024
fc6aad0
EthernetC33 debugging
JAndrassy Dec 23, 2023
e19a1b6
Merge pull request #223 from JAndrassy/ethernet_debugging
aentinger Jan 9, 2024
0604415
Merge pull request #229 from pennam/lago-hash-algo
facchinm Jan 9, 2024
a90cdf5
Merge pull request #147 from JAndrassy/wifis3_modem_timeout_fix
facchinm Jan 9, 2024
031f36e
Merge pull request #217 from lagosantol/lagosantol-patch-issue216
pennam Jan 9, 2024
0277e57
Replace "hard-coded" optimisation level "-Os" with the build property…
aentinger Jan 12, 2024
9f7e168
Define different optimisation flags for release and debug.
aentinger Jan 12, 2024
1c193cf
Add Preferences library
pennam Dec 21, 2023
15827d6
Remove hhd and hhu format specifiers because they are not supported b…
pennam Jan 5, 2024
fbe81e2
Fix put/get Long64 ULong64 by using putBytes instead of printf format…
pennam Jan 8, 2024
f8cfac1
Preferences: remove modem debug
pennam Jan 12, 2024
83f6d7b
Preferences: fix RUN commands
pennam Jan 12, 2024
b6508c3
Preferences examples: add begin return value check
pennam Jan 12, 2024
db70d23
Preferences examples: add newline
pennam Jan 12, 2024
bba294b
Merge pull request #238 from arduino/fix-230
aentinger Jan 15, 2024
e856181
Add AES encrypt/decrypt support for SE05X on Arduino with two example…
jowin202 Jan 9, 2024
432b075
Add HMAC Generation with SE05X with Arduino
jowin202 Jan 16, 2024
689a20c
Fix typo
y-tsubuku Jan 19, 2024
84a0536
Merge pull request #245 from y-tsubuku/patch-1
per1234 Jan 19, 2024
d0c5148
Merge pull request #237 from facchinm/debugger_support
facchinm Jan 19, 2024
f465a7c
- fix for #244, byte-order wrong for LSBFIRST buffer transfers
RudolphRiedel Jan 20, 2024
5020fd4
Merge pull request #246 from RudolphRiedel/main
aentinger Jan 22, 2024
4d4f592
Add WIP Variant.
SFE-Brudnerd Jan 30, 2024
355ca86
Docs: UNO R4 WiFi fix command to flash bootloader
pennam Jan 31, 2024
1500f23
Software AT Secure Element SATSE initial commit
pennam Jan 31, 2024
a8f7363
SATSE examples: add message about minimum required firmware version
pennam Jan 31, 2024
779f1b3
SATSE: add functions description
pennam Feb 1, 2024
163b316
SATSE: Add separate function to configure debug
pennam Feb 1, 2024
6d7ca0e
SATSE: Fix return values according function description
pennam Feb 1, 2024
777dfc7
SATSE examples: compute certificate length from payload
pennam Feb 1, 2024
cc3ebf1
working.
SFE-Brudnerd Feb 1, 2024
f7df79e
Fix miscellaneous packaging things.
SFE-Brudnerd Feb 1, 2024
bd2c159
WiFiS3 client connect timeout
JAndrassy Sep 24, 2023
aaab68b
WiFiS3 WiFiServer::accept()
JAndrassy Sep 22, 2023
6b1c652
WiFiSSLClient: remove unused function declaration
pennam Feb 8, 2024
ff5cd76
WIP SD testing.
SFE-Brudnerd Feb 8, 2024
ab37eca
Merge pull request #255 from pennam/unused_fix
pennam Feb 12, 2024
5f1e20f
Merge pull request #252 from arduino/r4wifi-bootloader.dtr
pennam Feb 12, 2024
b8e1090
SD Working.
SFE-Brudnerd Feb 13, 2024
ef1a152
Fix: do not randomly clear the first line of the LED matrix.
aentinger Feb 14, 2024
350d5a8
unor4wifi: update firmware submodule
pennam Feb 14, 2024
fd3d4a4
Merge pull request #261 from pennam/uno-fw
facchinm Feb 14, 2024
1f47145
Preferences: add library examples to compile examples workflow
pennam Feb 14, 2024
a50ecd0
SoftwareATSE: add library examples to compile examples workflow
pennam Feb 14, 2024
1a63e16
Merge pull request #239 from pennam/preferences
pennam Feb 14, 2024
bcfbba2
Merge branch 'main' into soft_se
pennam Feb 14, 2024
8c271d0
Merge pull request #253 from pennam/soft_se
pennam Feb 14, 2024
eb13557
Merge pull request #144 from JAndrassy/wifis3_server_accept
pennam Feb 14, 2024
96457bc
Merge pull request #148 from JAndrassy/wifis3_client_con_timeout
pennam Feb 14, 2024
be29127
Merge pull request #197 from pennam/ota_err_fwd
pennam Feb 14, 2024
9efbd3c
WiFiSSLClient: add setEccSlot method to configure client private key …
pennam Feb 6, 2024
267cae5
WiFiSSLClient: configure cusutom root_ca or client credentials on con…
pennam Feb 14, 2024
2726a01
Merge pull request #242 from pennam/se050_aes_hmac
pennam Feb 14, 2024
00ed928
Merge pull request #260 from arduino/fix-259
pennam Feb 14, 2024
bb8937d
Merge pull request #254 from pennam/ecc_slot
pennam Feb 15, 2024
59fc84e
WiFiS3 WiFiSSLClient: avoid duplicated AT message calls using setCACe…
pennam Feb 15, 2024
d27eff5
ESPHost - fix softAP password check
JAndrassy Jan 23, 2024
854d3b2
Merge pull request #248 from JAndrassy/esphost_fix_pwd_check
pennam Feb 16, 2024
358db48
Update WIFI_FIRMWARE_LATEST_VERSION to 0.4.1
pennam Feb 16, 2024
cb21927
OTAUpdate: change root certificate to download binary from download.a…
pennam Feb 16, 2024
3902329
OTAUpdate: warn the user about what firmware will be installed on WiF…
pennam Feb 16, 2024
f9646b6
Typo in header guard.
SFE-Brudnerd Feb 19, 2024
5b2d88f
Merge pull request #224 from JAndrassy/wifis3_wifi_h_all
pennam Feb 21, 2024
33ab3f2
Merge pull request #266 from pennam/doube_at_command_fix
pennam Feb 21, 2024
09806b6
Merge pull request #267 from arduino/pennam-patch-1
pennam Feb 21, 2024
b5eb587
Merge pull request #269 from pennam/ota-certs
pennam Feb 21, 2024
ca15263
Publish 1.1.0
pennam Feb 26, 2024
eb3edbf
Update Project files.
SFE-Brudnerd Feb 26, 2024
89c17f3
Fix SPI CS pin.
SFE-Brudnerd Feb 26, 2024
fb0f853
Merge pull request #275 from pennam/publish_1.1.0
pennam Feb 26, 2024
2e0db1e
Merge pull request #1 from arduino/main
SFE-Brudnerd Feb 26, 2024
98afe7a
swap logic for SD card power
SFE-Brudnerd Mar 19, 2024
c1979cb
Missing added user button.
SFE-Brudnerd Mar 20, 2024
6a22c10
Update variant.cpp
SFE-Brudnerd Mar 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
- libraries/WiFiS3
- libraries/OTAUpdate
- libraries/OPAMP
- libraries/SoftwareATSE
- libraries/Preferences
- board:
fqbn: "arduino-git:renesas:minima"
additional-sketch-paths: |
Expand Down
64 changes: 64 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ portenta_c33.upload.native_usb=true
portenta_c33.upload.maximum_size=2097152
portenta_c33.upload.maximum_data_size=523624

portenta_c33.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
portenta_c33.debug.server.openocd.scripts.1={programmer.transport_script}
portenta_c33.debug.server.openocd.scripts.2={runtime.platform.path}/debugger/R7FA6M5BH.cfg
portenta_c33.debug.svd_file={runtime.platform.path}/svd/R7FA6M5BH.svd


##############################################################

minima.name=Arduino UNO R4 Minima
Expand Down Expand Up @@ -94,6 +100,11 @@ minima.upload.native_usb=true
minima.upload.maximum_size=262144
minima.upload.maximum_data_size=32768

minima.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
minima.debug.server.openocd.scripts.1={programmer.transport_script}
minima.debug.server.openocd.scripts.2={runtime.platform.path}/debugger/R7FA4M1AB.cfg
minima.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd

##############################################################

unor4wifi.name=Arduino UNO R4 WiFi
Expand Down Expand Up @@ -140,6 +151,11 @@ unor4wifi.upload.native_usb=true
unor4wifi.upload.maximum_size=262144
unor4wifi.upload.maximum_data_size=32768

unor4wifi.debug.server.openocd.scripts.0=interface/{programmer.protocol}.cfg
unor4wifi.debug.server.openocd.scripts.1={programmer.transport_script}
unor4wifi.debug.server.openocd.scripts.2={runtime.platform.path}/debugger/R7FA4M1AB.cfg
unor4wifi.debug.svd_file={runtime.platform.path}/svd/R7FA4M1AB.svd

##############################################################

muxto.name=Science Kit R3 Audio Module
Expand Down Expand Up @@ -190,3 +206,51 @@ muxto.upload.maximum_size=262144
muxto.upload.maximum_data_size=32768

##############################################################

thingplus_ra6m5.name=SparkFun Thing Plus RA6M5
thingplus_ra6m5.build.core=arduino
thingplus_ra6m5.build.crossprefix=arm-none-eabi-
thingplus_ra6m5.build.compiler_path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/

thingplus_ra6m5.build.variant=THINGPLUS_RA6M5
thingplus_ra6m5.build.mcu=cortex-m33
thingplus_ra6m5.build.architecture=cortex-m33
thingplus_ra6m5.build.fpu=-mfpu=fpv5-sp-d16
thingplus_ra6m5.build.float-abi=-mfloat-abi=hard

thingplus_ra6m5.build.board=THINGPLUS_RA6M5
thingplus_ra6m5.build.defines=-DF_CPU=200000000
thingplus_ra6m5.vid.0=0x1b4f
thingplus_ra6m5.pid.0=0x0036
thingplus_ra6m5.vid.1=0x1b4f
thingplus_ra6m5.pid.1=0x0037
thingplus_ra6m5.upload_port.0.vid=0x1b4f
thingplus_ra6m5.upload_port.0.pid=0x0036
thingplus_ra6m5.upload_port.1.vid=0x1b4f
thingplus_ra6m5.upload_port.1.pid=0x0037

thingplus_ra6m5.compiler.fsp.defines={build.variant.path}/defines.txt
thingplus_ra6m5.compiler.fsp.ldflags={build.variant.path}/ldflags.txt
thingplus_ra6m5.compiler.fsp.cflags=-mthumb "@{compiler.fsp.defines}"
thingplus_ra6m5.compiler.fsp.cxxflags=-mthumb "@{compiler.fsp.defines}"
thingplus_ra6m5.compiler.tinyusb.cflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
thingplus_ra6m5.compiler.tinyusb.cxxflags=-DCFG_TUSB_MCU=OPT_MCU_RAXXX
thingplus_ra6m5.compiler.fsp.includes={build.variant.path}/includes.txt
thingplus_ra6m5.compiler.fsp.extra_ldflags=-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
thingplus_ra6m5.compiler.fsp="{build.variant.path}/libs/libfsp.a"

thingplus_ra6m5.upload.tool=dfu-util
thingplus_ra6m5.upload.tool.default=dfu-util
thingplus_ra6m5.upload.protocol=
thingplus_ra6m5.upload.transport=
thingplus_ra6m5.upload.vid=0x1b4f
thingplus_ra6m5.upload.pid=0x0036
thingplus_ra6m5.upload.address=0x00010000
thingplus_ra6m5.upload.interface=0
thingplus_ra6m5.upload.use_1200bps_touch=false
thingplus_ra6m5.upload.wait_for_upload_port=false
thingplus_ra6m5.upload.native_usb=true
thingplus_ra6m5.upload.maximum_size=2097152
thingplus_ra6m5.upload.maximum_data_size=523624

##############################################################
27 changes: 27 additions & 0 deletions bootloaders/THINGPLUS_RA6M5/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
:floppy_disk: `bootloaders/THINGPLUS_RA6M5`
====================================
Compiled with
```bash
git clone https://github.com/arduino/arduino-renesas-bootloader
git clone https://github.com/hathach/tinyusb
cd tinyusb
# This step is temporary
patch -p1 < ../arduino-renesas-bootloader/0001-fix-arduino-bootloaders.patch
python tools/get_deps.py ra
cd ..
cd arduino-renesas-bootloader
TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.thingplus
```

:rocket: `How to load bootloader`
====================================

Hold the boot button down and plug in the Thing Plus RA6M5.
The board will enumerate as Renesas RA USB Boot.

Then flash the bootloader with [`rfp-cli`](https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui#download)
```
rfp-cli -device ra -tool e2 -if swd -p dfu.hex
```

Otherwise, the same hex file can be loaded through the SWD port (using a Jlink for example)
Binary file added bootloaders/THINGPLUS_RA6M5/dfu.elf
Binary file not shown.
Loading