Commit Graph

139 Commits

Author SHA1 Message Date
c1b3f0d073 Replace rcc's bitfields with macros
Bitfields can use byte acces, which the bus doesn't permit. When that happens,
the bus adds extra bytes to form a word, modifying fields that shouldn't be.
Bitfields can be kept for debug and read, but writes must be done though masks
2023-07-05 22:23:28 +02:00
aeba78cfcc Create usart's register map 2023-05-18 13:49:53 +02:00
3b4536bea2 Upddate module documentation 2023-05-13 15:50:13 +02:00
db5180d3e7 Document afio function 2023-05-13 15:48:07 +02:00
245b9238e9 Finish exti's implementation 2023-05-13 15:42:59 +02:00
3906a79315 Implement afio's control functions 2023-05-13 15:42:38 +02:00
9052aac1b3 Create afio's register map 2023-05-13 15:42:11 +02:00
c7deded9b2 Implement exti's control functions 2023-05-13 14:17:32 +02:00
a99b4ad0de Create exti's register map 2023-05-13 14:17:03 +02:00
8dc58b6747 Add peripheral-wide reset function for gpios 2023-05-13 13:27:51 +02:00
d9170ee902 Updated module documentation 2023-05-08 21:28:30 +02:00
f0da0cd05c Fix gpio configuration mask not properly applied 2023-05-08 21:19:46 +02:00
0034dea774 Make gpio writes atomic 2023-05-08 21:03:52 +02:00
c44dc87f43 Implement gpio's control functions 2023-05-08 21:01:31 +02:00
2f40111dbb Create gpio's register map 2023-05-08 20:53:30 +02:00
16fbf892ba Fix bitwise negations using the boolean operator 2023-05-08 20:52:18 +02:00
1d8ccfdfca Fix rcc enum 2023-05-07 19:28:01 +02:00
661f4a0ae5 Implement nvic's control functions 2023-04-27 21:12:05 +02:00
691b360eb1 Create nvic's register map 2023-04-27 21:12:00 +02:00
8ff2cabeab Add cortex_m3 doc 2023-04-27 21:03:25 +02:00
c10ef4d2f1 Merge peripheral control functions
The functions are very simple and their number complicates the API more
than anything, so we better merge them
2023-03-31 23:32:43 +02:00
2d83ce9f05 Implement AHB peripherals control functions 2023-03-31 23:22:11 +02:00
2b689c4335 Cleanup repository 2023-03-31 14:18:48 +02:00
ca935a7650 Rework comments
Avoid repitions between comments and code. Additionnal usage information
can be added as header comment and additionnal technical information can
be added in the source file
2023-03-31 14:17:39 +02:00
a101f07009 Implement peripheral control functions 2023-03-31 14:04:36 +02:00
3a768d9190 Implement Flash configuration 2023-03-26 21:07:37 +02:00
7f7cb077dc Create flash register map 2023-03-24 19:05:43 +01:00
dd6d5fbdd1 Implement RCC's clock configuration
For now, flash configuration is hard-coded. This will fixed in future
commits
2023-03-22 23:30:29 +01:00
50dc10b76e Create RCC register map 2023-03-19 21:57:37 +01:00
c2aec8e9ed Rewrite linker and startup files
The files previously used were from StmCubeMx and Mbed but they contain
a lots off things that we don't need, like a heap and a space for
special debug symbols
2023-03-13 11:45:37 +01:00
d1e73a55c6 Update .gitignore 2023-02-11 21:57:21 +01:00
4a12fa7a3d Reorganize repository to be used as a library
Project was organized as an application, wich makes it less practical
to include in other projects. A template project may be added back to
make up for the missing files
2023-02-11 21:55:32 +01:00
a2c41b51b4 Merge branch '1-timer_tick_init-causes-reset' into 'master'
Resolve "timer_tick_init causes reset"

Closes #1

See merge request Steins7/stm32f1xx_HBL!1
2021-08-13 08:35:35 +00:00
f9113fc410 Recovered clean project
* improved Makefile
* fixed openocd script
- removed uneeded file
* minor cosmetic tweaks
2021-08-11 11:15:48 +02:00
de28e1e8c5 Update issue templates 2020-03-16 20:12:18 -04:00
fd7289a718 Merge branch 'dev' 2020-03-16 19:56:41 -04:00
904f92b6f7 Fixed dynamic allocation not working
* changed Mbed linker script for ST's
+ added small dynamic allocation test
2020-03-16 19:50:21 -04:00
c7ad1d1add First working system
based on the work done previously in https://github.com/Steins7/FanMonitor
2020-02-25 19:54:23 -05:00
159904dfd4
Initial commit 2020-02-25 19:28:20 -05:00