Commit Graph

9 Commits

Author SHA1 Message Date
Eric Wild 3761545fcf usb serial number descriptor
Change-Id: I4a23682cee0849c788e5f6c611df4ed1f1cac3da
2021-06-30 08:16:43 +00:00
Kevin Redon 5538ea8530 minox: use RAM address define instead of hardcoded value
Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
2019-02-15 10:10:38 +01:00
Kevin Redon 6794b97e21 fix DFU magic address and linker script
using the address specified in the linker script leads to a large
output binary (as large as the address specified.
instead the address is now specified in the source file.

Change-Id: I69ad101593e903b74084f179cfc97fccccdfa5a3
2019-02-15 10:08:39 +01:00
Kevin Redon b842918d16 set initial DFU state to ERROR if application is corrupt
as specified in DFU standard

Change-Id: Icd503a2d19f829eb43a83c28b526b73d595640f0
2019-02-14 18:59:39 +01:00
Kevin Redon 45554d71f9 add force DFU using magic value
if the string "DFU!" is found at the beginning of the RAM (e.g. as
written by the main application during USB detach), the DFU
bootloader will be started.

Change-Id: I298e3697c06d352a6e0f47266097844c490e1722
2019-02-14 18:45:20 +01:00
Kevin Redon 5fcc4ac54a add specific board support, including sysmoOCTSIM
the board specific definitions should be coded when particular
environment variable/marco is defined.
this macro name is provided by the makefile in the BOARD variable.
this allows to compile the bootloader for specific devices.
see README for more information.
the board definition for the sysmoOCTSIM is also added.

Change-Id: Ie51a3af7c77ba76ac40570b871f31fd527fb255b
2019-02-14 17:21:14 +01:00
Kevin Redon e49a3dbeba add button to force DFU bootloader
Change-Id: I163ab2de0fcbe13532c1992f6b78d49f4cda2d88
2019-01-16 18:41:23 +01:00
Kevin Redon 388dac3f87 start application if valid at boot
if the application is not valid, check and start the bootloader

Change-Id: I323f2b3a1828d3e40a02c7fc755d07009fb43a85
2019-01-16 18:41:23 +01:00
Kevin Redon efd55db9cc add USB DFU description
uses the USB CDC ACM example code as template to create a USB DFU
description according to USB DFU specification version 1.1

USB DFU stack is under LGPLv2.1 or later license

Change-Id: I7bd6cb46b734ffe8a51f2de7083b4f9e76d385e6
2019-01-16 18:39:41 +01:00