Ignore:
Timestamp:
Jun 22, 2021, 9:00:19 PM (3 years ago)
Author:
coas-nagasima
Message:

WolfSSLとAzure IoT SDKを更新

Location:
azure_iot_hub_f767zi/trunk/asp_baseplatform
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/files/stdfile.c

    r457 r464  
    364364 *  unlink - remove file
    365365 */
    366 bool_t unlink(const char *path)
     366int unlink(const char *path)
    367367{
    368368  StorageDevice_t *psdev;
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/addons/ipv6_static_routing/README

    r457 r464  
    1 A simple routing table implementation for addition, deletion and lookup of IPv6 routes.ツ
     1A simple routing table implementation for addition, deletion and lookup of IPv6 routes. 
    22
    33APIs are:
    441) s8_t ip6_add_route_entry(struct ip6_prefix *ip6_prefix,
    5 ï¾‚ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ struct netif *netif,
    6 ï¾‚ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ip6_addr_t *gateway,
    7 ï¾‚ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ ツ s8_t *index);
     5                            struct netif *netif,
     6                            ip6_addr_t *gateway,
     7                            s8_t *index);
    88
    992) err_t ip6_remove_route_entry(struct ip6_prefix *ip6_prefix);
     
    17176) struct ip6_route_entry *ip6_get_route_table(void);
    1818
    19 For route lookup from the table, TheツLWIP_HOOK_IP6_ROUTE hook in ip6_route(..) of ip6.c
     19For route lookup from the table, The LWIP_HOOK_IP6_ROUTE hook in ip6_route(..) of ip6.c
    2020could be assigned to the ip6_static_route() API of this implementation to return the
    2121appropriate netif.
    2222
    23 -- The application can add routes using the API ip6_add_route_entry(..).ツ
    24 ï¾‚ ツThis API adds the ip6 prefix route into the static route table while
    25 ï¾‚ ツkeeping all entries sorted in decreasing order of prefix length.
    26 ï¾‚ ツSubsequently, a linear search down the list can be performed to retrieve a
    27 ï¾‚ ツmatching route entry for a Longest Prefix Match.
    28 ï¾‚ ツThe prefix length is expected to be at an 8-bit boundary. While this isツ
    29 ï¾‚ ツa limitation, it would serve most practical purposes.
     23-- The application can add routes using the API ip6_add_route_entry(..). 
     24   This API adds the ip6 prefix route into the static route table while
     25   keeping all entries sorted in decreasing order of prefix length.
     26   Subsequently, a linear search down the list can be performed to retrieve a
     27   matching route entry for a Longest Prefix Match.
     28   The prefix length is expected to be at an 8-bit boundary. While this is 
     29   a limitation, it would serve most practical purposes.
    3030
    3131-- The application can remove routes using the API ip6_remove_route_entry(..).
    3232
    33 -- The application can find a route entry for a specific address using theツ
    34 ï¾‚ ツip6_find_route_entry() function which returns the index of the found entry.ツ
    35 ï¾‚ ツThis is used internally by the route lookup function ip6_static_route() API.
     33-- The application can find a route entry for a specific address using the 
     34   ip6_find_route_entry() function which returns the index of the found entry. 
     35   This is used internally by the route lookup function ip6_static_route() API.
    3636
    37 -- To fetch the gateway IPv6 address for a specific destination IPv6ツ
    38 ï¾‚ ツaddress and target netif, the application can call ip6_get_gateway(..).
     37-- To fetch the gateway IPv6 address for a specific destination IPv6 
     38   address and target netif, the application can call ip6_get_gateway(..).
    3939   This API could be assigned to the LWIP_HOOK_ND6_GET_GW() if a gateway has
    4040   been added as part of the ip6_add_route_entry().
    4141
    42 -- To fetch a pointer to the head of the table, the application can callツ
    43 ï¾‚ ツip6_get_route_table().
     42-- To fetch a pointer to the head of the table, the application can call 
     43   ip6_get_route_table().
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/lwip-2.1.2/src/include/netif/ppp/ipv6cp.h

    r457 r464  
    4545    Jean-Luc.Richier@imag.fr, IMAG-LSR.
    4646
    47     Ce travail a テゥtテゥ fait au sein du GIE DYADE (Groupement d'Intテゥrテェt
    48     テ営onomique ayant pour membres BULL S.A. et l'INRIA).
     47    Ce travail a été fait au sein du GIE DYADE (Groupement d'Intérêt
     48    Économique ayant pour membres BULL S.A. et l'INRIA).
    4949
    5050    Ce logiciel informatique est disponible aux conditions
    51     usuelles dans la recherche, c'est-テ-dire qu'il peut
    52     テェtre utilisテゥ, copiテゥ, modifiテゥ, distribuテゥ テ l'unique
    53     condition que ce texte soit conservテゥ afin que
     51    usuelles dans la recherche, c'est-à-dire qu'il peut
     52    être utilisé, copié, modifié, distribué à l'unique
     53    condition que ce texte soit conservé afin que
    5454    l'origine de ce logiciel soit reconnue.
    5555
    5656    Le nom de l'Institut National de Recherche en Informatique
    5757    et en Automatique (INRIA), de l'IMAG, ou d'une personne morale
    58     ou physique ayant participテゥ テ l'テゥlaboration de ce logiciel ne peut
    59     テェtre utilisテゥ sans son accord prテゥalable explicite.
     58    ou physique ayant participé à l'élaboration de ce logiciel ne peut
     59    être utilisé sans son accord préalable explicite.
    6060
    6161    Ce logiciel est fourni tel quel sans aucune garantie,
    62     support ou responsabilitテゥ d'aucune sorte.
    63     Ce logiciel est dテゥrivテゥ de sources d'origine
     62    support ou responsabilité d'aucune sorte.
     63    Ce logiciel est dérivé de sources d'origine
    6464    "University of California at Berkeley" et
    6565    "Digital Equipment Corporation" couvertes par des copyrights.
    6666
    67     L'Institut d'Informatique et de Mathテゥmatiques Appliquテゥes de Grenoble (IMAG)
    68     est une fテゥdテゥration d'unitテゥs mixtes de recherche du CNRS, de l'Institut National
    69     Polytechnique de Grenoble et de l'Universitテゥ Joseph Fourier regroupant
    70     sept laboratoires dont le laboratoire Logiciels, Systティmes, Rテゥseaux (LSR).
     67    L'Institut d'Informatique et de Mathématiques Appliquées de Grenoble (IMAG)
     68    est une fédération d'unités mixtes de recherche du CNRS, de l'Institut National
     69    Polytechnique de Grenoble et de l'Université Joseph Fourier regroupant
     70    sept laboratoires dont le laboratoire Logiciels, Systèmes, Réseaux (LSR).
    7171
    7272    This work has been done in the context of GIE DYADE (joint R & D venture
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/lwip-2.1.2/src/netif/ppp/ipv6cp.c

    r457 r464  
    4545    Jean-Luc.Richier@imag.fr, IMAG-LSR.
    4646
    47     Ce travail a テゥtテゥ fait au sein du GIE DYADE (Groupement d'Intテゥrテェt
    48     テ営onomique ayant pour membres BULL S.A. et l'INRIA).
     47    Ce travail a été fait au sein du GIE DYADE (Groupement d'Intérêt
     48    Économique ayant pour membres BULL S.A. et l'INRIA).
    4949
    5050    Ce logiciel informatique est disponible aux conditions
    51     usuelles dans la recherche, c'est-テ-dire qu'il peut
    52     テェtre utilisテゥ, copiテゥ, modifiテゥ, distribuテゥ テ l'unique
    53     condition que ce texte soit conservテゥ afin que
     51    usuelles dans la recherche, c'est-à-dire qu'il peut
     52    être utilisé, copié, modifié, distribué à l'unique
     53    condition que ce texte soit conservé afin que
    5454    l'origine de ce logiciel soit reconnue.
    5555
    5656    Le nom de l'Institut National de Recherche en Informatique
    5757    et en Automatique (INRIA), de l'IMAG, ou d'une personne morale
    58     ou physique ayant participテゥ テ l'テゥlaboration de ce logiciel ne peut
    59     テェtre utilisテゥ sans son accord prテゥalable explicite.
     58    ou physique ayant participé à l'élaboration de ce logiciel ne peut
     59    être utilisé sans son accord préalable explicite.
    6060
    6161    Ce logiciel est fourni tel quel sans aucune garantie,
    62     support ou responsabilitテゥ d'aucune sorte.
    63     Ce logiciel est dテゥrivテゥ de sources d'origine
     62    support ou responsabilité d'aucune sorte.
     63    Ce logiciel est dérivé de sources d'origine
    6464    "University of California at Berkeley" et
    6565    "Digital Equipment Corporation" couvertes par des copyrights.
    6666
    67     L'Institut d'Informatique et de Mathテゥmatiques Appliquテゥes de Grenoble (IMAG)
    68     est une fテゥdテゥration d'unitテゥs mixtes de recherche du CNRS, de l'Institut National
    69     Polytechnique de Grenoble et de l'Universitテゥ Joseph Fourier regroupant
    70     sept laboratoires dont le laboratoire Logiciels, Systティmes, Rテゥseaux (LSR).
     67    L'Institut d'Informatique et de Mathématiques Appliquées de Grenoble (IMAG)
     68    est une fédération d'unités mixtes de recherche du CNRS, de l'Institut National
     69    Polytechnique de Grenoble et de l'Université Joseph Fourier regroupant
     70    sept laboratoires dont le laboratoire Logiciels, Systèmes, Réseaux (LSR).
    7171
    7272    This work has been done in the context of GIE DYADE (joint R & D venture
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/pdic/stm32f7xx/clock.c

    r457 r464  
    209209                arg1 = atoix(argv[1]);
    210210        if(argc > 2)
    211                 timedate.tm_mon = atoix(argv[2]) - 1;
    212         else
    213                 timedate.tm_mon = 0;
     211                timedate.tm_mon = atoix(argv[2]);
     212        else
     213                timedate.tm_mon = 1;
    214214        if(argc > 3)
    215215                timedate.tm_mday = atoix(argv[3]);
    216216        else
    217217                timedate.tm_mday = 1;
    218         printf("%04d/%02d/%02d\n", arg1, timedate.tm_mon + 1, timedate.tm_mday);
    219         timedate.tm_year = arg1 - 1900;
     218        printf("%04d/%02d/%02d\n", arg1, timedate.tm_mon, timedate.tm_mday);
     219        timedate.tm_year = arg1-1900;
    220220        timedate.tm_isdst = 0;
    221221        mktime((struct tm *)&timedate);
     
    291291        }
    292292        mktime(&timedate);
    293         printf("  %04d/%02d/%02d yday[%d]\n", timedate.tm_year+1900, timedate.tm_mon+1, timedate.tm_mday, timedate.tm_yday);
     293        printf("  %04d/%02d/%02d yday[%d]\n", timedate.tm_year+1900, timedate.tm_mon, timedate.tm_mday, timedate.tm_yday);
    294294        printf("    %02d:%02d:%02d wday[%d]\n", timedate.tm_hour, timedate.tm_min, timedate.tm_sec, timedate.tm_wday);
    295295        return 0;
  • azure_iot_hub_f767zi/trunk/asp_baseplatform/pdic/stm32f7xx/device.c

    r457 r464  
    11581158        SVC_PERROR(wai_sem(RTCSEM));
    11591159
    1160         datetmp = (((uint32_t)byte2bcd(pt->tm_year - 30) << 16) |
    1161                                 ((uint32_t)byte2bcd(pt->tm_mon) << 8) |
     1160        datetmp = (((uint32_t)byte2bcd(pt->tm_year) << 16) |
     1161                                ((uint32_t)byte2bcd(pt->tm_mon + 1) << 8) |
    11621162                                ((uint32_t)byte2bcd(pt->tm_mday)) |
    11631163                                ((uint32_t)pt->tm_wday << 13));
     
    12441244         */
    12451245        datetmp = sil_rew_mem((uint32_t *)(TADR_RTC_BASE+TOFF_RTC_DR)) & RTC_DR_RESERVED_MASK;
    1246         pt->tm_year = (uint8_t)bcd2byte((uint8_t)((datetmp & (RTC_DR_YT | RTC_DR_YU)) >> 16)) + 30;
    1247         pt->tm_mon = (uint8_t)bcd2byte((uint8_t)((datetmp & (RTC_DR_MT | RTC_DR_MU)) >> 8));
     1246        pt->tm_year = (uint8_t)bcd2byte((uint8_t)((datetmp & (RTC_DR_YT | RTC_DR_YU)) >> 16));
     1247        pt->tm_mon = (uint8_t)bcd2byte((uint8_t)((datetmp & (RTC_DR_MT | RTC_DR_MU)) >> 8)) - 1;
    12481248        pt->tm_mday = (uint8_t)bcd2byte((uint8_t)(datetmp & (RTC_DR_DT | RTC_DR_DU)));
    12491249        pt->tm_wday = (uint8_t)((datetmp & (RTC_DR_WDU)) >> 13);
Note: See TracChangeset for help on using the changeset viewer.