Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
This commit is contained in:
parent
60df6170cc
commit
dd5d7c86d2
@ -244,4 +244,3 @@ void wiz_recv_ignore(uint8_t sn, uint16_t len)
|
|||||||
ptr += len;
|
ptr += len;
|
||||||
setSn_RX_RD(sn,ptr);
|
setSn_RX_RD(sn,ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,5 +8,3 @@ int __signbitd(double x)
|
|||||||
} y = { x };
|
} y = { x };
|
||||||
return y.i>>63;
|
return y.i>>63;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,4 +25,3 @@ $(BUILD)/memzip-files.c: $(shell find ${MEMZIP_DIR} -type f)
|
|||||||
@$(ECHO) "Creating $@"
|
@$(ECHO) "Creating $@"
|
||||||
$(Q)$(PYTHON) $(MAKE_MEMZIP) --zip-file $(BUILD)/memzip-files.zip --c-file $@ $(MEMZIP_DIR)
|
$(Q)$(PYTHON) $(MAKE_MEMZIP) --zip-file $(BUILD)/memzip-files.zip --c-file $@ $(MEMZIP_DIR)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename)
|
|||||||
|
|
||||||
return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);
|
return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,4 +76,3 @@ def main():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
@ -385,4 +385,3 @@ WCHAR ff_wtoupper ( /* Returns upper converted character */
|
|||||||
|
|
||||||
return chr;
|
return chr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ You can get the latest version using Git, by pulling from
|
|||||||
|
|
||||||
Patches are welcome. Patches that turn this from tinytest to hugetest
|
Patches are welcome. Patches that turn this from tinytest to hugetest
|
||||||
will not be applied. If you want a huge test framework, use CUnit.
|
will not be applied. If you want a huge test framework, use CUnit.
|
||||||
|
|
||||||
|
@ -474,4 +474,3 @@ tinytest_set_test_skipped_(void)
|
|||||||
if (cur_test_outcome==OK)
|
if (cur_test_outcome==OK)
|
||||||
cur_test_outcome = SKIP;
|
cur_test_outcome = SKIP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ CIRCUITPY_BITBANGIO = 0
|
|||||||
CIRCUITPY_FREQUENCYIO = 0
|
CIRCUITPY_FREQUENCYIO = 0
|
||||||
CIRCUITPY_I2CSLAVE = 0
|
CIRCUITPY_I2CSLAVE = 0
|
||||||
CIRCUITPY_VECTORIO = 0
|
CIRCUITPY_VECTORIO = 0
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ EXTERNAL_FLASH_DEVICES = GD25Q16C
|
|||||||
LONGINT_IMPL = MPZ
|
LONGINT_IMPL = MPZ
|
||||||
|
|
||||||
CIRCUITPY_VECTORIO = 1
|
CIRCUITPY_VECTORIO = 1
|
||||||
|
|
||||||
|
@ -18,4 +18,3 @@ CIRCUITPY_AUDIOIO = 0
|
|||||||
|
|
||||||
# Too much flash for Korean translations
|
# Too much flash for Korean translations
|
||||||
CIRCUITPY_VECTORIO = 0
|
CIRCUITPY_VECTORIO = 0
|
||||||
|
|
||||||
|
@ -23,6 +23,3 @@
|
|||||||
// Enable the use of 2 displays
|
// Enable the use of 2 displays
|
||||||
|
|
||||||
#define CIRCUITPY_DISPLAY_LIMIT (2)
|
#define CIRCUITPY_DISPLAY_LIMIT (2)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,4 +29,3 @@
|
|||||||
// USB is always used.
|
// USB is always used.
|
||||||
#define IGNORE_PIN_PA24 1
|
#define IGNORE_PIN_PA24 1
|
||||||
#define IGNORE_PIN_PA25 1
|
#define IGNORE_PIN_PA25 1
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ LONGINT_IMPL = NONE
|
|||||||
CIRCUITPY_FULL_BUILD = 0
|
CIRCUITPY_FULL_BUILD = 0
|
||||||
|
|
||||||
SUPEROPT_GC = 0
|
SUPEROPT_GC = 0
|
||||||
|
|
||||||
|
@ -37,4 +37,3 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
|
|||||||
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
|
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
|
||||||
};
|
};
|
||||||
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);
|
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);
|
||||||
|
|
||||||
|
@ -150,4 +150,3 @@ void common_hal_neopixel_write(const digitalio_digitalinout_obj_t* digitalinout,
|
|||||||
mp_hal_enable_all_interrupts();
|
mp_hal_enable_all_interrupts();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,4 +38,3 @@
|
|||||||
#define DEFAULT_UART_BUS_TX (&pin_UART2_TXD)
|
#define DEFAULT_UART_BUS_TX (&pin_UART2_TXD)
|
||||||
|
|
||||||
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
|
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
|
||||||
|
|
||||||
|
1
ports/cxd56/mkspk/.gitignore
vendored
1
ports/cxd56/mkspk/.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/mkspk
|
/mkspk
|
||||||
/mkspk.exe
|
/mkspk.exe
|
||||||
|
|
||||||
|
@ -146,4 +146,3 @@ void port_interrupt_after_ticks(uint32_t ticks) {
|
|||||||
void port_sleep_until_interrupt(void) {
|
void port_sleep_until_interrupt(void) {
|
||||||
// TODO: Implement sleep.
|
// TODO: Implement sleep.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,4 +35,3 @@ bool common_hal_get_serial_connected(void) {
|
|||||||
bool common_hal_get_serial_bytes_available(void) {
|
bool common_hal_get_serial_bytes_available(void) {
|
||||||
return (bool) serial_bytes_available();
|
return (bool) serial_bytes_available();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,4 +121,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t lba, uint32
|
|||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,4 +88,3 @@ void init_usb_hardware(void) {
|
|||||||
usb_device_stack,
|
usb_device_stack,
|
||||||
&usb_device_taskdef);
|
&usb_device_taskdef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,4 +35,3 @@ bool common_hal_get_serial_connected(void) {
|
|||||||
bool common_hal_get_serial_bytes_available(void) {
|
bool common_hal_get_serial_bytes_available(void) {
|
||||||
return (bool) serial_bytes_available();
|
return (bool) serial_bytes_available();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,4 +348,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t lba, uint32
|
|||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -254,4 +254,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t lba, uint32
|
|||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,4 +90,3 @@ void serial_write_substring(const char *text, uint32_t len) {
|
|||||||
|
|
||||||
LPUART_WriteBlocking(uart_instance, (uint8_t*)text, len);
|
LPUART_WriteBlocking(uart_instance, (uint8_t*)text, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3894,4 +3894,3 @@
|
|||||||
* @}
|
* @}
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -3927,4 +3927,3 @@
|
|||||||
* @}
|
* @}
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -62,6 +62,3 @@
|
|||||||
|
|
||||||
#define DEFAULT_UART_BUS_RX (&pin_P0_28)
|
#define DEFAULT_UART_BUS_RX (&pin_P0_28)
|
||||||
#define DEFAULT_UART_BUS_TX (&pin_P0_02)
|
#define DEFAULT_UART_BUS_TX (&pin_P0_02)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ EXTERNAL_FLASH_DEVICES = "W25Q16JV_IQ"
|
|||||||
# We use a CFLAGS define here because there are include order issues
|
# We use a CFLAGS define here because there are include order issues
|
||||||
# if we try to include "mpconfigport.h" into nrfx_config.h .
|
# if we try to include "mpconfigport.h" into nrfx_config.h .
|
||||||
CFLAGS += -DCIRCUITPY_NRF_NUM_I2C=2
|
CFLAGS += -DCIRCUITPY_NRF_NUM_I2C=2
|
||||||
|
|
||||||
|
@ -79,4 +79,3 @@ int common_hal_rtc_get_calibration(void) {
|
|||||||
void common_hal_rtc_set_calibration(int calibration) {
|
void common_hal_rtc_set_calibration(int calibration) {
|
||||||
mp_raise_NotImplementedError(translate("RTC calibration is not supported on this board"));
|
mp_raise_NotImplementedError(translate("RTC calibration is not supported on this board"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,4 +35,3 @@ bool common_hal_get_serial_connected(void) {
|
|||||||
bool common_hal_get_serial_bytes_available(void) {
|
bool common_hal_get_serial_bytes_available(void) {
|
||||||
return (bool) serial_bytes_available();
|
return (bool) serial_bytes_available();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,4 +89,3 @@ periph = Peripheral()
|
|||||||
periph.addService(serv_env_sense)
|
periph.addService(serv_env_sense)
|
||||||
periph.setConnectionHandler(event_handler)
|
periph.setConnectionHandler(event_handler)
|
||||||
periph.advertise(device_name="micr_temp", services=[serv_env_sense])
|
periph.advertise(device_name="micr_temp", services=[serv_env_sense])
|
||||||
|
|
||||||
|
@ -23,4 +23,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -25,4 +25,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -25,4 +25,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -49,4 +49,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ _estack = ORIGIN(RAM) + LENGTH(RAM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -36,4 +36,3 @@ _estack = ORIGIN(DTCM) + LENGTH(DTCM);
|
|||||||
/* RAM extents for the garbage collector */
|
/* RAM extents for the garbage collector */
|
||||||
_ram_start = ORIGIN(RAM);
|
_ram_start = ORIGIN(RAM);
|
||||||
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
_ram_end = ORIGIN(RAM) + LENGTH(RAM);
|
||||||
|
|
||||||
|
@ -96,4 +96,3 @@ SECTIONS
|
|||||||
|
|
||||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,4 +106,3 @@ SECTIONS
|
|||||||
|
|
||||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,4 +37,3 @@
|
|||||||
|
|
||||||
#define BOARD_OSC_DIV (8)
|
#define BOARD_OSC_DIV (8)
|
||||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
|
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = UFQFPN48
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F411_fs.ld
|
LD_FILE = boards/STM32F411_fs.ld
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@ LD_COMMON = boards/common_default.ld
|
|||||||
LD_DEFAULT = boards/STM32F405_default.ld
|
LD_DEFAULT = boards/STM32F405_default.ld
|
||||||
LD_BOOT = boards/STM32F405_boot.ld # UF2 boot option
|
LD_BOOT = boards/STM32F405_boot.ld # UF2 boot option
|
||||||
UF2_OFFSET = 0x8010000
|
UF2_OFFSET = 0x8010000
|
||||||
|
|
||||||
|
@ -18,4 +18,3 @@ MCU_PACKAGE = LQFP64
|
|||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F401xe_boot.ld
|
LD_FILE = boards/STM32F401xe_boot.ld
|
||||||
# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
|
# LD_FILE = boards/STM32F401xe_fs.ld # use for internal flash
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP144
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F767_fs.ld
|
LD_FILE = boards/STM32F767_fs.ld
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP144
|
|||||||
|
|
||||||
LD_COMMON = boards/common_tcm.ld
|
LD_COMMON = boards/common_tcm.ld
|
||||||
LD_FILE = boards/STM32H743_fs.ld
|
LD_FILE = boards/STM32H743_fs.ld
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@
|
|||||||
#define BOARD_OSC_DIV (12)
|
#define BOARD_OSC_DIV (12)
|
||||||
#define HSE_VALUE ((uint32_t)12000000)
|
#define HSE_VALUE ((uint32_t)12000000)
|
||||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
|
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP100_x7
|
|||||||
|
|
||||||
LD_COMMON = boards/common_tcm.ld
|
LD_COMMON = boards/common_tcm.ld
|
||||||
LD_FILE = boards/STM32H743_fs.ld
|
LD_FILE = boards/STM32H743_fs.ld
|
||||||
|
|
||||||
|
@ -14,4 +14,3 @@ MCU_PACKAGE = UFQFPN48
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F411_fs.ld
|
LD_FILE = boards/STM32F411_fs.ld
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP64
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F405_fs.ld
|
LD_FILE = boards/STM32F405_fs.ld
|
||||||
|
|
||||||
|
@ -17,4 +17,3 @@ MCU_PACKAGE = UFQFPN48
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F411_fs.ld
|
LD_FILE = boards/STM32F411_fs.ld
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP100_f4
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F411_fs.ld
|
LD_FILE = boards/STM32F411_fs.ld
|
||||||
|
|
||||||
|
@ -17,5 +17,3 @@ MCU_PACKAGE = LQFP144
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F412_fs.ld
|
LD_FILE = boards/STM32F412_fs.ld
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ MCU_PACKAGE = LQFP100_f4
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F407_fs.ld
|
LD_FILE = boards/STM32F407_fs.ld
|
||||||
|
|
||||||
|
@ -35,4 +35,3 @@ bool common_hal_get_serial_connected(void) {
|
|||||||
bool common_hal_get_serial_bytes_available(void) {
|
bool common_hal_get_serial_bytes_available(void) {
|
||||||
return (bool) serial_bytes_available();
|
return (bool) serial_bytes_available();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,4 +42,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
never_reset_pin_number(0,13); //PA13 SWDIO
|
never_reset_pin_number(0,13); //PA13 SWDIO
|
||||||
never_reset_pin_number(0,14); //PA14 SWCLK
|
never_reset_pin_number(0,14); //PA14 SWCLK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,5 +55,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -55,5 +55,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -56,5 +56,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
//LEDs are inverted on F411 DISCO
|
//LEDs are inverted on F411 DISCO
|
||||||
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
void stm32f4_peripherals_status_led(uint8_t led, uint8_t state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,4 +50,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
never_reset_pin_number(7,0); //PH0 OSC_IN
|
never_reset_pin_number(7,0); //PH0 OSC_IN
|
||||||
never_reset_pin_number(7,1); //PH1 OSC_OUT
|
never_reset_pin_number(7,1); //PH1 OSC_OUT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,5 +44,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
never_reset_pin_number(0,13); //PA13 SWDIO
|
never_reset_pin_number(0,13); //PA13 SWDIO
|
||||||
never_reset_pin_number(0,14); //PA14 SWCLK
|
never_reset_pin_number(0,14); //PA14 SWCLK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,5 +44,3 @@ void stm32_peripherals_gpio_init(void) {
|
|||||||
never_reset_pin_number(0,13); //PA13 SWDIO
|
never_reset_pin_number(0,13); //PA13 SWDIO
|
||||||
never_reset_pin_number(0,14); //PA14 SWCLK
|
never_reset_pin_number(0,14); //PA14 SWCLK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -321,4 +321,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num,
|
|||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -453,4 +453,3 @@ void _init(void)
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,4 +72,3 @@ void serial_write_substring(const char *text, uint32_t len) {
|
|||||||
}
|
}
|
||||||
HAL_UART_Transmit(&huart2, (uint8_t*)text, len, 5000);
|
HAL_UART_Transmit(&huart2, (uint8_t*)text, len, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,4 +40,3 @@ const void *mp_proto_get_or_throw(uint16_t name, mp_const_obj_t obj);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -63,4 +63,3 @@ const mp_obj_module_t aesio_module = {
|
|||||||
.base = {&mp_type_module},
|
.base = {&mp_type_module},
|
||||||
.globals = (mp_obj_dict_t *)&aesio_module_globals,
|
.globals = (mp_obj_dict_t *)&aesio_module_globals,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -122,4 +122,3 @@ const mp_obj_type_t displayio_colorconverter_type = {
|
|||||||
.make_new = displayio_colorconverter_make_new,
|
.make_new = displayio_colorconverter_make_new,
|
||||||
.locals_dict = (mp_obj_dict_t*)&displayio_colorconverter_locals_dict,
|
.locals_dict = (mp_obj_dict_t*)&displayio_colorconverter_locals_dict,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,4 +48,3 @@ const mp_obj_module_t framebufferio_module = {
|
|||||||
.globals = (mp_obj_dict_t*)&framebufferio_module_globals,
|
.globals = (mp_obj_dict_t*)&framebufferio_module_globals,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -49,4 +49,3 @@ def interp(x: ulab.array, xp:ulab.array, fp:ulab.array, *, left=None, right=None
|
|||||||
|
|
||||||
Returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x."""
|
Returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x."""
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -72,4 +72,3 @@ const mp_obj_type_t vectorio_circle_type = {
|
|||||||
.make_new = vectorio_circle_make_new,
|
.make_new = vectorio_circle_make_new,
|
||||||
.locals_dict = (mp_obj_dict_t*)&vectorio_circle_locals_dict,
|
.locals_dict = (mp_obj_dict_t*)&vectorio_circle_locals_dict,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -92,4 +92,3 @@ const mp_obj_type_t vectorio_polygon_type = {
|
|||||||
.make_new = vectorio_polygon_make_new,
|
.make_new = vectorio_polygon_make_new,
|
||||||
.locals_dict = (mp_obj_dict_t*)&vectorio_polygon_locals_dict,
|
.locals_dict = (mp_obj_dict_t*)&vectorio_polygon_locals_dict,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -52,4 +52,3 @@ const mp_obj_module_t wiznet_module = {
|
|||||||
.base = { &mp_type_module },
|
.base = { &mp_type_module },
|
||||||
.globals = (mp_obj_dict_t*)&mp_module_wiznet_globals,
|
.globals = (mp_obj_dict_t*)&mp_module_wiznet_globals,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -314,4 +314,3 @@ void common_hal__eve_VertexTranslateY(common_hal__eve_t *eve, uint32_t y) {
|
|||||||
void common_hal__eve_Vertex2ii(common_hal__eve_t *eve, uint32_t x, uint32_t y, uint32_t handle, uint32_t cell) {
|
void common_hal__eve_Vertex2ii(common_hal__eve_t *eve, uint32_t x, uint32_t y, uint32_t handle, uint32_t cell) {
|
||||||
C4(eve, ((2 << 30) | (((x) & 511) << 21) | (((y) & 511) << 12) | (((handle) & 31) << 7) | (((cell) & 127) << 0)));
|
C4(eve, ((2 << 30) | (((x) & 511) << 21) | (((y) & 511) << 12) | (((handle) & 31) << 7) | (((cell) & 127) << 0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,4 +193,3 @@ bool displayio_colorconverter_needs_refresh(displayio_colorconverter_t *self) {
|
|||||||
|
|
||||||
void displayio_colorconverter_finish_refresh(displayio_colorconverter_t *self) {
|
void displayio_colorconverter_finish_refresh(displayio_colorconverter_t *self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,4 +206,3 @@ int common_hal_rgbmatrix_rgbmatrix_get_height(rgbmatrix_rgbmatrix_obj_t* self) {
|
|||||||
int computed_height = (self->rgb_count / 3) << (self->addr_count);
|
int computed_height = (self->rgb_count / 3) << (self->addr_count);
|
||||||
return computed_height;
|
return computed_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,4 +49,3 @@ uint32_t shared_module_ustack_stack_size() {
|
|||||||
uint32_t shared_module_ustack_stack_usage() {
|
uint32_t shared_module_ustack_stack_usage() {
|
||||||
return mp_stack_usage();
|
return mp_stack_usage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,4 +53,3 @@ void common_hal_vectorio_circle_set_radius(void *obj, int16_t radius) {
|
|||||||
self->on_dirty.event(self->on_dirty.obj);
|
self->on_dirty.event(self->on_dirty.obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,4 +14,3 @@ typedef struct {
|
|||||||
} vectorio_circle_t;
|
} vectorio_circle_t;
|
||||||
|
|
||||||
#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_CIRCLE_H
|
#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_CIRCLE_H
|
||||||
|
|
||||||
|
@ -144,4 +144,3 @@ uint32_t common_hal_vectorio_polygon_get_pixel(void *obj, int16_t x, int16_t y)
|
|||||||
}
|
}
|
||||||
return winding_number == 0 ? 0 : 1;
|
return winding_number == 0 ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,4 +32,3 @@ uint32_t common_hal_vectorio_rectangle_get_height(void *rectangle) {
|
|||||||
vectorio_rectangle_t *self = rectangle;
|
vectorio_rectangle_t *self = rectangle;
|
||||||
return self->height;
|
return self->height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ typedef struct {
|
|||||||
} vectorio_rectangle_t;
|
} vectorio_rectangle_t;
|
||||||
|
|
||||||
#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
|
#endif // MICROPY_INCLUDED_SHARED_MODULE_VECTORIO_RECTANGLE_H
|
||||||
|
|
||||||
|
@ -332,5 +332,3 @@ void vectorio_vector_shape_update_transform(vectorio_vector_shape_t *self, displ
|
|||||||
self->absolute_transform = group_transform == NULL ? &null_transform : group_transform;
|
self->absolute_transform = group_transform == NULL ? &null_transform : group_transform;
|
||||||
common_hal_vectorio_vector_shape_set_dirty(self);
|
common_hal_vectorio_vector_shape_set_dirty(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
|
|
||||||
// Don't need anything in here yet
|
// Don't need anything in here yet
|
||||||
|
|
||||||
|
@ -12,4 +12,3 @@ typedef struct {
|
|||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -140,4 +140,3 @@ extern void supervisor_disable_tick(void) {
|
|||||||
}
|
}
|
||||||
common_hal_mcu_enable_interrupts();
|
common_hal_mcu_enable_interrupts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,4 +63,3 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num,
|
|||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,4 +8,3 @@ print(a, b)
|
|||||||
|
|
||||||
a = b = c = 3
|
a = b = c = 3
|
||||||
print(a, b, c)
|
print(a, b, c)
|
||||||
|
|
||||||
|
@ -6,4 +6,3 @@ try:
|
|||||||
chr(0x110000)
|
chr(0x110000)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print("ValueError")
|
print("ValueError")
|
||||||
|
|
||||||
|
@ -13,4 +13,3 @@ except KeyError:
|
|||||||
else:
|
else:
|
||||||
print("Did not raise KeyError")
|
print("Did not raise KeyError")
|
||||||
print(sorted(els))
|
print(sorted(els))
|
||||||
|
|
||||||
|
@ -9,5 +9,3 @@ d.pop(5)
|
|||||||
print(d.setdefault(5, 1))
|
print(d.setdefault(5, 1))
|
||||||
print(d[1])
|
print(d[1])
|
||||||
print(d[5])
|
print(d[5])
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@ s = {1, 2, 3, 4}
|
|||||||
l = list(s)
|
l = list(s)
|
||||||
l.sort()
|
l.sort()
|
||||||
print(l)
|
print(l)
|
||||||
|
|
||||||
|
@ -4,4 +4,3 @@ class Foo(tuple):
|
|||||||
|
|
||||||
foo = Foo((1,2))
|
foo = Foo((1,2))
|
||||||
foo[0]
|
foo[0]
|
||||||
|
|
||||||
|
@ -55,4 +55,3 @@ assert hex(S.arr6[0]) == "0xaabbccdd"
|
|||||||
|
|
||||||
print(S.arr6[0] == S.arr8[0].l)
|
print(S.arr6[0] == S.arr8[0].l)
|
||||||
assert S.arr6[0] == S.arr8[0].l
|
assert S.arr6[0] == S.arr8[0].l
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@ try:
|
|||||||
print("complex")
|
print("complex")
|
||||||
except NameError:
|
except NameError:
|
||||||
print("no")
|
print("no")
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user