GithubHelp home page GithubHelp logo

neykov / armboot Goto Github PK

View Code? Open in Web Editor NEW
187.0 187.0 10.0 5.01 MB

Rust language testbed project for porting to STM32F4xx ARM microcontrollers.

Makefile 0.08% C 63.18% Rust 35.27% Assembly 1.47%

armboot's People

Contributors

neykov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

armboot's Issues

Errors out on Rust 1.0.0 :(

Now that Rust 1.0.0 has landed, I thought it would be interesting to try using it on my ARM dev board. It seems this repo needs to be updated a bit to work on 1.0.0 though.

Here is the output I get when I run make. I haven't attempted to debug it at all, but I'm happy to provide any information that you need or test any fix - just let me know!

ricky@t520 100% /tmp/armboot (master)$ make
rustc --target target.json -A non_camel_case_types -A dead_code -A non_snake_case main.rs -C link-args="-Tsys/stm32_flash.ld -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16" -L. -o blinky.elf -Z print-link-args
zero/zero.rs:2:41: 2:45 error: use of undeclared type name `uint`
zero/zero.rs:2 fn fail_bounds_check(_: &(&'static str, uint),
                                                       ^~~~
zero/zero.rs:3:25: 3:29 error: use of undeclared type name `uint`
zero/zero.rs:3                      _: uint, _: uint) -> ! {
                                       ^~~~
zero/zero.rs:3:34: 3:38 error: use of undeclared type name `uint`
zero/zero.rs:3                      _: uint, _: uint) -> ! {
                                                ^~~~
zero/zero.rs:16:42: 16:46 error: use of undeclared type name `uint`
zero/zero.rs:16 fn panic_bounds_check(_: &(&'static str, uint),
                                                         ^~~~
zero/zero.rs:17:25: 17:29 error: use of undeclared type name `uint`
zero/zero.rs:17                      _: uint, _: uint) -> ! {
                                        ^~~~
zero/zero.rs:17:34: 17:38 error: use of undeclared type name `uint`
zero/zero.rs:17                      _: uint, _: uint) -> ! {
                                                 ^~~~
main.rs:27:18: 27:22 error: use of undeclared type name `uint`
main.rs:27 const LED_GREEN :uint = 12;
                            ^~~~
main.rs:28:19: 28:23 error: use of undeclared type name `uint`
main.rs:28 const LED_ORANGE :uint = 13;
                             ^~~~
main.rs:29:16: 29:20 error: use of undeclared type name `uint`
main.rs:29 const LED_RED :uint = 14;
                          ^~~~
main.rs:30:17: 30:21 error: use of undeclared type name `uint`
main.rs:30 const LED_BLUE :uint = 15;
                           ^~~~
main.rs:32:13: 32:17 error: use of undeclared type name `uint`
main.rs:32 static LED :uint = LED_RED;
                       ^~~~
main.rs:62:37: 62:41 error: use of undeclared type name `uint`
main.rs:62  let irq_en = 1 << (TIM2_IRQn!() as uint);
                                               ^~~~
error: aborting due to 12 previous errors
Makefile:46: recipe for target 'blinky.elf' failed
make: *** [blinky.elf] Error 101

question

Hi,

do you know how much effort it is to support xilix with arm cortex a9?
i also need the startup code right?

Thx,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.