public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
@ 2011-11-16 21:47 ` bugzilla-daemon
  2011-11-16 22:21 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-16 21:47 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecos-patches@ecos.sourcewar
                   |                            |e.org
          Component|HAL                         |Patches and contributions
         AssignedTo|ilijak@siva.com.mk          |unassigned@bugs.ecos.source
                   |                            |ware.org

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
  2011-11-16 21:47 ` [Bug 1001388] Convenience macros for manipulating GPIO pins bugzilla-daemon
@ 2011-11-16 22:21 ` bugzilla-daemon
  2011-11-17 18:33 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-16 22:21 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1432|                            |assignment?
               Flag|                            |

--- Comment #1 from Ilija Kocho <ilijak@siva.com.mk> 2011-11-16 22:21:11 GMT ---
(From update of attachment 1432)
Hello Tomas

Thank you for your contribution. I find your macros convenient indeed and
useful addition to Kinetis support.

But before we can commit the code to the eCos repository we shall need your
copyright assignment. You can find information regarding copyright assignment,
the reasons and procedure, at http://ecos.sourceware.org/assign.html .

Copyright assignment process is a time consuming process, but in parallel we
can proceed with code review and prepare the code for immediate inclusion when
copyright assignment is ready. Please inform me when you send copyright
assignment so I would start the review.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
  2011-11-16 21:47 ` [Bug 1001388] Convenience macros for manipulating GPIO pins bugzilla-daemon
  2011-11-16 22:21 ` bugzilla-daemon
@ 2011-11-17 18:33 ` bugzilla-daemon
  2011-11-26 10:57 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-17 18:33 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #2 from Tomas Frydrych <tf+bugs.ecos@r-finger.com> 2011-11-17 18:33:15 GMT ---
OK, I have started the copyright assignment process.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (2 preceding siblings ...)
  2011-11-17 18:33 ` bugzilla-daemon
@ 2011-11-26 10:57 ` bugzilla-daemon
  2011-11-29 13:52 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-26 10:57 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #3 from Ilija Kocho <ilijak@siva.com.mk> 2011-11-26 10:57:18 GMT ---
Tomas

There's not much gain by abbreviation /*_PT?_P/ vs /*_PORT?_P/.
IMO, in general and when possible, it would be convenient if names resemble the
ones used in Kinetis RM: such as CLEAR (vs UNSET).

FYI, you can find some convenient general macros for bit manipulation and
masking in arch/current/include/hal/io /BIT_(), MASK_(), VALUE_()/

Having these macros, the set would be (more) complete with addition of macros
for configuring of port bits /pddr/.

For future (to do) we may consider complementary inline functions with pointer
to a port as first argument.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (3 preceding siblings ...)
  2011-11-26 10:57 ` bugzilla-daemon
@ 2011-11-29 13:52 ` bugzilla-daemon
  2011-11-29 16:38 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-29 13:52 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #4 from Tomas Frydrych <tf+bugs.ecos@r-finger.com> 2011-11-29 13:51:46 GMT ---
(In reply to comment #3)
Thanks Ilija,

> There's not much gain by abbreviation /*_PT?_P/ vs /*_PORT?_P/

I used the PT? because much of the kinetis rm refers to the registers as PTA,
etc., but PORTA will be clear enough I think.

> Having these macros, the set would be (more) complete with addition of macros
> for configuring of port bits /pddr/.

Ok, I shall add that.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (4 preceding siblings ...)
  2011-11-29 13:52 ` bugzilla-daemon
@ 2011-11-29 16:38 ` bugzilla-daemon
  2011-12-01 15:50 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-11-29 16:38 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Tomas Frydrych <tf+bugs.ecos@r-finger.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1432|assignment?                 |
               Flag|                            |
   Attachment #1432|0                           |1
        is obsolete|                            |

--- Comment #5 from Tomas Frydrych <tf+bugs.ecos@r-finger.com> 2011-11-29 16:37:45 GMT ---
Created an attachment (id=1440)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1440)
patch, take 2

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (5 preceding siblings ...)
  2011-11-29 16:38 ` bugzilla-daemon
@ 2011-12-01 15:50 ` bugzilla-daemon
  2011-12-01 15:52 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-01 15:50 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #6 from Ilija Kocho <ilijak@siva.com.mk> 2011-12-01 15:50:34 GMT ---
(In reply to comment #5)
> Created an attachment (id=1440)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1440) [details]
> patch, take 2

Thank you for update. I think now it fits.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (6 preceding siblings ...)
  2011-12-01 15:50 ` bugzilla-daemon
@ 2011-12-01 15:52 ` bugzilla-daemon
  2011-12-10 23:55 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-01 15:52 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |1001397

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (7 preceding siblings ...)
  2011-12-01 15:52 ` bugzilla-daemon
@ 2011-12-10 23:55 ` bugzilla-daemon
  2011-12-20 16:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-10 23:55 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1440|                            |assignment+
               Flag|                            |

