1.. _target-emcraft-sf2-som: 2 3-------------------- 4Emcraft SmartFusion2 5-------------------- 6The Emcraft SmartFusion2 system-on-module target configuration 7uses FreeRTOS and the Microchip MSS HAL rather than a from-the-ground-up 8baremetal approach. 9 10 11Setup 12===== 13To use this target, pigweed must be set up to use FreeRTOS and the Microchip 14MSS HAL for the SmartFusion series. The supported repositories can be 15downloaded via ``pw package``, and then the build must be manually configured 16to point to the locations the repositories were downloaded to. 17 18.. code-block:: sh 19 20 pw package install freertos 21 pw package install smartfusion_mss 22 pw package install nanopb 23 24 gn args out 25 26Then add the following lines to that text file: 27 28.. code-block:: 29 30 dir_pw_third_party_freertos = getenv("PW_PACKAGE_ROOT") + "/freertos" 31 dir_pw_third_party_smartfusion_mss = getenv("PW_PACKAGE_ROOT") + "/smartfusion_mss" 32 dir_pw_third_party_nanopb = getenv("PW_PACKAGE_ROOT") + "/nanopb" 33 34Building and running the demo 35============================= 36This target does not yet build as part of Pigweed, but will later be 37available though the pw_system_demo build target. 38