From commits-return-10040-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Fri May 22 16:25:51 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 05DE618057A for ; Fri, 22 May 2020 18:25:50 +0200 (CEST) Received: (qmail 81701 invoked by uid 500); 22 May 2020 16:25:50 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 81691 invoked by uid 99); 22 May 2020 16:25:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2020 16:25:50 +0000 From: =?utf-8?q?GitBox?= To: commits@nuttx.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-nuttx=5D_hartmannathan_commented_on_a_ch?= =?utf-8?q?ange_in_pull_request_=231051=3A_=5BDO_NOT_MERGE=5D_Add_support_fo?= =?utf-8?q?r_STM32G474_family?= Message-ID: <159016475022.19379.11966784390721169903.asfpy@gitbox.apache.org> Date: Fri, 22 May 2020 16:25:50 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: In-Reply-To: hartmannathan commented on a change in pull request #1051: URL: https://github.com/apache/incubator-nuttx/pull/1051#discussion_r429340575 ########## File path: arch/arm/include/stm32/stm32g47xxx_irq.h ########## @@ -0,0 +1,204 @@ +/**************************************************************************************************** + * arch/arm/include/stm32/stm32g47xxx_irq.h + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************************************/ + +/* This file should never be included directly but, rather, only indirectly + * through nuttx/irq.h + */ + +#ifndef __ARCH_ARM_INCLUDE_STM32_STM32G47XXX_IRQ_H +#define __ARCH_ARM_INCLUDE_STM32_STM32G47XXX_IRQ_H + +/**************************************************************************************************** + * Included Files + ****************************************************************************************************/ + +#include +#include + +/**************************************************************************************************** + * Pre-processor Definitions + ****************************************************************************************************/ + +/* IRQ numbers. The IRQ numbers correspond to the vector numbers and hence + * map directly to bits in the NVIC. This does, however, waste several words + * of memory in the IRQ to handle mapping tables. + * + * Processor Exceptions (vectors 0-15) are common to all STM32 parts are are + * found in nuttx/arch/arm/include/stm32/irq.h. They are not repeated here. + * + * Other interrupts (vectors >= 16) are defined below. + */ + +#define STM32_IRQ_WWDG (STM32_IRQ_FIRST+0) /* 0: Window Watchdog interrupt */ Review comment: I went ahead and fixed operator spacing. All binary operators are surrounded by a single space per the coding standard. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org