Skip to content
Snippets Groups Projects
markus's avatar
markus authored
commit a9c3712ca591b56248f9934493e6946c503ec395
Author: Markus <markus@muc.ccc.de>
Date:   Sat Aug 24 01:29:03 2019 +0000

    Code formatting

commit b69c586cd2c535cf480c2b45ebad4900c6d637e1
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 23:15:15 2019 +0000

    Remove unused variable

commit a83ff3c0ea8028957361df2a9949bd66530a1e3c
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 23:06:04 2019 +0000

    Make time setting more appealing

commit 469815237b8e8a8c6588d1c76ed02cff1e4f2a85
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 23:01:25 2019 +0000

    Add wait time to loop

commit 6b58b587c0fb147c5b794285c27b4d0a84d0bd8a
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 22:56:40 2019 +0000

    Give user time to release button

commit 823c00a72712c9e4a98b0103ab7736cab581e2c5
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 22:44:48 2019 +0000

    Add option to set time

commit 927d3057bcb90118a16a0b35f573ae753f8a4cd9
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 22:44:25 2019 +0000

    Remove obsolete lines

commit e2dbfe81e36b9c6f7f214da361ad0be4d518cd77
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 21:37:42 2019 +0000

    Model localtime as parameter to update function

commit ad560d6c5067044a21c5bfaa6d9feb2eaca66228
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 21:29:09 2019 +0000

    Remove obsolete drawImage()

commit 018f911b63e53738cc9e08aa83fb8e21786c5a44
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 21:28:04 2019 +0000

    Fix button_pressed

commit d9b5e26a3b0a50c25caa2c4636b4c33d79b9eb65
Author: Markus <markus@muc.ccc.de>
Date:   Fri Aug 23 21:17:19 2019 +0000

    Remove obsolete Time dummy class
1dec8387
History

card10 Firmware Readme

Firmware for the card10 badge for the Chaos Communication Camp 2019.

We keep documentation in the Documentation/ subdirectory. You can find a rendered version over at https://firmware.card10.badge.events.ccc.de/.

How To Help

If you want to help us ensure the card10 will have been exactly as we reconstructed from the audio-logs we recovered, please head over to our wiki, or directly to the issue tracker.

How To Build

A full guide for building is available in the docs as How To Build.

Last Artifacts from Gitlab-CI: pipeline status

How To Flash

Flasing with or without a debugger is described in detail in How To Flash.

Debugger

If you have a debugger, head over to our Debugger page to learn how to use it.

License

Unless otherwise noted in a file, the contents of this repository are licensed under the MIT license. See COPYING for more details.


Old README Contents:

TODO: Move over into new docs

Serial Console

Learn more about card10's Serial Console.

Bootloader

The bootloader is used to flash card10 without an external debugger. It exposes the file system via USB and accepts a card10.bin file as firmware image.

To flash the bootloader, go to the bootloader directory and follow the steps above.

To execute the bootloader, turn off card10, press the lower right button and turn on. Connect card10 via a USB cable to a computer and mount the file system. You can now copy your card10.bin file to the file system. Eject the drive (IMPORTANT!) via your operating system (umount and sync is not enough). Turn card10 off and back on again. It will try to boot the image.

IMPORTANT: The prototypes have the USB data lines reversed. Use the provided USB adapter to connect card10.

Building card10.bin

Run ./build_image. TODO: Add to meson

The tool uses Python to generate a CRC. Make sure to have python-crc16 installed.