smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
42830d2308
Merge pull request #6916 from gebart/pr/cortexm3-bitband
...
cpu: Add bit manipulation macros for Cortex-M
2017-06-21 12:47:41 +02:00
Joakim Nohlgård
54b68844e0
Merge pull request #7165 from mfrey/kinetis-uart
...
kinetis: Use 9 bit UART config for 8E1, 8O1 modes
2017-06-13 09:04:04 +02:00
Francisco Acosta
5f0b8e5b80
Merge pull request #6978 from gebart/pr/kinetis-mcg
...
kinetis: MCG improvements
2017-06-12 23:27:39 +02:00
Michael Frey
282dafdd25
kinetis: Use 9 bit UART config for 8E1, 8O1 modes
2017-06-11 18:34:27 +02:00
Joakim Nohlgård
a63c0a84a6
kinetis: Use bit.h functions
2017-06-09 05:19:13 +02:00
Joakim Nohlgård
7548c509e6
Merge pull request #7101 from haukepetersen/opt_kinetis_rmsymlinks
...
cpu/kinetis: prevent use of symlinks for ld-scripts
2017-06-01 06:35:43 +02:00
Joakim Nohlgård
8efb714edd
kinetis/mcg: Use {} for empty while loops
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
5c34eb4e2c
kinetis: Add support for low-end MCG without PLL
...
Found in Kinetis L series, among others
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
a8450f2952
kinetis: Simplify MCG state traversal algorithm
...
The new implementation uses a precalculated map of which mode to switch
to next if going from mode A to mode B. This simplifies the
implementation for moving between modes which are not direct neighbors.
See mcg.h documentation for a diagram of the state machine for the
clocking modes. Also found in the CPU reference manual of all Kinetis
CPUs, MCG chapter, MCG mode state diagram.
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
f9ed160fe2
cpu/kinetis_common: Add state graph to MCG documentation
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
f6073c0aa4
Merge pull request #6993 from gebart/pr/kinetis-isr
...
kinetis: Unify default ISR definitions
2017-05-30 08:48:50 +02:00
Hauke Petersen
9b7ece6827
cpu/kinetis: prevent use of symlinks for ld-scripts
...
The use of symbolic links leads to trouble in certain environments
(e.g. vagrant under Win). This PR gets rid of symlinks and uses
variables in the Makefiles to map to the correct linkerscripts
instead.
2017-05-26 16:07:48 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
867b09c224
cpu/kinetis: make UART mode configurable per board
2017-05-24 14:48:49 +02:00
3d48eee095
cleanup: apply remove_atoi_casts.cocci (coccinelle)
2017-05-13 12:39:48 +02:00
Joakim Nohlgård
e618e6dfb4
kinetis: Unify default ISR definitions
2017-05-02 10:52:43 +02:00
Martine Lenders
0cc15955f6
Merge pull request #6958 from haukepetersen/fix_kinetis_uart
...
cpu/kintis+boards: fixed UART configuration
2017-04-25 17:22:45 +02:00
Hauke Petersen
9dabbddb2f
cpu/kintis+boards: fixed UART configuration
2017-04-25 14:27:33 +02:00
Martine Lenders
38f383c68d
Merge pull request #6703 from OlegHahm/cppcheck_fixes
...
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
Oleg Hahm
242cd6290a
cpu: kinetis: suppress incorrect cppcheck warning
2017-04-14 14:36:16 +02:00
Joakim Nohlgård
12c9004a82
kinetis: Add ldscripts for various memory layouts
2017-04-13 14:42:19 +02:00
Joakim Nohlgård
a107a416cf
kinetis: Refactor UART driver
2017-04-09 17:21:38 +02:00
Joakim Nohlgård
6cda6a6560
periph/cpuid: Unify implementations to a common driver for several platforms
2017-04-05 09:03:49 +02:00
Hauke Petersen
5c7ed2228d
pm_layerd: fix initial value for PM_BLOCKER_INITIAL
...
the current value was a debugging left-over and should
actually be 0.
2017-03-28 19:32:32 +02:00
Joakim Nohlgård
d73e6872ba
kinetis: Refactor interrupt vector definition
...
... to match the vector definition in other Cortex-M platforms
2017-03-24 15:01:20 +01:00
Vincent Dupont
f656a31e58
cpu/cortexm_common: use linker variable to initialize SCB->VTOR
2017-03-17 18:07:22 +01:00
Hauke Petersen
8064bd9fa9
periph/pwm: remove pwm_(start|stop) + doc
...
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Hauke Petersen
5bdb3bfa61
misc: aggregated doxygen fixes
2017-01-25 16:46:46 +01:00
Hauke Petersen
5880d0edda
cpu/kinetis+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b7109bd564
cpu/kinetis_common: added SPI scaler calc tool
2017-01-25 16:46:05 +01:00
3e49d0c8c6
Merge pull request #6434 from aabadie/petersen_typo
...
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa
cpu: fix typo in author email
2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Hauke Petersen
2c5a9a5cbf
cpu/kinetis: unified PM implementation
2017-01-18 14:54:16 +01:00
47f6ff3056
Merge pull request #6237 from kaspar030/rename_AD_to_Q
...
make: rename AD to Q
2017-01-17 16:16:02 +01:00
Joakim Nohlgård
45c8bc47e8
kinetis_common: Fix -Wsign-compare in gpio.c
2017-01-16 08:55:08 +01:00
662bec002a
cpu: k60: add periph/pm support
2017-01-12 16:26:02 +01:00
Peter Kietzmann
280a200377
Merge pull request #6230 from haukepetersen/opt_kinetis_pwm
...
cpu/kinetis: reworked PWM driver implementation
2017-01-12 10:16:31 +01:00
Hauke Petersen
c062bf71b9
Merge pull request #6177 from gebart/pr/kinetis-adc-clock-scaler-fix
...
kinetis: Fix ADC clock computation
2017-01-05 14:08:00 +01:00
Hauke Petersen
d1db190f83
cpu/kinetis_common: reworked PWM driver
2017-01-05 10:55:15 +01:00
Joakim Nohlgård
c2ccc1bfa0
kinetis: Fix ADC clock computation
...
The ADC prescaler computation was broken and gave too high ADC clock for
module clocks slower than 32 MHz (the >32 MHz case is already handled
separately)
2016-12-27 17:10:25 +01:00
f44763f346
make: adapt Makefiles to AD -> Q rename
2016-12-22 12:12:38 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
560a509036
make: remove trailing slash from BINDIR variable
2016-10-18 23:27:59 +02:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Joakim Nohlgård
1a2b2575fb
kinetis: Add stddef, stdint missing includes for gpio.c
2016-09-29 15:47:53 +02:00