{"id":19296772,"url":"https://github.com/atmelcorp/atmel-software-package","last_synced_at":"2025-04-22T08:31:13.137Z","repository":{"id":2902360,"uuid":"47840424","full_name":"atmelcorp/atmel-software-package","owner":"atmelcorp","description":"Atmel Software Package","archived":false,"fork":false,"pushed_at":"2023-04-11T08:04:38.000Z","size":60450,"stargazers_count":108,"open_issues_count":24,"forks_count":76,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-11-09T23:02:16.730Z","etag":null,"topics":["arm","atmel","bare-metal","cortex-a5","cortex-m7"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atmelcorp.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-12-11T17:18:56.000Z","updated_at":"2024-10-31T21:32:02.000Z","dependencies_parsed_at":"2023-07-05T20:46:33.606Z","dependency_job_id":null,"html_url":"https://github.com/atmelcorp/atmel-software-package","commit_stats":{"total_commits":3185,"total_committers":48,"mean_commits":66.35416666666667,"dds":0.7459968602825746,"last_synced_commit":"0d65503fc85111e00c175488dec71313660f0604"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmelcorp%2Fatmel-software-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmelcorp%2Fatmel-software-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmelcorp%2Fatmel-software-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmelcorp%2Fatmel-software-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atmelcorp","download_url":"https://codeload.github.com/atmelcorp/atmel-software-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206124,"owners_count":21392191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","atmel","bare-metal","cortex-a5","cortex-m7"],"created_at":"2024-11-09T23:00:32.241Z","updated_at":"2025-04-22T08:31:08.128Z","avatar_url":"https://github.com/atmelcorp.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Microchip Software Package\n----------------------------\n\n## Overview\n\nThis softpack comes as an early delivery and all presented APIs are subject to\nchange.\n\nEach software module is provided with full source code, example of usage, and\nready-to-use projects.\n\nThis softpack is hosted on [GitHub](https://github.com/atmelcorp/atmel-software-package).\n\n## Supported Platforms\n\n### Windows and Linux with the gnu **GCC ARM Embedded** toolchain\n\nIt is downloadable at this address: [launchpad.net/gcc-arm-embedded](https://launchpad.net/gcc-arm-embedded)\n(Mac OS X should also work but as not been tested yet).\n\nAs it is announced all new binary and source packages will not be released on Launchpad, toolchains can also be downloaded at these address: [developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) and [developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads)\n\nSuggested version of toolchain: gcc-arm-none-eabi-8-2018-q4-major\n\nHere a few tips that may prove useful in resolving compatibility issues met with other toolchain versions:\n- link error of \"uses VFP register arguments\" for SAMA5: replace \"-mcpu=cortex-a5\" with \"-march=armv7-a\" in file [scripts/Makefile.vars.sama5d*](scripts)\n- link error of \"cannot find -lc_nano\": remove \"--specs=nano.specs\" from [scripts/Makefile.vars](scripts/Makefile.vars)\n\nDependencies:\n- GNU make (from MinGW, Cygwin or GnuWin32 for Windows architectures)\n- bash (from MinGW, Cygwin for Windows architectures)\n- *recommended on Windows architectures:* winpty (from MSYS2's package manager)\n\n### Windows with **IAR Embedded Workbench**\n\nDependencies:\n- IAR Embedded Workbench (Tested on version 7.80)\n- bash (from MinGW, Cygwin or GnuWin32) for IAR project generation\n- GNU make (from MinGW, Cygwin or GnuWin32) for IAR project generation\n- mktemp (from MinGW, Cygwin or GnuWin32) for IAR project generation\n\n### Windows and Linux with the MPLAB **MPLAB X IDE \u0026 MPLAB XC32** toolchain\nDependencies:\n- MPLAB X IDE (Tested on version 6.05)\n- MPLAB XC32 (Tested on version 4.20)\n- bash (from MinGW, Cygwin or GnuWin32) for MPLAB project generation\n- GNU make (from MinGW, Cygwin or GnuWin32) for MPLAB project generation\n- mktemp (from MinGW, Cygwin or GnuWin32) for MPLAB project generation\n\n## Contents\n\n### Directory Architecture\n\n- **target/_xxx_**\n  All chip and board specific source files for _xxx_ devices\n\n- **target/_xxx_/toolchain/**\n  Linker and debugger scripts for _xxx_ devices\n\n- **scripts/**\n  generators and build script templates (Makefiles)\n\n- **arch/**\n  CPU Core driver source files\n\n- **drivers/**\n  Driver source files\n\n- **examples/**\n  All examples\n\n- **samba_applets/**\n  Source code for SAM-BA 3.x applets\n\n- **flash_loader/**\n  Source code for IAR flash loader\n\n### Examples\n\nThe examples are listed in [softpack.md](softpack.md).\n\n## Usage (GCC ARM Embedded)\n\n### Environment Variable\n\n**TARGET**: Name of the target (sama5d2-xplained for SAMA5D2 XPLAINED ULTRA\nboards).\n\n**VARIANT**: Build variant, for example \"sram\",\"ddram\" or \"qspi\".\n\n**DEBUG**: Build with debug flags (default).\n\n**TRACE_LEVEL**: Log level, 5 correspond to full, 0 to none (default to 5)\n\n**RELEASE**: Build for release, otherwise build for debug.\n\n**V=1**: Verbose build\n\nAll these variables are optional except for TARGET that must be provided or set\nat each make invocation.\n\n### Build\n\nRun:\n\n``make TARGET=target``\n\n### Run and Debug (with GDB)\n\nTo run examples with gdb, JLinkGDBServer must be started. It can be downloaded\nfor each platform at  [www.segger.com](http://www.segger.com)\n\nA make target is provided to launch the test with the correct gdb command\narguments, run:\n\n``make TARGET=target debug``\n\n## Usage (IAR)\n\nThe Win version of this softpack release comes with pregenerated IAR projects\ncompatible with IAR Systems Embedded Workbench for ARM version 7.80.\n\nThe C-SPY device description files and device selections files are not included\nand must be installed manually.\n\n### IAR Project generation\n\nAn IAR project can be generated with GNU make, run in the example directory:\n\n``make TARGET=target iar``\n\nAll needed IAR project files will be put in the example directory, including a\ndefault workspace one. Each IAR project is configured to **JLINK** as default debugger\ndriver, as for other setting, you can set up in IAR IDE to suit your connection such as\ncmsis-dap driver. IAR flash loader is an agent that is downloaded to the target, more\nflash loaders are provided in this software package, each build variant, for example\n\"sram\",\"ddram\", \"flash\" or \"qspi\", have it's dedicated flash loader.\n\nNotice:\nGNU make may fail on Windows platforms if the Makefile contains UNIX line endings.\nYou can use unix2dos on all Makefile files in scripts/ directory to fix this issue.\n\n## Usage (MPLAB)\n\nThe pregenerated MPLAB X IDE projects of softpack are compatible with version v5.50.\n\n### MPLAB X IDE Project generation\n\nA MPLAB X IDE project can be generated with GNU make, run in the example directory:\n\n``make TARGET=target mplab``\n\nAll needed MPLAB X IDE project files will be put in a folder named with the target\nunder the example directory. Users may configure the debugger, DFP and toolchains before\nbuild, debug and run the examples. For configuration \"sram\" no bootstrap is needed,\nand for ddram configurations a bootstrap (at91bootstrap may be used) is needed to debug\nor run the example properly (Configured in Project Properties -\u003e Conf -\u003e Bootstrap).\n\nThe GNU toolchain is also supported in MPLAB X IDE, tested with the version of\ntoolchain: gcc-arm-none-eabi-10-2020-q4-major\n\nNotice:\nGNU make may fail on Windows platforms if the Makefile contains UNIX line endings.\nYou can use unix2dos on all Makefile files in scripts/ directory to fix this issue.\n\nPlease visit [README for FreeRTOS](lib/freertos/README.md) to use examples/freertos_*.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmelcorp%2Fatmel-software-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmelcorp%2Fatmel-software-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmelcorp%2Fatmel-software-package/lists"}