Skip to content

Wiz-IO/platform-sam-lora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microchip Atmel SAMR34/35 platform for PlatformIO

Version 0.1.2 ( look here, to see if there is something new )

The project is a work in progress and is very beta version - there may be bugs

Baremetal

Arduino Core

sam

The first steps - youtube

Simple LoRa

Platform Installation

Install VS Code + PlatformIO

PlatformIO - Home - Platforms - Advanced Installation

Paste link: https://github.com/Wiz-IO/platform-sam-lora

Fast Uninstall

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 )

sam

Baremetal INI

[env:samr34xpro]
platform = sam-lora
board = samr34xpro
framework = baremetal
monitor_port = COMx     
monitor_speed = 115200  

Arduino INI

[env:samr34xpro]
platform = sam-lora
board = samr34xpro
framework = arduino
monitor_port = COMx     
monitor_speed = 115200  

CUSTOM UPLOADERS

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

Road Map

  • Baremetal Uploaders ( now works with atbackend/atprogram )
  • Baremetal ASF/CMSIS
  • Arduino Bootloader
  • Arduino Core
  • Arduino Libraries
  • Examples

Thanks to

If you want to help / support:
paypal

About

Microchip Atmel SAM34/35 platform for PlatformIO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages