Update README.md

This commit is contained in:
Joe Finney 2015-09-11 16:49:19 +01:00
parent 4e0923b295
commit 2c05d96a00

View file

@ -22,7 +22,7 @@ If your install has gone correctly, and you have all dependencies installed, the
git clone https://github.com/lancaster-university/microbit
```
**Note: To successfully build this project you will need access to the microbit-dal private repository, if you need access please email me at j.devine@lancaster.ac.uk.**
**Note: To successfully build this project you will need access to the microbit-dal private repository, if you need access please email me at joe@comp.lancs.ac.uk.**
### 3. Try to build
Building rarely works first time due to dependencies currently not being installed by Yotta, so the next step is to **try** to build.
@ -48,19 +48,6 @@ Then you should **try** to build using the following command:
yt build
```
For GCC, you will have to swap the CortexContextSwitch.s file with the file CortexContextSwitch.s.gcc which will be located in `/yotta_modules/microbit-dal/source`. For an example of how to do this, look below:
```
#first rename the existing one
mv yotta_modules/microbit-dal/source/CortexContextSwitch.s yotta_modules/microbit-dal/source/CortexContextSwitch.s.armcc
#then rename gcc version so that it is included by cmake
mv yotta_modules/microbit-dal/source/CortexContextSwitch.s.gcc yotta_modules/microbit-dal/source/CortexContextSwitch.s
```
This is a temporary measure until Yotta supports assembly preprocessing for armcc.
**NOTE:
To build the final hex files for the micro:bit, you will need to install the srec which can be installed via brew (`brew install srecord`), or you can install it manually from [here](http://srecord.sourceforge.net/).**