justinbalexander / zig-cortex Goto Github PK
View Code? Open in Web Editor NEWZig functions for Arm Cortex processors
License: The Unlicense
Zig functions for Arm Cortex processors
License: The Unlicense
This first milestone will be to reproduce at least the same subset of functionality as CMSIS.
While the functionality will be the same, this will not be a translation of CMSIS but rather a fresh rewrite in Zig with a (hopefully) improved and expressive API.
Every function or register definition must be documented with the document number combined with the section and/or table where the information was found for cross-referencing purposes.
For example:
/// ARM DDI 0403E.b Section B3.2
/// Table B3-3
const SCS_BASE = 0xE000E000;
const SYSTICK_BASE = SCS_BASE + 0x010;
const NVIC_BASE = SCS_BASE + 0x100;
const SCB_BASE = SCS_BASE + 0xD00;
const MPU_BASE = SCS_BASE + 0xD90;
const SCS_DEBUG_BASE = SCS_BASE + 0xDF0;
const CACHE_MAINTENANCE_BASE = SCS_BASE + 0xF50;
const MCU_ID_BASE = SCS_BASE + 0xFD0;
The document number including the version is there.
The resulting function and/or register definition should match the architecture reference manual from which it was pulled. CMSIS changed some register names and this rewrite should follow the reference manuals exactly. If there is a deviation from this convention, it must be documented and justified in a comment.
A list of functionality that must be matched will be checked off here:
Further functionality will be filed as separate issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.