{"id":22665043,"url":"https://github.com/smfsw/sarmfsw","last_synced_at":"2025-04-12T08:32:56.600Z","repository":{"id":159710875,"uuid":"88206345","full_name":"SMFSW/sarmfsw","owner":"SMFSW","description":"ARM based common headers (compatible with Arduino platforms, yet oriented ARM)","archived":false,"fork":false,"pushed_at":"2025-04-05T21:49:17.000Z","size":8347,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T22:25:33.432Z","etag":null,"topics":["arm","stm32"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SMFSW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-13T21:03:35.000Z","updated_at":"2025-04-05T21:48:08.000Z","dependencies_parsed_at":"2024-05-02T18:46:27.523Z","dependency_job_id":"74c50c0a-d758-4da9-8bfa-7e61aca4938c","html_url":"https://github.com/SMFSW/sarmfsw","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMFSW%2Fsarmfsw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMFSW%2Fsarmfsw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMFSW%2Fsarmfsw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SMFSW%2Fsarmfsw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SMFSW","download_url":"https://codeload.github.com/SMFSW/sarmfsw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248540250,"owners_count":21121320,"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","stm32"],"created_at":"2024-12-09T13:18:55.979Z","updated_at":"2025-04-12T08:32:56.594Z","avatar_url":"https://github.com/SMFSW.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sarmfsw [![Build Status](https://app.travis-ci.com/SMFSW/sarmfsw.svg?branch=master)](https://app.travis-ci.com/SMFSW/sarmfsw)\n\nARM based common headers\n\nBasic yet useful typedefs/macros/inlines for any ARM CMSIS based project\n\nLibrary has been updated to become compatible with Arduino \u0026 other 8/16bit platforms\n(not only ARM cores, yet less optimized for 8/16bit cores)\n\n## Library handled symbols (to be defined if needed, at project level)\n\n* `STM_FAMILY`: Define with proper family name if your STM32 MCU is not automatically recognized (in case of warning message displayed)\n* `SAM_FAMILY`: Define with proper family name if your ATMEL SAM MCU is not automatically recognized (in case of warning message displayed)\n\n* `SARMFSW_NO_CHIP_HAL`: No includes and definitions of HAL chip files (can be useful to use sarmfsw for static libraries code generation)\n\n* `HALTicks`: can be defined with a function name to use ticks getter function already implemented under the form `uint32_t func(void)`\n\n* `HAL_MAX_TICKS` val: Define with custom max value in project if tick max value is not using 32b variable full scale\n* `HAL_MS_TICKS_FACTOR`: Define with custom multiplier in project if tick period is not 1ms\n\n* `HAL_INC_DISABLE`: Define this symbol at project level to disable inclusion of all HAL headers\n* `HAL_XXX_INC_DISABLE`: Define this symbol at project level (replacing `XXX` by peripheral name) to disable inclusion of corresponding HAL header\n\n* `BIG_ENDIAN`: Define this symbol when using big endian target architecture if not automatically recognized (in case of warning message displayed)\n* `LITTLE_ENDIAN`: Define this symbol when using little endian target architecture if not automatically recognized (in case of warning message displayed)\n* `REVERSE_BITFIELD`: By default bitfields are stored from lsb to msb; if not the case with used compiler, use a pragma or define this symbol\n\n* `STDBOOL_NDEF`: define this symbol in case used compiler doesn't have stdbool.h header\n* `STDINT_NDEF`: define this symbol in case used compiler doesn't have stdint.h header\n* `USE_INO_BINARY_HEADER`: For Arduino platform, some binary.h definitions needs to be undefined.\n\tIf you find them useful, define USE_INO_BINARY_HEADER before including sarmfsw.h to keep them defined.\n\tPlease note, B0 \u0026 B1 Bytes sub-structures of unions defined hereafter will not be available in this case.\n\t(0bxxx notation can be used for binary instead)\n\n* `SINGLE_SHIFT_ONLY_OPCODE`: If used CPU only handles single shifts opcode, define this symbol to optimize use of LSHIFTx \u0026 RSHIFTx with constants\n\n* `NO_STATIC_FUNC` or `UNITY_TESTING`: using __STATIC keyword, functions will always be visible by linker if set (useful for unit testing)\n\n## Notes\n\nMacros/Inlines name standardization (case) not always respected for backward compatibility with older versions:\n- For new users: sorry for this apparent nonsense (aliases may be implemented sooner, later, bust most likely never)!\n- For former users: you're welcome (except some special cases, backward compatibility should still be handled)!\n \n## Documentation\n\nDoxygen doc can be generated using \"Doxyfile\"\n\nSee [generated documentation](https://smfsw.github.io/sarmfsw/)\n\n## Release Notes\n\nSee [release notes](ReleaseNotes.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmfsw%2Fsarmfsw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmfsw%2Fsarmfsw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmfsw%2Fsarmfsw/lists"}