Newer
Older
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
This repository contains sources for a Kicad PCB and a NuttX board support package for the board.
NuttX is a BSD licensed RTOS. This project is licensed as GPL to force code release from commercial users. For the moment it cannot be integrated into the upstream NuttX repository. The contributors to this project may change their mind later and allow relicencing to BSD for integration in the NuttX upstream repository.
The schematic and board design is released under the CERN OHL license.
Prerequisites
=============
* linux (in 2017 there are many ways to get that)
* a micro-usb cable to see the debug uart output
* a jtag/swd adapter
* a working openocd installation
* an arm-none-eabi toolchain: https://launchpad.net/gcc-arm-embedded
* to change the default configs: install kconfig-frontends
kconfig-frontends
=================
TODO, ./configure && make && make install
openocd
=======
TODO apt-get or ./configure && make && make install
Basic Build
===========
You need a working NuttX development environment:
```
$ mkdir nuttx
$ cd nuttx
$ git clone https://bitbucket.org/nuttx/nuttx
$ git clone https://bitbucket.org/nuttx/apps
$ cd nuttx/configs
$ git clone https://github.com/f4grx/hn70ap
$ cd ../..
$ tools/configure.sh hn70ap/nsh
$ make
```
This should end up with an ELF binary 'nuttx'
You then have to flash this binary on your board
This will give you a basic shell, type help to show basic commands. This can be used to validate the behaviour of the board's CPU.
Advanced build
==============
More configurations will be added later that can be used to test ethernet, spi/i2c memories, etc
To modify the nuttx options type make menuconfig and mess around.
To get useful behaviour from this board you will need to add some applications that are not developed yet.