1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

139 Commits

Author SHA1 Message Date
Hauke Petersen
56ffc5672c cpu/lpc2387: use hwtimer_compat module 2015-09-04 15:32:50 +02:00
Hauke Petersen
342d292889 cpu/lpc2387: added low-level timer implementation 2015-09-04 15:32:50 +02:00
3b94a0d497 lpc2387/msba2/avsextrem: fix doxygen warnings 2015-08-14 16:50:41 +02:00
a03ff202cf cpu: lpc2387: switch to newlib module 2015-08-14 16:50:41 +02:00
4dd63dd24e cpu: lpc2387: add periph/spi support 2015-08-14 16:50:41 +02:00
bd76626fb5 cpu: lpc2387: add periph/uart driver 2015-08-14 16:50:41 +02:00
3c5f31eb95 cpu: lpc2387: add periph/gpio imlementation 2015-08-14 16:50:41 +02:00
223ef9fe66 cpu: lpc2387: drop gpioint 2015-08-14 16:50:41 +02:00
09fb612ceb cpu: lpc2387: remove obsolete transceiver defines 2015-08-06 12:13:18 +02:00
Joakim Gebart
70d59331b8 arm7_common: Build fixes after discovering an include guard overlap 2015-07-20 12:40:32 +02:00
Joakim Gebart
7ff26d12ea cpu/arm7_common: Rename Doxygen group to cpu_arm7_common 2015-07-20 12:40:31 +02:00
Joakim Gebart
79ca190666 lpc2387: Add missing exception tables to linker script
Copied from kinetis_common
2015-05-31 09:55:49 +02:00
Joakim Gebart
c09a8484e2 cortexm: Move ldscripts into separate directory
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Hauke Petersen
a5e4b02ed8 cpu: fixed doxygen for multiple headers 2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Joakim Gebart
a595ab00af lpc2387: Replace tabs by spaces 2015-05-18 07:10:52 +02:00
Joakim Gebart
8619bdec63 lpc2387: pwm_init: return actual frequency 2015-05-16 10:17:02 +02:00
Joakim Gebart
7a84faf8bc cpu/lpc2387/linkerscript.x: Tabs->Spaces 2015-05-09 09:11:37 +02:00
Ludwig Ortmann
cf637942cc *: add missing blank lines
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Joakim Gebart
99319f4e28 [SQUASH ME] lpc2387: Add missing *(data.*) to linker script. 2015-01-07 19:10:58 +01:00
Joakim Gebart
390b8394d6 msba2: Use --gc-sections when linking.
- Add `-Wl,--gc-sections` to LDFLAGS
 - Add `-fdata-sections` and `-ffunction-sections` to CFLAGS
 - Update lpc2387 linker script to keep the isr vector and init
   sections when garbage collecting.
 - Keep .ctors and .dtors sections (similar to what binutils default
   linker script does when building for Linux targets)

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2014-12-17 11:37:58 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
849580a9c9 cpu: lpc2387: further rtc cleanup 2014-12-16 17:02:44 +01:00
Oleg Hahm
587920cc49 cpu: remove superfluous gettimeofday functions 2014-12-16 17:02:44 +01:00
Oleg Hahm
93cf446b55 rtc: cleanup of lpc2387-rtc implementation 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Oleg Hahm
17929a5ce4 cpu: lpc2387: integrated lpc_common into lpc2387
Rationale 1: The common part made only sense for (some) NXP ARM7 MCUs,
but was misleading for MCUs like the LPC1768.

Rationale 2: The common part was only used by one specific MCU
implementation - no need to outsource it.
2014-12-02 17:47:10 +01:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
Oleg Hahm
20ce2aee8b cpu: rename arm_common to arm7_common
To be more accurate with the naming and avoid confusions.
2014-11-21 20:27:19 +01:00
Oleg Hahm
39abba1bc2 licenses: fix miss-spelled & missing boiler plates 2014-11-10 18:59:55 +01:00
Hinnerk van Bruinehsen
4b68b9e547 lint: fix redundantAssignment warnings
SQUASH ME: redundantAssignment (remove FAT stuff)

SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Ludwig Ortmann
245df3f028 cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
f30ce433fc board/avsextrem, cpu/lpc2387: purge FEUERWARE_CONF_CPU_NAME 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
c006c69218 cpu/lpc2387: purge FEUERWARE_CONF_CORE_SUPPORTS_TIME 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
d42d226d66 cpu: use adc_legacy.h where appropriate 2014-10-25 17:09:22 +02:00
Hinnerk van Bruinehsen
57b998e4a1 cpu/examples/sys/drivers: reduce scope of variables 2014-09-13 19:03:40 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Ludwig Ortmann
2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Hauke Petersen
9a90eae1ba cpu: adjusted pwm driver impl for lpc2387 2014-08-07 16:14:09 +02:00
Cenk Gündoğan
5429035b1c cpu: removing tabs from asm files (#1439)
```find . -name "*.[sS]" -exec grep -l $'\t' {} \;``` and ```ack --asm -l "\t"```
revealed three more files with tabs.
2014-08-02 12:47:02 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Oleg Hahm
8890470783 Merge pull request #1514 from cgundogan/remove_tabs_cpu
converting tabs to spaces in cpu (#1439)
2014-07-31 22:58:17 +02:00
Ludwig Ortmann
5fdce06b3b doc: use lgplv2.1-short license header instead of lgplv2-short-v1 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
c40b281873 doc: use lgplv2.1-short license header instead of lgplv2-short-v3 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
3989945679 converting tabs to spaces in cpu (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:46:28 +02:00
Ludwig Ortmann
249b3085cd lpc2387: change comment style for license checker 2014-07-31 18:58:06 +02:00