startup-xpack


Ⅰ. 插件描述

An xPack with the µOS++ startup code for bare-metal platforms

Ⅱ. 基本信息

创建日期:  2017-09-04
使用用户:  1
Github星:  5
插件作者:  µOS++ IIIe

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'micro-os-plus/startup-xpack'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'micro-os-plus/startup-xpack'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'micro-os-plus/startup-xpack'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/micro-os-plus/startup-xpack

Ⅳ. 文档说明

## The µOS++ portable startup code for bare-metal platforms

This project provides a portable startup code for bare-metal platforms.

The myth that startup code must be written in assembly because 'the C environment is not ready' is plainly wrong.

The 'C environment' is mainly the stack (and maybe other architecture ABI registers, like GP on RISC-V), and this can be set in a short assembly entry code and then the standard _start() function can be safely called.

Developer info

This section is intended to developers who plan to include this library in their own projects.

Prerequisites

A recent xpm, which is a portable Node.js command line application.

Compiling the source code requires a modern C++ compiler, preferably GCC 5 or higher.

Easy install

This package is available as @micro-os-plus/startup from the npmjs.com registry; with xpm available, installing the latest version of the package is quite easy:

$ xpm install @micro-os-plus/startup

This package is also available from GitHub:

$ git clone https://github.com/micro-os-plus/startup-xpack.git startup-xpack.git

Maintainer info

How to publish

  • commit all changes
  • update CHANGELOG.md; commit with a message like CHANGELOG: prepare v0.1.2
  • npm version patch
  • push all changes to GitHub
  • npm publish

License

The original content is released under the MIT License, with all rights reserved to Liviu Ionescu.

添加新评论