Harald Welte
c6e482d581
qmod eeprom/i2c: Re-start watchdog while slow bit-banging
2017-03-05 16:24:29 +01:00
Harald Welte
2363fa0327
Generate USB Strings from apps/*/usb_strings.txt files at compile time
...
This way we can skip the manually-crafted USB string definitions in the
dfu_desc.c and usb.c files.
2017-03-05 10:16:25 +01:00
Harald Welte
ee9ebb30da
stdio: Increase max string size to 512 and don't endless-loop!!
2017-03-02 16:52:08 +01:00
Harald Welte
0395bd15b3
move PLLB (for USB) initialization to board_lowlevel.c
...
This way it is present both inside the DFU loader and in the main app.
2017-02-28 01:28:56 +01:00
Harald Welte
c430ac1f2a
have local stdio.h file to avoid newlib issues
...
... we should move to -nostdinc at some point :/
2017-02-28 01:25:12 +01:00
Harald Welte
32852bc1d9
DFU: towards a more complete implementation
...
* we now actually route the EP0 control requests in DFU mode to the
correct handler (weak linker symbols are tricky)
* we now actually call code to read/write data from/to RAM/FLASH
2017-02-28 01:10:23 +01:00
Harald Welte
37b6e41f84
move last few files from src_board / include_board
2017-02-27 23:20:38 +01:00
Harald Welte
96e62a4664
stdio.c: fix compiler warning
2017-02-27 23:05:15 +01:00
Harald Welte
d09829dcc6
Remove newlib dependency, include own stdio/string/assert
2017-02-27 23:00:26 +01:00
Harald Welte
d8a003dfd7
Structure build system to build for multiple boards/apps/environments
2017-02-27 22:18:45 +01:00
Harald Welte
3f5e3ddffc
Change directory structure to align with Atmel softpack
...
This way we can easily check with 'diff' for differences in our code and
Atmel softpack. Also, this layout is more suitable for building various
different firmware images (e.g. factory-test, dfu-loader, main
application) for a variety of different boards (simtrace, owhw, qmod).
2017-02-27 14:24:11 +01:00