summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-01-10Add make and CI rules for building apps .mpy filesFrancesco Gazzetta
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2021-06-03Makefile: Create .zip distributions as well as a tarballDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-12-04Makefile: Allow specific tests to be runDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-12-04simulator: Introduce fully automatic testintDaniel Thompson
Currently the tests do little more than fire up the simulator and switch into (and out of) the built in applications. However this is useful and allows us to fully integrate as a CI job. Unfortunately the numpy warning from pysdl2 mean we have been forced to disable all warnings to prevent pytest from collecting and reporting them. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-07Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-11-07reloader: Add support for newer PineTime factory firmwareDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06Makefile: Avoid grabbing lots of pointless submodulesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-21Makefile: Remove one of the lists of watch modelsDaniel Thompson
Takes us down from three to two... getting better! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-21Makefile: Add a dist rule to generate binary releasesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15Makefile: Fix the BOARDless targetsDaniel Thompson
Currently boardless targets including softdevice, sudmodules and sim cannot be run unless a dummy value of BOARD is supplied. Fix this by distinguishing between conditional and unconditional expansions of the BOARD variable. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-02Makefile: Seperate the builds by boardDaniel Thompson
wasp-os is starting to developer proper support for multiple boards (currently other boards such as nitrogen and ds-d6 test builds and proof-of-concept stuff) then we need to start placing binaries for each device into seperate directories (other wise creating a binary distro won't work). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-02Makefile: Clean up empty redirected file on failureDaniel Thompson
If the preprocessor fails for any reason then an empty or partially processed watch.py file is created which will satisfy the dependency checks in any later invocation of make which can silently break the build. Cleaning up on failure prevents this from happening. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-26Makefile: Allow installation via DaFlasherDaniel Thompson
Generate a .zip file that works with SoftDevice 2.0.1 (still looking for the recipe that works with 5.0), fix up the bootloader to work with DaFlasher and add an extra feature in micropython to cope better. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-07-07simulator: Provide a special main.py for the simulatorDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-23Makefile: Fix builds when watch.py must be regeneratedDaniel Thompson
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-20Makefile: Fix make sim (allow BOARD to be unset)Daniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-17Update preprocess to use $(BOARD)Steveis
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-11Makefile: Delete stale bootloader binariesDaniel Thompson
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-09wasp: apps: Step counter applicationDaniel Thompson
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-05-11docs: Introduce the Application Writer's Guide.Daniel Thompson
2020-05-09reloader: Integrate into the main build systemDaniel Thompson
2020-05-09Makefile: Match command line arguments with latest version of pyOCDDaniel Thompson
2020-04-26reloader: OTA flashing tool for wasp-osDaniel Thompson
2020-04-11wasp: Automatically generate watch.py for PineTimeDaniel Thompson
This should ensure that main.py is always up to date.
2020-02-24docs: Add .nojeykyll for better github compatiblityDaniel Thompson
2020-02-22docs: Use sphinx to gather together all the wasp docsDaniel Thompson
2020-02-09micropython: Enable filesystem supportDaniel Thompson
2020-02-01Makefile: Allow BOARD to come from the environmentDaniel Thompson
2020-01-31wasp: simulator: First steps towards a simulatorDaniel Thompson
Currently this just traces SPI activity from the ST7789 driver but its a good baseline to start building up test functions from.
2020-01-30wasp: Reorganise the board supportDaniel Thompson
2020-01-30Makefile: Forcible remove frozen contentDaniel Thompson
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-28Makefile: Shortcut to help update the bootloader using BMPDaniel Thompson
2020-01-28Makefile: Switch to FROZEN_MANIFESTDaniel Thompson
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-21wasp: st7789: Add a simple proof-of-concept display driverDaniel Thompson
2020-01-20Makefile: Switch to pyocd for flashingDaniel Thompson
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-20Makefile: Add shortcut to download the softdevice binaryDaniel Thompson
2020-01-20Makefile: Try an experimental bootloader dist packageDaniel Thompson
This doesn't work for OTA at present.
2020-01-20Makefile: Get user to supply BOARD= and job countDaniel Thompson
2020-01-14Initial revisionDaniel Thompson
This is a just a rather hacky combined build environment.