summaryrefslogtreecommitdiff
path: root/ports/stm
AgeCommit message (Collapse)Author
2021-03-25Switch devices.h to nvm.toml dataScott Shawcroft
2021-03-19fix stm compiler errorDan Halbert
2021-03-18merge from upstreamDan Halbert
2021-03-16More formattinggamblor21
2021-03-16Formatting fixesgamblor21
2021-03-15Merge branch 'main' into rp_dp_parallelMark
2021-03-15run code formatting scriptmicroDev
2021-03-11Add frequency support to parallel busgamblor21
2021-03-11Merge pull request #4383 from hierophect/stm32-uart-dereserveScott Shawcroft
STM32: Fix UART deinit
2021-03-11Update F407 to match F405Lucian Copeland
2021-03-11Fix UART deinitLucian Copeland
2021-03-11use return values in STM PWMOut constructor, not exceptionsDan Halbert
2021-03-07Merge remote-tracking branch 'origin/main' into count-flash-devicesJeff Epler
2021-03-07Automatically count EXTERNAL_FLASH_DEVICESJeff Epler
2021-03-07 add GD25Q16C flash to BlackPilljerryneedell
2021-03-05[stm] `curr_pulseout` can be `STATIC`Artyom Skrobov
Not used outside of PulseOut.c
2021-03-02Merge pull request #4186 from jepler/update-protomatter-rp2Jeff Epler
Enable protomatter on RP2040 builds
2021-02-26Merge remote-tracking branch 'origin/main' into update-protomatter-rp2Jeff Epler
2021-02-25Updated build configs to turn off BITMAPTOOLS for smaller buildsKevin Matocha
2021-02-19merge from upstream; re-alphabetizeDan Halbert
2021-02-18fix some buildsDan Halbert
2021-02-12Enable protomatter on RP2040 buildsJeff Epler
Also found a race condition between timer_disable and redraw, which would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable or put a delay or print inside it. That's what pausing inside reconstruct fixes. So that the "right timer" can be chosen, `timer_allocate` now gets the `self` pointer. It's guaranteed at this point that the pin information is accurate, so you can e.g., find a PWM unit related to the pins themselves. This required touching each port to add the parameter even though it's unused everywhere but raspberrypi.
2021-02-11merge from upstream; complicated webusb mergeDan Halbert
2021-02-11Free up space for JA buildLucian Copeland
2021-02-10Fix I2C Repeated start error by converting to IT modeLucian Copeland
2021-02-04usb descriptors all set; rework of enabling for USB devicesDan Halbert
2021-01-26Merge pull request #4060 from dhalbert/regularize-extmod-modulesDan Halbert
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-25Merge pull request #3936 from gamblor21/busdevice_fixesScott Shawcroft
Changing adafruit_bus_device to duck typing
2021-01-24CIRCUITPY_* switches for JSON, RE, etc. Doc cleanupDan Halbert
2021-01-191. Rename 'stm32f411ce_blackpill_haxpress' to 'stm32f411ce_blackpill_with_flash'Jonathan Giles
2. Add 'W25Q64JV_IQ' to flash chip list (as per commercial version)
2021-01-19Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk djix123
Update PID for _with_flash version to resolve duplicate PID issue Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk djix123
Change name from _haxpress to _with_flash Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.h djix123
Change name from _haxpress to _with_flash Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19Add support for a 'haxpress' external SPI flash build for the stm32f411ce ↵Jonathan Giles
blackpill board
2021-01-17Disabling in more small boardsgamblor21
2020-12-28update common_hal_reset_pin()microDev
2020-12-22Add default I2C pins for STM32F411CEJonathan Giles
2020-12-21Add Adafruit to MICROPY_HW_BOARD_NAME for various boardsDan Halbert
2020-12-17Merge pull request #3752 from jepler/gcc10Dan Halbert
build: Update to gcc10
2020-12-15squeeze some smaller boardsDan Halbert
2020-12-15-ftree-vrp better diagnostics on -Os builds; -fno-inline-functions for -O2; ↵Dan Halbert
fix struct init in HCI bleio
2020-12-08Add `board_deinit` for use with sleepScott Shawcroft
This changes lots of files to unify `board.h` across ports. It adds `board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to deinit the board before deep sleeping (even when pretending.) Deep sleep is now a two step process for the port. First, the port should prepare to deep sleep based on the given alarms. It should set alarms for both deep and pretend sleep. In particular, the pretend versions should be set immediately so that we don't miss an alarm as we shutdown. These alarms should also wake from `port_idle_until_interrupt` which is used when pretending to deep sleep. Second, when real deep sleeping, `alarm_enter_deep_sleep` is called. The port should set any alarms it didn't during prepare based on data it saved internally during prepare. ESP32-S2 sleep is a bit reorganized to locate more logic with TimeAlarm. This will help it scale to more alarm types. Fixes #3786
2020-12-02Merge pull request #3767 from dhalbert/sleepScott Shawcroft
Initial alarm and sleep PR: time alarms with light and deep sleep; PinAlarms not yet implemented
2020-12-01address review commentsDan Halbert
2020-11-28Add movable allocation system.Christian Walther
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap. By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
2020-11-26deep sleep working; deep sleep delay when connectedDan Halbert
2020-11-25merge from upstream + wipDan Halbert
2020-11-23Remove filesystem from linker script.jgillick
2020-11-23Merge remote-tracking branch 'circuitpython/main' into thunderpack1.2jgillick
2020-11-23stm: disable ulab on two resource-constrained boardsJeff Epler