Skip to content

Commit

Permalink
Add note in readme about disabling driver C functions
Browse files Browse the repository at this point in the history
  • Loading branch information
stecman committed Feb 10, 2018
1 parent 133560d commit 79eeeb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ Add a define to your compiler flags to select your device:
| `STM8S003` | STM8S Value Line Low density devices |
| `STM8S903` | STM8S Low density devices |

### Register-only mode

Define `NO_STDPERIPH_DRIVER` if you only care about using the registers defined in this library and none of the C functions.

Note that this causes enums from peripheral headers to also be excluded currently (eg. `TIM4_PRESCALER_256`).

## Licence

Copyright © 2015 STMicroelectronics International N.V.. All rights reserved.
Expand Down

0 comments on commit 79eeeb4

Please sign in to comment.