42 Commits

Author SHA1 Message Date
Gabriel Wang
89994da1b6
Update .gitignore 2021-11-04 22:36:45 +00:00
Gabriel Wang
344d0151dc
Delete gen_pack.sh 2021-11-04 22:36:27 +00:00
Gabriel Wang
c82d313161 update URL 2021-11-04 22:34:41 +00:00
Gabriel Wang
f971f5b93a add first cmsis-pack 2021-11-04 22:29:18 +00:00
Gabriel Wang
b8a83dce0c minor project update 2021-11-04 20:08:38 +00:00
Gabriel Wang
1d36f59b1c Update main.c 2021-11-04 20:08:16 +00:00
Gabriel Wang
8891625cf4 Update systick_wrapper_gcc.s 2021-10-29 00:12:40 +01:00
Gabriel Wang
c7d7567b17 improve support for IAR 2021-10-29 00:10:53 +01:00
Gabriel Wang
20054b434b add license to lib folder 2021-07-27 16:09:45 +01:00
Gabriel Wang
c6e1dc813e update gcc_example project 2021-07-25 01:07:29 +01:00
Gabriel Wang
b1d3088eb1 code clean up 2021-07-20 00:08:26 +01:00
Gabriel Wang
ae5afb0ca1 minor update 2021-07-20 00:05:17 +01:00
Gabriel Wang
5483710769 Add a dedicated library for gcc 2021-07-19 23:55:51 +01:00
Gabriel Wang
a77a131b33 Update main.c 2021-06-19 16:29:18 +01:00
Gabriel Wang
4ae1b3202c fix issue #1
now you can use delay_us with start_perf_counter() and stop_perf_counter.
2021-06-08 11:21:18 +01:00
Gabriel Wang
4864c033b0 minor improvement 2021-06-07 16:30:39 +01:00
Gabriel Wang
1f10f986fa minor update
- Fix support for GCC
- update safe_atom_code() and __IRQ_SAFE for the latest version of CMSIS
2021-05-24 22:41:58 +01:00
Gabriel Wang
189090d936 minor update example 2021-03-30 10:02:46 +01:00
Gabriel Wang
9c080b0c01 fix typo in a comment 2021-03-24 15:21:15 +00:00
Gabriel Wang
d3ecc136d1 Major update
- introduce get_system_ticks()
- rework on __cycleof__
- update other macros to support gcc extension: ({;;;;})
- update example
2021-03-24 14:44:46 +00:00
Gabriel Wang
04712e54d8 use the longest period during the initialization if the systick is not occupied by user applications 2021-03-24 11:20:23 +00:00
Gabriel Wang
f06324c00d resolve potential conflicts among macro definitions 2021-03-24 11:17:28 +00:00
Gabriel Wang
f9a27d4ba0 update example coding style 2021-03-24 11:04:52 +00:00
Gabriel Wang
ffbdc8e296 remove duplicated macro safe_atom_code() 2021-03-24 10:51:39 +00:00
Gabriel Wang
c2aa5423c6 remove definition of _ which conflicts with other libraries, e.g. PLOOC 2021-03-24 10:49:06 +00:00
Gabriel Wang
7c35545e07 remove wrong dependency 2021-02-08 18:41:49 +00:00
Gabriel Wang
312b9e1d4c add compenstation (tested in Cortex-M3) to delay_us 2021-01-14 13:53:08 +00:00
Gabriel Wang
e8f3f02300 add compenstation, PERF_CNT_DELAY_US_COMPENSATION, to delay_us 2021-01-14 12:49:23 +00:00
Gabriel Wang
e14804538f add dedicated configuration for arm compiler 5(armcc) 2021-01-12 14:11:20 +00:00
Gabriel Wang
56d1c4a850 remove unnecessary VTOR write access in system_ARMCM3.c 2021-01-12 13:40:47 +00:00
Gabriel Wang
097f387bf9 minor update 2021-01-11 20:14:33 +00:00
Gabriel Wang
233e006869 update comments 2021-01-11 20:09:09 +00:00
Gabriel Wang
85f8d573b1 update some indent 2021-01-11 18:59:02 +00:00
Gabriel Wang
2e465bc4c2 found some racing condition and fixed them
- fixed the racing condition
- introduce a minimal systick LOAD restriction
- add some comments
2021-01-11 18:50:02 +00:00
Gabriel Wang
6ec7874669 fix the issue when long time delay (>1 s), delay_us might have 25% accumulative error 2021-01-11 10:52:55 +00:00
Gabriel Wang
4fb5635605 support all cortex-m processors (including M0/M0+) 2021-01-09 21:08:09 +00:00
Gabriel Wang
30337b59f9 add comments for how to use clock() 2021-01-09 13:51:30 +00:00
Gabriel Wang
fe200fb545 Update example.uvoptx 2021-01-09 13:23:05 +00:00
Gabriel Wang
5447aba229 update ignore list 2021-01-09 13:21:57 +00:00
Gabriel Wang
8b0ee08ee2 clean up the license info 2021-01-09 13:18:39 +00:00
Gabriel Wang
ffe8ad3fca
upload content 2021-01-09 13:10:37 +00:00
Gabriel Wang
bc1f3edcbe
Initial commit 2021-01-09 13:03:56 +00:00