all: Use the name MicroPython consistently in comments

There were several different spellings of MicroPython present in comments,
when there should be only one.
pull/3080/merge
Alexander Steffen 2017-06-30 09:22:17 +02:00 zatwierdzone przez Damien George
rodzic bbced3b4bb
commit 55f33240f3
433 zmienionych plików z 504 dodań i 504 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
#include <stdint.h> #include <stdint.h>
// options to control how Micro Python is built // options to control how MicroPython is built
#define MICROPY_QSTR_BYTES_IN_HASH (1) #define MICROPY_QSTR_BYTES_IN_HASH (1)
#define MICROPY_ALLOC_PATH_MAX (512) #define MICROPY_ALLOC_PATH_MAX (512)

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -37,7 +37,7 @@ ENTRY(ResetISR)
SECTIONS SECTIONS
{ {
/* place the FreeRTOS heap (the micropython stack will live here) */ /* place the FreeRTOS heap (the MicroPython stack will live here) */
.rtos_heap (NOLOAD) : .rtos_heap (NOLOAD) :
{ {
. = ALIGN(8); . = ALIGN(8);
@ -83,7 +83,7 @@ SECTIONS
} > SRAM } > SRAM
/* place here functions that are only called during boot up, */ /* place here functions that are only called during boot up, */
/* that way, we can re-use this area for the micropython heap */ /* that way, we can re-use this area for the MicroPython heap */
.boot : .boot :
{ {
. = ALIGN(8); . = ALIGN(8);
@ -93,7 +93,7 @@ SECTIONS
_eboot = .; _eboot = .;
} > SRAM } > SRAM
/* allocate the micropython heap */ /* allocate the MicroPython heap */
.heap : .heap :
{ {
. = ALIGN(8); . = ALIGN(8);

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -143,7 +143,7 @@ void mp_irq_handler (mp_obj_t self_in) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC mp_obj_t mp_irq_init (mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { STATIC mp_obj_t mp_irq_init (mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
mp_irq_obj_t *self = pos_args[0]; mp_irq_obj_t *self = pos_args[0];

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -72,7 +72,7 @@ extern OsiTaskHandle xSimpleLinkSpawnTaskHndl;
/// ///
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings; // MicroPython bindings;
STATIC mp_obj_t machine_reset(void) { STATIC mp_obj_t machine_reset(void) {
// disable wlan // disable wlan

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -44,7 +44,7 @@
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC const mp_map_elem_t mp_module_binascii_globals_table[] = { STATIC const mp_map_elem_t mp_module_binascii_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(MP_QSTR_ubinascii) }, { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(MP_QSTR_ubinascii) },

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -117,7 +117,7 @@ STATIC mp_obj_t hash_read (mp_obj_t self_in) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
/// \classmethod \constructor([data[, block_size]]) /// \classmethod \constructor([data[, block_size]])
/// initial data must be given if block_size wants to be passed /// initial data must be given if block_size wants to be passed

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -78,7 +78,7 @@ void osmount_unmount_all (void) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
// //
STATIC const qstr os_uname_info_fields[] = { STATIC const qstr os_uname_info_fields[] = {

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -57,7 +57,7 @@ typedef struct _mp_obj_ssl_socket_t {
STATIC const mp_obj_type_t ssl_socket_type; STATIC const mp_obj_type_t ssl_socket_type;
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings; SSL class // MicroPython bindings; SSL class
// ssl sockets inherit from normal socket, so we take its // ssl sockets inherit from normal socket, so we take its
// locals and stream methods // locals and stream methods

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -51,7 +51,7 @@
/// and for sleeping. /// and for sleeping.
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
/// \function localtime([secs]) /// \function localtime([secs])
/// Convert a time expressed in seconds since Jan 1, 2000 into an 8-tuple which /// Convert a time expressed in seconds since Jan 1, 2000 into an 8-tuple which

Wyświetl plik

@ -5,7 +5,7 @@
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC mp_obj_t mod_wipy_heartbeat (mp_uint_t n_args, const mp_obj_t *args) { STATIC mp_obj_t mod_wipy_heartbeat (mp_uint_t n_args, const mp_obj_t *args) {
if (n_args) { if (n_args) {

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -763,7 +763,7 @@ STATIC bool wlan_scan_result_is_unique (const mp_obj_list_t *nets, _u8 *bssid) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings; WLAN class // MicroPython bindings; WLAN class
/// \class WLAN - WiFi driver /// \class WLAN - WiFi driver

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -126,7 +126,7 @@ STATIC void pyb_adc_deinit_all_channels (void) {
} }
/******************************************************************************/ /******************************************************************************/
/* Micro Python bindings : adc object */ /* MicroPython bindings : adc object */
STATIC void adc_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { STATIC void adc_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_adc_obj_t *self = self_in; pyb_adc_obj_t *self = self_in;

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -281,7 +281,7 @@ STATIC void pyb_i2c_readmem_into (mp_arg_val_t *args, vstr_t *vstr) {
} }
/******************************************************************************/ /******************************************************************************/
/* Micro Python bindings */ /* MicroPython bindings */
/******************************************************************************/ /******************************************************************************/
STATIC void pyb_i2c_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { STATIC void pyb_i2c_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_i2c_obj_t *self = self_in; pyb_i2c_obj_t *self = self_in;

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -519,7 +519,7 @@ STATIC void EXTI_Handler(uint port) {
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC const mp_arg_t pin_init_args[] = { STATIC const mp_arg_t pin_init_args[] = {
{ MP_QSTR_mode, MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} }, { MP_QSTR_mode, MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL} },

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -278,7 +278,7 @@ STATIC void rtc_msec_add (uint16_t msecs_1, uint32_t *secs, uint16_t *msecs_2) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC const mp_arg_t pyb_rtc_init_args[] = { STATIC const mp_arg_t pyb_rtc_init_args[] = {
{ MP_QSTR_id, MP_ARG_INT, {.u_int = 0} }, { MP_QSTR_id, MP_ARG_INT, {.u_int = 0} },

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -118,7 +118,7 @@ STATIC mp_obj_t pyb_sd_init_helper (pybsd_obj_t *self, const mp_arg_val_t *args)
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
// //
STATIC const mp_arg_t pyb_sd_init_args[] = { STATIC const mp_arg_t pyb_sd_init_args[] = {

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -144,7 +144,7 @@ STATIC void pybspi_transfer (pyb_spi_obj_t *self, const char *txdata, char *rxda
} }
/******************************************************************************/ /******************************************************************************/
/* Micro Python bindings */ /* MicroPython bindings */
/******************************************************************************/ /******************************************************************************/
STATIC void pyb_spi_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { STATIC void pyb_spi_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_spi_obj_t *self = self_in; pyb_spi_obj_t *self = self_in;

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -264,7 +264,7 @@ STATIC void timer_channel_init (pyb_timer_channel_obj_t *ch) {
} }
/******************************************************************************/ /******************************************************************************/
/* Micro Python bindings */ /* MicroPython bindings */
STATIC void pyb_timer_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { STATIC void pyb_timer_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_timer_obj_t *tim = self_in; pyb_timer_obj_t *tim = self_in;

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -311,7 +311,7 @@ STATIC int uart_irq_flags (mp_obj_t self_in) {
} }
/******************************************************************************/ /******************************************************************************/
/* Micro Python bindings */ /* MicroPython bindings */
STATIC void pyb_uart_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) { STATIC void pyb_uart_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_uart_obj_t *self = self_in; pyb_uart_obj_t *self = self_in;

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -87,7 +87,7 @@ void pybwdt_sl_alive (void) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings // MicroPython bindings
STATIC const mp_arg_t pyb_wdt_init_args[] = { STATIC const mp_arg_t pyb_wdt_init_args[] = {
{ MP_QSTR_id, MP_ARG_OBJ, {.u_obj = mp_const_none} }, { MP_QSTR_id, MP_ARG_OBJ, {.u_obj = mp_const_none} },

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -32,7 +32,7 @@
#include "semphr.h" #include "semphr.h"
#endif #endif
// options to control how Micro Python is built // options to control how MicroPython is built
#define MICROPY_ALLOC_PATH_MAX (128) #define MICROPY_ALLOC_PATH_MAX (128)
#define MICROPY_PERSISTENT_CODE_LOAD (1) #define MICROPY_PERSISTENT_CODE_LOAD (1)

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *
@ -67,7 +67,7 @@ STATIC uint32_t lfsr (uint32_t input) {
} }
/******************************************************************************/ /******************************************************************************/
// Micro Python bindings; // MicroPython bindings;
STATIC mp_obj_t machine_rng_get(void) { STATIC mp_obj_t machine_rng_get(void) {
return mp_obj_new_int(rng_get()); return mp_obj_new_int(rng_get());

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,4 +1,4 @@
"""NRF24L01 driver for Micro Python """NRF24L01 driver for MicroPython
""" """
from micropython import const from micropython import const

Wyświetl plik

@ -1,5 +1,5 @@
""" """
Micro Python driver for SD cards using SPI bus. MicroPython driver for SD cards using SPI bus.
Requires an SPI bus and a CS pin. Provides readblocks and writeblocks Requires an SPI bus and a CS pin. Provides readblocks and writeblocks
methods so the device can be mounted as a filesystem. methods so the device can be mounted as a filesystem.

Wyświetl plik

@ -1,6 +1,6 @@
This is the driver for the WIZnet5x00 series of Ethernet controllers. This is the driver for the WIZnet5x00 series of Ethernet controllers.
Adapted for Micro Python. Adapted for MicroPython.
Original source: https://github.com/Wiznet/W5500_EVB/tree/master/ioLibrary Original source: https://github.com/Wiznet/W5500_EVB/tree/master/ioLibrary
Taken on: 30 August 2014 Taken on: 30 August 2014

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -28,7 +28,7 @@
/* /*
Wrapper to setup HSPI/SPI GPIO pins and default SPI clock Wrapper to setup HSPI/SPI GPIO pins and default SPI clock
spi_no - SPI (0) or HSPI (1) spi_no - SPI (0) or HSPI (1)
Not used in Micropython. Not used in MicroPython.
*/ */
void spi_init(uint8_t spi_no) { void spi_init(uint8_t spi_no) {
spi_init_gpio(spi_no, SPI_CLK_USE_DIV); spi_init_gpio(spi_no, SPI_CLK_USE_DIV);
@ -48,7 +48,7 @@ Configures SPI mode parameters for clock edge and clock polarity.
(1) Data is valid on clock trailing edge (1) Data is valid on clock trailing edge
spi_cpol - (0) Clock is low when inactive spi_cpol - (0) Clock is low when inactive
(1) Clock is high when inactive (1) Clock is high when inactive
For Micropython this version is different from original. For MicroPython this version is different from original.
*/ */
void spi_mode(uint8_t spi_no, uint8_t spi_cpha, uint8_t spi_cpol) { void spi_mode(uint8_t spi_no, uint8_t spi_cpha, uint8_t spi_cpol) {
if (spi_cpol) { if (spi_cpol) {
@ -99,7 +99,7 @@ void spi_init_gpio(uint8_t spi_no, uint8_t sysclk_as_spiclk) {
// GPIO14 is HSPI CLK pin (Clock) // GPIO14 is HSPI CLK pin (Clock)
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTMS_U, 2); PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTMS_U, 2);
// GPIO15 is HSPI CS pin (Chip Select / Slave Select) // GPIO15 is HSPI CS pin (Chip Select / Slave Select)
// In Micropython, we are handling CS ourself in drivers. // In MicroPython, we are handling CS ourself in drivers.
// PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, 2); // PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, 2);
} }
} }

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Wyświetl plik

@ -1,5 +1,5 @@
/* /*
* This file is part of the Micro Python project, http://micropython.org/ * This file is part of the MicroPython project, http://micropython.org/
* *
* The MIT License (MIT) * The MIT License (MIT)
* *

Some files were not shown because too many files have changed in this diff Show More