* LPC1768: Fix I2C pins not being open drain, fix destroying and recreating I2C making transactions fail
* bus -> peripheral
* LPC1768: Support static pinmaps
* Update ARCH_PRO pin names header to pass muster
* Fix PWM API for reading microseconds on LPC1768
* Fix semihosting related compile errors, fix pwm deinit
* Fix some mistakes, fix PWM frequency adjustment
* Fix a few more issues
* added an option "QSPI_OSPIM_IOPORT_HIGH=1" to allow using the high IO ports (IO 4~7) of an OSPI peripheral to drive a QSPI device
updated STM32U5 firmware package to support STM32U5F/G devices
STM DMA Utils: added stm_get_dma_instance, stm_set_dma_link, stm_get_dma_link for working with DMA code in external libraries
* added NUCLEO-U545RE-Q and NUCLEO-U5A5ZJ-Q
USB is not supported yet
* added missing USART6 handlers for STM32U5
* changed PA_2_ALT0/PA_3_ALT0 in UART pinmap back to PA_2/PA_3 for NUCLEO-U545RE-Q
* renamed stm_get_dma_link to stm_get_dma_handle_for_link
renamed stm_set_dma_link to stm_set_dma_handle_for_link
added option "qspi_ospim_ioport_high" for MCU_STM32U5
implemented SetSysClock_PLL_HSI for NUCLEO-U545RE-Q and NUCLEO-U5A5ZJ-Q
made PLL_HSI the default clock source for NUCLEO-U545RE-Q and NUCLEO-U5A5ZJ-Q
* changed clock sources of NUCLEO-U545RE-Q and NUCLEO-U5A5ZJ-Q back to PLL+MSI
embedded LICENSE file into every source file in the STM32U5 firmware package
* Fix teensy4 build
* Try and fix SCLK clock period issue for MIMXRT, add additional SPI pinmappings
* Add full UART pinmapping
* Make more robust to calling spi_format() after spi_frequency()
* Fix style
---------
Co-authored-by: Jamie Smith <jsmith@relativityspace.com>
* Various updates to support targets & drivers site generation
* Add regression test for python code, add links to README
* Don't need to duplicate device_name
* Fix typo and some extra commas
* Rephrase docs
* Fix NUCLEO_H743ZI clock config not enabling overdrive mode
* Update most STM32H7 devices to new clocking configuration
* Fix ADC clock for old chip revs
* Fix CAN clock, finish clocking for 280MHz devices
* Fix a few typos and such
* A few more targets.json tweaks
* Fix comma
* Use a virtual environment for Python packages by default
* Install python3-venv in CI
* Don't use sudo
* Oops missed a "STATUS"
* Fix second build dir not using venv
* Start on documenting features and components
* Missed some renames
* Go through all cellular and 802.15.4 modules
* Fix build
* Fix style
* Update copyright year
* Update FindSTLINKTools.cmake for STM32CubeCLT
STM32CubeCLT
* correction
* line 7 reverted
* Lines 28-29 rewritten to lowercase letters
* Update for Linux
* Change file name for Windows
* revert back components names
* change file name also for Linux
* Fix USB instructions for Ubuntu, fix greentea compile failure for devices without TRNG
* Don't compile device key without COMPONENT_FLASHIAP
* Fix some upload issues for LPC1768
* Oops don't commit cmake variants
* Don't build connectivity-netsocket-tls without TRNG support
* Attempt to increase RPi Pico PWM range and resolution to the max supported
* Fix copyright for pwmout_api.c
* Fix ADC implementation so it works! Fixes incorrect return type, adds +1 to top_count, fixes missing pwm_config_set_wrap() call.
* Revert printf change in this PR
* Start on STM32 DMA SPI
* Update all objects.hs, add interrupt function
* Initial DMA code should be ready to test out...
* Fix SPI interrupt-mode IRQ handlers, add SPI::transfer_and_wait
* Fix CMake error when building for STM32WL processors
* Now builds on all STM devices!
* Properly support STM32U5 / DMA IP v3
* Start on STM32F4 support, fix hardfault on IP v1 and v3 due to incorrect indexing
* Fix Rx-only transfers, add abort code, fix incorrect channel assignments for DMA IP v1 devices
* Start on STM32H7 SPI DMA
* Fixes for H7: Correctly manage data cache, keep SPI ISR enabled
* Implement DMA SPI header constants for all remaining STM32 families. Also add support for freeing DMA channels
* Try and fix build on STM32G0
* Fix build on STM32G0
* Add SPI_32BIT_WORDS label, start on fixing SPI docs
* SPI: Implement reference counting so that DMA channels get freed properly
* Fix issue where SPI data could get corrupted (by TI mode turning on) depending on memory layout (if your spis pointer & 0x10 was nonzero)
* Mark DMA channels as unallocated when SPI bus is freed
* Simplify spi_abort_asynch()
* Fix some rebase issues, fix failing to allocate DMA channel on STM32U5
* Fix DMA getting stuck on STM32F4, F7, and F2
* Initial import of python packages
* Move tests to subfolder, use tests in generate_configuration.cmake
* Bring python packages into the source tree instead of needing to be installed separately
* Use python3
* Just use distro default python
* Install all the requirements with apt-get
* unittests is part of Python now
* Add appdirs, set python version
* Add some missing dependencies
* Add more packages
* Add requirements.apt.txt files, fix relative paths with scancode_evaluate.py
* Fix return code handling for license scan errors
* ok let's try that again, also improve error output from scancode evaluate
* Add missing license headers
* Refactor flash setup for MIMXRT105x devices, adds flash support for MIMXRT1062 EVK
* Remove commented code
* Use BOARD_FLASH_SIZE in boot headers
* Fix setting which should be disabled in run mode
* Fix null pointer dereferencing
Add null check for return values of functions that are mostly (but not
always) checked for null.
E.g., since 98% of calls to protocol_stack_interface_info_get_by_id
check for null, it is likely that the function can return null values in
some cases, and omitting the check could crash the program.
* Update MAX32660 peripheral drivers with final ones that use by SDK
* Apply MAX32660 delta
Update mbed hal function as per of SDK update
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
* M2354: Fix debug failure in Mbed Studio
In Mbed Studio, debugging, based on pyOCD, requires Mbed OS application code starting on the sector boundary.
Modification list:
1. Update TF-M import assets with MCUboot header padding to sector aligned
2. Following above, change header size argument (-H) in wrapper.py command line
3. Following below, fix min-write-size (--align) to 4 (per flash_area_align()) in wrapper.py command line
https://docs.mcuboot.com/design.html#image-trailer
Related issue:
https://github.com/ARMmbed/mbed-os/issues/15417
* Do not clear interrupt flag during initialization
This causes issue for repeaded initialization while using BufferedSerial mode
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
* MAX32660, MAX32670 UART performance improvement
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
* Handle negative values passed to close()
Calling close() with negative numbers causes out-of-bounds indexing of the filehandles array. For example, this can happen if open() returns an error and the value is later passed to close().
* Moved a { to the same line as if
Moved a { to the same line as if
* add nullpointer check in LWIP::socket_close
* Fix crash when using FDCAN3 RX IRQ on STM32G473 (and others)
* connectivity: drivers: Update Nuvoton M467 EMAC DMA_IE ctl
In IRQ Handler, to disable some interrupt type of DMA error.
It could avoid unexpected repeated interrupt.The masked bit of
DMA_IE could be recovered in next EMAC IRQ event.
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
* Add workaround for G474 hardfault
* update drivers STM32WL CUBE V1.3.0
* Changed static to weak
* Fix: Do not disable SPI for manual drive mode during transaction setup
It has been reported that disabling SPI module causes glitch for manual SS drive mode
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
* make cellular event queue size configurable
update unit tests
---------
Signed-off-by: Sadik.Ozer <sadik.ozer@analog.com>
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
Co-authored-by: Mingjie Shen <shen497@purdue.edu>
Co-authored-by: Ahmet Polat <Ahmet.Polat@maximintegrated.com>
Co-authored-by: Sadik.Ozer <sadik.ozer@analog.com>
Co-authored-by: Chun-Chieh Li <ccli8@nuvoton.com>
Co-authored-by: alrvid <126816223+alrvid@users.noreply.github.com>
Co-authored-by: Jost, Chris <79271064+chrJost@users.noreply.github.com>
Co-authored-by: Joseph Duchesne <joseph@avidbots.com>
Co-authored-by: cyliang tw <cyliang@nuvoton.com>
Co-authored-by: Maxim Markin <mak22223@ya.ru>
Co-authored-by: Charles <hallard04@free.fr>
Co-authored-by: Lukas Karel <lukas.karel@world-direct.at>
* Make it so that SPI::select() works correctly with async stuff
* Add more overloads for SPI functions, make sure that SPI::abort_transfer() correctly toggles CS
* SPI: Implement reference counting so that DMA channels get freed properly
* Fix initialization of SPI peripheral structures
* Update docs a bit
* Use a mutex to protect SPI::_peripherals instead of a critical section, because spi_free() may not be ISR safe
* Style fixes
* Remove old pico SDK, import latest version using new importer script
* Add new importer script, update CMakeLists
* Merge changes from newer SDK into init assembly and linker script
* Update pico hal code for new SDK version
* Clean up linker script a bit, revert ram size
* Fix accidental breakage of watchdog-reset test from warning fixing! Also better document USB setup procedure and disable reset as part of the test runner.