GithubHelp home page GithubHelp logo

Comments (9)

lupyuen avatar lupyuen commented on June 15, 2024 1

Hi: Sorry about that, can you run these commands...

   # Latest nightly-2020-04-20 fails with asm error, so we use nightly-2020-02-16
   source $HOME/.cargo/env
   rustup default nightly-2020-02-16
   rustup update
   rustup target add thumbv7em-none-eabihf

Then run the Build App script?

from pinetime-rust-mynewt.

lupyuen avatar lupyuen commented on June 15, 2024 1

I'm very sorry about the mess... Things are in transition right now...

  1. We are preloading PineTime at the factory with FreeRTOS...

    https://github.com/JF002/Pinetime

    Together with the MCUBoot Bootloader that I have adapted. So I'm focusing my work on the FreeRTOS firmware with the MCUBoot Bootloader.

  2. The new PineTimes will no longer have Flash ROM protection. So there will be no longer any need for me to maintain the Flash Unprotect scripts (yay!). The new PineTimes will support firmware update over Bluetooth.

  3. I'm also not sure whether to keep maintaining Mynewt on PineTime. Since we are preloading FreeRTOS on PineTime and we have so few firmware developers, I'm considering moving over to FreeRTOS and dropping Mynewt.

Would you consider moving to FreeRTOS? I have simple instructions here for installing FreeRTOS...

https://gist.github.com/lupyuen/fb4cc04f03219d913cba8ec371f8c644

If you wish to stay on Mynewt, perhaps you can chat with me online so that you can get a quicker response. Here's the PineTime Chatroom on Discord / Matrix / Telegram / IRC. I'm usually online Singapore daytime (GMT+8 hours)...

https://wiki.pine64.org/index.php/PineTime#Community

Sorry again and thanks for using my code! :-)

from pinetime-rust-mynewt.

honyczek avatar honyczek commented on June 15, 2024

Great, it works now!

from pinetime-rust-mynewt.

lupyuen avatar lupyuen commented on June 15, 2024

Great thanks! I have updated my docs

from pinetime-rust-mynewt.

honyczek avatar honyczek commented on June 15, 2024

I've started from the clean Raspberry Pi again. I did steps according to README.md: 1), 3), 2) (reverse order, because scripts/install-pi.sh have to be downloaded first to run it), 4), 5), 6). But the script build-app.sh failed again with the same issue #16. After running commands from step 1) (or comment above) script finished successfully. Is there something in the scripts what breaks the script environment?

from pinetime-rust-mynewt.

lupyuen avatar lupyuen commented on June 15, 2024

install-pi will reset the Rust version to the latest version, which will break the build.

So rustup default nightly-2020-02-16 needs to be run after install-pi

Does that help?

from pinetime-rust-mynewt.

honyczek avatar honyczek commented on June 15, 2024

Ok, it is well described cause of issue, thanks.

I've got PineTime with factory OS with protection (bought in February 2020).

I've decided to flash your Mynewt firmware, because you had written very promising article on medium.com about flashing firmware using Raspberry Pi. I think you have done very good work including the helpful documentation. It's pity you're leaving Mynewt. But if there will be good docs for flashing FreeRTOS using Raspberry Pi, I'll follow you.

Thanks!

from pinetime-rust-mynewt.

lupyuen avatar lupyuen commented on June 15, 2024

Yep I'm hoping to help JF fill in the missing docs for FreeRTOS... If you could let me know what's missing, I'll work on them. Thanks!

from pinetime-rust-mynewt.

lupyuen avatar lupyuen commented on June 15, 2024

Fixed

from pinetime-rust-mynewt.

Related Issues (15)

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.