1
0
Fork 0
Commit graph

25 commits

Author SHA1 Message Date
Daniel Thompson
adcc67cd61 Makefile: Fix builds when watch.py must be regenerated
The paths passed to the preprocessor are currently wrong. Fix them!

Fixes: 64afca1 ("Makefile: fix make sim (allow BOARD to be unset)")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-23 09:43:58 +01:00
Daniel Thompson
64afca1276 Makefile: Fix make sim (allow BOARD to be unset)
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-20 20:14:56 +01:00
Steveis
9eb9b74d45 Update preprocess to use $(BOARD)
The preprocess to create watch.py was hard coded for PineTime so changed to $(BOARD)
This will be required for other watches like the P8

Signed-off-by: Steve Amor <steveamor@users.noreply.github.com>
2020-06-17 18:56:20 +01:00
Daniel Thompson
7cb9f4f2eb Makefile: Delete stale bootloader binaries
Currently when the the bootloader is modified if fails to build because
the wildcard in the hex merge picks up both the old and new binaries.
Fix this by explicitly deleting the old one.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-11 21:46:04 +01:00
Daniel Thompson
ccaf12750b wasp: apps: Step counter application
Currently there's no fancy algorithms to estimate stride length. Just
pure simple step counting directly from the hardware's "intelligence
engine".

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-09 21:31:55 +01:00
Daniel Thompson
a2fd52ef2b docs: Introduce the Application Writer's Guide. 2020-05-11 21:44:30 +01:00
Daniel Thompson
945546a804 reloader: Integrate into the main build system 2020-05-09 14:09:28 +01:00
Daniel Thompson
59ae03fc67 Makefile: Match command line arguments with latest version of pyOCD 2020-05-09 14:07:32 +01:00
Daniel Thompson
dc4ea4ab62 reloader: OTA flashing tool for wasp-os 2020-04-26 19:21:28 +01:00
Daniel Thompson
50ecff29ef wasp: Automatically generate watch.py for PineTime
This should ensure that main.py is always up to date.
2020-04-11 21:12:18 +01:00
Daniel Thompson
1bfe748505 docs: Add .nojeykyll for better github compatiblity 2020-02-24 08:53:44 +00:00
Daniel Thompson
27e35527ff docs: Use sphinx to gather together all the wasp docs 2020-02-22 21:17:30 +00:00
Daniel Thompson
7734566fbe micropython: Enable filesystem support 2020-02-09 19:47:57 +00:00
Daniel Thompson
a70f82cf74 Makefile: Allow BOARD to come from the environment 2020-02-01 13:40:19 +00:00
Daniel Thompson
262d93c76c wasp: simulator: First steps towards a simulator
Currently this just traces SPI activity from the ST7789 driver but its
a good baseline to start building up test functions from.
2020-01-31 19:36:55 +00:00
Daniel Thompson
0acbcc415b wasp: Reorganise the board support 2020-01-30 22:11:31 +00:00
Daniel Thompson
ef5d805c51 Makefile: Forcible remove frozen content
The micropython build system has incomplete dependancy tracking, especially
with regard to frozen manifests. Work round this by nuking the frozen
content before attempting a build. Sure this is a hack... but much
better than developing a "make clean; make all" habit.
2020-01-30 21:45:35 +00:00
Daniel Thompson
0016ad4be7 Makefile: Shortcut to help update the bootloader using BMP 2020-01-28 21:25:17 +00:00
Daniel Thompson
0917d5135d Makefile: Switch to FROZEN_MANIFEST
This not only avoids the use of a deprecated feature but it also
makes it easier to decouple the wasp/ directory structure from
what actually gets copied to the target.
2020-01-28 18:45:27 +00:00
Daniel Thompson
2805a719f2 wasp: st7789: Add a simple proof-of-concept display driver 2020-01-21 22:10:50 +00:00
Daniel Thompson
cd1063426e Makefile: Switch to pyocd for flashing
Using the mass storage device mode on Nitrogen leaves the board in an
odd state where the bootloader cannot properly load the payload.
2020-01-20 08:09:28 +00:00
Daniel Thompson
64f1015a8d Makefile: Add shortcut to download the softdevice binary 2020-01-20 08:09:28 +00:00
Daniel Thompson
5b016dcb4e Makefile: Try an experimental bootloader dist package
This doesn't work for OTA at present.
2020-01-20 08:09:28 +00:00
Daniel Thompson
6e9cff06d5 Makefile: Get user to supply BOARD= and job count 2020-01-20 08:09:28 +00:00
Daniel Thompson
88e736c9e9 Initial revision
This is a just a rather hacky combined build environment.
2020-01-14 21:32:59 +00:00