Lucian Copeland
bab5a22f0c
Fix build issues
...
H7 compatibility problems in port.c and peripherals/exti
NRF build failures due to new use of const for PinAlarm pin objects
Isolated board flash overage on blackpill_with_flash, remove audio modules
2021-04-29 14:48:16 -04:00
Artyom Skrobov
92d7f31046
[synthio] disable in stm32f411ce_blackpill_with_flash
...
region `FLASH_FIRMWARE' overflowed by 228 bytes
2021-04-13 03:01:55 -04:00
Kevin Lutzer
4fb3139273
switch orders the flash memory is listed
2021-04-08 21:56:25 -06:00
Kevin Lutzer
c672b33770
add W25Q64JVxQ as a supported flash for stm32f411 black pill
2021-04-08 21:53:38 -06:00
Artyom Skrobov
4ee781227f
[meowbit] change board.BUZZ type to PWMAudioOut,
...
as advised in #4257
2021-04-03 13:35:19 -04:00
Artyom Skrobov
b40d072648
[stm] implementation of audiopwmio
...
Based on nrf PWMAudioOut by @jepler and stm PulseOut by @hierophect
Tested on a Meowbit
2021-03-26 13:18:01 -04:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data
2021-03-25 09:57:18 -07:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Lucian Copeland
0b73c7a212
Update F407 to match F405
2021-03-11 11:27:17 -05:00
Jeff Epler
cdb0fda72a
Merge remote-tracking branch 'origin/main' into count-flash-devices
2021-03-07 20:26:04 -06:00
Jeff Epler
f1ada8e880
Automatically count EXTERNAL_FLASH_DEVICES
2021-03-07 11:48:39 -06:00
jerryneedell
a23129bc49
add GD25Q16C flash to BlackPill
2021-03-07 17:23:39 +00:00
Kevin Matocha
a7a4f93ff8
Updated build configs to turn off BITMAPTOOLS for smaller builds
2021-02-25 15:44:32 -06:00
Dan Halbert
67406488d1
merge from upstream; re-alphabetize
2021-02-19 14:22:50 -05:00
Dan Halbert
e344c6d684
fix some builds
2021-02-18 14:24:58 -05:00
Lucian Copeland
edb7f2d807
Free up space for JA build
2021-02-11 16:30:27 -05:00
Dan Halbert
0802b22ed6
usb descriptors all set; rework of enabling for USB devices
2021-02-04 19:23:40 -05:00
Scott Shawcroft
a2ac2da7cc
Merge pull request #3936 from gamblor21/busdevice_fixes
...
Changing adafruit_bus_device to duck typing
2021-01-25 14:41:53 -08:00
Jonathan Giles
55c6d3e92f
1. Rename 'stm32f411ce_blackpill_haxpress' to 'stm32f411ce_blackpill_with_flash'
...
2. Add 'W25Q64JV_IQ' to flash chip list (as per commercial version)
2021-01-19 11:48:15 -05:00
djix123
b4bdf55eda
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk
...
Update PID for _with_flash version to resolve duplicate PID issue
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19 11:35:52 -05:00
djix123
4804032f09
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk
...
Change name from _haxpress to _with_flash
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19 11:35:03 -05:00
djix123
c8046af6e7
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.h
...
Change name from _haxpress to _with_flash
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-01-19 11:34:47 -05:00
Jonathan Giles
ebb4df846f
Add support for a 'haxpress' external SPI flash build for the stm32f411ce blackpill board
2021-01-19 07:46:59 -05:00
gamblor21
41b9196167
Disabling in more small boards
2021-01-17 00:00:06 -06:00
Jonathan Giles
aaa3c61819
Add default I2C pins for STM32F411CE
2020-12-22 09:11:05 -05:00
Dan Halbert
39ca406a31
Add Adafruit to MICROPY_HW_BOARD_NAME for various boards
2020-12-21 23:32:11 -05:00
Dan Halbert
8f9cd7075e
Merge pull request #3752 from jepler/gcc10
...
build: Update to gcc10
2020-12-17 11:03:40 -05:00
Dan Halbert
4521dfb732
squeeze some smaller boards
2020-12-15 13:23:49 -05:00
Scott Shawcroft
40118bcf57
Add board_deinit
for use with sleep
...
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-08 10:52:25 -08:00
jgillick
f8499a468e
Remove filesystem from linker script.
2020-11-23 22:56:38 -08:00
jgillick
570353b946
Merge remote-tracking branch 'circuitpython/main' into thunderpack1.2
2020-11-23 22:40:47 -08:00
Jeff Epler
70e978f48b
stm: disable ulab on two resource-constrained boards
2020-11-23 10:23:53 -06:00
jgillick
4c5e7520f5
Fix NVM by clearing FLASH_FLAG_PGPERR
2020-11-23 00:25:41 -08:00
jgillick
661c20dd18
Create a new linker script with more space for the firmware.
2020-11-22 18:25:37 -08:00
jgillick
fe6e50b770
Update USB_PID
2020-11-22 01:49:23 -08:00
jgillick
56634eb00e
Rename thunderpack to v11
2020-11-22 01:31:41 -08:00
jgillick
381889f6bc
Cleanup
2020-11-22 01:19:28 -08:00
jgillick
5f0a372a22
Merge tag '6.0.0' into thunderpack1.2
2020-11-17 00:02:24 -08:00
jgillick
119e9d3820
Add Thunderpack 1.2
2020-11-16 23:50:00 -08:00
Dan Halbert
12ed3fc72f
disable on winterbloom_sol and thunderpack
2020-10-15 18:48:28 -04:00
Jeff Epler
7df01d3fbd
stm32: canio: enable on all stm32f405 boards
2020-10-06 20:11:39 -05:00
Jeff Epler
01e9e355ce
canio: implement for stm32f405
...
The has successfully run my loopback self-test program for CAN,
which tests transmission, reception, and filtering. The 1M baud rate setting
was also verified on saleae to be accurate.
2020-10-06 20:11:35 -05:00
Mark Roberts
b921543571
Requested changes take 1
2020-09-25 21:27:29 -04:00
Scott Shawcroft
4b827b25ad
Merge pull request #2966 from sommersoft/ci_check_vid_pid
...
Automate USB VID/PID Uniqueness Check
2020-09-17 11:48:46 -07:00
Scott Shawcroft
95e27bb8bf
Add more PIDs for unique boards
2020-09-15 13:43:35 -07:00
Scott Shawcroft
96cf60fbbd
Merge remote-tracking branch 'adafruit/main' into native_wifi
2020-09-03 16:34:56 -07:00
Scott Shawcroft
5d8ac0428b
-Os espruino_pico to save space
2020-08-27 13:34:37 -07:00
hierophect
772052598d
Merge branch 'main' into stm32-meowbit-fix
2020-08-27 11:00:29 -04:00
Lucian Copeland
c77523503b
Fix trailing whitespace errors across ports and docs
2020-08-26 14:48:46 -04:00
Lucian Copeland
de9fd4a0fb
Fix null dereference, invert auto_brightness to reenable screen
2020-08-25 10:37:55 -04:00
Lucian Copeland
c137a16121
Remove Meowbit LSE flag, harsher failure for LSE issues
2020-08-24 14:49:06 -04:00
Dan Halbert
329f4fb2e6
Update mpconfigboard.mk
...
The stm boards default to `-O2`. Changing to `-Os` brings it back to ~43kB (!) free even for ja.
2020-08-13 10:09:46 -04:00
Jeff Epler
42b860e91a
stm: meowbit_v121: remove _pixelbuf to fit ja translation
2020-08-13 07:49:45 -05:00
Jeff Epler
92d2f47503
feather_stm32f405_express: sdio_data_tuple should be static
2020-07-30 07:18:02 -05:00
Jeff Epler
4adbd23b75
stm: Add sdioio support for feather_stm32f405_express
...
Currently, only the bus specs of the stm32f405xx have been coded.
Other stm-family chips need (at a minimum) the specs added in their
periph.[ch] files.
2020-07-30 07:18:02 -05:00
jgillick
017c188ab5
Move NVM block to increase program size.
2020-06-25 21:46:15 -07:00
Jeff Epler
f232aef786
supervisor.mk: Compute USB_DEVICES; remove from boards and ports
...
Since Actions passed on the previous commit, where this computed value
was checked against the specified value (if any), this is no net change,
except that we no longer need to specify it for particular boards or
ports.
2020-06-23 12:59:01 -05:00
Jeff Epler
0110463811
stm: Disable USB MIDI and most USB HID
...
.. it was not in the USB descriptors anyway (lack of enough endpoints?)
2020-06-23 11:01:36 -05:00
Lucian Copeland
7cc8b784c3
Add missing openmv definitions
2020-06-10 10:31:24 -04:00
Lucian Copeland
b414f82669
Add DTCM and ITCM support to F7 series
2020-06-09 18:01:52 -04:00
Lucian Copeland
a0977cac7b
Merge remote-tracking branch 'upstream/master' into stm32-LSE-startup-fix
2020-06-04 16:15:38 -04:00
Lucian Copeland
d14e34449b
Rework LSE clock init, allow clock overrides
2020-06-04 13:21:29 -04:00
Diego Elio Pettenò
dd5d7c86d2
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.
2020-06-03 10:56:35 +01:00
Lucian Copeland
75eb44f234
Note temporary issue with Nucleo boards
2020-06-01 12:26:08 -04:00
Lucian Copeland
0fe7efdf36
Set correct crystal settings on Discovery boards
2020-05-29 14:01:34 -04:00
Scott Shawcroft
2c2b53303d
Merge pull request #2837 from k0d/serial-debug
...
Add support for a debug console, such as ST-Link VCP.
2020-05-18 18:13:31 -07:00
Mark Olsson
007c92ee6a
Enable showing the console on a debug uart
2020-05-19 02:02:52 +02:00
Lucian Copeland
94949fb46f
Add recovery domain write access, adjust stack
2020-05-11 18:02:40 -04:00
hierophect
c311b5c002
Merge pull request #2842 from hierophect/stm32-h7-displayio
...
STM32: Add displayio to F7/H7
2020-05-05 12:37:08 -04:00
Scott Shawcroft
a863b0a349
Fix openmv_h7 build
2020-04-30 13:46:12 -07:00
Scott Shawcroft
1ca90572f1
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-30 13:25:31 -07:00
Lucian Copeland
06b62721b3
Increase H7 filesystem size
2020-04-30 15:49:17 -04:00
Lucian Copeland
435aa3d055
Add correct PID for the OpenMV
2020-04-30 14:49:47 -04:00
Lucian Copeland
89ff5589c4
Add the OpenMV-H7 R1 board
2020-04-30 12:39:20 -04:00
Scott Shawcroft
b7804f450b
Fix stm32746g_discovery
...
Also, rename it so that matches the other board names.
2020-04-27 20:34:42 -07:00
Scott Shawcroft
e45de39998
Fix nucleo_f746zg build
2020-04-27 20:28:05 -07:00
Scott Shawcroft
de42e4af02
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 17:43:32 -07:00
Scott Shawcroft
40a1f3edbc
Merge pull request #2811 from jepler/update-ulab
...
ulab: actually update the submodule
2020-04-27 17:41:43 -07:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
Jeff Epler
7eff89e9f9
linker scripts: Re-align at ":"
...
With "git show -b" you can verify that this is a whitespace only change
because the diff will be empty.
2020-04-27 12:47:52 -05:00
Jeff Epler
aff42defda
stm: Use FLASH_FIRMWARE instead of FLASH_TEXT in linker scripts
...
for compatibility with the build_memory_info script
This change was scripted:
git grep -l FLASH_TEXT | xargs sed -i s/FLASH_TEXT/FLASH_FIRMWARE/
2020-04-27 08:07:28 -05:00
Jeff Epler
485f667141
ulab: disable on espruino pico
...
this non-"express" board is nearly full. Right now it's actually possible
just to disable the "compare" module, but as this leaves it packed
pretty full I prefer to fully disable it in order to avoid the topic
returning again soon.
2020-04-27 07:47:05 -05:00
Mark Olsson
91fbbcab19
adds support for the stm32f746g_disco board
2020-04-24 16:43:39 +02:00
hierophect
ead7c6c887
Merge pull request #2785 from k0d/ports_nucleo_f746zg
...
STM32: adds support for stm32f746xx MCU and the nucleo_f746zg board
2020-04-23 12:32:44 -04:00
Mark Olsson
83cc9783cc
STM32: adds support for stm32f746xx MCU and the nucleo_f746zg board
2020-04-23 10:48:27 +02:00
Scott Shawcroft
f13de32208
Add HSE_VALUE for STM feather.
2020-04-22 14:37:24 -07:00
Scott Shawcroft
b277944cf0
Fix STM so it matches the correct RTC fields.
2020-04-22 11:10:51 -07:00
Scott Shawcroft
17d038830d
Use our own flag for board crystal config.
2020-04-21 14:14:30 -07:00
Scott Shawcroft
bebf27e733
Merge remote-tracking branch 'adafruit/master' into lower_power
...
This isn't perfect and needs a bit more testing.
2020-04-20 18:25:13 -07:00
Mark Olsson
506f340c7d
STM32: f767: Fixes linker settings.
2020-04-20 19:15:18 +02:00
Lucian Copeland
54abfc2e8b
translations-merge
2020-04-15 10:29:05 -04:00
Scott Shawcroft
b580b34cbf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-14 17:14:44 -07:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00
Lucian Copeland
426d2afe28
Fix pin mapping for the H7 Nucleo
2020-04-13 14:36:49 -04:00
Lucian Copeland
5ac38c95cc
Various requested fixes
2020-04-13 12:03:05 -04:00
Lucian Copeland
92a0621e59
Add busio support, cleanup
2020-04-09 13:43:19 -04:00
Lucian Copeland
9761672d42
Linker file restructure, TCM and MPU additions
2020-04-03 16:33:18 -04:00
Lucian Copeland
47a5d83267
Implement F7 Nucleo
2020-04-02 11:47:16 -04:00
Lucian Copeland
2f764ded63
merge and docs
2020-04-01 13:52:53 -04:00
Lucian Copeland
a89928c13c
Implement requested changes
2020-04-01 13:02:05 -04:00
Scott Shawcroft
1071924701
Fix thunderpack build
2020-03-31 17:05:37 -07:00
Scott Shawcroft
8fe512c7e9
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-03-31 15:13:58 -07:00
Lucian Copeland
e2be069686
Support cached internal flash on the H743
2020-03-28 18:30:46 -04:00
Jeff Epler
54e8c63b4f
Merge pull request #2730 from tannewt/fix_fourwire_phase_polarity
...
Add polarity and phase to FourWire.
2020-03-28 07:28:37 -05:00
Scott Shawcroft
b043384949
Update built in display init
2020-03-27 14:35:29 -07:00
Lucian Copeland
348df4be2b
Merge remote-tracking branch 'upstream/master' into stm32x7-setup
2020-03-26 18:16:11 -04:00
Lucian Copeland
c4db8b87e2
Add F7 and H7 Support to the STM32 port
...
Restructures the STM port of Circuitpython to be more generic about the STM32 chip lines to support
the F7 and H7 series of chips. Adds the new Packages directory to organize different chip layouts
between lines. Makes general changes to the Makefile to condense board-level flags to the minimum
and support the new chip series. Adds the new chip line to the Peripherals directory, along with
new python tools used to generate peripheral text automatically in the tools/ directory.
2020-03-26 18:01:17 -04:00
siddacious
9e0c00dfd4
adding a backlight polarity flag to Display
2020-03-25 22:51:20 -07:00
jgillick
8ed4deee9d
Rename pins
2020-03-23 23:06:55 -07:00
Scott Shawcroft
c0c4c4403a
Factor out stm32f4xx_hal_conf.h
2020-03-23 14:46:25 -07:00
jgillick
29ce756709
PR feedback.
2020-03-22 18:41:19 -07:00
jgillick
a79ac35173
Rename NVM_BYTEARRAY_BUFFER_SIZE
2020-03-22 15:20:58 -07:00
jgillick
68195a8dfe
Update NVM_BYTEARRAY_BUFFER_LEN
2020-03-22 15:19:53 -07:00
jgillick
d76b76cb1d
Add non-volatile memory support to STM
2020-03-22 02:22:59 -07:00
Scott Shawcroft
2623022c84
Initial work for STM32. Need to fix us delay and PulseIn still.
2020-03-20 12:58:34 -07:00
jgillick
284073584a
Cleanup
2020-03-19 00:01:32 -07:00
jgillick
9be2ab6008
Change the board to use an STM32F411 chip.
2020-03-18 23:55:18 -07:00
jgillick
24d1fd2bf1
PR Cleanup.
2020-03-17 00:48:19 -07:00
jgillick
f884c2b9b6
Incremental update
2020-03-15 19:34:41 -07:00
jgillick
6f153804da
Add initial thunderpack port files.
2020-03-14 00:03:14 -07:00
Lucian Copeland
53b1544f41
create copy
2020-03-11 18:13:06 -04:00