/**************************************************************************
* Copyright � 2004 Altera Corporation, San Jose, California, USA. *
* All rights reserved. All use of this software and documentation is *
* subject to the License Agreement located at the end of this file below.*
*************************************************************************/
/******************************************************************************
* DANGER ** WARNING ** Please read before proceeding! ** WARNING ** DANGER *
******************************************************************************
*
* This program is an example of a "free-standing" C application. If you
* modify this example and try to call C library functions such as printf, they
* will NOT work unless you explicitly initialize the system, such as in the
* hello_alt_main software template. Please see below for details.
*
* Description
* *************
* A very minimal program that simply shifts an LED back and forth.
*
* Requirements
* **************
* According to the ANSI C standard, freestanding programs "own" the hardware,
* and cannot rely on system-services or device-drivers being initialized prior
* to program-start. A freestanding program is responsible for initializing all
* hardware devices, device-drivers, and system-services. Many embedded
* programs are, by nature, freestanding. The author relinquishes any illusion
* of running their program on a workstation.
*
* This example is a freestanding program because it's entry point is the
* function:
*
* void alt_main (void)
*
* As opposed to "main()" as a "hosted" application would (see the
* "hello_world" example).
*
* Upon entry to alt_main():
* - The CPU's caches (if any) have been initialized.
* - The stack-pointer has been set.
* - That's all. The rest is up to you.
*
* If you modify this example and try to call C library functions such as
* printf, they will NOT work unless you explicitly initialize the system.
* If you wish to use C library calls, it is strongly suggested you start
* with the hosted hello_world template which uses main() as it's entry
* point.
*
* On the other hand, if you want to write a program that gets-in even
* earlier, you will need to provide your own assembly-language machine-setup
* code by defining the symbol "_start". Any definition of _start in your
* directory will override the library definition. You can find source code
* for the Nios II library _start here:
*
* <NiosII-Kit-Install-Dir>/components/altera_nios2/HAL/src/crt0.S
*
* This software example requires a system with a PIO peripheral named
* "led_pio". The software example will run on the following hardware
* examples:
*
* Nios Development Board, Stratix II Edition:
* - Standard
* - Small
* - Full Featured
*
* DSP Development Board, Stratix II Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Stratix Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Stratix Professional Edition:
* - Standard
* - Small
* - Full Featured
*
* Nios Development Board, Cyclone Edition:
* - Standard
* - Small
* - Low Cost
* - Full Featured
*
* Peripherals Exercised by SW
* *****************************
* The hello_led.c program simply shifts an 8-bit variable back and forth,
* writing the variable's value to the system's LED PIO peripheral on every
* iteration.
*
* Software Files
* ****************
* hello_led.c - Main C file that contains the simple led manipulation routine.
*
*/
没有合适的资源?快使用搜索试试~ 我知道了~
linux-nios.zip_nios ii pio uclinux_nios uclinux_sopc
共5589个文件
d:1560个
o:1560个
cdb:205个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 2 浏览量
2022-09-20
20:32:12
上传
评论
收藏 26.28MB ZIP 举报
温馨提示
嵌入fpga内的niosii,uClinux的sopc软件,很有用
资源详情
资源评论
资源推荐
收起资源包目录
linux-nios.zip_nios ii pio uclinux_nios uclinux_sopc (5589个子文件)
kernel.ptf.8.0 56KB
low_cost_1C20.ptf.5.00 87KB
rca_cy1c12_board.ptf.5.00 68KB
00096230dcc1001d1decaca4fafc38fc 0B
001243b0e5c1001d1b73b67de02461e0 2KB
00149e4feec1001d1b95b98e7ed2efaa 3KB
0017daafe5c1001d1b73b67de02461e0 3KB
002610b1e5c1001d1b73b67de02461e0 10KB
00286b50eec1001d1b95b98e7ed2efaa 43B
002ba7b0e5c1001d1b73b67de02461e0 3KB
002d0250eec1001d1b95b98e7ed2efaa 4KB
002e1cdf0245001d19cfdd630b4729a9 339B
00362b7e38c7001d1727d2cbc6350354 0B
003efaa831c7001d1727d2cbc6350354 16KB
00440bb1e5c1001d1b73b67de02461e0 625B
004b528cf3c1001d1b95b98e7ed2efaa 0B
0058b46addc1001d1decaca4fafc38fc 3KB
0070cb932ac7001d1727d2cbc6350354 0B
0076cd9ae9c1001d1b73b67de02461e0 237B
007bb9d6eec1001d1b95b98e7ed2efaa 0B
007c01880345001d19cfdd630b4729a9 346B
0085a04feec1001d1b95b98e7ed2efaa 4KB
0088dcafe5c1001d1b73b67de02461e0 2KB
008a374feec1001d1b95b98e7ed2efaa 3KB
009afc870345001d19cfdd630b4729a9 271B
009ca9b0e5c1001d1b73b67de02461e0 4KB
009e0450eec1001d1b95b98e7ed2efaa 2KB
00a140b0e5c1001d1b73b67de02461e0 2KB
00a39b4feec1001d1b95b98e7ed2efaa 5KB
00aa6663efc1001d1b95b98e7ed2efaa 181B
00b0ea9f28c7001d1727d2cbc6350354 242B
00b50db1e5c1001d1b73b67de02461e0 1KB
00b76850eec1001d1b95b98e7ed2efaa 43B
00c7fccae8c1001d1b73b67de02461e0 1KB
00c86163efc1001d1b95b98e7ed2efaa 121B
00da243df0c1001d1b95b98e7ed2efaa 121B
00eb6630dcc1001d1decaca4fafc38fc 0B
00ec4972edc1001d1b95b98e7ed2efaa 0B
00f86743edc1001d1b95b98e7ed2efaa 120B
00f9deafe5c1001d1b73b67de02461e0 3KB
00fb394feec1001d1b95b98e7ed2efaa 2KB
low_cost_1C20.ptf.4.01 69KB
011243b0e5c1001d1b73b67de02461e0 4KB
0185a04feec1001d1b95b98e7ed2efaa 179B
019ca9b0e5c1001d1b73b67de02461e0 43B
019e0450eec1001d1b95b98e7ed2efaa 5KB
01f9deafe5c1001d1b73b67de02461e0 4KB
low_cost_1C20.ptf.4.10 84KB
1001fb4feec1001d1b95b98e7ed2efaa 3KB
1002a37038c7001d1727d2cbc6350354 242B
101e700231c7001d1727d2cbc6350354 236B
10272b5934c7001d1727d2cbc6350354 239B
102736460545001d19cfdd630b4729a9 460B
102a7a952dc7001d1727d2cbc6350354 0B
103bd42ed95d001d17dfeefe25f71643 271B
1040354feec1001d1b95b98e7ed2efaa 2KB
104eee7e0645001d19cfdd630b4729a9 462B
10573eb0e5c1001d1b73b67de02461e0 179B
1059994feec1001d1b95b98e7ed2efaa 4KB
105cd5afe5c1001d1b73b67de02461e0 3KB
105e304feec1001d1b95b98e7ed2efaa 4KB
1061307defc1001d1b95b98e7ed2efaa 0B
106d6650eec1001d1b95b98e7ed2efaa 12KB
1070a2b0e5c1001d1b73b67de02461e0 5KB
1072fd4feec1001d1b95b98e7ed2efaa 3KB
107317df0245001d19cfdd630b4729a9 264B
107539b0e5c1001d1b73b67de02461e0 5KB
1084e39f28c7001d1727d2cbc6350354 181B
108906b1e5c1001d1b73b67de02461e0 4KB
108b6150eec1001d1b95b98e7ed2efaa 3KB
1090094af2c1001d1b95b98e7ed2efaa 0B
10904d8cf3c1001d1b95b98e7ed2efaa 0B
10906c5542c7001d1727d2cbc6350354 646B
109140010345001d19cfdd630b4729a9 0B
1091a07038c7001d1727d2cbc6350354 181B
1094c18a31c7001d1727d2cbc6350354 0B
10b2bc8a31c7001d1727d2cbc6350354 0B
10b86ffbe4c1001d1b73b67de02461e0 179B
10bbc89ae9c1001d1b73b67de02461e0 177B
10c0f636f2c1001d1b95b98e7ed2efaa 0B
10c3987536c7001d1727d2cbc6350354 0B
10cdd7afe5c1001d1b73b67de02461e0 2KB
10cf324feec1001d1b95b98e7ed2efaa 3KB
10dd7067eec1001d1b95b98e7ed2efaa 237B
10dff7870345001d19cfdd630b4729a9 222B
10e1a4b0e5c1001d1b73b67de02461e0 1005B
10e3ff4feec1001d1b95b98e7ed2efaa 2KB
10e51361b641001d12b8f2cf5727f482 460B
10e63bb0e5c1001d1b73b67de02461e0 4KB
10e8964feec1001d1b95b98e7ed2efaa 4KB
10f744f3eeb5001d1c45b1d5714195bb 240B
10fc6350eec1001d1b95b98e7ed2efaa 5KB
10ff9fb0e5c1001d1b73b67de02461e0 2KB
1101fb4feec1001d1b95b98e7ed2efaa 2KB
115cd5afe5c1001d1b73b67de02461e0 5KB
116d6650eec1001d1b95b98e7ed2efaa 43B
1170a2b0e5c1001d1b73b67de02461e0 156B
117539b0e5c1001d1b73b67de02461e0 3KB
11cf324feec1001d1b95b98e7ed2efaa 5KB
.index.1227065341078 65KB
共 5589 条
- 1
- 2
- 3
- 4
- 5
- 6
- 56
小波思基
- 粉丝: 70
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 4399GameSem_116_13955_207551_6.apk
- python 3.9.19源码编译包
- php-8.2.18-Win32-vs16-x64.rar
- 字节跳动青训营-抖音项目
- SQL资料手册,语句教程,高级查询语句语法
- 上位机和串口建立 Modbus 协议进行数据传输,并使用 Mysql 数据库存储,能够实现实时温湿度显示和动态变化曲线,历史数据
- Attachment 1_chazhi.xlsx
- 安卓项目,实现虚拟摇杆通过wifi串口发送nema-0183协议实现小吊舱方向控制
- 基于modbus协议的大屏数据监控,使用modbus slave模拟数据,串口服务器获取温湿度
- 下载资源.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0