Skip to content
Georgi Angelov edited this page Nov 24, 2019 · 13 revisions

The Advanced Software Framework (ASF) provides a rich set of proven drivers and code modules developed by experts to reduce design time. It simplifies the usage of microcontrollers by providing an abstraction to the hardware through drivers and high-value middlewares. ASF is a free and open-source code library designed to be used for evaluation, prototyping, design and production phases.

LINK Doc

LINK Boards

Note: This platform support only ASF for SAMR34/35

INI

PIO Docs - Section

[env:samr34xpro]
platform = sam-lora
board = samr34xpro
framework = baremetal

;monitor_port = COMx     
;monitor_speed = 115200  

;ENABLE ASF, default empty, only CMSIS
board_build.asf = enable

;OTHER -D flags for ASF
;build_flags =
;   -DAC_CALLBACK_MODE=true
;   -DADC_CALLBACK_MODE=true
;   -DDAC_CALLBACK_MODE=true
;   -DUSART_CALLBACK_MODE=true
;   -DSPI_CALLBACK_MODE=true
;   -DI2C_MASTER_CALLBACK_MODE=true
;   -DTCC_ASYNC=true
;   -DTRNG_CALLBACK_MODE=true
;   -DWDT_CALLBACK_MODE=true

Examples

Clone this wiki locally