micropython/ports/nrf/drivers
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate.
This commit adds mp_raise_msg_varg(type, fmt, ...) as a helper for
nlr_raise(mp_obj_new_exception_msg_varg(type, fmt, ...)).  It makes the
C-level API for raising exceptions more consistent, and reduces code size
on most ports:

   bare-arm:   +28 +0.042%
minimal x86:  +100 +0.067%
   unix x64:   -56 -0.011%
unix nanbox:  -300 -0.068%
      stm32:  -204 -0.054% PYBV10
     cc3200:    +0 +0.000%
    esp8266:   -64 -0.010% GENERIC
      esp32:  -104 -0.007% GENERIC
        nrf:  -136 -0.094% pca10040
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
2020-02-13 11:52:40 +11:00
..
bluetooth py: Add mp_raise_msg_varg helper and use it where appropriate. 2020-02-13 11:52:40 +11:00
secureboot nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
usb nrf: Add tinyusb support for nrf52840. 2019-10-10 20:21:07 +02:00
flash.c nrf: Properly use (void) instead of () for function definitions. 2018-07-20 14:11:28 +10:00
flash.h nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
softpwm.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
softpwm.h nrf/drivers: Add license text to ticker.h and softpwm.h. 2018-07-18 17:12:26 +10:00
ticker.c nrf/ticker: Remove duplicate NRFX_IRQ_PRIORITY_SET. 2019-01-31 17:50:10 +11:00
ticker.h nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars. 2019-08-28 13:34:45 +10:00