--- Comment #7 from Jonathan Larmour <jifl@ecoscentric.com> 2011-12-10 23:54:42 GMT ---
(From update of attachment 1440)
The copyright assignment is complete.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (8 preceding siblings ...)
  2011-12-10 23:55 ` bugzilla-daemon
@ 2011-12-20 16:34 ` bugzilla-daemon
  2011-12-20 16:42 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-20 16:34 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #8 from Ilija Kocho <ilijak@siva.com.mk> 2011-12-20 16:33:56 GMT ---
Hi Tomas

I have tested the macros, and they seem to work as they should.

However, I have one little remark:CYGHWR_HAL_KINETIS_GPIO_SET_CLEAR() sounds
little-bit ambiguous. I wander if we could use something like
CYGHWR_HAL_KINETIS_GPIO_PUT() (like puts() or putchar()) or
CYGHWR_HAL_KINETIS_GPIO_OUT() or could you propose something else? (You don't
have to submit new patch, i can apply changes on my working copy).

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (9 preceding siblings ...)
  2011-12-20 16:34 ` bugzilla-daemon
@ 2011-12-20 16:42 ` bugzilla-daemon
  2011-12-21  8:10 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-20 16:42 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #9 from Tomas Frydrych <tf+bugs.ecos@r-finger.com> 2011-12-20 16:42:36 GMT ---
(In reply to comment #8)
> However, I have one little remark:CYGHWR_HAL_KINETIS_GPIO_SET_CLEAR() sounds
> little-bit ambiguous. I wander if we could use something like

CYGHWR_HAL_KINETIS_GPIO_PUT() sounds good to me.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (10 preceding siblings ...)
  2011-12-20 16:42 ` bugzilla-daemon
@ 2011-12-21  8:10 ` bugzilla-daemon
  2011-12-25 13:55 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-21  8:10 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1440|0                           |1
        is obsolete|                            |

--- Comment #10 from Ilija Kocho <ilijak@siva.com.mk> 2011-12-21 08:10:25 GMT ---
Created an attachment (id=1474)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1474)
Kinetis GPIO macros 111220

(In reply to comment #9)
> (In reply to comment #8)
> > However, I have one little remark:CYGHWR_HAL_KINETIS_GPIO_SET_CLEAR() sounds
> > little-bit ambiguous. I wander if we could use something like
> 
> CYGHWR_HAL_KINETIS_GPIO_PUT() sounds good to me.

Thank you Tomas, changes applied.

Here I submit the updated patch for final review. I plan to commit it in 2 days
if there are no additional remarks.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (11 preceding siblings ...)
  2011-12-21  8:10 ` bugzilla-daemon
@ 2011-12-25 13:55 ` bugzilla-daemon
  2012-01-01 21:13 ` bugzilla-daemon
  2012-02-12 19:11 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2011-12-25 13:55 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

--- Comment #11 from Ilija Kocho <ilijak@siva.com.mk> 2011-12-25 13:55:05 GMT ---
Now checked in.
Thank you for the contribution Tomas.
Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (12 preceding siblings ...)
  2011-12-25 13:55 ` bugzilla-daemon
@ 2012-01-01 21:13 ` bugzilla-daemon
  2012-02-12 19:11 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-01-01 21:13 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |CURRENTRELEASE

--- Comment #12 from Ilija Kocho <ilijak@siva.com.mk> 2012-01-01 21:12:30 GMT ---
Checked in.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001388] Convenience macros for manipulating GPIO pins
       [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
                   ` (13 preceding siblings ...)
  2012-01-01 21:13 ` bugzilla-daemon
@ 2012-02-12 19:11 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-02-12 19:11 UTC (permalink / raw)
  To: ecos-patches

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001388

Tomas Frydrych <tf+bugs.ecos@r-finger.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|1001397                     |

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-02-12 19:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-1001388-104@http.bugs.ecos.sourceware.org/>
2011-11-16 21:47 ` [Bug 1001388] Convenience macros for manipulating GPIO pins bugzilla-daemon
2011-11-16 22:21 ` bugzilla-daemon
2011-11-17 18:33 ` bugzilla-daemon
2011-11-26 10:57 ` bugzilla-daemon
2011-11-29 13:52 ` bugzilla-daemon
2011-11-29 16:38 ` bugzilla-daemon
2011-12-01 15:50 ` bugzilla-daemon
2011-12-01 15:52 ` bugzilla-daemon
2011-12-10 23:55 ` bugzilla-daemon
2011-12-20 16:34 ` bugzilla-daemon
2011-12-20 16:42 ` bugzilla-daemon
2011-12-21  8:10 ` bugzilla-daemon
2011-12-25 13:55 ` bugzilla-daemon
2012-01-01 21:13 ` bugzilla-daemon
2012-02-12 19:11 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).