Philippe Teuwen
b703bb746b
Adapting license headers, WIP
2022-01-06 02:20:38 +01:00
Philippe Teuwen
cb8d589fc4
armsrc: clarify static vars vs global vars, part 3
2020-05-19 18:12:40 +02:00
Philippe Teuwen
026707b960
arm: fix prototypes
2020-05-11 13:48:57 +02:00
Philippe Teuwen
d19754567d
summer restructuring:
...
* .h include only the strict minimum for their own parsing
* this forces all files to include explicitment their needs and not count on far streched dependencies
* this helps Makefile to rebuild only the minimum
* according to this rule, most standalone .h are now gone
* big app.h is gone
* remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
* bring zlib to common/
* bring stuff not really/not yet used in common back to armsrc/ or client/
* bring liblua into client/
* bring uart into client/
* move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
* treat deps in armsrc/ as in client/
* client: stop on warning (-Werror), same as for armsrc/
Tested on:
* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
8b3159c83d
Use more defines when using main clock or master clock
2019-08-06 13:40:08 +02:00
cjbrigato
5c3676ad81
ADD: Early SPIFFS implementation see #257 , UPDATE HF_COLIN accordingly
2019-07-22 22:56:06 +02:00
Philippe Teuwen
2209a0c00d
BUSY_TIMEOUT for mem wipe was too short, thanks @cjbrigato
2019-07-15 01:13:11 +02:00
iceman1001
a988c8ffef
chg: hw status - now prints number of dictionary keys loaded. Dont print if zero/default empty 0xffff
2019-05-14 14:57:56 -04:00
Philippe Teuwen
9d261adfb1
Reduce BUSY_TIMEOUT and handles FPC/FLASH FW more gracefully on non-RDV4 pm3
2019-05-01 16:48:04 +02:00
iceman1001
3ab9dbe4c6
fix styles
2019-04-07 10:52:52 +02:00
Philippe Teuwen
26eb54b965
style
2019-04-06 01:00:54 +02:00
Philippe Teuwen
1b2601a48a
Add missing EOF LF
2019-03-12 00:12:26 +01:00
Philippe Teuwen
8a7c6825b5
armsrc: fix mix of spaces & tabs
2019-03-09 20:34:41 +01:00
Chris
dc67b5d7c9
chg: revert fpga_major mode in LF.
...
chg: 'lf t55xx deviceconfig' - persistence to flashmem is now option with param P
2018-09-23 05:29:55 +02:00
Colin J. Brigato
368fe11df0
Second Pass rewrite of flashmem. added command 'mem spibaud' to switch between 24/48Mhz operation. All is more consistant, less messy. All logic rewrittent avoiding multiple flashinit/flashstop. busywait is now at it's lowest possible. Beware : 48Mhz is VERY buggy cause of sillicon bug (see source for more info), and doesn't give much more than 24Mhz for now since we doubled nearly every operation speed here.
2018-09-06 05:15:52 +02:00
Colin J. Brigato
8d673fa1bf
First pass rewrite of flashmem driver for optimization. Lot of changes here. Provides PoC of saving and recalling a tag in Standalone mode. Added some printing passthrough to client to azccomodate for vt100 eye-candyness. FastREAD mode implemented for flashmem, testable from client. Beta but functionnal. Reading the whole flash with 1Kb to 32kb buffers was ~730ms, now 380ms Max (even at 24Mhz spi baudrate)
2018-09-03 00:02:44 +02:00
iceman1001
021c0a1349
ADD: 'mem' commands. For RDV40 devices only.
...
If you don't have one, comment out inside client/Makefile this line
CFLAGS += -DWITH_FLASH
2018-05-03 12:15:03 +02:00
iceman1001
f5718fb448
chg: wiping / reading / writing flashmem
2018-04-20 16:11:10 +02:00
iceman1001
a746699f5f
chg: reading / writing flashmem works better now.
2018-04-19 00:27:44 +02:00
iceman1001
3d956e686b
chg: flashmem adaptions
2018-03-31 10:35:40 +02:00
iceman1001
fd1b86d607
ADD: flashmemory functionality for RDV40 Huge thanks to @willok !
2018-03-19 15:58:50 +01:00
iceman1001
d54c4d3e05
chg: SPI tests for flashmem on PA10. (aka pm3 evo) Peripheral B, fixed.
2018-02-20 12:03:11 +01:00
iceman1001
a21ab49f14
chg: moved flash mem config for spi into flashmem.c
...
chg: fpgasendcommand, now waits until command has been sent to fpga.
2018-02-18 10:35:36 +01:00
iceman1001
103e0b5191
chg: more tests
2018-02-15 09:19:13 +01:00
iceman1001
0495e93b6d
add: flash memory support
2018-02-13 14:12:28 +01:00