Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit e2e8c94

Browse files
committed
Merge pull request #223 from forGGe/g222_readme_gh_pages_links_fix
Fix readme file links and build instructions
2 parents c0412bd + e4e2150 commit e2e8c94

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# theCore: C++ Embedded Framework
1+
# [theCore: C++ Embedded Framework](https://github.com/forGGe/theCore/)
22

33
[![Build Status](https://travis-ci.org/forGGe/theCore.svg?branch=master)](https://travis-ci.org/forGGe/theCore)
44
[![Join the chat at https://gitter.im/forGGe/theCore](https://badges.gitter.im/forGGe/theCore.svg)](https://gitter.im/forGGe/theCore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -10,7 +10,7 @@ The main idea of theCore is to make as much as possible in the compile time.
1010
This affects the way how the device drivers and peripherals are represented.
1111
In fact, each driver is the template class that is instantiated with all the dependencies in a distinct type by user of theCore in the compile time.
1212

13-
You can check out more directly in the code of [the SPI driver](platform/stm32/export/aux/spi_bus.hpp) or [the USART bus](platform/stm32/export/aux/usart_bus.hpp).
13+
You can check out more directly in the code of [the SPI driver](https://github.com/forGGe/theCore/blob/master/platform/stm32/export/aux/spi_bus.hpp) or [the USART bus](https://github.com/forGGe/theCore/blob/master/platform/stm32/export/aux/usart_bus.hpp).
1414

1515
The project is at the initial stage. But something is already in there:
1616
- CMake-based build-system
@@ -26,11 +26,14 @@ The project is at the initial stage. But something is already in there:
2626

2727
If you are interested in the simplest, ready-made demo project based on theCore, refer to [the blinky example project](https://github.com/forGGe/theCore-blinky).
2828

29-
You may also check [examples within theCore source tree](examples/).
29+
You may also check [examples within theCore source tree](https://github.com/forGGe/theCore/tree/master/examples).
3030

3131
In order to proceed with theCore itself, start cloning this repository:
3232
```
3333
git clone https://github.com/forGGe/theCore.git
34+
cd theCore
35+
git checkout master # Stable branch
36+
git submodule update --init --recursive
3437
```
3538

3639
When the code is received, you have to download and install all the dependencies.
@@ -46,9 +49,9 @@ nix-shell --pure
4649

4750
## Examples
4851

49-
Examples reside in the [`examples`](examples) dir. Each example contains instructions how to compile and use the example.
52+
Examples reside in the [`examples`](https://github.com/forGGe/theCore/tree/master/examples) dir. Each example contains instructions how to compile and use the example.
5053

51-
To build all examples at once you can use nix and specially crafted [superproject](examples/CMakeLists.txt).
54+
To build all examples at once you can use nix and specially crafted [superproject](https://github.com/forGGe/theCore/tree/master/examples/CMakeLists.txt).
5255
To do that, [enter the nix shell](#getting-started) and proceed as follows.
5356

5457
```bash
@@ -60,8 +63,8 @@ make
6063
```
6164

6265
Resulting binaries will be placed under corresponding directories.
63-
I.e. the [cs43l22 example](examples/cs43l22_audio) if built that way, will be placed under `build/stm32f4_cs43l22_audio-prefix/src/stm32f4_cs43l22_audio-build/` directory.
64-
You can refer to the [external project CMake documetation](https://cmake.org/cmake/help/v3.4/module/ExternalProject.html) and [the superproject CMake list file](examples/CMakeLists.txt) to figure out where binaries will be placed.
66+
I.e. the [cs43l22 example](https://github.com/forGGe/theCore/tree/master/examples/cs43l22_audio) if built that way, will be placed under `build/stm32f4_cs43l22_audio-prefix/src/stm32f4_cs43l22_audio-build/` directory.
67+
You can refer to the [external project CMake documetation](https://cmake.org/cmake/help/v3.4/module/ExternalProject.html) and [the superproject CMake list file](https://github.com/forGGe/theCore/tree/master/examples/CMakeLists.txt) to figure out where binaries will be placed.
6568
Instructions describing how to flash binary onto the device placed in the readme file inside each example.
6669

6770
## Unit tests
@@ -86,7 +89,7 @@ ctest . --output-on-failure
8689
## On-device tests
8790

8891
theCore comes with tests that can be executed on the device itself.
89-
Refer to [the theCore testing documentation](tests/README.md) to figure out how to build, use and manage on-device theCore tests.
92+
Refer to [the theCore testing documentation](https://github.com/forGGe/theCore/tree/master/tests/README.md) to figure out how to build, use and manage on-device theCore tests.
9093
To build all tests, [enter the nix shell](#getting-started) and proceed as follows:
9194

9295
```bash
@@ -101,10 +104,10 @@ make
101104

102105
| Short name | Full name | List of supported MCUs | Path in project |
103106
|-----------|------------|------------------------|-----------------|
104-
| stm32f4xx | STM32 F4 series | STM32F407VG | [stm32 multiplatform](platform/stm32) |
105-
| stm32l1xx | STM32 L1 series | STM32L152RE | [stm32 multiplatform](platform/stm32) |
106-
| tm4c | Texas Instrument TM4C |TM4C123GH6PM | [platform/tm4c](platform/tm4c) |
107-
| host | Host platform | - | [platform/host](platform/host) |
107+
| stm32f4xx | STM32 F4 series | STM32F407VG | [stm32 multiplatform](https://github.com/forGGe/theCore/tree/master/platform/stm32) |
108+
| stm32l1xx | STM32 L1 series | STM32L152RE | [stm32 multiplatform](https://github.com/forGGe/theCore/tree/master/platform/stm32) |
109+
| tm4c | Texas Instrument TM4C |TM4C123GH6PM | [platform/tm4c](https://github.com/forGGe/theCore/tree/master/platform/tm4c) |
110+
| host | Host platform | - | [platform/host](https://github.com/forGGe/theCore/tree/master/platform/host) |
108111

109112
## Documentation
110113

@@ -128,7 +131,7 @@ The project is on its very beginning, so any help is more than welcome and highl
128131
If you'd like to take a part in the project growth and (or) have any questions – feel free to email me at [email protected], leave message at [gitter](https://gitter.im/forGGe/theCore) or simply check out [a list of issues](https://github.com/forGGe/theCore/issues).
129132
If you have any suggestions on theCore improvement or just like it how it is, don’t keep silence! I’ll be happy to read your reviews.
130133

131-
When making pull requests, make sure that code conforms to [theCore code style guide](style.md).
134+
When making pull requests, make sure that code conforms to [theCore code style guide](https://github.com/forGGe/theCore/tree/master/style.md).
132135

133136
You are welcome to use theCore in your own projects.
134137
If there is something that it’s not enough for this, please let me know via email or open some issues and we will do our best to handle this ASAP.

0 commit comments

Comments
 (0)