Damien George
2cf6dfa280
stmhal: Prefix includes with py/; remove need for -I../py.
10 years ago
Damien George
57c70d6073
stmhal: Move RTC HAL init functions to rtc.c, where they belong.
So can remove unnecessary stm32f4xx_hal_msp.c file.
10 years ago
Damien George
ecc88e949c
Change some parts of the core API to use mp_uint_t instead of uint/int.
Addressing issue #50 , still some way to go yet.
10 years ago
Damien George
40f3c02682
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50 .
11 years ago
Paul Sokolovsky
8139494e54
stmhal: Include mpconfig.h before all other includes.
It defines types used by all other headers.
Fixes #691 .
11 years ago
Damien George
04b7cc4df0
stmhal: Fix setting of RTC: was BCD now BIN encoded.
Addresses issue #592 .
11 years ago
Damien George
04b9147e15
Add license header to (almost) all files.
Blanket wide to all .c and .h files. Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.
Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
11 years ago
Andrew Scheller
86a9a88632
Fix incorrect fix ;)
11 years ago
Andrew Scheller
e9ff5570c3
Updated doc fix
11 years ago
Andrew Scheller
b569d690f5
RTC doc fix
11 years ago
Damien George
ffaf8be1c6
stmhal: Add example use to RTC doc; add rtc.c to gendoc.py.
11 years ago
Damien George
451f78d156
stmhal: Add documentation for RTC class.
11 years ago
Damien George
83407ad082
stmhal: Clean up rtc.c a bit.
11 years ago
Damien George
d689430e79
stmhal: Add SPI class.
Also some updates to compile with latest changes to core py.
11 years ago
Damien George
6e44381cce
stmhal: Improve RTC class; make fatfs use RTC for time stamping files.
11 years ago
Damien George
8b96af6907
stmhal: Get RTC working.
11 years ago