Comments (9)
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.
I'm very sorry about the mess... Things are in transition right now...
-
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.
-
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.
-
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.
Great, it works now!
from pinetime-rust-mynewt.
Great thanks! I have updated my docs
from pinetime-rust-mynewt.
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.
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.
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.
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.
Fixed
from pinetime-rust-mynewt.
Related Issues (15)
- install-pi.sh stops on non-existent path HOT 4
- build-app.sh is missing some libraries HOT 2
- Missing file target/nrf52.cfg HOT 4
- MCUBoot built by GitHub Actions doesn't boot HOT 1
- Send bootloader version to application HOT 3
- Bootloader does not start properly after a watchdog reset/incoherent SPI state HOT 15
- Tickle Watchdog to prevent reboot after 7 seconds HOT 3
- Firmware to update MCUBoot Bootloader HOT 10
- [FR] OTA istallation HOT 1
- Higher consumption on nRF52832 when boot from mcuboot HOT 12
- Build failes on Build Rust app HOT 2
- Bluetooth adapter is not available
- Broken build
- How to activate bluetooth on pinetime after flashing mynewt HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinetime-rust-mynewt.