This is fork from https://github.com/Wiz-IO/platform-sam-lora.git
I'm adding here some small functionality, like (all is work in progress):
- uploading using JLink
- add definition for wlr089u0
Version 0.1.2 ( look here, to see if there is something new )
- OS Windows ( for now )
-
- Baremetal
-
- Arduino ( in process... )
- Board Microchip SAM R34 Xplained Pro
- Framework Source Codes and Examples
- Wiki ( read )
The project is a work in progress and is very beta version - there may be bugs
- Arduino core
- GPIO, ADC, Serial, I2C, SPI, RF
- LoRa & LoraWAN
- Variant: Microchip SAM R34 Xplained Pro
Install VS Code + PlatformIO
PlatformIO - Home - Platforms - Advanced Installation
Paste link: https://github.com/Wiz-IO/platform-sam-lora
Goto C:\Users\USER_NAME\.platformio\platforms
and delete:
- folder sam-lora ( builders )
- folder framework-sam-lora ( sources )
- folder tool-sam-lora ( uploader )
- folder toolchain-gccarmnoneeabi (compiler )
[env:samr34xpro]
platform = sam-lora
board = samr34xpro
framework = baremetal
monitor_port = COMx
monitor_speed = 115200
[env:samr34xpro]
platform = sam-lora
board = samr34xpro
framework = arduino
monitor_port = COMx
monitor_speed = 115200
The Platform use Microchip SAM R34 Xplained Pro with onboard EDBG uploader
I don't have a J-LINK, Atmel ICE, stand alone modules and/or custom bootloaders to add more uploaders
The code has a custom experimental "bootload" uploader and you can use it as an entry point for your experimental uploaders
https://github.com/Wiz-IO/platform-sam-lora/blob/master/builder/frameworks/SAMR_FU.py
The main upload entry function is:
dev_upload(target, source, env)
https://github.com/Wiz-IO/platform-sam-lora/blob/master/builder/frameworks/arduino-samr34.py#L14
There are conditions for distinguishing the tool used - edit and test...
Create new board, Copy/Paste/Rename and edit boards/samr34xpro.json as experimental board
- Baremetal Uploaders ( now works with atbackend/atprogram )
- Baremetal ASF/CMSIS
- Arduino Bootloader
- Arduino Core
- Arduino Libraries
- Examples
- Ivan Kravets ( PlatformIO )
- Miguel Romani ( TheThings )
- Comet Electronics