Sebastian Huber
30be024aa4
Optional Clock_driver_support_shutdown_hardware()
...
Make Clock_driver_support_shutdown_hardware() optional. This avoids
the atexit() support on memory constrained targets.
2017-08-04 14:22:32 +02:00
Sebastian Huber
c6810c824c
bsps: Improve interrupt vector enable/disable API
...
Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code. Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.
2017-06-20 07:42:25 +02:00
Chris Johns
a748603cb4
build-system: Parallel build all subdirs.
2017-05-24 19:59:22 +10:00
Joel Sherrill
d8753abd04
lm32/shared/timer/timer.c: Include <rtems/bspIo.h>
2017-04-05 11:26:56 -05:00
Joel Sherrill
db46b5f8dc
lm32/shared/milkymist_video/video.c: Include <rtems/bspIo.h>
2017-04-05 11:26:56 -05:00
Joel Sherrill
c44de8507f
lm32/shared/milkymist_pfpu/pfpu.c: Fix indentation and braces
2017-04-05 11:26:56 -05:00
Joel Sherrill
505898f6da
lm32/shared/milkymist_timer/timer.c: Include <rtems/bspIo.h>
2017-04-05 11:26:56 -05:00
Joel Sherrill
6b5fd3a353
lm32/shared/milkymist_framebuffer/framebuffer.c: Fix indentation and braces
2017-04-05 11:26:56 -05:00
Kevin Kirspel
1c6926c11f
termios: Synchronize with latest FreeBSD headers
...
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.
Close #2897 .
2017-03-22 11:55:04 +01:00
Sebastian Huber
6a9282d9bb
Rename is_internal to always_set_to_false
...
Update #2825 .
2016-12-12 08:03:14 +01:00
Joel Sherrill
612297e813
Misc: Spell length correctly
2016-07-12 05:44:17 -05:00
Sebastian Huber
1c77a36f11
bsps: Include missing <rtems/bspIo.h>
2016-06-24 14:31:29 +02:00
Joel Sherrill
b5ebdc67dc
lm32/milkymist: Remove include of <rtems/console.h> from <bsp.h> and fix warnings
2016-03-29 13:10:50 -05:00
Joel Sherrill
4e885b3dab
lm32/lm32_evr: Remove include of <rtems/console.h> from <bsp.h> and fix warnings
2016-03-29 13:10:50 -05:00
Joel Sherrill
8dc35229d5
lm32/shared/console/console.c: Add include of <rtems/console.h> to fix warning
2016-03-29 13:10:31 -05:00
Joel Sherrill
1dee8c8408
lm32/milkymist/include/bsp.h: Do not include <rtems/clockdrv.h>
2016-03-25 10:45:17 -05:00
Joel Sherrill
366c42efb4
lm32/lm32_evr/include/bsp.h: Do not include <rtems/clockdrv.h>
2016-03-25 10:45:16 -05:00
Joel Sherrill
83a116b807
lm32/shared/.../ckinit.c: Fix typo so fast idle on simulator is enabled
2016-03-11 14:13:48 -06:00
Joel Sherrill
575883838d
lm32/lm32_evr: Add per-section compilation and linking support
...
updates #2577 .
For the milkymist BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
101160 9044 13333 123537 1e291 ticker.exe
30888 2676 9169 42733 a6ed minimum.exe
592200 90020 26557 708777 ad0a9 fileio.exe
456048 64528 42565 563141 897c5 pppd.exe
203752 25404 16241 245397 3be95 capture.exe
118216 10704 13437 142357 22c15 nsecs.exe
197848 22468 13981 234297 39339 paranoia.exe
97496 8760 13301 119557 1d305 base_sp.exe
100392 9120 17141 126653 1eebd unlimited.exe
121032 7720 13309 142061 22aed hello.exe
289340 28120 20653 338113 528c1 loopback.exe
For the milkymist BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
93464 8748 13333 115545 1c359 ticker.exe
17144 1308 9133 27585 6bc1 minimum.exe
574024 87296 26301 687621 a7e05 fileio.exe
415668 60652 41837 518157 7e80d pppd.exe
190920 24712 16233 231865 389b9 capture.exe
111800 10404 13405 135609 211b9 nsecs.exe
187272 22064 13949 223285 36835 paranoia.exe
87656 8440 13301 109397 1ab55 base_sp.exe
89048 8736 17149 114933 1c0f5 unlimited.exe
108888 7316 13309 129513 1f9e9 hello.exe
262820 26764 20557 310141 4bb7d loopback.exe
2016-03-10 18:09:16 -06:00
Joel Sherrill
f953a85ace
lm32/lm32_evr: Add per-section compilation and linking support
...
updates #2577 .
For the lm32_evr BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
195764 6892 13077 215733 34ab5 ticker.exe
84212 2264 9169 95645 1759d minimum.exe
1077108 82852 26293 1186253 1219cd fileio.exe
763500 56340 44493 864333 d304d pppd.exe
344948 22148 15977 383073 5d861 capture.exe
211876 8472 13169 233517 3902d nsecs.exe
330020 18636 13685 362341 58765 paranoia.exe
185956 6452 13053 205461 32295 base_sp.exe
194516 6656 16893 218065 353d1 unlimited.exe
202164 5400 13013 220577 35da1 hello.exe
474728 23220 20389 518337 7e8c1 loopback.exe
For the lm32_evr BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
186388 6792 13045 206225 32591 ticker.exe
53140 1124 9137 63401 f7a9 minimum.exe
1049556 80336 26045 1155937 11a361 fileio.exe
685632 55056 43757 784445 bf83d pppd.exe
323588 21400 15953 360941 581ed capture.exe
203540 8352 13137 225029 36f05 nsecs.exe
316612 18512 13653 348777 55269 paranoia.exe
172724 6352 13021 192097 2ee61 base_sp.exe
176708 6528 16837 200073 30d89 unlimited.exe
182900 5260 13021 201181 311dd hello.exe
436064 22840 20293 479197 74fdd loopback.exe
2016-03-10 18:09:08 -06:00
Sebastian Huber
ca4602e914
Use linker set for libio initialization
...
Update #2408 .
2016-02-03 10:00:57 +01:00
Sebastian Huber
2858939a2c
bsps: Delete superfluous bsp_pretasking_hook()
...
Use the bsp_predriver_hook() instead.
Update #2408 .
2015-12-10 08:32:37 +01:00
Sebastian Huber
b618d8cfc5
Add RTEMS linker sets
...
Update #2408 .
2015-12-08 09:25:22 +01:00
Joel Sherrill
9cff822a26
Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guard
...
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
2015-07-16 08:40:05 -07:00
Alexander Krutwig
75acd9e69f
bsps: Convert clock drivers to use a timecounter
...
Update #2271 .
2015-05-20 08:40:34 +02:00
Joel Sherrill
1aaf2fb736
lm32/shared/startup/bspreset.c: New file missed in previous commit
2015-04-14 15:01:53 -05:00
Joel Sherrill
45491a8804
lm32 BSPs: Add lm32_evr variant for running on gdb.
...
Lay groundwork for a simulator configuration configuration
for the Milkymist. This is needed to use the shared code.
2015-04-05 15:49:32 -05:00
Sebastian Huber
1207288022
Update bug report URL
2014-12-05 07:47:32 +01:00
Joel Sherrill
c2e32ffc7d
lm32 BSP shared and lm32_evr: Fix BSPs
2014-10-20 10:02:05 -05:00
Joel Sherrill
8566e1fce5
lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning
2014-10-19 21:14:23 -05:00
Joel Sherrill
11c1657a29
libbsp/lm32/shared: Fix warnings
2014-10-13 10:33:30 -05:00
Joel Sherrill
d6d213b5d8
lm32/shared/milkymist_clock/ckinit.c: Fix warnings
2014-10-13 10:33:28 -05:00
Joel Sherrill
60778040e4
lm32/lm32_evr/include/bsp.h: Fix warnings
2014-10-13 10:33:28 -05:00
Joel Sherrill
8fbe2e69b5
Use correct prototype of benchmark_timer_read()
...
This change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
2014-09-16 16:09:12 -05:00
Chris Johns
59990cc975
Regenerate all preinstall.am files.
...
With this patch the preinstall.am files are in a set order and not
dependent on now perl implements a hash.
2014-08-29 12:48:01 +10:00
Joel Sherrill
b597c0d60c
Regenerate all preinstall.am files.
...
Apparently, at some point automake output changed and these were
not updated.
2014-08-28 08:44:52 -05:00
Sebastian Huber
d60e760e80
bsps: Fix TLS support in linker command files
...
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
2014-04-22 09:51:17 +02:00
Joel Sherrill
0e363f4cf0
lm32_evr/include/bsp.h: Remove rtems_bsp_delay()
2014-03-21 08:55:06 -05:00
Chris Johns
c49985691f
Change all references of rtems.com to rtems.org.
2014-03-21 08:10:47 +11:00
Sebastian Huber
0b9fd991a7
bsps: Add empty cache manager
...
This is necessary to add tests that use the cache manager. For example
to get better estimates of worst-case timings.
2014-02-24 12:49:45 +01:00
Sebastian Huber
960fd8546f
bsps: Thread-local storage (TLS) for linkcmds
2014-02-04 10:06:34 +01:00
Toma
03d184d0f8
lm32_milkymist: improve doxygen
...
Add doxygen to the header files in the /lm32/milymist/include directory.
2013-12-24 17:06:33 -05:00
Toma
5b4c479572
lm32_evr: improve doxygen
...
Add doxygen to the header files in the /lm32/lm32_evr/include directory.
2013-12-24 14:37:13 -05:00
Chirayu Desai
9dc999af01
lm32: Enhance Doxygen #2
2013-12-23 12:34:54 -05:00
Chirayu Desai
c541862e73
lm32: Add doxygen
2013-12-23 12:21:32 -05:00
Sebastian Huber
d473dc0b22
bsps: Fix clock driver defines
2013-08-14 13:27:34 +02:00
Nick Withers
efdda56546
Use $(EXEEXT) [defaults to "exe"] to generate binaries
2013-08-09 09:18:23 +02:00
Sebastian Huber
88c74ab115
score: Merge tod implementation into one file
...
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
2013-07-26 11:55:47 +02:00
Sebastian Huber
311ba73f3a
framebuffer: Add and use FRAMEBUFFER_DEVICE_0_NAME
2013-06-29 15:15:49 +02:00
Sebastian Huber
e18db9f0cf
termios: Update due to API changes
...
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
2013-06-25 17:03:21 +02:00