Wykres commitów

949 Commity (c06a7737bd13556d9a4e22862766e152a1a9f37e)

Autor SHA1 Wiadomość Data
Jerry Jacobs 654187507d Merge pull request #463 from nekromant/fix-deb-pkg
CMakeLists.txt: Fix linker command in generated .pc file
2016-09-14 16:38:19 +02:00
Andrew Andrianov 77df02bf92 CMakeLists.txt: Fix linker command in generated .pc file
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-09-14 16:55:06 +03:00
Jerry Jacobs 3fd0f09978 Remove hacky st-term (which needed special undocumented firmware from https://github.com/nekromant/antares/tree/master/src/lib/stlinky ) as we now have arm semihosting with a well defined interface 2016-09-08 15:43:27 +02:00
Jerry Jacobs 1d19a84b5f Update README.md
Add jenkins.ncrmnt.org build badge status
2016-09-08 15:25:24 +02:00
Jerry Jacobs cc1cb00d73 Fix variable shadow warnings (brk, signal). Disable redundant-decl flag on OpenBSD 2016-09-08 17:07:09 +02:00
Jerry Jacobs bd5dd33223 tests: Enable make test with CTest using add_test. Remove unnecessary library building for st-flash arg parser 2016-09-08 16:32:32 +02:00
Jerry Jacobs 4ad75ead78 cmake/modules/FindLibUSB.cmake: Use correct FindLibUSB.cmake 2016-09-08 14:31:08 +02:00
Jerry Jacobs fca819f8f9 cmake/modules/FindLibUSB.cmake: Fix build on FreeBSD 2016-09-08 16:16:39 +02:00
Jerry Jacobs b5bbf3d0b0 Merge pull request #444 from nekromant/master
RFC: Build libstlink shared library, add debian packaging
2016-09-07 21:02:30 +02:00
texane 9154f68525 Merge pull request #460 from hexotic/add_memory_map_for_stm32f401xe
Add memory map for stm32f401xe
2016-09-07 12:38:49 +02:00
Christophe Levantis 1cffc453c5 Add memory map for stm32f401xe
Trying to load a elf image on a stm32f401xe can result in a problem
of flash write if a section does not start on a flash sector because
the memory map given to gdb was wrong.
2016-09-07 11:11:45 +01:00
fabien.lementec 21c970f139 warning, add FLASH_OPTS_INITIALIZER 2016-09-07 07:06:43 +02:00
texane 66bdad30ea Merge pull request #459 from dev26th/master
Support of Intel-HEX format for st-flash
2016-09-07 07:04:37 +02:00
Anatoli 6c80b8c6b6 add write ihex to RAM 2016-09-06 23:09:41 +02:00
Anatoli 7c99eb0503 re-desing of command line parsing for st-flash; unit-tests for it; implement read into ihex; 2016-09-06 22:56:54 +02:00
Anatoli c37848583b Implement parser of ihex 2016-09-06 00:04:59 +02:00
Andrew Andrianov a35cc23525 CMakeLists.txt: Add shared library build and debian packaging
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-09-02 23:00:33 +03:00
texane 1ca526ca4d Merge pull request #456 from zulusw/master
Fix memory map for STM32F7xxx
2016-08-15 21:40:13 +02:00
Andrea Mucignat 1118f8ed49 Fix memory map for STM32F
Also:
- fixed a typo in an if statement condition in make_memory_map
- cleaned up usage of '4096' in favor of const size_t sz = 4096.
2016-08-15 11:15:24 -07:00
texane 28dc5c9990 Merge pull request #455 from Fabien-Chouteau/semihosting
Improve ARM semi-hosting support
2016-08-12 17:01:48 +02:00
Fabien Chouteau 3a1ab6e3e0 Improve ARM semi-hosting support
This patch adds the following operations:

 - SYS_OPEN
 - SYS_CLOSE
 - SYS_WRITE
 - SYS_READ
 - SYS_ERRNO
 - SYS_REMOVE
 - SYS_SEEK

The use of utility functions mem_read() and mem_write() add an
unnecessary memcpy() call. All buffer transfer could be done directly in
the sl->q_buf data instead of using a temporary transfer buffer.
However, given the relative slowness of target memory transfer, I don't
think that this has a big impact on performances
2016-08-12 15:59:46 +02:00
texane 1eb3c71917 Merge pull request #454 from Fabien-Chouteau/semihosting
Prototype of ARM semihosting support
2016-08-10 19:51:10 +02:00
Fabien Chouteau d0910c66d7 Prototype of ARM semihosting support 2016-08-10 17:28:11 +02:00
fabien.lementec 1f938b239d add STM32F769NI to working targets 2016-08-10 12:16:38 +02:00
texane 431b6116df Merge pull request #452 from Fabien-Chouteau/unhexify
Unhexify GDB monitor commands (qRcmd)
2016-08-09 18:50:56 +02:00
Fabien Chouteau 1f3aa3c648 Unhexify GDB monitor commands (qRcmd)
It improves readability and will allow parsing of more complex monitor
commands.
2016-08-09 17:35:12 +02:00
Jerry Jacobs 8fadfa918f Merge pull request #430 from andyg24/stop_mode_fix
Do a JTAG reset prior to reading CPU information, fixes #428 and #451.
2016-08-07 14:38:36 +02:00
Jerry Jacobs ee2681eceb Update README.md
Remove appveyor build badge
2016-08-03 20:59:21 +02:00
Jerry Jacobs a17b4079ca Reorganise aux files, add sg test to CMakeLists 2016-08-03 20:28:32 +02:00
Jerry Jacobs c3e208efba Merge pull request #434 from texane/deprecate_autotools
Deprecate autotools and fix versioning, build with MinGW
2016-08-03 20:10:47 +02:00
Jerry Jacobs 9aac78d184 Deprecate autotools 2016-08-03 20:02:50 +02:00
Jerry Jacobs 57cf59a869 cmake: Add proper detection of sys/mman.h. Fixes #450
Signed-off-by: Jerry Jacobs <jerry.jacobs@dualinventive.com>
2016-08-03 11:04:20 +02:00
texane df1522b7db Merge pull request #447 from toniokroeger/patch-1
Update udev path in README
2016-07-22 19:20:55 +02:00
toniokroeger cb7533394a Update udev path in README 2016-07-22 18:53:15 +02:00
texane 9ff2a460b0 Merge pull request #445 from lambourg/master
Fix gdb and flash support for the STM32F769I-Disco board.
2016-07-19 11:13:31 +02:00
Jerome Lambourg 3de5a54727 Fix gdb and flash support for the STM32F769I-Disco board. 2016-07-19 10:46:40 +02:00
texane 96554d9b9c Merge pull request #442 from bitdump/bug-fix-stm32f030-erase-error
Fix an erase error in stm32f030 device.
2016-06-25 08:03:36 +02:00
Chris c61f160d69 Fix an erase error in stm32f030 device.
I run into flashing error with stm32f030. With some
debugging I find out that the mass erase bit was dropped
when flash programming bit already set on FLASH_CR.
This cause erase and write error with my stm32f030
board.

Mass erase never need the programming bit. Turn off the
programming bit make stlink flash stm32f030 successfully.
2016-06-25 13:50:12 +08:00
texane 4341d635c3 Merge pull request #441 from dflogeras/stlinkv1_fix_f4
Fix a regression introduced in 71535104.
2016-06-22 07:24:03 +02:00
Dave Flogeras 471e7bbbd1 Fix a regression introduced in 71535104.
Since STLINK V1 cannot read voltage, and attempting to do so breaks the
USB communications, this patch will revert the behaviour to just blindly
doing 32-bit writes on these programmers.
2016-06-21 19:31:50 -03:00
texane 72fbf6a2c8 Fix zu missing on Windows toolchains. Use unsigned int casts instead. 2016-06-20 20:36:51 +02:00
Jerry Jacobs 3f7d0f9df3 Merge pull request #436 from texane/support_stm32f7x7x
Support stm32f7x7x, fixes #433
2016-06-18 20:24:58 +02:00
Jerry Jacobs 5a06869797 Add flash loader core id and chipid for STM32F767ZI with nucleo-144 2016-06-18 19:53:31 +02:00
Jerry Jacobs dfeb5a4e6f flash_loader.c: Add STLINK_CHIPID_STM32_F7XXXX 2016-06-18 19:40:27 +02:00
Jerry Jacobs 2563f43965 TravisCI: Revert clang cmake build for linux 2016-06-18 09:49:39 +02:00
Jerry Jacobs 1c04e4f546 TravisCI: Disable clang 3.8 builds (disabled apt repo), remove autotools 2016-06-18 09:46:54 +02:00
Jerry Jacobs 3daa3f15cc Initial support for STM32F7x7x, for nucleo-144, STM32F767ZI issue #433 2016-06-18 09:41:32 +02:00
Jerry Jacobs ef5101c0d4 Merge branch 'master' of github.com:texane/stlink
* 'master' of github.com:texane/stlink:
  Update README
2016-06-10 15:12:30 +02:00
Jerry Jacobs 413790067e src/usb.c: Dont crash when libusb_open fails, check return value 2016-06-10 15:12:23 +02:00
Jerry Jacobs d67d39f237 Update README
Add notice about broken stlink firmware V2.J16.S0 on STM32 L1 Discovery board
2016-06-10 14:44:30 +02:00